Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/drivers/scsi/
Dscsi_error.c134 int rtn; in scmd_eh_abort_handler() local
144 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
145 if (rtn == SUCCESS) { in scmd_eh_abort_handler()
170 (rtn == FAST_IO_FAIL) ? in scmd_eh_abort_handler()
286 enum blk_eh_timer_return rtn = BLK_EH_DONE; in scsi_times_out() local
296 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
298 if (rtn == BLK_EH_DONE) { in scsi_times_out()
312 return rtn; in scsi_times_out()
319 return rtn; in scsi_times_out()
792 int rtn; in scsi_try_host_reset() local
[all …]
Dscsi_lib.c1761 int rtn = 0; in scsi_dispatch_cmd() local
1815 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1816 if (rtn) { in scsi_dispatch_cmd()
1817 trace_scsi_dispatch_cmd_error(cmd, rtn); in scsi_dispatch_cmd()
1818 if (rtn != SCSI_MLQUEUE_DEVICE_BUSY && in scsi_dispatch_cmd()
1819 rtn != SCSI_MLQUEUE_TARGET_BUSY) in scsi_dispatch_cmd()
1820 rtn = SCSI_MLQUEUE_HOST_BUSY; in scsi_dispatch_cmd()
1826 return rtn; in scsi_dispatch_cmd()
1878 int rtn; in scsi_request_fn() local
1953 rtn = scsi_dispatch_cmd(cmd); in scsi_request_fn()
[all …]
/Linux-v4.19/net/rds/
Dtcp.c496 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_tune() local
500 if (rtn->sndbuf_size > 0) { in rds_tcp_tune()
501 sk->sk_sndbuf = rtn->sndbuf_size; in rds_tcp_tune()
504 if (rtn->rcvbuf_size > 0) { in rds_tcp_tune()
505 sk->sk_sndbuf = rtn->rcvbuf_size; in rds_tcp_tune()
513 struct rds_tcp_net *rtn = container_of(work, in rds_tcp_accept_worker() local
517 while (rds_tcp_accept_one(rtn->rds_tcp_listen_sock) == 0) in rds_tcp_accept_worker()
524 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_accept_work() local
526 queue_work(rds_wq, &rtn->rds_tcp_accept_w); in rds_tcp_accept_work()
531 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_init_net() local
[all …]
/Linux-v4.19/include/linux/
Dratelimit.h92 int rtn = !!(condition); \
94 if (unlikely(rtn && __ratelimit(&_rs))) \
95 WARN(rtn, format, ##__VA_ARGS__); \
97 rtn; \
107 int rtn = WARN(condition, format, ##__VA_ARGS__); \
108 rtn; \
/Linux-v4.19/drivers/i2c/busses/
Di2c-eg20t.c385 s32 rtn; in pch_i2c_writebytes() local
409 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
410 if (rtn) in pch_i2c_writebytes()
411 return rtn; in pch_i2c_writebytes()
422 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
423 if (rtn) in pch_i2c_writebytes()
424 return rtn; in pch_i2c_writebytes()
431 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
432 if (rtn) in pch_i2c_writebytes()
433 return rtn; in pch_i2c_writebytes()
[all …]
/Linux-v4.19/kernel/printk/
Dbraille.c33 int rtn = 0; in _braille_register_console() local
37 rtn = braille_register_console(console, c->index, c->options, in _braille_register_console()
41 return rtn; in _braille_register_console()
/Linux-v4.19/drivers/staging/unisys/visorhba/
Dvisorhba_main.c373 int rtn; in visorhba_abort_handler() local
381 rtn = forward_taskmgmt_command(TASK_MGMT_ABORT_TASK, scsidev); in visorhba_abort_handler()
382 if (rtn == SUCCESS) { in visorhba_abort_handler()
386 return rtn; in visorhba_abort_handler()
400 int rtn; in visorhba_device_reset_handler() local
408 rtn = forward_taskmgmt_command(TASK_MGMT_LUN_RESET, scsidev); in visorhba_device_reset_handler()
409 if (rtn == SUCCESS) { in visorhba_device_reset_handler()
413 return rtn; in visorhba_device_reset_handler()
427 int rtn; in visorhba_bus_reset_handler() local
437 rtn = forward_taskmgmt_command(TASK_MGMT_BUS_RESET, scsidev); in visorhba_bus_reset_handler()
[all …]
/Linux-v4.19/fs/nfsd/
Dnfscache.c399 int rtn = RC_DOIT; in nfsd_cache_lookup() local
404 return rtn; in nfsd_cache_lookup()
459 return rtn; in nfsd_cache_lookup()
466 rtn = RC_DROPIT; in nfsd_cache_lookup()
473 rtn = RC_DOIT; in nfsd_cache_lookup()
483 rtn = RC_REPLY; in nfsd_cache_lookup()
488 rtn = RC_REPLY; in nfsd_cache_lookup()
/Linux-v4.19/drivers/scsi/arcmsr/
Darcmsr_hba.c582 bool rtn = true; in arcmsr_alloc_io_queue() local
679 return rtn; in arcmsr_alloc_io_queue()
3189 bool rtn = false; in arcmsr_get_firmware_spec() local
3193 rtn = arcmsr_hbaA_get_config(acb); in arcmsr_get_firmware_spec()
3196 rtn = arcmsr_hbaB_get_config(acb); in arcmsr_get_firmware_spec()
3199 rtn = arcmsr_hbaC_get_config(acb); in arcmsr_get_firmware_spec()
3202 rtn = arcmsr_hbaD_get_config(acb); in arcmsr_get_firmware_spec()
3205 rtn = arcmsr_hbaE_get_config(acb); in arcmsr_get_firmware_spec()
3218 return rtn; in arcmsr_get_firmware_spec()
3228 int rtn; in arcmsr_hbaA_polling_ccbdone() local
[all …]
/Linux-v4.19/include/trace/events/
Dscsi.h244 TP_PROTO(struct scsi_cmnd *cmd, int rtn),
246 TP_ARGS(cmd, rtn),
253 __field( int, rtn )
267 __entry->rtn = rtn;
284 __entry->rtn)
/Linux-v4.19/drivers/w1/masters/
Domap_hdq.c286 goto rtn; in omap_hdq_break()
345 rtn: in omap_hdq_break()
357 goto rtn; in hdq_read_byte()
392 rtn: in hdq_read_byte()
405 goto rtn; in omap_hdq_get()
441 rtn: in omap_hdq_get()
490 goto rtn; in omap_w1_triplet()
551 rtn: in omap_w1_triplet()
/Linux-v4.19/kernel/time/
Dposix-timers.c432 struct task_struct *rtn; in good_sigevent() local
437 rtn = pid_task(pid, PIDTYPE_PID); in good_sigevent()
438 if (!rtn || !same_thread_group(rtn, current)) in good_sigevent()
912 struct itimerspec64 *rtn = old_setting ? &old_spec : NULL; in SYSCALL_DEFINE4() local
921 error = do_timer_settime(timer_id, flags, &new_spec, rtn); in SYSCALL_DEFINE4()
935 struct itimerspec64 *rtn = old ? &old_spec : NULL; in COMPAT_SYSCALL_DEFINE4() local
943 error = do_timer_settime(timer_id, flags, &new_spec, rtn); in COMPAT_SYSCALL_DEFINE4()
Dposix-cpu-timers.c274 u64 rtn; in posix_cpu_clock_get_task() local
278 err = cpu_clock_sample(which_clock, tsk, &rtn); in posix_cpu_clock_get_task()
281 err = cpu_clock_sample_group(which_clock, tsk, &rtn); in posix_cpu_clock_get_task()
285 *tp = ns_to_timespec64(rtn); in posix_cpu_clock_get_task()
/Linux-v4.19/net/sctp/
Dsm_statetable.c68 const struct sctp_sm_table_entry *rtn; \
73 rtn = &bug; \
75 rtn = &_table[event_subtype._type][(int)state]; \
77 rtn; \
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-sriox-defs.h189 uint64_t rtn:2; member
213 uint64_t rtn:2;
233 uint64_t rtn:2; member
257 uint64_t rtn:2;
276 uint64_t rtn:2; member
298 uint64_t rtn:2;
/Linux-v4.19/drivers/scsi/bfa/
Dbfad_im.c385 u32 rc, rtn = FAILED; in bfad_im_reset_target_handler() local
407 rtn = SUCCESS; in bfad_im_reset_target_handler()
412 return rtn; in bfad_im_reset_target_handler()
/Linux-v4.19/drivers/spi/
Dspi-topcliff-pch.c777 int rtn; in pch_spi_start_transfer() local
792 rtn = wait_event_interruptible_timeout(data->wait, in pch_spi_start_transfer()
795 if (!rtn) in pch_spi_start_transfer()
825 return rtn; in pch_spi_start_transfer()
/Linux-v4.19/tools/lib/traceevent/
Dparse-filter.c1268 enum tep_errno rtn = 0; /* TEP_ERRNO__SUCCESS */ in tep_filter_add_filter_str() local
1334 rtn = ret; in tep_filter_add_filter_str()
1348 if (rtn >= 0 && pevent->test_filters) in tep_filter_add_filter_str()
1351 return rtn; in tep_filter_add_filter_str()
/Linux-v4.19/arch/powerpc/oprofile/
Dop_model_cell.c1339 int rtn = 0; in cell_global_start_spu_events() local
1395 return rtn; in cell_global_start_spu_events()
/Linux-v4.19/virt/kvm/arm/
Darm.c109 void kvm_arch_check_processor_compat(void *rtn) in kvm_arch_check_processor_compat() argument
111 *(int *)rtn = 0; in kvm_arch_check_processor_compat()
/Linux-v4.19/drivers/tty/serial/
Dpch_uart.c1373 int rtn; in pch_uart_set_termios() local
1421 rtn = pch_uart_hal_set_line(priv, baud, parity, bits, stb); in pch_uart_set_termios()
1422 if (rtn) in pch_uart_set_termios()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic7xxx_osm.c525 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahc_linux_queue_lck() local
534 rtn = ahc_linux_run_command(ahc, dev, cmd); in ahc_linux_queue_lck()
538 return rtn; in ahc_linux_queue_lck()
Daic79xx_osm.c580 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahd_linux_queue_lck() local
586 rtn = ahd_linux_run_command(ahd, dev, cmd); in ahd_linux_queue_lck()
588 return rtn; in ahd_linux_queue_lck()
/Linux-v4.19/arch/s390/include/asm/
Dkvm_host.h862 static inline void kvm_arch_check_processor_compat(void *rtn) {} in kvm_arch_check_processor_compat() argument
/Linux-v4.19/arch/mips/kvm/
Dmips.c126 void kvm_arch_check_processor_compat(void *rtn) in kvm_arch_check_processor_compat() argument
128 *(int *)rtn = 0; in kvm_arch_check_processor_compat()

12