Home
last modified time | relevance | path

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

/fs/afs/
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 atomic_set(&call->usage, 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 …]
Dcmservice.c106 bool afs_cm_incoming_call(struct afs_call *call) in afs_cm_incoming_call() argument
108 _enter("{%u, CB.OP %u}", call->service_id, call->operation_ID); in afs_cm_incoming_call()
110 call->epoch = rxrpc_kernel_get_epoch(call->net->socket, call->rxcall); 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()
[all …]
Dfsclient.c18 static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi) in afs_use_fs_server() argument
20 call->cbi = afs_get_cb_interest(cbi); in afs_use_fs_server()
60 struct afs_call *call, in xdr_decode_AFSFetchStatus() argument
65 bool inline_error = (call->operation_ID == afs_FS_InlineBulkStatus); in xdr_decode_AFSFetchStatus()
133 afs_protocol_error(call, -EBADMSG, afs_eproto_bad_status); in xdr_decode_AFSFetchStatus()
137 static time64_t xdr_decode_expiry(struct afs_call *call, u32 expiry) in xdr_decode_expiry() argument
139 return ktime_divns(call->issue_time, NSEC_PER_SEC) + expiry; in xdr_decode_expiry()
143 struct afs_call *call, in xdr_decode_AFSCallBack() argument
150 cb->expires_at = xdr_decode_expiry(call, ntohl(*bp++)); in xdr_decode_AFSCallBack()
243 static int afs_deliver_fs_fetch_status_vnode(struct afs_call *call) in afs_deliver_fs_fetch_status_vnode() argument
[all …]
Dyfsclient.c20 static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi) in afs_use_fs_server() argument
22 call->cbi = afs_get_cb_interest(cbi); in afs_use_fs_server()
147 static void yfs_check_req(struct afs_call *call, __be32 *bp) in yfs_check_req() argument
149 size_t len = (void *)bp - call->request; in yfs_check_req()
151 if (len > call->request_size) in yfs_check_req()
153 call->type->name, len, call->request_size); in yfs_check_req()
154 else if (len < call->request_size) in yfs_check_req()
156 call->type->name, len, call->request_size); in yfs_check_req()
183 struct afs_call *call, in xdr_decode_YFSFetchStatus() argument
229 afs_protocol_error(call, -EBADMSG, afs_eproto_bad_status); in xdr_decode_YFSFetchStatus()
[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()
108 static void afs_destroy_vl_get_entry_by_name_u(struct afs_call *call) in afs_destroy_vl_get_entry_by_name_u() argument
110 kfree(call->ret_vldb); in afs_destroy_vl_get_entry_by_name_u()
111 afs_flat_call_destructor(call); in afs_destroy_vl_get_entry_by_name_u()
133 struct afs_call *call; in afs_vl_get_entry_by_name_u() local
147 call = afs_alloc_flat_call(net, &afs_RXVLGetEntryByNameU, reqsz, in afs_vl_get_entry_by_name_u()
149 if (!call) { in afs_vl_get_entry_by_name_u()
[all …]
Dvl_probe.c29 void afs_vlserver_probe_result(struct afs_call *call) in afs_vlserver_probe_result() argument
31 struct afs_addr_list *alist = call->alist; in afs_vlserver_probe_result()
32 struct afs_vlserver *server = call->vlserver; in afs_vlserver_probe_result()
33 unsigned int server_index = call->server_index; in afs_vlserver_probe_result()
35 unsigned int index = call->addr_ix; in afs_vlserver_probe_result()
37 int ret = call->error; in afs_vlserver_probe_result()
39 _enter("%s,%u,%u,%d,%d", server->name, server_index, index, ret, call->abort_code); in afs_vlserver_probe_result()
49 server->probe.abort_code = call->abort_code; in afs_vlserver_probe_result()
56 afs_io_error(call, afs_io_error_vl_probe_fail); in afs_vlserver_probe_result()
75 afs_io_error(call, afs_io_error_vl_probe_fail); in afs_vlserver_probe_result()
[all …]
Dfs_probe.c29 void afs_fileserver_probe_result(struct afs_call *call) in afs_fileserver_probe_result() argument
31 struct afs_addr_list *alist = call->alist; in afs_fileserver_probe_result()
32 struct afs_server *server = call->server; in afs_fileserver_probe_result()
33 unsigned int server_index = call->server_index; in afs_fileserver_probe_result()
34 unsigned int index = call->addr_ix; in afs_fileserver_probe_result()
37 int ret = call->error; in afs_fileserver_probe_result()
49 server->probe.abort_code = call->abort_code; in afs_fileserver_probe_result()
56 afs_io_error(call, afs_io_error_fs_probe_fail); in afs_fileserver_probe_result()
75 afs_io_error(call, afs_io_error_fs_probe_fail); in afs_fileserver_probe_result()
83 if (call->service_id == YFS_FS_SERVICE) { in afs_fileserver_probe_result()
[all …]
Dinternal.h185 int (*deliver)(struct afs_call *call);
188 void (*destructor)(struct afs_call *call);
194 void (*done)(struct afs_call *call);
1129 static inline void afs_set_fc_call(struct afs_call *call, struct afs_fs_cursor *fc) in afs_set_fc_call() argument
1131 call->intr = fc->flags & AFS_FS_CURSOR_INTR; in afs_set_fc_call()
1132 fc->type = call->type; in afs_set_fc_call()
1135 static inline void afs_extract_begin(struct afs_call *call, void *buf, size_t size) in afs_extract_begin() argument
1137 call->kvec[0].iov_base = buf; in afs_extract_begin()
1138 call->kvec[0].iov_len = size; in afs_extract_begin()
1139 iov_iter_kvec(&call->iter, READ, call->kvec, 1, size); in afs_extract_begin()
[all …]
Dflock.c71 void afs_lock_op_done(struct afs_call *call) in afs_lock_op_done() argument
73 struct afs_vnode *vnode = call->lvnode; in afs_lock_op_done()
75 if (call->error == 0) { in afs_lock_op_done()
78 vnode->locked_at = call->issue_time; in afs_lock_op_done()
/fs/lockd/
Dsvclock.c47 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock);
48 static void nlmsvc_freegrantargs(struct nlm_rqst *call);
221 struct nlm_rqst *call = NULL; in nlmsvc_create_block() local
223 call = nlm_alloc_call(host); in nlmsvc_create_block()
224 if (call == NULL) in nlmsvc_create_block()
235 if (!nlmsvc_setgrantargs(call, lock)) in nlmsvc_create_block()
239 call->a_args.lock.fl.fl_flags |= FL_SLEEP; in nlmsvc_create_block()
240 call->a_args.lock.fl.fl_lmops = &nlmsvc_lock_operations; in nlmsvc_create_block()
241 nlmclnt_next_cookie(&call->a_args.cookie); in nlmsvc_create_block()
255 block->b_call = call; in nlmsvc_create_block()
[all …]
Dclntproc.c160 struct nlm_rqst *call; in nlmclnt_proc() local
164 call = nlm_alloc_call(host); in nlmclnt_proc()
165 if (call == NULL) in nlmclnt_proc()
174 nlmclnt_release_call(call); in nlmclnt_proc()
178 nlmclnt_setlockargs(call, fl); in nlmclnt_proc()
179 call->a_callback_data = data; in nlmclnt_proc()
183 call->a_args.block = IS_SETLKW(cmd) ? 1 : 0; in nlmclnt_proc()
184 status = nlmclnt_lock(call, fl); in nlmclnt_proc()
186 status = nlmclnt_unlock(call, fl); in nlmclnt_proc()
188 status = nlmclnt_test(call, fl); in nlmclnt_proc()
[all …]
Dsvcproc.c306 void nlmsvc_release_call(struct nlm_rqst *call) in nlmsvc_release_call() argument
308 if (!refcount_dec_and_test(&call->a_count)) in nlmsvc_release_call()
310 nlmsvc_release_host(call->a_host); in nlmsvc_release_call()
311 kfree(call); in nlmsvc_release_call()
334 struct nlm_rqst *call; in nlmsvc_callback() local
343 call = nlm_alloc_call(host); in nlmsvc_callback()
345 if (call == NULL) in nlmsvc_callback()
348 stat = func(rqstp, &call->a_res); in nlmsvc_callback()
350 nlmsvc_release_call(call); in nlmsvc_callback()
354 call->a_flags = RPC_TASK_ASYNC; in nlmsvc_callback()
[all …]
Dsvc4proc.c293 struct nlm_rqst *call; in nlm4svc_callback() local
302 call = nlm_alloc_call(host); in nlm4svc_callback()
304 if (call == NULL) in nlm4svc_callback()
307 stat = func(rqstp, &call->a_res); in nlm4svc_callback()
309 nlmsvc_release_call(call); in nlm4svc_callback()
313 call->a_flags = RPC_TASK_ASYNC; in nlm4svc_callback()
314 if (nlm_async_reply(call, proc, &nlm4svc_callback_ops) < 0) in nlm4svc_callback()
/fs/unicode/
DMakefile28 $(call if_changed,utf8data)
33 $(call if_changed,shipped)
/fs/proc/
DMakefile8 CFLAGS_task_mmu.o += $(call cc-option,-Wno-override-init,)
/fs/nfsd/
Dnfs4callback.c767 #define PROC(proc, call, argtype, restype) \ argument
769 .p_proc = NFSPROC4_CB_##call, \
774 .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.h484 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/
DKconfig101 call. Disabling this option saves about 11k.
/fs/affs/
DChanges342 Let's just call Ray Burr's original affs