Home
last modified time | relevance | path

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

12345678910>>...51

/linux/fs/afs/
H A Drxrpc.c160 struct afs_call *call; in afs_alloc_call() local
163 call = kzalloc_obj(*call, gfp); in afs_alloc_call()
164 if (!call) in afs_alloc_call()
167 call->type = type; in afs_alloc_call()
168 call->net = net; in afs_alloc_call()
169 call->debug_id = atomic_inc_return(&rxrpc_debug_id); in afs_alloc_call()
170 refcount_set(&call->ref, 1); in afs_alloc_call()
171 INIT_WORK(&call->async_work, type->async_rx ?: afs_process_async_call); in afs_alloc_call()
172 INIT_WORK(&call->work, call->type->work); in afs_alloc_call()
173 INIT_WORK(&call->free_work, afs_deferred_free_worker); in afs_alloc_call()
[all …]
H A 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 …]
H A 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
26 ret = afs_transfer_reply(call); in afs_deliver_vl_get_entry_by_name_u()
31 uvldb = call->buffer; in afs_deliver_vl_get_entry_by_name_u()
32 entry = call->ret_vldb; in afs_deliver_vl_get_entry_by_name_u()
115 struct afs_call *call; in afs_vl_get_entry_by_name_u() local
129 call = afs_alloc_flat_call(net, &afs_RXVLGetEntryByNameU, reqsz, in afs_vl_get_entry_by_name_u()
131 if (!call) { in afs_vl_get_entry_by_name_u()
136 call->key = vc->key; in afs_vl_get_entry_by_name_u()
137 call->ret_vldb = entry; in afs_vl_get_entry_by_name_u()
138 call->max_lifespan = AFS_VL_MAX_LIFESPAN; in afs_vl_get_entry_by_name_u()
[all …]
H A 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 …]
H A 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 …]
/linux/net/rxrpc/
H A Dcall_event.c23 void rxrpc_propose_ping(struct rxrpc_call *call, u32 serial, in rxrpc_propose_ping() argument
30 trace_rxrpc_propose_ack(call, why, RXRPC_ACK_PING, serial); in rxrpc_propose_ping()
31 if (ktime_before(ping_at, call->ping_at)) { in rxrpc_propose_ping()
32 call->ping_at = ping_at; in rxrpc_propose_ping()
33 trace_rxrpc_timer_set(call, delay, rxrpc_timer_trace_ping); in rxrpc_propose_ping()
40 void rxrpc_propose_delay_ACK(struct rxrpc_call *call, rxrpc_serial_t serial, in rxrpc_propose_delay_ACK() argument
45 trace_rxrpc_propose_ack(call, why, RXRPC_ACK_DELAY, serial); in rxrpc_propose_delay_ACK()
47 if (call->srtt_us) in rxrpc_propose_delay_ACK()
48 delay = (call->srtt_us >> 3) * NSEC_PER_USEC; in rxrpc_propose_delay_ACK()
51 ktime_add_ms(delay, call->tx_backoff); in rxrpc_propose_delay_ACK()
[all …]
H A Dcall_object.c45 void rxrpc_poke_call(struct rxrpc_call *call, enum rxrpc_call_poke_trace what) in rxrpc_poke_call() argument
47 struct rxrpc_local *local = call->local; in rxrpc_poke_call()
50 if (!test_bit(RXRPC_CALL_DISCONNECTED, &call->flags)) { in rxrpc_poke_call()
52 busy = !list_empty(&call->attend_link); in rxrpc_poke_call()
53 trace_rxrpc_poke_call(call, busy, what); in rxrpc_poke_call()
54 if (!busy && !rxrpc_try_get_call(call, rxrpc_call_get_poke)) in rxrpc_poke_call()
57 list_add_tail(&call->attend_link, &local->call_attend_q); in rxrpc_poke_call()
67 struct rxrpc_call *call = timer_container_of(call, t, timer); in rxrpc_call_timer_expired() local
69 _enter("%d", call->debug_id); in rxrpc_call_timer_expired()
71 if (!__rxrpc_call_is_complete(call)) { in rxrpc_call_timer_expired()
[all …]
H A Dinput.c23 static void rxrpc_proto_abort(struct rxrpc_call *call, rxrpc_seq_t seq, in rxrpc_proto_abort() argument
26 rxrpc_abort_call(call, seq, RX_PROTOCOL_ERROR, -EBADMSG, why); in rxrpc_proto_abort()
32 static void rxrpc_congestion_management(struct rxrpc_call *call, in rxrpc_congestion_management() argument
36 summary->in_flight = rxrpc_tx_in_flight(call); in rxrpc_congestion_management()
38 if (test_and_clear_bit(RXRPC_CALL_RETRANS_TIMEOUT, &call->flags)) { in rxrpc_congestion_management()
40 call->cong_ssthresh = umax(summary->in_flight / 2, 2); in rxrpc_congestion_management()
41 call->cong_cwnd = 1; in rxrpc_congestion_management()
42 if (call->cong_cwnd >= call->cong_ssthresh && in rxrpc_congestion_management()
43 call->cong_ca_state == RXRPC_CA_SLOW_START) { in rxrpc_congestion_management()
44 call->cong_ca_state = RXRPC_CA_CONGEST_AVOIDANCE; in rxrpc_congestion_management()
[all …]
H A Dsendmsg.c23 bool rxrpc_propose_abort(struct rxrpc_call *call, s32 abort_code, int error, in rxrpc_propose_abort() argument
26 _enter("{%d},%d,%d,%u", call->debug_id, abort_code, error, why); in rxrpc_propose_abort()
28 if (!call->send_abort && !rxrpc_call_is_complete(call)) { in rxrpc_propose_abort()
29 call->send_abort_why = why; in rxrpc_propose_abort()
30 call->send_abort_err = error; in rxrpc_propose_abort()
31 call->send_abort_seq = 0; in rxrpc_propose_abort()
32 trace_rxrpc_abort_call(call, abort_code); in rxrpc_propose_abort()
34 smp_store_release(&call->send_abort, abort_code); in rxrpc_propose_abort()
35 rxrpc_poke_call(call, rxrpc_call_poke_abort); in rxrpc_propose_abort()
46 static int rxrpc_wait_to_be_connected(struct rxrpc_call *call, long *timeo) in rxrpc_wait_to_be_connected() argument
[all …]
H A Drxperf.c66 int (*deliver)(struct rxperf_call *call);
75 static int rxperf_deliver_param_block(struct rxperf_call *call);
76 static int rxperf_deliver_request(struct rxperf_call *call);
77 static int rxperf_process_call(struct rxperf_call *call);
83 static inline void rxperf_set_call_state(struct rxperf_call *call, in rxperf_set_call_state() argument
86 call->state = to; in rxperf_set_call_state()
89 static inline void rxperf_set_call_complete(struct rxperf_call *call, in rxperf_set_call_complete() argument
92 if (call->state != RXPERF_CALL_COMPLETE) { in rxperf_set_call_complete()
93 call->abort_code = remote_abort; in rxperf_set_call_complete()
94 call->error = error; in rxperf_set_call_complete()
[all …]
H A Drecvmsg.c23 void rxrpc_notify_socket(struct rxrpc_call *call) in rxrpc_notify_socket() argument
28 _enter("%d", call->debug_id); in rxrpc_notify_socket()
30 if (!list_empty(&call->recvmsg_link)) in rxrpc_notify_socket()
32 if (test_bit(RXRPC_CALL_RELEASED, &call->flags)) { in rxrpc_notify_socket()
33 rxrpc_see_call(call, rxrpc_call_see_notify_released); in rxrpc_notify_socket()
39 rx = rcu_dereference(call->socket); in rxrpc_notify_socket()
42 if (call->notify_rx) { in rxrpc_notify_socket()
43 spin_lock_irq(&call->notify_lock); in rxrpc_notify_socket()
44 call->notify_rx(sk, call, call->user_call_ID); in rxrpc_notify_socket()
45 spin_unlock_irq(&call->notify_lock); in rxrpc_notify_socket()
[all …]
H A Doutput.c48 static void rxrpc_tx_backoff(struct rxrpc_call *call, int ret) in rxrpc_tx_backoff() argument
51 if (call->tx_backoff < 1000) in rxrpc_tx_backoff()
52 call->tx_backoff += 100; in rxrpc_tx_backoff()
54 call->tx_backoff = 0; in rxrpc_tx_backoff()
66 static void rxrpc_set_keepalive(struct rxrpc_call *call, ktime_t now) in rxrpc_set_keepalive() argument
68 ktime_t delay = ms_to_ktime(READ_ONCE(call->next_rx_timo) / 6); in rxrpc_set_keepalive()
70 call->keepalive_at = ktime_add(ktime_get_real(), delay); in rxrpc_set_keepalive()
71 trace_rxrpc_timer_set(call, delay, rxrpc_timer_trace_keepalive); in rxrpc_set_keepalive()
77 static int rxrpc_alloc_ack(struct rxrpc_call *call, size_t sack_size) in rxrpc_alloc_ack() argument
82 struct kvec *kv = call->local->kvec; in rxrpc_alloc_ack()
[all …]
H A Dcall_state.c13 bool rxrpc_set_call_completion(struct rxrpc_call *call, in rxrpc_set_call_completion() argument
18 if (__rxrpc_call_state(call) == RXRPC_CALL_COMPLETE) in rxrpc_set_call_completion()
21 call->abort_code = abort_code; in rxrpc_set_call_completion()
22 call->error = error; in rxrpc_set_call_completion()
23 call->completion = compl; in rxrpc_set_call_completion()
25 rxrpc_set_call_state(call, RXRPC_CALL_COMPLETE); in rxrpc_set_call_completion()
26 trace_rxrpc_call_complete(call); in rxrpc_set_call_completion()
27 wake_up(&call->waitq); in rxrpc_set_call_completion()
28 rxrpc_notify_socket(call); in rxrpc_set_call_completion()
35 bool rxrpc_call_completed(struct rxrpc_call *call) in rxrpc_call_completed() argument
[all …]
H A Dcall_accept.c25 static void rxrpc_dummy_notify(struct sock *sk, struct rxrpc_call *call, in rxrpc_dummy_notify() argument
40 struct rxrpc_call *call, *xcall; in rxrpc_service_prealloc_one() local
97 call = rxrpc_alloc_call(rx, gfp, debug_id); in rxrpc_service_prealloc_one()
98 if (!call) in rxrpc_service_prealloc_one()
100 call->flags |= (1 << RXRPC_CALL_IS_SERVICE); in rxrpc_service_prealloc_one()
101 rxrpc_set_call_state(call, RXRPC_CALL_SERVER_PREALLOC); in rxrpc_service_prealloc_one()
102 __set_bit(RXRPC_CALL_EV_INITIAL_PING, &call->events); in rxrpc_service_prealloc_one()
104 trace_rxrpc_call(call->debug_id, refcount_read(&call->ref), in rxrpc_service_prealloc_one()
123 call->user_call_ID = user_call_ID; in rxrpc_service_prealloc_one()
124 call->notify_rx = notify_rx; in rxrpc_service_prealloc_one()
[all …]
H A Dconn_client.c73 static struct rxrpc_bundle *rxrpc_alloc_bundle(struct rxrpc_call *call, in rxrpc_alloc_bundle() argument
81 bundle->local = call->local; in rxrpc_alloc_bundle()
82 bundle->peer = rxrpc_get_peer(call->peer, rxrpc_peer_get_bundle); in rxrpc_alloc_bundle()
83 bundle->key = key_get(call->key); in rxrpc_alloc_bundle()
84 bundle->security = call->security; in rxrpc_alloc_bundle()
85 bundle->exclusive = test_bit(RXRPC_CALL_EXCLUSIVE, &call->flags); in rxrpc_alloc_bundle()
86 bundle->upgrade = test_bit(RXRPC_CALL_UPGRADE, &call->flags); in rxrpc_alloc_bundle()
87 bundle->service_id = call->dest_srx.srx_service; in rxrpc_alloc_bundle()
88 bundle->security_level = call->security_level; in rxrpc_alloc_bundle()
250 int rxrpc_look_up_bundle(struct rxrpc_call *call, gfp_t gfp) in rxrpc_look_up_bundle() argument
[all …]
/linux/tools/net/ynl/
H A DMakefile.deps18 CFLAGS_devlink:=$(call get_hdr_inc,_LINUX_DEVLINK_H_,devlink.h)
19 CFLAGS_dpll:=$(call get_hdr_inc,_LINUX_DPLL_H,dpll.h)
20 CFLAGS_ethtool:=$(call get_hdr_inc,_LINUX_ETHTOOL_H,ethtool.h) \
21 $(call get_hdr_inc,_LINUX_ETHTOOL_NETLINK_H_,ethtool_netlink.h) \
22 $(call get_hdr_inc,_LINUX_ETHTOOL_NETLINK_GENERATED_H,ethtool_netlink_generated.h)
23 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h)
24 CFLAGS_lockd_netlink:=$(call get_hdr_inc,_LINUX_LOCKD_NETLINK_H,lockd_netlink.h)
25 CFLAGS_mptcp_pm:=$(call get_hdr_inc,_LINUX_MPTCP_PM_H,mptcp_pm.h)
26 CFLAGS_net_shaper:=$(call get_hdr_inc,_LINUX_NET_SHAPER_H,net_shaper.h)
27 CFLAGS_netdev:=$(call get_hdr_inc,_LINUX_NETDEV_H,netdev.h)
[all …]
/linux/include/trace/events/
H A Drxrpc.h827 __field(unsigned int, call)
834 __entry->call = call_debug_id;
841 __entry->call,
914 TP_PROTO(const struct rxrpc_call *call, int abort_code),
916 TP_ARGS(call, abort_code),
926 __entry->call_nr = call->debug_id;
927 __entry->why = call->send_abort_why;
929 __entry->error = call->send_abort_err;
972 TP_PROTO(struct rxrpc_call *call),
974 TP_ARGS(call),
[all …]
H A Dafs.h609 TP_PROTO(struct afs_call *call, struct iov_iter *iter,
612 TP_ARGS(call, iter, want_more, ret),
616 __field(unsigned int, call)
624 __entry->call = call->debug_id;
625 __entry->state = call->state;
626 __entry->unmarshall = call->unmarshall;
633 __entry->call,
642 TP_PROTO(struct rxrpc_call *rxcall, struct afs_call *call),
644 TP_ARGS(rxcall, call),
647 __field(unsigned int, call)
[all …]
/linux/include/trace/
H A Dtrace_events.h8 * struct trace_event_raw_<call> {
114 * struct trace_event_data_offsets_<call> {
128 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
129 struct trace_event_data_offsets_##call { \
157 * trace_raw_output_<call>(struct trace_iterator *iter, int flags)
160 * struct trace_event_raw_<call> *field; <-- defined in stage 1
169 * if (entry->type != event_<call>->event.type) {
177 * return trace_output_call(iter, <call>, <TP_printk> "\n");
203 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
205 trace_raw_output_##call(struc
231 DEFINE_EVENT_PRINT(template,call,proto,args,print) global() argument
261 DECLARE_EVENT_CLASS(call,proto,args,tstruct,func,print) global() argument
277 DECLARE_EVENT_CLASS(call,proto,args,tstruct,assign,print) global() argument
388 _TRACE_PERF_PROTO(call,proto) global() argument
392 _TRACE_PERF_INIT(call) global() argument
396 _TRACE_PERF_PROTO(call,proto) global() argument
397 _TRACE_PERF_INIT(call) global() argument
404 __DECLARE_EVENT_CLASS(call,proto,args,tstruct,assign,print) global() argument
433 DECLARE_EVENT_CLASS(call,proto,args,tstruct,assign,print) global() argument
443 DECLARE_EVENT_SYSCALL_CLASS(call,proto,args,tstruct,assign,print) global() argument
462 DEFINE_EVENT(template,call,proto,args) global() argument
475 DECLARE_EVENT_CLASS(call,proto,args,tstruct,assign,print) global() argument
492 DEFINE_EVENT(template,call,proto,args) global() argument
507 DEFINE_EVENT_PRINT(template,call,proto,args,print) global() argument
[all...]
H A Dtrace_custom_events.h62 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
63 struct trace_custom_event_data_offsets_##call { \
77 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
79 trace_custom_raw_output_##call(struct trace_iterator *iter, int flags, \
84 struct trace_custom_event_raw_##call *field; \
97 static struct trace_event_functions trace_custom_event_type_funcs_##call = { \
98 .trace = trace_custom_raw_output_##call, \
108 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
109 static struct trace_event_fields trace_custom_event_fields_##call[] = { \
120 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
[all …]
H A Dbpf_probe.h45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
47 __bpf_trace_##call(void *__data, proto) \
53 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
54 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
56 #define __BPF_DECLARE_TRACE_SYSCALL(call, proto, args) \ argument
58 __bpf_trace_##call(void *__data, proto) \
67 #define DECLARE_EVENT_SYSCALL_CLASS(call, proto, args, tstruct, assign, print) \ argument
68 __BPF_DECLARE_TRACE_SYSCALL(call, PARAMS(proto), PARAMS(args))
75 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
76 static inline void bpf_test_probe_##call(void) \
[all …]
/linux/tools/
H A DMakefile68 $(call descend,power/$@)
71 $(call descend,power/$@)
74 $(call descend,$@)
77 $(call descend,$@)
80 $(call descend,lib/api)
83 $(call descend,include/nolibc)
86 $(call descend,include/nolibc,$(patsubst nolibc_%,%,$@))
97 $(call descend,sched_ext)
100 $(call descend,testing/$@)
103 $(call descend,lib/$@)
[all …]
/linux/arch/m68k/
H A DMakefile19 CROSS_COMPILE := $(call cc-cross-prefix, \
41 cpuflags-$(CONFIG_M5441x) = $(call cc-option,-mcpu=54455,-mcfv4e)
42 cpuflags-$(CONFIG_M54xx) = $(call cc-option,-mcpu=5475,-m5200)
43 cpuflags-$(CONFIG_M5407) = $(call cc-option,-mcpu=5407,-m5200)
44 cpuflags-$(CONFIG_M532x) = $(call cc-option,-mcpu=532x,-m5307)
45 cpuflags-$(CONFIG_M537x) = $(call cc-option,-mcpu=537x,-m5307)
46 cpuflags-$(CONFIG_M5307) = $(call cc-option,-mcpu=5307,-m5200)
47 cpuflags-$(CONFIG_M528x) = $(call cc-option,-mcpu=528x,-m5307)
48 cpuflags-$(CONFIG_M5275) = $(call cc-option,-mcpu=5275,-m5307)
49 cpuflags-$(CONFIG_M5272) = $(call cc-option,-mcpu=5272,-m5307)
[all …]
/linux/arch/powerpc/
H A DMakefile19 CROSS_COMPILE := $(call cc-cross-prefix, $(foreach a,$(CC_ARCHES), \
24 HAS_BIARCH := $(call cc-option-yn, -m32)
70 KBUILD_CFLAGS_MODULE += $(call cc-option,-mno-save-toc-indirect)
72 KBUILD_CPPFLAGS += $(call cc-option,-mbig-endian)
81 cflags-$(CONFIG_PPC64_ELF_ABI_V1) += $(call cc-option,-mabi=elfv1)
82 cflags-$(CONFIG_PPC64_ELF_ABI_V1) += $(call cc-option,-mcall-aixdesc)
83 aflags-$(CONFIG_PPC64_ELF_ABI_V1) += $(call cc-option,-mabi=elfv1)
92 cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mbig-endian)
94 aflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mbig-endian)
122 CFLAGS-$(CONFIG_PPC64) := $(call cc-option,-mtraceback=no)
[all …]
/linux/tools/build/
H A DMakefile.build49 rule_mkdir = $(if $(wildcard $(dir $@)),,@$(call echo-cmd,mkdir) $(cmd_mkdir))
93 $(call rule_mkdir)
94 $(call if_changed_dep,$(host)cc_o_c)
97 $(call rule_mkdir)
98 $(call if_changed_dep,cxx_o_c)
101 $(call rule_mkdir)
102 $(call if_changed_dep,$(host)cc_o_c)
105 $(call rule_mkdir)
106 $(call if_changed_dep,cpp_i_c)
109 $(call rule_mkdir)
[all …]

12345678910>>...51