Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/
Dscsi_error.c154 enum scsi_disposition rtn; in scmd_eh_abort_handler() local
164 rtn = scsi_try_to_abort_cmd(sdev->host->hostt, scmd); in scmd_eh_abort_handler()
165 if (rtn == SUCCESS) { in scmd_eh_abort_handler()
191 (rtn == FAST_IO_FAIL) ? in scmd_eh_abort_handler()
307 enum blk_eh_timer_return rtn = BLK_EH_DONE; in scsi_times_out() local
317 rtn = host->hostt->eh_timed_out(scmd); in scsi_times_out()
319 if (rtn == BLK_EH_DONE) { in scsi_times_out()
340 return rtn; in scsi_times_out()
804 enum scsi_disposition rtn; in scsi_try_host_reset() local
814 rtn = hostt->eh_host_reset_handler(scmd); in scsi_try_host_reset()
[all …]
Dscsi_lib.c1456 int rtn = 0; in scsi_dispatch_cmd() local
1510 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1511 if (rtn) { in scsi_dispatch_cmd()
1512 trace_scsi_dispatch_cmd_error(cmd, rtn); in scsi_dispatch_cmd()
1513 if (rtn != SCSI_MLQUEUE_DEVICE_BUSY && in scsi_dispatch_cmd()
1514 rtn != SCSI_MLQUEUE_TARGET_BUSY) in scsi_dispatch_cmd()
1515 rtn = SCSI_MLQUEUE_HOST_BUSY; in scsi_dispatch_cmd()
1521 return rtn; in scsi_dispatch_cmd()
/Linux-v5.15/net/rds/
Dtcp.c494 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_tune() local
498 if (rtn->sndbuf_size > 0) { in rds_tcp_tune()
499 sk->sk_sndbuf = rtn->sndbuf_size; in rds_tcp_tune()
502 if (rtn->rcvbuf_size > 0) { in rds_tcp_tune()
503 sk->sk_sndbuf = rtn->rcvbuf_size; in rds_tcp_tune()
511 struct rds_tcp_net *rtn = container_of(work, in rds_tcp_accept_worker() local
515 while (rds_tcp_accept_one(rtn->rds_tcp_listen_sock) == 0) in rds_tcp_accept_worker()
522 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_accept_work() local
524 queue_work(rds_wq, &rtn->rds_tcp_accept_w); in rds_tcp_accept_work()
529 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_init_net() local
[all …]
/Linux-v5.15/include/linux/
Dratelimit.h58 int rtn = !!(condition); \
60 if (unlikely(rtn && __ratelimit(&_rs))) \
61 WARN(rtn, format, ##__VA_ARGS__); \
63 rtn; \
73 int rtn = WARN(condition, format, ##__VA_ARGS__); \
74 rtn; \
/Linux-v5.15/drivers/i2c/busses/
Di2c-eg20t.c378 s32 rtn; in pch_i2c_writebytes() local
402 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
403 if (rtn) in pch_i2c_writebytes()
404 return rtn; in pch_i2c_writebytes()
415 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
416 if (rtn) in pch_i2c_writebytes()
417 return rtn; in pch_i2c_writebytes()
424 rtn = pch_i2c_wait_for_check_xfer(adap); in pch_i2c_writebytes()
425 if (rtn) in pch_i2c_writebytes()
426 return rtn; in pch_i2c_writebytes()
[all …]
/Linux-v5.15/kernel/printk/
Dbraille.c40 int rtn = 0; in _braille_register_console() local
44 rtn = braille_register_console(console, c->index, c->options, in _braille_register_console()
48 return rtn; in _braille_register_console()
/Linux-v5.15/drivers/staging/unisys/visorhba/
Dvisorhba_main.c319 int rtn; in visorhba_abort_handler() local
327 rtn = forward_taskmgmt_command(TASK_MGMT_ABORT_TASK, scsidev); in visorhba_abort_handler()
328 if (rtn == SUCCESS) { in visorhba_abort_handler()
332 return rtn; in visorhba_abort_handler()
346 int rtn; in visorhba_device_reset_handler() local
354 rtn = forward_taskmgmt_command(TASK_MGMT_LUN_RESET, scsidev); in visorhba_device_reset_handler()
355 if (rtn == SUCCESS) { in visorhba_device_reset_handler()
359 return rtn; in visorhba_device_reset_handler()
373 int rtn; in visorhba_bus_reset_handler() local
383 rtn = forward_taskmgmt_command(TASK_MGMT_BUS_RESET, scsidev); in visorhba_bus_reset_handler()
[all …]
/Linux-v5.15/drivers/w1/masters/
Domap_hdq.c146 goto rtn; in hdq_write_byte()
190 rtn: in hdq_write_byte()
247 goto rtn; in omap_hdq_break()
304 rtn: in omap_hdq_break()
316 goto rtn; in hdq_read_byte()
356 rtn: in hdq_read_byte()
385 goto rtn; in omap_w1_triplet()
453 rtn: in omap_w1_triplet()
/Linux-v5.15/include/trace/events/
Dscsi.h200 TP_PROTO(struct scsi_cmnd *cmd, int rtn),
202 TP_ARGS(cmd, rtn),
209 __field( int, rtn )
223 __entry->rtn = rtn;
240 __entry->rtn)
/Linux-v5.15/drivers/scsi/arcmsr/
Darcmsr_hba.c671 bool rtn = true; in arcmsr_alloc_io_queue() local
747 return rtn; in arcmsr_alloc_io_queue()
3454 bool rtn = false; in arcmsr_get_firmware_spec() local
3458 rtn = arcmsr_hbaA_get_config(acb); in arcmsr_get_firmware_spec()
3461 rtn = arcmsr_hbaB_get_config(acb); in arcmsr_get_firmware_spec()
3464 rtn = arcmsr_hbaC_get_config(acb); in arcmsr_get_firmware_spec()
3467 rtn = arcmsr_hbaD_get_config(acb); in arcmsr_get_firmware_spec()
3470 rtn = arcmsr_hbaE_get_config(acb); in arcmsr_get_firmware_spec()
3473 rtn = arcmsr_hbaF_get_config(acb); in arcmsr_get_firmware_spec()
3486 return rtn; in arcmsr_get_firmware_spec()
[all …]
/Linux-v5.15/fs/nfsd/
Dnfscache.c423 int rtn = RC_DOIT; in nfsd_cache_lookup() local
462 return rtn; in nfsd_cache_lookup()
467 rtn = RC_DROPIT; in nfsd_cache_lookup()
475 rtn = RC_DOIT; in nfsd_cache_lookup()
485 rtn = RC_REPLY; in nfsd_cache_lookup()
490 rtn = RC_REPLY; in nfsd_cache_lookup()
497 trace_nfsd_drc_found(nn, rqstp, rtn); in nfsd_cache_lookup()
/Linux-v5.15/kernel/time/
Dposix-timers.c434 struct task_struct *rtn; in good_sigevent() local
439 rtn = pid_task(pid, PIDTYPE_PID); in good_sigevent()
440 if (!rtn || !same_thread_group(rtn, current)) in good_sigevent()
943 struct itimerspec64 *rtn = old_setting ? &old_spec : NULL; in SYSCALL_DEFINE4() local
952 error = do_timer_settime(timer_id, flags, &new_spec, rtn); in SYSCALL_DEFINE4()
966 struct itimerspec64 *rtn = old ? &old_spec : NULL; in SYSCALL_DEFINE4() local
974 error = do_timer_settime(timer_id, flags, &new_spec, rtn); in SYSCALL_DEFINE4()
/Linux-v5.15/net/sctp/
Dsm_statetable.c53 const struct sctp_sm_table_entry *rtn; \
58 rtn = &bug; \
60 rtn = &_table[event_subtype._type][(int)state]; \
62 rtn; \
/Linux-v5.15/arch/mips/include/asm/octeon/
Dcvmx-sriox-defs.h178 uint64_t rtn:2; member
202 uint64_t rtn:2;
222 uint64_t rtn:2; member
246 uint64_t rtn:2;
265 uint64_t rtn:2; member
287 uint64_t rtn:2;
/Linux-v5.15/drivers/scsi/bfa/
Dbfad_im.c377 u32 rc, rtn = FAILED; in bfad_im_reset_target_handler() local
399 rtn = SUCCESS; in bfad_im_reset_target_handler()
404 return rtn; in bfad_im_reset_target_handler()
/Linux-v5.15/drivers/spi/
Dspi-topcliff-pch.c774 int rtn; in pch_spi_start_transfer() local
789 rtn = wait_event_interruptible_timeout(data->wait, in pch_spi_start_transfer()
792 if (!rtn) in pch_spi_start_transfer()
822 return rtn; in pch_spi_start_transfer()
/Linux-v5.15/tools/lib/traceevent/
Dparse-filter.c1266 enum tep_errno rtn = 0; /* TEP_ERRNO__SUCCESS */ in tep_filter_add_filter_str() local
1332 rtn = ret; in tep_filter_add_filter_str()
1346 return rtn; in tep_filter_add_filter_str()
/Linux-v5.15/drivers/tty/serial/
Dpch_uart.c1360 int rtn; in pch_uart_set_termios() local
1408 rtn = pch_uart_hal_set_line(priv, baud, parity, bits, stb); in pch_uart_set_termios()
1409 if (rtn) in pch_uart_set_termios()
/Linux-v5.15/drivers/scsi/aic7xxx/
Daic7xxx_osm.c526 int rtn = SCSI_MLQUEUE_HOST_BUSY; in ahc_linux_queue_lck() local
535 rtn = ahc_linux_run_command(ahc, dev, cmd); in ahc_linux_queue_lck()
539 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-v5.15/Documentation/scsi/
DChangeLog.megaraid65 > scsi_delete_timer: scmd: f79ed980, rtn: 1