Home
last modified time | relevance | path

Searched refs:tk_status (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.10/net/sunrpc/
Dclnt.c1172 status = task->tk_status; in rpc_call_sync()
1567 task->tk_status = 0; in __rpc_restart_call()
1612 __rpc_call_rpcerror(struct rpc_task *task, int tk_status, int rpc_status) in __rpc_call_rpcerror() argument
1614 trace_rpc_call_rpcerror(task, tk_status, rpc_status); in __rpc_call_rpcerror()
1616 rpc_exit(task, tk_status); in __rpc_call_rpcerror()
1653 task->tk_status = 0; in call_reserve()
1666 int status = task->tk_status; in call_reserveresult()
1672 task->tk_status = 0; in call_reserveresult()
1708 task->tk_status = 0; in call_retry_reserve()
1720 task->tk_status = 0; in call_refresh()
[all …]
Dxprt.c222 task->tk_status = -EAGAIN; in xprt_reserve_xprt()
288 task->tk_status = -EAGAIN; in xprt_reserve_xprt_cong()
840 task->tk_status = -EAGAIN; in xprt_connect()
866 task->tk_status = 0; in xprt_connect()
1150 if (task->tk_status != -ETIMEDOUT) in xprt_timer()
1153 trace_xprt_timer(xprt, req->rq_xid, task->tk_status); in xprt_timer()
1158 task->tk_status = 0; in xprt_timer()
1537 task->tk_status = status; in xprt_transmit()
1616 task->tk_status = -ENOMEM; in xprt_alloc_slot()
1623 task->tk_status = -EAGAIN; in xprt_alloc_slot()
[all …]
Dsched.c396 task->tk_status = -ETIMEDOUT; in __rpc_sleep_on_priority_timeout()
409 task->tk_status = -EIO; in rpc_sleep_check_activated()
554 task->tk_status = *(int *)status; in rpc_task_action_set_status()
725 task->tk_status = status; in rpc_wake_up_status()
750 task->tk_status = -ETIMEDOUT; in __rpc_queue_timer_fn()
764 if (task->tk_status == -ETIMEDOUT) in __rpc_atrun()
765 task->tk_status = 0; in __rpc_atrun()
843 task->tk_status = status; in rpc_exit()
Ddebugfs.c34 task->tk_pid, task->tk_flags, task->tk_status, in tasks_show()
Dstats.c179 if (task->tk_status < 0) in rpc_count_iostats_metrics()
Drpcb_clnt.c757 task->tk_status = status; in rpcb_getport_async()
770 map->r_status = child->tk_status; in rpcb_getport_done()
/Linux-v5.10/fs/nfs/filelayout/
Dfilelayout.c102 task->tk_status = pnfs_write_done_resend_to_mds(hdr); in filelayout_reset_write()
119 task->tk_status = pnfs_read_done_resend_to_mds(hdr); in filelayout_reset_read()
133 if (task->tk_status >= 0) in filelayout_async_handle_error()
136 switch (task->tk_status) { in filelayout_async_handle_error()
146 "flags 0x%x\n", __func__, task->tk_status, in filelayout_async_handle_error()
148 nfs4_schedule_session_recovery(clp->cl_session, task->tk_status); in filelayout_async_handle_error()
165 task->tk_status); in filelayout_async_handle_error()
185 task->tk_status); in filelayout_async_handle_error()
194 task->tk_status); in filelayout_async_handle_error()
197 task->tk_status = 0; in filelayout_async_handle_error()
[all …]
/Linux-v5.10/fs/nfs/flexfilelayout/
Dflexfilelayout.c1050 task->tk_status = pnfs_write_done_resend_to_mds(hdr); in ff_layout_reset_write()
1086 task->tk_status = pnfs_read_done_resend_to_mds(hdr); in ff_layout_reset_read()
1101 switch (task->tk_status) { in ff_layout_async_handle_error_v4()
1110 "flags 0x%x\n", __func__, task->tk_status, in ff_layout_async_handle_error_v4()
1112 nfs4_schedule_session_recovery(clp->cl_session, task->tk_status); in ff_layout_async_handle_error_v4()
1128 task->tk_status); in ff_layout_async_handle_error_v4()
1148 task->tk_status); in ff_layout_async_handle_error_v4()
1158 task->tk_status); in ff_layout_async_handle_error_v4()
1161 task->tk_status = 0; in ff_layout_async_handle_error_v4()
1172 switch (task->tk_status) { in ff_layout_async_handle_error_v3()
[all …]
/Linux-v5.10/fs/nfsd/
Dnfs4callback.c968 trace_nfsd_cb_done(clp, task->tk_status); in nfsd4_cb_probe_done()
969 if (task->tk_status) in nfsd4_cb_probe_done()
970 nfsd4_mark_cb_down(clp, task->tk_status); in nfsd4_cb_probe_done()
1162 task->tk_status = 0; in nfsd4_cb_sequence_done()
1173 trace_nfsd_cb_done(clp, task->tk_status); in nfsd4_cb_done()
1179 WARN_ON_ONCE(task->tk_status); in nfsd4_cb_done()
1180 task->tk_status = cb->cb_status; in nfsd4_cb_done()
1185 task->tk_status = 0; in nfsd4_cb_done()
1189 switch (task->tk_status) { in nfsd4_cb_done()
1192 nfsd4_mark_cb_down(clp, task->tk_status); in nfsd4_cb_done()
Dnfs4layouts.c661 switch (task->tk_status) { in nfsd4_cb_layout_done()
699 task->tk_status = 0; in nfsd4_cb_layout_done()
/Linux-v5.10/fs/nfs/
Dnfs4proc.c648 if (task->tk_status >= 0) in nfs4_async_handle_error()
652 task->tk_status = nfs4_async_handle_exception(task, server, in nfs4_async_handle_error()
653 task->tk_status, in nfs4_async_handle_error()
816 if (task->tk_status == -NFS4ERR_DEADSESSION) in nfs41_sequence_process()
922 task->tk_status = 0; in nfs41_sequence_process()
1121 ret = task->tk_status; in nfs4_call_sync_custom()
2327 data->rpc_status = task->tk_status; in nfs4_open_confirm_done()
2470 data->rpc_status = task->tk_status; in nfs4_open_done()
2475 if (task->tk_status == 0) { in nfs4_open_done()
3534 trace_nfs4_close(state, &calldata->arg, &calldata->res, task->tk_status); in nfs4_close_done()
[all …]
Dunlink.c51 trace_nfs_sillyrename_unlink(data, task->tk_status); in nfs_async_unlink_done()
266 new_dir, data->new_dentry, task->tk_status); in nfs_async_rename_done()
395 if (task->tk_status != 0) { in nfs_complete_sillyrename()
496 error = task->tk_status; in nfs_sillyrename()
Dnfs3proc.c50 if (task->tk_status != -EJUKEBOX) in nfs3_async_handle_jukebox()
52 if (task->tk_status == -EJUKEBOX) in nfs3_async_handle_jukebox()
54 task->tk_status = 0; in nfs3_async_handle_jukebox()
834 if (task->tk_status >= 0 && !server->read_hdrsize) in nfs3_read_done()
865 if (task->tk_status >= 0) in nfs3_write_done()
Dnfs42proc.c482 if (task->tk_status && in nfs42_offload_cancel_done()
724 switch (task->tk_status) { in nfs42_layoutstat_done()
773 trace_nfs4_layoutstats(inode, &data->args.stateid, task->tk_status); in nfs42_layoutstat_done()
894 switch (task->tk_status) { in nfs42_layouterror_done()
942 task->tk_status); in nfs42_layouterror_done()
Dnfstrace.h943 __entry->status = task->tk_status;
990 __entry->status = task->tk_status;
1134 __entry->status = task->tk_status;
1269 __entry->status = task->tk_status;
Dproc.c602 if (task->tk_status >= 0) { in nfs_read_done()
629 if (task->tk_status >= 0) { in nfs_write_done()
Dpagelist.c874 task->tk_pid, task->tk_status); in nfs_pgio_result()
878 if (task->tk_status < 0) in nfs_pgio_result()
879 nfs_set_pgio_error(hdr, task->tk_status, hdr->args.offset); in nfs_pgio_result()
Dwrite.c1572 task->tk_status >= 0) { in nfs_writeback_done()
1626 task->tk_status = -EIO; in nfs_writeback_result()
1827 task->tk_pid, task->tk_status); in nfs_commit_done()
1838 int status = data->task.tk_status; in nfs_commit_release_pages()
Dread.c252 if (task->tk_status == -ESTALE) { in nfs_readpage_done()
/Linux-v5.10/fs/lockd/
Dclntproc.c723 if (task->tk_status < 0) { in nlmclnt_unlock_callback()
724 dprintk("lockd: unlock failed (err = %d)\n", -task->tk_status); in nlmclnt_unlock_callback()
725 switch (task->tk_status) { in nlmclnt_unlock_callback()
791 if (task->tk_status < 0) { in nlmclnt_cancel_callback()
793 task->tk_status); in nlmclnt_cancel_callback()
Dsvc4proc.c270 -task->tk_status); in nlm4svc_callback_exit()
/Linux-v5.10/include/trace/events/
Dsunrpc.h248 __entry->status = task->tk_status;
369 __entry->status = task->tk_status;
420 __entry->status = task->tk_status;
572 int tk_status,
576 TP_ARGS(task, tk_status, rpc_status),
581 __field(int, tk_status)
588 __entry->tk_status = tk_status;
594 __entry->tk_status, __entry->rpc_status)
/Linux-v5.10/include/linux/sunrpc/
Dsched.h45 int tk_status; /* result of last operation */ member
/Linux-v5.10/net/sunrpc/xprtrdma/
Dtransport.c517 task->tk_status = 0; in xprt_rdma_alloc_slot()
523 task->tk_status = -EAGAIN; in xprt_rdma_alloc_slot()
/Linux-v5.10/fs/nfs/blocklayout/
Dblocklayout.c247 hdr->task.tk_status = hdr->pnfs_error; in bl_end_par_io_read()
391 hdr->task.tk_status = hdr->pnfs_error; in bl_end_par_io_write()

12