| /linux/tools/lib/bpf/ |
| H A D | netlink.c | 536 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 D | netfilter.h | 79 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 D | netfilter_ipv4.h | 29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
|
| /linux/net/netfilter/ |
| H A D | nf_bpf_link.c | 38 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 D | nf_conntrack_pptp.c | 92 const struct nf_nat_pptp_hook *hook; in pptp_expectfn() local 190 const struct nf_nat_pptp_hook *hook; in exp_gre() local 260 const struct nf_nat_pptp_hook *hook; in pptp_inbound_pkt() local 387 const struct nf_nat_pptp_hook *hook; in pptp_outbound_pkt() local
|
| H A D | nf_tables_api.c | 322 struct nft_hook *hook; in nft_netdev_register_hooks() local 349 static void nft_netdev_hook_free_ops(struct nft_hook *hook) in nft_netdev_hook_free_ops() 359 static void nft_netdev_hook_free(struct nft_hook *hook) in nft_netdev_hook_free() 367 struct nft_hook *hook = container_of(rcu, struct nft_hook, rcu); in __nft_netdev_hook_free_rcu() local 372 static void nft_netdev_hook_free_rcu(struct nft_hook *hook) in nft_netdev_hook_free_rcu() 377 static void nft_netdev_hook_unlink_free_rcu(struct nft_hook *hook) in nft_netdev_hook_unlink_free_rcu() 395 struct nft_hook *hook; in nft_netdev_unregister_trans_hook() local 414 struct nft_hook *hook, *next; in nft_netdev_unregister_hooks() local 1971 static bool hook_is_prefix(struct nft_hook *hook) in hook_is_prefix() 1976 static int nft_nla_put_hook_dev(struct sk_buff *skb, struct nft_hook *hook) in nft_nla_put_hook_dev() [all …]
|
| H A D | nf_tables_offload.c | 225 struct nft_hook *hook; in nft_chain_offload_support() local 463 struct nft_hook *hook; in nft_flow_block_chain() local 632 struct nft_hook *hook, *found; in __nft_offload_get_chain() local
|
| H A D | nf_dup_netdev.c | 17 enum nf_dev_hooks hook) in nf_do_netdev_egress()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_bpf.c | 26 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 D | xdp_do_redirect.c | 42 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog()
|
| /linux/drivers/acpi/ |
| H A D | battery.c | 703 static void battery_hook_unregister_unlocked(struct acpi_battery_hook *hook) in battery_hook_unregister_unlocked() 720 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister() 735 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register() 770 struct acpi_battery_hook *hook = data; in devm_battery_hook_unregister() local 775 int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook) in devm_battery_hook_register() 818 struct acpi_battery_hook *hook; in battery_hook_remove_battery() local 835 struct acpi_battery_hook *hook; in battery_hook_exit() local
|
| /linux/arch/csky/kernel/ |
| H A D | ftrace.c | 70 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/drivers/power/supply/ |
| H A D | cros_charge-control.c | 221 static int cros_chctl_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_add_battery() 232 static int cros_chctl_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_remove_battery()
|
| /linux/arch/arm64/mm/ |
| H A D | ioremap.c | 8 int arm64_ioremap_prot_hook_register(ioremap_prot_hook_t hook) in arm64_ioremap_prot_hook_register()
|
| /linux/net/ipv4/netfilter/ |
| H A D | ipt_REJECT.c | 34 int hook = xt_hooknum(par); in reject_tg() local
|
| /linux/drivers/platform/x86/ |
| H A D | msi-ec.c | 1269 struct acpi_battery_hook *hook) in msi_battery_add() 1275 struct acpi_battery_hook *hook) in msi_battery_remove()
|
| H A D | ayaneo-ec.c | 353 struct acpi_battery_hook *hook) in ayaneo_add_battery() 363 struct acpi_battery_hook *hook) in ayaneo_remove_battery()
|
| H A D | oxpec.c | 613 static int oxp_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in oxp_add_battery() 618 static int oxp_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in oxp_remove_battery()
|
| H A D | huawei-wmi.c | 475 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()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dir2.c | 814 struct xfs_dir_hook *hook) in xfs_dir_hook_add() 823 struct xfs_dir_hook *hook) in xfs_dir_hook_del() 831 struct xfs_dir_hook *hook, in xfs_dir_hook_setup()
|
| /linux/scripts/gcc-plugins/ |
| H A D | gcc-common.h | 267 … 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/security/ipe/ |
| H A D | eval.h | 42 enum ipe_hook_type hook; member
|
| /linux/fs/xfs/ |
| H A D | xfs_hooks.h | 46 static inline void xfs_hook_setup(struct xfs_hook *hook, notifier_fn_t fn) in xfs_hook_setup()
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-ddv.c | 134 struct acpi_battery_hook hook; member 936 static int dell_wmi_ddv_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_add_battery() 961 static int dell_wmi_ddv_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_remove_battery()
|
| /linux/net/sched/ |
| H A D | em_ipt.c | 23 u32 hook; member
|