Home
last modified time | relevance | path

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

/fs/afs/
Dcmservice.c108 bool afs_cm_incoming_call(struct afs_call *call) in afs_cm_incoming_call() argument
110 _enter("{%u, CB.OP %u}", call->service_id, call->operation_ID); in afs_cm_incoming_call()
112 switch (call->operation_ID) { in afs_cm_incoming_call()
114 call->type = &afs_SRXCBCallBack; in afs_cm_incoming_call()
117 call->type = &afs_SRXCBInitCallBackState; in afs_cm_incoming_call()
120 call->type = &afs_SRXCBInitCallBackState3; in afs_cm_incoming_call()
123 call->type = &afs_SRXCBProbe; in afs_cm_incoming_call()
126 call->type = &afs_SRXCBProbeUuid; in afs_cm_incoming_call()
129 call->type = &afs_SRXCBTellMeAboutYourself; in afs_cm_incoming_call()
132 if (call->service_id != YFS_CM_SERVICE) in afs_cm_incoming_call()
[all …]
Drxrpc.c140 struct afs_call *call; in afs_alloc_call() local
143 call = kzalloc(sizeof(*call), gfp); in afs_alloc_call()
144 if (!call) in afs_alloc_call()
147 call->type = type; in afs_alloc_call()
148 call->net = net; in afs_alloc_call()
149 call->debug_id = atomic_inc_return(&rxrpc_debug_id); in afs_alloc_call()
150 refcount_set(&call->ref, 1); in afs_alloc_call()
151 INIT_WORK(&call->async_work, afs_process_async_call); in afs_alloc_call()
152 init_waitqueue_head(&call->waitq); in afs_alloc_call()
153 spin_lock_init(&call->state_lock); in afs_alloc_call()
[all …]
Dvlclient.c17 static int afs_deliver_vl_get_entry_by_name_u(struct afs_call *call) in afs_deliver_vl_get_entry_by_name_u() argument
27 ret = afs_transfer_reply(call); in afs_deliver_vl_get_entry_by_name_u()
32 uvldb = call->buffer; in afs_deliver_vl_get_entry_by_name_u()
33 entry = call->ret_vldb; in afs_deliver_vl_get_entry_by_name_u()
109 static void afs_destroy_vl_get_entry_by_name_u(struct afs_call *call) in afs_destroy_vl_get_entry_by_name_u() argument
111 kfree(call->ret_vldb); in afs_destroy_vl_get_entry_by_name_u()
112 afs_flat_call_destructor(call); in afs_destroy_vl_get_entry_by_name_u()
134 struct afs_call *call; in afs_vl_get_entry_by_name_u() local
148 call = afs_alloc_flat_call(net, &afs_RXVLGetEntryByNameU, reqsz, in afs_vl_get_entry_by_name_u()
150 if (!call) { in afs_vl_get_entry_by_name_u()
[all …]
Dyfsclient.c138 static void yfs_check_req(struct afs_call *call, __be32 *bp) in yfs_check_req() argument
140 size_t len = (void *)bp - call->request; in yfs_check_req()
142 if (len > call->request_size) in yfs_check_req()
144 call->type->name, len, call->request_size); in yfs_check_req()
145 else if (len < call->request_size) in yfs_check_req()
147 call->type->name, len, call->request_size); in yfs_check_req()
174 struct afs_call *call, in xdr_decode_YFSFetchStatus() argument
220 afs_protocol_error(call, afs_eproto_bad_status); in xdr_decode_YFSFetchStatus()
228 struct afs_call *call, in xdr_decode_YFSCallBack() argument
235 cb_expiry = ktime_add(call->issue_time, xdr_to_u64(x->expiration_time) * 100); in xdr_decode_YFSCallBack()
[all …]
Dfsclient.c55 struct afs_call *call, in xdr_decode_AFSFetchStatus() argument
60 bool inline_error = (call->operation_ID == afs_FS_InlineBulkStatus); in xdr_decode_AFSFetchStatus()
128 afs_protocol_error(call, afs_eproto_bad_status); in xdr_decode_AFSFetchStatus()
132 static time64_t xdr_decode_expiry(struct afs_call *call, u32 expiry) in xdr_decode_expiry() argument
134 return ktime_divns(call->issue_time, NSEC_PER_SEC) + expiry; in xdr_decode_expiry()
138 struct afs_call *call, in xdr_decode_AFSCallBack() argument
145 cb->expires_at = xdr_decode_expiry(call, ntohl(*bp++)); in xdr_decode_AFSCallBack()
238 static int afs_deliver_fs_fetch_status(struct afs_call *call) in afs_deliver_fs_fetch_status() argument
240 struct afs_operation *op = call->op; in afs_deliver_fs_fetch_status()
245 ret = afs_transfer_reply(call); in afs_deliver_fs_fetch_status()
[all …]
Dinternal.h164 int (*deliver)(struct afs_call *call);
167 void (*destructor)(struct afs_call *call);
173 void (*done)(struct afs_call *call);
854 struct afs_call *call; member
1287 static inline void afs_make_op_call(struct afs_operation *op, struct afs_call *call, in afs_make_op_call() argument
1290 op->call = call; in afs_make_op_call()
1291 op->type = call->type; in afs_make_op_call()
1292 call->op = op; in afs_make_op_call()
1293 call->key = op->key; in afs_make_op_call()
1294 call->intr = !(op->flags & AFS_OPERATION_UNINTR); in afs_make_op_call()
[all …]
Dvl_probe.c47 void afs_vlserver_probe_result(struct afs_call *call) in afs_vlserver_probe_result() argument
49 struct afs_addr_list *alist = call->alist; in afs_vlserver_probe_result()
50 struct afs_vlserver *server = call->vlserver; in afs_vlserver_probe_result()
51 unsigned int server_index = call->server_index; in afs_vlserver_probe_result()
53 unsigned int index = call->addr_ix; in afs_vlserver_probe_result()
55 int ret = call->error; in afs_vlserver_probe_result()
57 _enter("%s,%u,%u,%d,%d", server->name, server_index, index, ret, call->abort_code); in afs_vlserver_probe_result()
67 server->probe.abort_code = call->abort_code; in afs_vlserver_probe_result()
79 trace_afs_io_error(call->debug_id, ret, afs_io_error_vl_probe_fail); in afs_vlserver_probe_result()
98 trace_afs_io_error(call->debug_id, ret, afs_io_error_vl_probe_fail); in afs_vlserver_probe_result()
[all …]
Dfs_probe.c101 void afs_fileserver_probe_result(struct afs_call *call) in afs_fileserver_probe_result() argument
103 struct afs_addr_list *alist = call->alist; in afs_fileserver_probe_result()
104 struct afs_server *server = call->server; in afs_fileserver_probe_result()
105 unsigned int index = call->addr_ix; in afs_fileserver_probe_result()
107 int ret = call->error; in afs_fileserver_probe_result()
119 server->probe.abort_code = call->abort_code; in afs_fileserver_probe_result()
127 trace_afs_io_error(call->debug_id, ret, afs_io_error_fs_probe_fail); in afs_fileserver_probe_result()
146 trace_afs_io_error(call->debug_id, ret, afs_io_error_fs_probe_fail); in afs_fileserver_probe_result()
153 if (call->service_id == YFS_FS_SERVICE) { in afs_fileserver_probe_result()
156 alist->addrs[index].srx_service = call->service_id; in afs_fileserver_probe_result()
[all …]
Dfs_operation.c191 if (op->call) in afs_wait_for_operation()
192 op->error = afs_wait_for_call_to_complete(op->call, &op->ac); in afs_wait_for_operation()
Dflock.c71 void afs_lock_op_done(struct afs_call *call) in afs_lock_op_done() argument
73 struct afs_operation *op = call->op; in afs_lock_op_done()
76 if (call->error == 0) { in afs_lock_op_done()
79 vnode->locked_at = call->issue_time; in afs_lock_op_done()
/fs/lockd/
Dsvclock.c48 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock);
49 static void nlmsvc_freegrantargs(struct nlm_rqst *call);
230 struct nlm_rqst *call = NULL; in nlmsvc_create_block() local
232 call = nlm_alloc_call(host); in nlmsvc_create_block()
233 if (call == NULL) in nlmsvc_create_block()
244 if (!nlmsvc_setgrantargs(call, lock)) in nlmsvc_create_block()
248 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block()
249 call->a_args.lock.fl.fl_lmops = &nlmsvc_lock_operations; in nlmsvc_create_block()
250 nlmclnt_next_cookie(&call->a_args.cookie); in nlmsvc_create_block()
264 block->b_call = call; in nlmsvc_create_block()
[all …]
Dclntproc.c163 struct nlm_rqst *call; in nlmclnt_proc() local
167 call = nlm_alloc_call(host); in nlmclnt_proc()
168 if (call == NULL) in nlmclnt_proc()
177 nlmclnt_release_call(call); in nlmclnt_proc()
181 nlmclnt_setlockargs(call, fl); in nlmclnt_proc()
182 call->a_callback_data = data; in nlmclnt_proc()
186 call->a_args.block = IS_SETLKW(cmd) ? 1 : 0; in nlmclnt_proc()
187 status = nlmclnt_lock(call, fl); in nlmclnt_proc()
189 status = nlmclnt_unlock(call, fl); in nlmclnt_proc()
191 status = nlmclnt_test(call, fl); in nlmclnt_proc()
[all …]
Dsvcproc.c310 void nlmsvc_release_call(struct nlm_rqst *call) in nlmsvc_release_call() argument
312 if (!refcount_dec_and_test(&call->a_count)) in nlmsvc_release_call()
314 nlmsvc_release_host(call->a_host); in nlmsvc_release_call()
315 kfree(call); in nlmsvc_release_call()
338 struct nlm_rqst *call; in nlmsvc_callback() local
347 call = nlm_alloc_call(host); in nlmsvc_callback()
349 if (call == NULL) in nlmsvc_callback()
352 stat = func(rqstp, &call->a_res); in nlmsvc_callback()
354 nlmsvc_release_call(call); in nlmsvc_callback()
358 call->a_flags = RPC_TASK_ASYNC; in nlmsvc_callback()
[all …]
Dsvc4proc.c305 struct nlm_rqst *call; in nlm4svc_callback() local
314 call = nlm_alloc_call(host); in nlm4svc_callback()
316 if (call == NULL) in nlm4svc_callback()
319 stat = func(rqstp, &call->a_res); in nlm4svc_callback()
321 nlmsvc_release_call(call); in nlm4svc_callback()
325 call->a_flags = RPC_TASK_ASYNC; in nlm4svc_callback()
326 if (nlm_async_reply(call, proc, &nlm4svc_callback_ops) < 0) in nlm4svc_callback()
/fs/btrfs/
DMakefile11 $(call cc-option, -Wunused-but-set-variable) \
12 $(call cc-option, -Wunused-const-variable) \
13 $(call cc-option, -Wpacked-not-aligned) \
14 $(call cc-option, -Wstringop-truncation) \
15 $(call cc-option, -Wmaybe-uninitialized)
/fs/ntfs3/
DMakefile8 $(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \
9 $(call cc-option,-Wold-style-declaration,-Wout-of-line-declaration)
/fs/unicode/
DMakefile31 $(call if_changed,utf8data)
36 $(call if_changed,copy)
/fs/proc/
DMakefile8 CFLAGS_task_mmu.o += $(call cc-option,-Wno-override-init,)
/fs/nfsd/
Dnfs4callback.c838 #define PROC(proc, call, argtype, restype) \ argument
840 .p_proc = NFSPROC4_CB_##call, \
845 .p_statidx = NFSPROC4_CB_##call, \
/fs/reiserfs/
Dprocfs.c215 SFPF(call), in show_bitmap()
Dbitmap.c358 PROC_INFO_INC(s, scan_bitmap.call); in scan_bitmap()
Dreiserfs.h481 stat_cnt_t call; member
/fs/befs/
DChangeLog291 Added a wrapper function to give the old call
373 The kernel doesn't like it if you call set_blocksize() on a device when
/fs/affs/
DChanges342 Let's just call Ray Burr's original affs
/fs/
DKconfig125 call. Disabling this option saves about 11k.