Home
last modified time | relevance | path

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

123

/linux-4.19.296/fs/afs/
Drxrpc.c132 struct afs_call *call; in afs_alloc_call() local
135 call = kzalloc(sizeof(*call), gfp); in afs_alloc_call()
136 if (!call) in afs_alloc_call()
139 call->type = type; in afs_alloc_call()
140 call->net = net; in afs_alloc_call()
141 call->debug_id = atomic_inc_return(&rxrpc_debug_id); in afs_alloc_call()
142 atomic_set(&call->usage, 1); in afs_alloc_call()
143 INIT_WORK(&call->async_work, afs_process_async_call); in afs_alloc_call()
144 init_waitqueue_head(&call->waitq); in afs_alloc_call()
145 spin_lock_init(&call->state_lock); in afs_alloc_call()
[all …]
Dcmservice.c107 bool afs_cm_incoming_call(struct afs_call *call) in afs_cm_incoming_call() argument
109 _enter("{CB.OP %u}", call->operation_ID); in afs_cm_incoming_call()
111 switch (call->operation_ID) { in afs_cm_incoming_call()
113 call->type = &afs_SRXCBCallBack; in afs_cm_incoming_call()
116 call->type = &afs_SRXCBInitCallBackState; in afs_cm_incoming_call()
119 call->type = &afs_SRXCBInitCallBackState3; in afs_cm_incoming_call()
122 call->type = &afs_SRXCBProbe; in afs_cm_incoming_call()
125 call->type = &afs_SRXCBProbeUuid; in afs_cm_incoming_call()
128 call->type = &afs_SRXCBTellMeAboutYourself; in afs_cm_incoming_call()
138 static void afs_cm_destructor(struct afs_call *call) in afs_cm_destructor() argument
[all …]
Dvlclient.c21 static int afs_deliver_vl_get_entry_by_name_u(struct afs_call *call) in afs_deliver_vl_get_entry_by_name_u() argument
31 ret = afs_transfer_reply(call); in afs_deliver_vl_get_entry_by_name_u()
36 uvldb = call->buffer; in afs_deliver_vl_get_entry_by_name_u()
37 entry = call->reply[0]; in afs_deliver_vl_get_entry_by_name_u()
112 static void afs_destroy_vl_get_entry_by_name_u(struct afs_call *call) in afs_destroy_vl_get_entry_by_name_u() argument
114 kfree(call->reply[0]); in afs_destroy_vl_get_entry_by_name_u()
115 afs_flat_call_destructor(call); in afs_destroy_vl_get_entry_by_name_u()
139 struct afs_call *call; in afs_vl_get_entry_by_name_u() local
152 call = afs_alloc_flat_call(net, &afs_RXVLGetEntryByNameU, reqsz, in afs_vl_get_entry_by_name_u()
154 if (!call) { in afs_vl_get_entry_by_name_u()
[all …]
Dfsclient.c29 static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi) in afs_use_fs_server() argument
31 call->cbi = afs_get_cb_interest(cbi); in afs_use_fs_server()
129 static int xdr_decode_AFSFetchStatus(struct afs_call *call, in xdr_decode_AFSFetchStatus() argument
137 bool inline_error = (call->operation_ID == afs_FS_InlineBulkStatus); in xdr_decode_AFSFetchStatus()
236 return afs_protocol_error(call, -EBADMSG); in xdr_decode_AFSFetchStatus()
243 static int afs_decode_status(struct afs_call *call, in afs_decode_status() argument
253 return xdr_decode_AFSFetchStatus(call, _bp, status, vnode, in afs_decode_status()
257 ret = xdr_decode_AFSFetchStatus(call, _bp, status, vnode, in afs_decode_status()
266 static void xdr_decode_AFSCallBack(struct afs_call *call, in xdr_decode_AFSCallBack() argument
270 struct afs_cb_interest *old, *cbi = call->cbi; in xdr_decode_AFSCallBack()
[all …]
Dinternal.h140 int (*deliver)(struct afs_call *call);
143 void (*destructor)(struct afs_call *call);
934 static inline int afs_transfer_reply(struct afs_call *call) in afs_transfer_reply() argument
936 return afs_extract_data(call, call->buffer, call->reply_max, false); in afs_transfer_reply()
939 static inline bool afs_check_call_state(struct afs_call *call, in afs_check_call_state() argument
942 return READ_ONCE(call->state) == state; in afs_check_call_state()
945 static inline bool afs_set_call_state(struct afs_call *call, in afs_set_call_state() argument
951 spin_lock_bh(&call->state_lock); in afs_set_call_state()
952 if (call->state == from) { in afs_set_call_state()
953 call->state = to; in afs_set_call_state()
[all …]
/linux-4.19.296/include/trace/events/
Dafs.h174 TP_PROTO(struct afs_call *call, unsigned count, unsigned offset,
177 TP_ARGS(call, count, offset, want_more, ret),
180 __field(unsigned int, call )
190 __entry->call = call->debug_id;
191 __entry->state = call->state;
192 __entry->unmarshall = call->unmarshall;
200 __entry->call,
207 TP_PROTO(struct rxrpc_call *rxcall, struct afs_call *call),
209 TP_ARGS(rxcall, call),
212 __field(unsigned int, call )
[all …]
Drxrpc.h617 TP_PROTO(struct rxrpc_call *call, enum rxrpc_call_trace op,
620 TP_ARGS(call, op, usage, where, aux),
623 __field(unsigned int, call )
631 __entry->call = call->debug_id;
639 __entry->call,
749 TP_PROTO(struct rxrpc_call *call),
751 TP_ARGS(call),
754 __field(unsigned int, call )
761 __entry->call = call->debug_id;
762 __entry->compl = call->completion;
[all …]
/linux-4.19.296/include/linux/
Ddelayed_call.h18 static inline void set_delayed_call(struct delayed_call *call, in set_delayed_call() argument
21 call->fn = fn; in set_delayed_call()
22 call->arg = arg; in set_delayed_call()
25 static inline void do_delayed_call(struct delayed_call *call) in do_delayed_call() argument
27 if (call->fn) in do_delayed_call()
28 call->fn(call->arg); in do_delayed_call()
31 static inline void clear_delayed_call(struct delayed_call *call) in clear_delayed_call() argument
33 call->fn = NULL; in clear_delayed_call()
Dtrace_events.h288 static inline bool bpf_prog_array_valid(struct trace_event_call *call) in bpf_prog_array_valid() argument
307 return !!READ_ONCE(call->prog_array); in bpf_prog_array_valid()
312 trace_event_name(struct trace_event_call *call) in trace_event_name() argument
314 if (call->flags & TRACE_EVENT_FL_TRACEPOINT) in trace_event_name()
315 return call->tp ? call->tp->name : NULL; in trace_event_name()
317 return call->name; in trace_event_name()
468 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx);
479 static inline unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf() argument
528 extern int trace_event_raw_init(struct trace_event_call *call);
529 extern int trace_define_field(struct trace_event_call *call, const char *type,
[all …]
/linux-4.19.296/include/trace/
Dtrace_events.h203 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
204 struct trace_event_data_offsets_##call { \
344 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
346 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
351 struct trace_event_raw_##call *field; \
364 static struct trace_event_functions trace_event_type_funcs_##call = { \
365 .trace = trace_raw_output_##call, \
369 #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ argument
371 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
380 if (entry->type != event_##call.event.type) { \
[all …]
Dperf.h31 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
33 perf_trace_##call(void *__data, proto) \
36 struct trace_event_data_offsets_##call __maybe_unused __data_offsets;\
37 struct trace_event_raw_##call *entry; \
46 __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \
79 #define DEFINE_EVENT(template, call, proto, args) \ argument
80 static inline void perf_test_probe_##call(void) \
82 check_trace_callback_type_##call(perf_trace_##template); \
Dbpf_probe.h59 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
61 __bpf_trace_##call(void *__data, proto) \
73 #define DEFINE_EVENT(template, call, proto, args) \ argument
74 static inline void bpf_test_probe_##call(void) \
76 check_trace_callback_type_##call(__bpf_trace_##template); \
80 __bpf_trace_tp_map_##call = { \
81 .tp = &__tracepoint_##call, \
/linux-4.19.296/lib/raid6/
DMakefile20 altivec_flags := -maltivec $(call cc-option,-mabi=altivec)
58 $(call if_changed,unroll)
63 $(call if_changed,unroll)
68 $(call if_changed,unroll)
73 $(call if_changed,unroll)
78 $(call if_changed,unroll)
83 $(call if_changed,unroll)
89 $(call if_changed,unroll)
95 $(call if_changed,unroll)
101 $(call if_changed,unroll)
[all …]
/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_utils.c325 static void hgcm_call_init_linaddr(struct vmmdev_hgcm_call *call, in hgcm_call_init_linaddr() argument
342 dst_pg_lst = (void *)call + *off_extra; in hgcm_call_init_linaddr()
376 struct vmmdev_hgcm_call *call, u32 client_id, u32 function, in hgcm_call_init_call() argument
381 VMMDEV_HGCM_CALL_PARMS(call); in hgcm_call_init_call()
382 u32 i, off_extra = (uintptr_t)(dst_parm + parm_count) - (uintptr_t)call; in hgcm_call_init_call()
385 call->header.flags = 0; in hgcm_call_init_call()
386 call->header.result = VINF_SUCCESS; in hgcm_call_init_call()
387 call->client_id = client_id; in hgcm_call_init_call()
388 call->function = function; in hgcm_call_init_call()
389 call->parm_count = parm_count; in hgcm_call_init_call()
[all …]
Dvboxguest_core.c1282 struct vbg_ioctl_hgcm_call *call) in vbg_ioctl_hgcm_call() argument
1288 if (call->hdr.size_in < sizeof(*call)) in vbg_ioctl_hgcm_call()
1291 if (call->hdr.size_in != call->hdr.size_out) in vbg_ioctl_hgcm_call()
1294 if (call->parm_count > VMMDEV_HGCM_MAX_PARMS) in vbg_ioctl_hgcm_call()
1297 client_id = call->client_id; in vbg_ioctl_hgcm_call()
1301 actual_size = sizeof(*call); in vbg_ioctl_hgcm_call()
1303 actual_size += call->parm_count * in vbg_ioctl_hgcm_call()
1306 actual_size += call->parm_count * in vbg_ioctl_hgcm_call()
1308 if (call->hdr.size_in < actual_size) { in vbg_ioctl_hgcm_call()
1310 call->hdr.size_in, actual_size); in vbg_ioctl_hgcm_call()
[all …]
/linux-4.19.296/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.c158 struct nlm_rqst *call; in nlmclnt_proc() local
162 call = nlm_alloc_call(host); in nlmclnt_proc()
163 if (call == NULL) in nlmclnt_proc()
172 nlmclnt_release_call(call); in nlmclnt_proc()
176 nlmclnt_setlockargs(call, fl); in nlmclnt_proc()
177 call->a_callback_data = data; in nlmclnt_proc()
181 call->a_args.block = IS_SETLKW(cmd) ? 1 : 0; in nlmclnt_proc()
182 status = nlmclnt_lock(call, fl); in nlmclnt_proc()
184 status = nlmclnt_unlock(call, fl); in nlmclnt_proc()
186 status = nlmclnt_test(call, fl); in nlmclnt_proc()
[all …]
Dsvcproc.c296 void nlmsvc_release_call(struct nlm_rqst *call) in nlmsvc_release_call() argument
298 if (!refcount_dec_and_test(&call->a_count)) in nlmsvc_release_call()
300 nlmsvc_release_host(call->a_host); in nlmsvc_release_call()
301 kfree(call); in nlmsvc_release_call()
324 struct nlm_rqst *call; in nlmsvc_callback() local
333 call = nlm_alloc_call(host); in nlmsvc_callback()
335 if (call == NULL) in nlmsvc_callback()
338 stat = func(rqstp, &call->a_res); in nlmsvc_callback()
340 nlmsvc_release_call(call); in nlmsvc_callback()
344 call->a_flags = RPC_TASK_ASYNC; in nlmsvc_callback()
[all …]
Dsvc4proc.c283 struct nlm_rqst *call; in nlm4svc_callback() local
292 call = nlm_alloc_call(host); in nlm4svc_callback()
294 if (call == NULL) in nlm4svc_callback()
297 stat = func(rqstp, &call->a_res); in nlm4svc_callback()
299 nlmsvc_release_call(call); in nlm4svc_callback()
303 call->a_flags = RPC_TASK_ASYNC; in nlm4svc_callback()
304 if (nlm_async_reply(call, proc, &nlm4svc_callback_ops) < 0) in nlm4svc_callback()
/linux-4.19.296/drivers/memory/
DMakefile.asm-offsets2 $(call if_changed_dep,cc_s_c)
5 $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
/linux-4.19.296/lib/
DMakefile28 CFLAGS_string.o := $(call cc-option, -fno-stack-protector)
92 CFLAGS_debug_info.o += $(call cc-option, -femit-struct-debug-detailed=any)
242 $(call cmd,crc32)
250 $(call cmd,crc64)
261 $(call cmd,build_OID_registry)
273 CFLAGS_ubsan.o := $(call cc-option, -fno-stack-protector) $(DISABLE_STACKLEAK_PLUGIN)
/linux-4.19.296/drivers/eisa/
DMakefile22 $(call cmd,eisaid)
/linux-4.19.296/crypto/
DMakefile74 CFLAGS_wp512.o := $(call cc-option,-fno-schedule-insns) # https://gcc.gnu.org/bugzilla/show_bug.cg…
104 CFLAGS_serpent_generic.o := $(call cc-option,-fsched-pressure) # https://gcc.gnu.org/bugzilla/show…
106 CFLAGS_aes_generic.o := $(call cc-option,-fno-code-hoisting) # https://gcc.gnu.org/bugzilla/show_bu…
/linux-4.19.296/drivers/misc/lkdtm/
DMakefile19 $(call if_changed,objcopy)
/linux-4.19.296/drivers/misc/cxl/
DMakefile2 ccflags-y := $(call cc-disable-warning, unused-const-variable)

123