Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/lib/bpf/
H A Dnetlink.c536 static int clsact_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in clsact_config()
544 static int qdisc_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in qdisc_config()
554 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
597 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
621 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
626 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
631 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
647 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
734 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
808 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
[all …]
/linux/include/linux/
H A Dnetfilter.h79 u8 hook; member
103 nf_hookfn *hook; member
114 nf_hookfn *hook; member
162 unsigned int hook, in nf_hook_state_init()
227 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
298 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
312 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
323 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
409 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
418 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
H A Dnetfilter_ipv4.h29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
/linux/net/netfilter/
H A Dnf_bpf_link.c38 const struct nf_defrag_hook *hook; in get_proto_defrag_hook() local
77 const struct nf_defrag_hook __maybe_unused *hook; in bpf_nf_enable_defrag() local
105 const struct nf_defrag_hook *hook = link->defrag_hook; in bpf_nf_disable_defrag() local
155 const struct nf_defrag_hook *hook = nf_link->defrag_hook; in bpf_nf_link_fill_link_info() local
H A Dnft_chain_filter.c327 struct nft_hook *hook; in nft_netdev_event() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c26 static int test_tc_bpf_basic(const struct bpf_tc_hook *hook, int fd) in test_tc_bpf_basic()
69 static int test_tc_bpf_api(struct bpf_tc_hook *hook, int fd) in test_tc_bpf_api()
H A Dxdp_do_redirect.c42 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog()
H A Dxfrm_info.c72 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog()
H A Dtest_tunnel.c367 attach_tc_prog(struct bpf_tc_hook * hook,int igr_fd,int egr_fd) attach_tc_prog() argument
/linux/arch/csky/kernel/
H A Dftrace.c70 static int ftrace_check_current_nop(unsigned long hook) in ftrace_check_current_nop()
91 static int ftrace_modify_code(unsigned long hook, unsigned long target, in ftrace_modify_code()
/linux/arch/arm64/mm/
H A Dioremap.c8 int arm64_ioremap_prot_hook_register(ioremap_prot_hook_t hook) in arm64_ioremap_prot_hook_register()
/linux/net/ipv4/netfilter/
H A Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
/linux/security/ipe/
H A Deval.h42 enum ipe_hook_type hook; member
H A Deval.c95 enum ipe_hook_type hook) in ipe_build_eval_ctx()
/linux/fs/xfs/
H A Dxfs_hooks.h46 static inline void xfs_hook_setup(struct xfs_hook *hook, notifier_fn_t fn) in xfs_hook_setup()
/linux/scripts/gcc-plugins/
H A Dgcc-common.h267 … struct cgraph_node_hook_list *cgraph_add_function_insertion_hook(cgraph_node_hook hook, void *dat… in cgraph_add_function_insertion_hook()
277 static inline struct cgraph_node_hook_list *cgraph_add_node_removal_hook(cgraph_node_hook hook, voi… in cgraph_add_node_removal_hook()
287 … struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook(cgraph_2node_hook hook, void *dat… in cgraph_add_node_duplication_hook()
/linux/drivers/platform/x86/
H A Dayaneo-ec.c353 struct acpi_battery_hook *hook) in ayaneo_add_battery()
363 struct acpi_battery_hook *hook) in ayaneo_remove_battery()
H A Dsystem76_acpi.c265 static int system76_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in system76_battery_add()
277 static int system76_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in system76_battery_remove()
H A Dhuawei-wmi.c475 static int huawei_wmi_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_add()
490 static int huawei_wmi_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in huawei_wmi_battery_remove()
H A Dlg-laptop.c528 static int lg_battery_add(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_add()
537 static int lg_battery_remove(struct power_supply *battery, struct acpi_battery_hook *hook) in lg_battery_remove()
H A Dfujitsu-laptop.c228 struct acpi_battery_hook *hook) in fujitsu_battery_add_hook()
235 struct acpi_battery_hook *hook) in fujitsu_battery_remove_hook()
/linux/net/sched/
H A Dem_ipt.c23 u32 hook; member
/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_log.h21 __u8 hook; /* netfilter hook */ member
H A Dnfnetlink_queue.h20 __u8 hook; /* netfilter hook */ member
/linux/sound/core/
H A Dvmaster.c36 void (*hook)(void *private_data, int); member

12