Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/arm64/kernel/
Ddebug-monitors.c179 void register_user_step_hook(struct step_hook *hook) in register_user_step_hook()
184 void unregister_user_step_hook(struct step_hook *hook) in unregister_user_step_hook()
189 void register_kernel_step_hook(struct step_hook *hook) in register_kernel_step_hook()
194 void unregister_kernel_step_hook(struct step_hook *hook) in unregister_kernel_step_hook()
207 struct step_hook *hook; in call_step_hook() local
282 void register_user_break_hook(struct break_hook *hook) in register_user_break_hook()
287 void unregister_user_break_hook(struct break_hook *hook) in unregister_user_break_hook()
292 void register_kernel_break_hook(struct break_hook *hook) in register_kernel_break_hook()
297 void unregister_kernel_break_hook(struct break_hook *hook) in unregister_kernel_break_hook()
304 struct break_hook *hook; in call_break_hook() local
/linux-6.6.21/net/netfilter/
Dutils.c10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
43 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum_partial()
64 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum()
97 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum_partial()
123 __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, in nf_checksum()
142 __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial()
Dnft_reject_netdev.c30 int hook) in nft_reject_netdev_send_v4_tcp_reset()
44 int hook, u8 code) in nft_reject_netdev_send_v4_unreach()
58 int hook) in nft_reject_netdev_send_v6_tcp_reset()
73 int hook, u8 code) in nft_reject_netdev_send_v6_unreach()
Dnf_conntrack_pptp.c92 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
Dnf_bpf_link.c37 const struct nf_defrag_hook *hook; in get_proto_defrag_hook() local
76 const struct nf_defrag_hook __maybe_unused *hook; in bpf_nf_enable_defrag() local
104 const struct nf_defrag_hook *hook = link->defrag_hook; in bpf_nf_disable_defrag() local
Dnfnetlink_hook.c58 u8 hook; member
241 nfnl_hook_entries_head(u8 pf, unsigned int hook, struct net *net, const char *dev) in nfnl_hook_entries_head()
Dnf_tables_offload.c224 struct nft_hook *hook; in nft_chain_offload_support() local
459 struct nft_hook *hook; in nft_flow_block_chain() local
625 struct nft_hook *hook, *found; in __nft_offload_get_chain() local
Dnf_dup_netdev.c21 enum nf_dev_hooks hook) in nf_do_netdev_egress()
/linux-6.6.21/net/ipv4/netfilter/
Dnf_reject_ipv4.c42 int hook) in nf_reject_skb_v4_tcp_reset()
77 int hook, u8 code) in nf_reject_skb_v4_unreach()
140 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get()
240 int hook) in nf_send_reset()
317 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach()
Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
/linux-6.6.21/net/ipv6/netfilter/
Dnf_reject_ipv6.c15 static bool nf_reject_v6_csum_ok(struct sk_buff *skb, int hook) in nf_reject_v6_csum_ok()
62 int hook) in nf_reject_skb_v6_tcp_reset()
97 int hook, u8 code) in nf_reject_skb_v6_unreach()
151 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get()
279 int hook) in nf_send_reset6()
381 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
/linux-6.6.21/include/linux/
Dnetfilter.h69 u8 hook; member
89 nf_hookfn *hook; member
100 nf_hookfn *hook; member
148 unsigned int hook, in nf_hook_state_init()
213 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
284 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
298 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
309 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
400 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
409 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
Dpci.h2157 void (*hook)(struct pci_dev *dev); member
2174 class_shift, hook) \ argument
2190 class_shift, hook, stub) \ argument
2200 class_shift, hook, stub) \ argument
2206 class_shift, hook) \ argument
2212 class_shift, hook) \ argument
2219 class_shift, hook) \ argument
2223 class_shift, hook) \ argument
2227 class_shift, hook) \ argument
2231 class_shift, hook) \ argument
[all …]
Dnetfilter_ipv4.h29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
/linux-6.6.21/net/bridge/netfilter/
Dnft_reject_bridge.c48 int hook) in nft_reject_br_send_v4_tcp_reset()
64 int hook, u8 code) in nft_reject_br_send_v4_unreach()
80 int hook) in nft_reject_br_send_v6_tcp_reset()
97 int hook, u8 code) in nft_reject_br_send_v6_unreach()
/linux-6.6.21/tools/lib/bpf/
Dnetlink.c542 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
582 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
606 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
611 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
616 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
632 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
792 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
853 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_quirks.c72 void (*hook)(struct drm_i915_private *i915); member
77 void (*hook)(struct drm_i915_private *i915); member
/linux-6.6.21/arch/csky/kernel/
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-6.6.21/drivers/acpi/
Dbattery.c700 static void __battery_hook_unregister(struct acpi_battery_hook *hook, int lock) in __battery_hook_unregister()
719 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister()
725 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register()
794 struct acpi_battery_hook *hook; in battery_hook_remove_battery() local
811 struct acpi_battery_hook *hook; in battery_hook_exit() local
/linux-6.6.21/drivers/platform/x86/
Dmsi-ec.c802 struct acpi_battery_hook *hook) in msi_battery_add()
808 struct acpi_battery_hook *hook) in msi_battery_remove()
/linux-6.6.21/net/sched/
Dact_ipt.c33 char *table, unsigned int hook) in ipt_init_target()
108 u32 hook = 0; in __tcf_ipt_init() local
/linux-6.6.21/drivers/platform/x86/dell/
Ddell-wmi-ddv.c106 struct acpi_battery_hook hook; member
698 static int dell_wmi_ddv_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_add_battery()
723 static int dell_wmi_ddv_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_remove_battery()
735 struct acpi_battery_hook *hook = data; in dell_wmi_ddv_battery_remove() local
/linux-6.6.21/drivers/thunderbolt/
Dquirks.c51 void (*hook)(struct tb_switch *sw); member
/linux-6.6.21/arch/arm/kernel/
Dtraps.c416 void register_undef_hook(struct undef_hook *hook) in register_undef_hook()
425 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook()
437 struct undef_hook *hook; in call_undef_hook() local

123