Home
last modified time | relevance | path

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

123

/net/ipv4/
Dbpf_tcp_ca.c160 .func = bpf_tcp_send_ack,
223 BTF_ID(func, tcp_reno_ssthresh) in BTF_ID() argument
224 BTF_ID(func, tcp_reno_cong_avoid) in BTF_ID()
225 BTF_ID(func, tcp_reno_undo_cwnd) in BTF_ID()
226 BTF_ID(func, tcp_slow_start) in BTF_ID()
227 BTF_ID(func, tcp_cong_avoid_ai) in BTF_ID()
231 BTF_ID(func, cubictcp_init) in BTF_ID()
232 BTF_ID(func, cubictcp_recalc_ssthresh) in BTF_ID()
233 BTF_ID(func, cubictcp_cong_avoid) in BTF_ID()
234 BTF_ID(func, cubictcp_state) in BTF_ID()
[all …]
/net/rds/
Dinfo.c73 void rds_info_register_func(int optname, rds_info_func func) in rds_info_register_func() argument
81 rds_info_funcs[offset] = func; in rds_info_register_func()
86 void rds_info_deregister_func(int optname, rds_info_func func) in rds_info_deregister_func() argument
93 BUG_ON(rds_info_funcs[offset] != func); in rds_info_deregister_func()
165 rds_info_func func; in rds_info_getsockopt() local
208 func = rds_info_funcs[optname - RDS_INFO_FIRST]; in rds_info_getsockopt()
209 if (!func) { in rds_info_getsockopt()
218 func(sock, len, &iter, &lens); in rds_info_getsockopt()
Dinfo.h22 void rds_info_register_func(int optname, rds_info_func func);
23 void rds_info_deregister_func(int optname, rds_info_func func);
/net/core/
Dfilter.c1712 .func = bpf_skb_store_bytes,
1743 .func = bpf_skb_load_bytes,
1777 .func = bpf_flow_dissector_load_bytes,
1821 .func = bpf_skb_load_bytes_relative,
1846 .func = bpf_skb_pull_data,
1859 .func = bpf_sk_fullsock,
1886 .func = sk_skb_pull_data,
1927 .func = bpf_l3_csum_replace,
1980 .func = bpf_l4_csum_replace,
2018 .func = bpf_csum_diff,
[all …]
Dbpf_sk_storage.c356 .func = bpf_sk_storage_get,
366 .func = bpf_sk_storage_get,
376 .func = bpf_sk_storage_delete,
436 .func = bpf_sk_storage_get_tracing,
448 .func = bpf_sk_storage_delete_tracing,
Dsock_map.c633 .func = bpf_sock_map_update,
660 .func = bpf_sk_redirect_map,
689 .func = bpf_msg_redirect_map,
1229 .func = bpf_sock_hash_update,
1256 .func = bpf_sk_redirect_hash,
1285 .func = bpf_msg_redirect_hash,
Dxdp.c546 void xdp_warn(const char *msg, const char *func, const int line) in xdp_warn() argument
548 WARN(1, "XDP_WARN: %s(line:%d): %s\n", func, line, msg); in xdp_warn()
/net/unix/
Dgarbage.c91 static void scan_inflight(struct sock *x, void (*func)(struct unix_sock *), in scan_inflight()
120 func(u); in scan_inflight()
133 static void scan_children(struct sock *x, void (*func)(struct unix_sock *), in scan_children()
137 scan_inflight(x, func, hitlist); in scan_children()
161 scan_inflight(&u->sk, func, hitlist); in scan_children()
/net/can/
Daf_can.c443 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_register()
472 rcv->func = func; in can_rx_register()
513 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_unregister()
538 rcv->func == func && rcv->data == data) in can_rx_unregister()
574 rcv->func(skb, rcv->data); in deliver()
846 .func = can_rcv,
851 .func = canfd_rcv,
Daf_can.h56 void (*func)(struct sk_buff *skb, void *data); member
/net/llc/
Dllc_core.c92 int (*func)(struct sk_buff *skb, in llc_sap_open()
106 sap->rcv_func = func; in llc_sap_open()
135 .func = llc_rcv,
/net/802/
Dp8022.c33 int (*func)(struct sk_buff *skb, in register_8022_client()
45 proto->sap = llc_sap_open(type, func); in register_8022_client()
/net/bluetooth/cmtp/
Dcapi.c188 __u16 appl, msgnum, func, info; in cmtp_recv_interopmsg() local
198 func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 5); in cmtp_recv_interopmsg()
201 switch (func) { in cmtp_recv_interopmsg()
300 func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 3); in cmtp_recv_interopmsg()
302 if (func == CAPI_FUNCTION_LOOPBACK) { in cmtp_recv_interopmsg()
307 cmtp_send_interopmsg(session, CAPI_RESP, appl, msgnum, func, in cmtp_recv_interopmsg()
/net/smc/
Dsmc_rx.c287 int (*func)(struct smc_connection *conn); in smc_rx_recvmsg() local
377 func = smc_rx_data_available_and_no_splice_pend; in smc_rx_recvmsg()
379 func = smc_rx_data_available; in smc_rx_recvmsg()
380 smc_rx_wait(smc, &timeo, func); in smc_rx_recvmsg()
/net/9p/
Dmod.c32 void _p9_debug(enum p9_debug_flags level, const char *func, in _p9_debug() argument
49 pr_notice("-- %s (%d): %pV", func, task_pid_nr(current), &vaf); in _p9_debug()
/net/ipv6/
Dip6_fib.c44 int (*func)(struct fib6_info *, void *arg); member
491 w->func = fib6_node_dump; in fib6_tables_dump()
659 w->func = fib6_dump_node; in inet6_dump_fib()
2108 err = w->func(w); in fib6_walk_continue()
2176 if (!c->func) { in fib6_clean_node()
2183 res = c->func(rt, c->arg); in fib6_clean_node()
2220 int (*func)(struct fib6_info *, void *arg), in fib6_clean_tree()
2226 c.w.func = fib6_clean_node; in fib6_clean_tree()
2230 c.func = func; in fib6_clean_tree()
2240 int (*func)(struct fib6_info *, void *), in __fib6_clean_all()
[all …]
/net/switchdev/
Dswitchdev.c31 switchdev_deferred_func_t *func; member
65 dfitem->func(dfitem->dev, dfitem->data); in switchdev_deferred_process()
83 switchdev_deferred_func_t *func) in switchdev_deferred_enqueue() argument
91 dfitem->func = func; in switchdev_deferred_enqueue()
/net/ax25/
Dax25_iface.c166 res = protocol->func; in ax25_protocol_function()
196 lf->func(ax25, reason); in ax25_link_failed()
Dax25_in.c101 int (*func)(struct sk_buff *, ax25_cb *); in ax25_rx_iframe() local
136 if ((func = ax25_protocol_function(pid)) != NULL) { in ax25_rx_iframe()
138 return (*func)(skb, ax25); in ax25_rx_iframe()
/net/sctp/
Dsm_statetable.c89 #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func} argument
Dinqueue.c80 q->immediate.func(&q->immediate); in sctp_inq_push()
/net/mac80211/
Dcfg.c325 struct cfg80211_nan_func *func; in ieee80211_find_nan_func_by_cookie() local
330 idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id) { in ieee80211_find_nan_func_by_cookie()
331 if (func->cookie == cookie) in ieee80211_find_nan_func_by_cookie()
332 return func; in ieee80211_find_nan_func_by_cookie()
342 struct cfg80211_nan_func *func; in ieee80211_del_nan_func() local
351 func = ieee80211_find_nan_func_by_cookie(sdata, cookie); in ieee80211_del_nan_func()
352 if (func) in ieee80211_del_nan_func()
353 instance_id = func->instance_id; in ieee80211_del_nan_func()
3973 struct cfg80211_nan_func *func; in ieee80211_nan_func_terminated() local
3981 func = idr_find(&sdata->u.nan.function_inst_ids, inst_id); in ieee80211_nan_func_terminated()
[all …]
/net/sunrpc/
Dsched.c643 bool (*func)(struct rpc_task *, void *), void *data) in rpc_wake_up_first_on_wq()
651 task, func, data); in rpc_wake_up_first_on_wq()
661 bool (*func)(struct rpc_task *, void *), void *data) in rpc_wake_up_first()
663 return rpc_wake_up_first_on_wq(rpciod_workqueue, queue, func, data); in rpc_wake_up_first()
/net/wireless/
Dnl80211.c14110 struct cfg80211_nan_func *func, in handle_nan_filter() argument
14121 BUILD_BUG_ON(sizeof(*func->rx_filters) != sizeof(*func->tx_filters)); in handle_nan_filter()
14123 filter = kcalloc(n_entries, sizeof(*func->rx_filters), GFP_KERNEL); in handle_nan_filter()
14137 func->num_tx_filters = n_entries; in handle_nan_filter()
14138 func->tx_filters = filter; in handle_nan_filter()
14140 func->num_rx_filters = n_entries; in handle_nan_filter()
14141 func->rx_filters = filter; in handle_nan_filter()
14162 struct cfg80211_nan_func *func; in nl80211_nan_add_func() local
14183 func = kzalloc(sizeof(*func), GFP_KERNEL); in nl80211_nan_add_func()
14184 if (!func) in nl80211_nan_add_func()
[all …]
/net/bluetooth/
Dhci_request.h54 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req,

123