Home
last modified time | relevance | path

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

1234

/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/netfilter/
Dnf_conntrack_bpf.c473 BTF_ID_FLAGS(func, bpf_xdp_ct_alloc, KF_ACQUIRE | KF_RET_NULL)
474 BTF_ID_FLAGS(func, bpf_xdp_ct_lookup, KF_ACQUIRE | KF_RET_NULL)
475 BTF_ID_FLAGS(func, bpf_skb_ct_alloc, KF_ACQUIRE | KF_RET_NULL)
476 BTF_ID_FLAGS(func, bpf_skb_ct_lookup, KF_ACQUIRE | KF_RET_NULL)
477 BTF_ID_FLAGS(func, bpf_ct_insert_entry, KF_ACQUIRE | KF_RET_NULL | KF_RELEASE)
478 BTF_ID_FLAGS(func, bpf_ct_release, KF_RELEASE)
479 BTF_ID_FLAGS(func, bpf_ct_set_timeout, KF_TRUSTED_ARGS)
480 BTF_ID_FLAGS(func, bpf_ct_change_timeout, KF_TRUSTED_ARGS)
481 BTF_ID_FLAGS(func, bpf_ct_set_status, KF_TRUSTED_ARGS)
482 BTF_ID_FLAGS(func, bpf_ct_change_status, KF_TRUSTED_ARGS)
/net/core/
Dfilter.c1723 .func = bpf_skb_store_bytes,
1766 .func = bpf_skb_load_bytes,
1805 .func = bpf_flow_dissector_load_bytes,
1849 .func = bpf_skb_load_bytes_relative,
1874 .func = bpf_skb_pull_data,
1887 .func = bpf_sk_fullsock,
1914 .func = sk_skb_pull_data,
1955 .func = bpf_l3_csum_replace,
2008 .func = bpf_l4_csum_replace,
2046 .func = bpf_csum_diff,
[all …]
Dbpf_sk_storage.c325 .func = bpf_sk_storage_get,
335 .func = bpf_sk_storage_get,
345 .func = bpf_sk_storage_delete,
411 .func = bpf_sk_storage_get_tracing,
423 .func = bpf_sk_storage_delete_tracing,
Dxdp.c580 void xdp_warn(const char *msg, const char *func, const int line) in xdp_warn() argument
582 WARN(1, "XDP_WARN: %s(line:%d): %s\n", func, line, msg); in xdp_warn()
740 #define XDP_METADATA_KFUNC(_, name) BTF_ID_FLAGS(func, name, KF_TRUSTED_ARGS)
751 #define XDP_METADATA_KFUNC(name, str) BTF_ID(func, str) in BTF_ID_LIST()
/net/ipv4/
Dbpf_tcp_ca.c136 .func = bpf_tcp_send_ack,
199 BTF_ID_FLAGS(func, tcp_reno_ssthresh)
200 BTF_ID_FLAGS(func, tcp_reno_cong_avoid)
201 BTF_ID_FLAGS(func, tcp_reno_undo_cwnd)
202 BTF_ID_FLAGS(func, tcp_slow_start)
203 BTF_ID_FLAGS(func, tcp_cong_avoid_ai)
Dtcp_dctcp.c277 BTF_ID_FLAGS(func, dctcp_init)
278 BTF_ID_FLAGS(func, dctcp_update_alpha)
279 BTF_ID_FLAGS(func, dctcp_cwnd_event)
280 BTF_ID_FLAGS(func, dctcp_ssthresh)
281 BTF_ID_FLAGS(func, dctcp_cwnd_undo)
282 BTF_ID_FLAGS(func, dctcp_state)
Dtcp_cubic.c491 BTF_ID_FLAGS(func, cubictcp_init)
492 BTF_ID_FLAGS(func, cubictcp_recalc_ssthresh)
493 BTF_ID_FLAGS(func, cubictcp_cong_avoid)
494 BTF_ID_FLAGS(func, cubictcp_state)
495 BTF_ID_FLAGS(func, cubictcp_cwnd_event)
496 BTF_ID_FLAGS(func, cubictcp_acked)
Dfou_bpf.c106 BTF_ID_FLAGS(func, bpf_skb_set_fou_encap)
107 BTF_ID_FLAGS(func, bpf_skb_get_fou_encap)
Dtcp_bbr.c1160 BTF_ID_FLAGS(func, bbr_init)
1161 BTF_ID_FLAGS(func, bbr_main)
1162 BTF_ID_FLAGS(func, bbr_sndbuf_expand)
1163 BTF_ID_FLAGS(func, bbr_undo_cwnd)
1164 BTF_ID_FLAGS(func, bbr_cwnd_event)
1165 BTF_ID_FLAGS(func, bbr_ssthresh)
1166 BTF_ID_FLAGS(func, bbr_min_tso_segs)
1167 BTF_ID_FLAGS(func, bbr_set_state)
/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.c442 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_register()
470 rcv->func = func; in can_rx_register()
511 canid_t mask, void (*func)(struct sk_buff *, void *), in can_rx_unregister()
536 rcv->func == func && rcv->data == data) in can_rx_unregister()
572 rcv->func(skb, rcv->data); in deliver()
837 .func = can_rcv,
842 .func = canfd_rcv,
847 .func = canxl_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/xfrm/
Dxfrm_interface_bpf.c99 BTF_ID_FLAGS(func, bpf_skb_get_xfrm_info)
100 BTF_ID_FLAGS(func, bpf_skb_set_xfrm_info)
/net/switchdev/
Dswitchdev.c61 switchdev_deferred_func_t *func; member
95 dfitem->func(dfitem->dev, dfitem->data); in switchdev_deferred_process()
113 switchdev_deferred_func_t *func) in switchdev_deferred_enqueue() argument
121 dfitem->func = func; in switchdev_deferred_enqueue()
366 if ((dfitem->func == switchdev_port_obj_add_deferred && in switchdev_port_obj_act_is_deferred()
368 (dfitem->func == switchdev_port_obj_del_deferred && in switchdev_port_obj_act_is_deferred()
/net/ipv6/
Dip6_fib.c45 int (*func)(struct fib6_info *, void *arg); member
491 w->func = fib6_node_dump; in fib6_tables_dump()
653 w->func = fib6_dump_node; in inet6_dump_fib()
2115 err = w->func(w); in fib6_walk_continue()
2183 if (!c->func) { in fib6_clean_node()
2190 res = c->func(rt, c->arg); in fib6_clean_node()
2227 int (*func)(struct fib6_info *, void *arg), in fib6_clean_tree()
2233 c.w.func = fib6_clean_node; in fib6_clean_tree()
2237 c.func = func; in fib6_clean_tree()
2247 int (*func)(struct fib6_info *, void *), in __fib6_clean_all()
[all …]
/net/9p/
Dmod.c31 void _p9_debug(enum p9_debug_flags level, const char *func, in _p9_debug() argument
48 pr_notice("-- %s (%d): %pV", func, task_pid_nr(current), &vaf); in _p9_debug()
/net/smc/
Dsmc_rx.c350 int (*func)(struct smc_connection *conn); in smc_rx_recvmsg() local
440 func = smc_rx_data_available_and_no_splice_pend; in smc_rx_recvmsg()
442 func = smc_rx_data_available; in smc_rx_recvmsg()
443 smc_rx_wait(smc, &timeo, func); in smc_rx_recvmsg()
/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/mptcp/
Dbpf.c24 BTF_ID_FLAGS(func, update_socket_protocol)

1234