| /linux/rust/proc-macro2/ |
| H A D | parse.rs | 71 Err(Reject) in parse() 104 Err(Reject) => return s, in skip_whitespace() 129 return Err(Reject); in block_comment() 151 Err(Reject) in block_comment() 161 Some(ch) if is_ident_continue(ch) => Err(Reject), in word_break() 191 return Err(LexError { in token_stream() 196 Some(_frame) => return Err(LexError { span: Span {} }), in token_stream() 220 None => return Err(lex_error(input)), in token_stream() 226 return Err(lex_error(input)); in token_stream() 241 Err(Reject) => return Err(lex_error(input)), in token_stream() [all …]
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 169 return Err(EINVAL); in validate_parent_fixup() 178 return Err(EINVAL); in validate_parent_fixup() 187 return Err(EINVAL); in validate_parent_fixup() 223 Err(EINVAL) in claim_next() 354 return Err(EINVAL); in pop_transaction_to_reply() 544 return Err(EINTR); in get_work_local() 607 None if signal_pending => Err(EINTR), in get_work() 689 return Err(EPERM.into()); in translate_object() 723 Err(err) => { in translate_object() 730 return Err(err.into()); in translate_object() [all …]
|
| H A D | transaction.rs | 109 Err(err) => { in new() 113 return Err(err); in new() 119 return Err(EINVAL.into()); in new() 159 Err(err) => { in new_reply() 161 return Err(err); in new_reply() 297 Err((err, work)) => { in submit() 301 return Err(err); in submit() 306 return Err(BinderError::new_frozen_oneway()); in submit() 317 return Err(BinderError::new_frozen()); in submit() 325 PushWorkRes::FailedDead(me) => Err((BinderError::new_dead(), me)), in submit() [all …]
|
| H A D | rust_binder_main.rs | 344 Err(_err) => core::ptr::null_mut(), in rust_binder_new_context() 381 Err(err) => return err.to_errno(), in rust_binder_open() 388 Err(err) => return err.to_errno(), in rust_binder_open() 422 Err(err) => err.to_errno() as isize, in rust_binder_ioctl() 439 Err(err) => err.to_errno(), in rust_binder_mmap() 456 Err(_) => bindings::POLLERR, in rust_binder_poll() 470 Err(err) => err.to_errno(), in rust_binder_flush() 484 if let Err(err) = rust_binder_stats_show_impl(m) { in rust_binder_stats_show() 500 if let Err(err) = rust_binder_state_show_impl(m) { in rust_binder_state_show() 518 if let Err(err) = rust_binder_proc_show_impl(m, pid) { in rust_binder_proc_show() [all …]
|
| H A D | freeze.rs | 79 Err(err) => match err {}, in init() 180 return Err(EINVAL); in request_freeze_notif() 184 return Err(EINVAL); in request_freeze_notif() 192 return Err(EINVAL); in request_freeze_notif() 242 return Err(EINVAL); in freeze_notif_done() 255 return Err(EINVAL); in freeze_notif_done() 281 return Err(EINVAL); in clear_freeze_notif() 285 return Err(EINVAL); in clear_freeze_notif() 289 return Err(EINVAL); in clear_freeze_notif() 293 return Err(EINVAL); in clear_freeze_notif()
|
| H A D | process.rs | 183 PushWorkRes::FailedDead(work) => Err((BinderError::new_dead(), work)), in push_work() 186 Err((BinderError::new_dead(), work)) in push_work() 283 Err(EINVAL) in get_existing_node() 687 return Err(EINVAL); in get_current_thread() 711 Err(EINVAL) in get_current_thread() 721 Err((err, work)) => { in push_work() 723 Err(err) in push_work() 801 Err(err) => return Err(err), in get_node() 803 Ok(Err(CouldNotDeliverCriticalIncrement)) => { in get_node() 849 return Err(EINVAL); in insert_or_update_handle() [all …]
|
| H A D | page_range.rs | 79 return Err(Error::from_errno(ret)); in register() 87 return Err(Error::from_errno(ret)); in register() 304 return Err(EINVAL); in register_with_vma() 308 return Err(EINVAL); in register_with_vma() 330 return Err(EBUSY); in register_with_vma() 382 Err(err) => { in use_range() 384 return Err(err); in use_range() 456 None => return Err(ESRCH), in use_page_slow() 519 return Err(EFAULT); in iterate()
|
| H A D | allocation.rs | 86 return Err(EFAULT); in size_check() 265 Err(kernel::alloc::AllocError) => { in drop() 280 if let Err(e) = self.fill_zero() { in drop() 336 return Err(EINVAL); in read() 343 return Err(EINVAL); in write() 355 return Err(EINVAL); in copy_into() 407 return Err(EINVAL); in transfer_binder_object() 511 return Err(EINVAL);
|
| H A D | context.rs | 84 return Err(EINVAL); in register_process() 114 return Err(EBUSY); in set_manager_node() 122 return Err(EPERM); in set_manager_node()
|
| /linux/rust/kernel/ |
| H A D | uaccess.rs | 269 return Err(EFAULT); in read_raw() 275 return Err(EFAULT); in read_raw() 320 return Err(EINVAL); in read_slice_file() 342 return Err(EFAULT); in read() 358 return Err(EFAULT); in read() 394 return Err(EINVAL); in strcpy_into_buf() 418 return Err(EFAULT); in strcpy_into_buf() 471 return Err(EFAULT); in write_raw() 478 return Err(EFAULT); in write_raw() 536 return Err(ERANGE); in write_dma() [all …]
|
| H A D | opp.rs | 382 return Err(EBUSY); in set_clk_names() 386 return Err(EINVAL); in set_clk_names() 396 return Err(EBUSY); in set_prop_name() 406 return Err(EBUSY); in set_regulator_names() 410 return Err(EINVAL); in set_regulator_names() 421 return Err(EBUSY); in set_required_dev() 431 return Err(EBUSY); in set_supported_hw() 435 return Err(EINVAL); in set_supported_hw() 866 return Err(EINVAL); in opp_from_freq() 919 SearchType::Exact => return Err(EINVAL), in opp_from_bw()
|
| H A D | maple_tree.rs | 174 return Err(InsertError { in insert_range() 187 if let Err(err) = res { in insert_range() 198 Err(InsertError { value, cause }) in insert_range() 451 return Err(AllocError { in alloc_range() 473 if let Err(err) = res { in alloc_range() 484 Err(AllocError { value, cause }) in alloc_range()
|
| /linux/rust/syn/ |
| H A D | group.rs | 99 Err(cursor.error(message)) in parse_delimited() 155 $crate::__private::Err(error) => { 156 return $crate::__private::Err(error); 233 $crate::__private::Err(error) => { 234 return $crate::__private::Err(error); 288 $crate::__private::Err(error) => { 289 return $crate::__private::Err(error);
|
| H A D | meta.rs | 414 return Err(input.error("expected nested attribute")); in parse_meta_path() 416 return Err(input.error("unexpected literal in nested attribute, expected ident")); in parse_meta_path() 418 return Err(input.error("unexpected token in nested attribute, expected ident")); in parse_meta_path()
|
| H A D | attr.rs | 249 Meta::Path(path) => Err(crate::error::new2( in parse_args_with() 258 Meta::NameValue(meta) => Err(Error::new( in parse_args_with() 528 Err(Error::new(error_span, "unexpected token in attribute")) in require_path_only() 537 Meta::Path(path) => Err(crate::error::new2( in require_list() 545 Meta::NameValue(meta) => Err(Error::new(meta.eq_token.span, "expected `(`")), in require_list() 555 Meta::Path(path) => Err(crate::error::new2( in require_name_value() 563 Meta::List(meta) => Err(Error::new(meta.delimiter.span().open(), "expected `=`")), in require_name_value() 753 return Err(input.error("unexpected attribute inside of attribute")); in parse_meta_name_value_after_path()
|
| H A D | parse_macro_input.rs | 114 $crate::__private::Err(err) => { 122 $crate::__private::Err(err) => {
|
| H A D | parse.rs | 1161 Some((span, delimiter)) => Err(err_unexpected_token(span, delimiter)), in check_unexpected() 1197 None => Err(cursor.error("expected token tree")), in parse() 1211 Err(cursor.error("expected group token")) in parse() 1221 None => Err(cursor.error("expected punctuation token")), in parse() 1231 None => Err(cursor.error("expected literal token")), in parse() 1302 Err(err_unexpected_token(unexpected_span, delimiter)) in parse2() 1318 Err(err_unexpected_token(unexpected_span, delimiter)) in __parse_scoped()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | boot.rs | 65 return Err(EBUSY); in run_fwsec_frts() 100 return Err(EIO); in run_fwsec_frts() 113 Err(EIO) in run_fwsec_frts() 123 Err(EIO) in run_fwsec_frts() 202 return Err(ENODEV); in boot() 235 Err(e) => dev_warn!(pdev, "GPU name unavailable: {:?}\n", e), in boot()
|
| H A D | cmdq.rs | 368 return Err(EMSGSIZE); in allocate_command() 568 Err(ERANGE) => continue, in send_command() 569 Err(e) => break Err(e), in send_command() 657 return Err(EIO); in send_single_command() 760 return Err(EIO); in wait_for_msg() 788 return Err(EIO); in wait_for_msg() 839 Err(ERANGE) in receive_msg()
|
| /linux/rust/kernel/pci/ |
| H A D | io.rs | 159 return Err(ENOMEM); in new() 171 return Err(EBUSY); in new() 184 return Err(ENOMEM); in new() 189 Err(err) => { in new() 195 return Err(err); in new() 295 return Err(EINVAL); in config_space_extended()
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_init.c | 66 goto Err; in asd_map_memio() 72 goto Err; in asd_map_memio() 86 Err: in asd_map_memio() 146 goto Err; in asd_map_ha() 152 goto Err; in asd_map_ha() 155 goto Err; in asd_map_ha() 161 goto Err; in asd_map_ha() 165 Err: in asd_map_ha() 195 goto Err; in asd_common_setup() 215 Err: in asd_common_setup() [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-ali1563.c | 343 goto Err; in ali1563_setup() 349 goto Err; in ali1563_setup() 359 goto Err; in ali1563_setup() 365 goto Err; in ali1563_setup() 371 goto Err; in ali1563_setup() 376 Err: in ali1563_setup()
|
| /linux/drivers/android/binder/range_alloc/ |
| H A D | tree.rs | 161 None => return Err(ENOSPC), in reserve_new() 170 return Err(ENOSPC); in reserve_new() 225 return Err(EINVAL); in reservation_abort() 237 (None, Err(EINVAL)) in reservation_abort() 244 (allocated, Err(EPERM)) in reservation_abort() 320 other => (other, Err(ENOENT)), in reservation_commit() 351 (other, Err(ENOENT)) in reserve_existing()
|
| H A D | array.rs | 126 None => return Err(ENOSPC), in reserve_new() 193 return Err(EPERM); in reservation_abort() 232 return Err(ENOENT); in reservation_commit() 248 return Err(ENOENT); in reserve_existing()
|
| /linux/rust/kernel/io/ |
| H A D | poll.rs | 43 /// `Err(ETIMEDOUT)` is returned. 100 return Err(ETIMEDOUT); in read_poll_timeout() 130 /// `Err(ETIMEDOUT)` is returned. 180 Err(ETIMEDOUT)
|