Home
last modified time | relevance | path

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

12

/Linux-v5.15/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
Dtraps.c379 void register_undef_hook(struct undef_hook *hook) in register_undef_hook()
388 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook()
399 struct undef_hook *hook; in call_undef_hook() local
737 const struct sys64_hook *hook, *hook_base; in do_cp15instr() local
778 const struct sys64_hook *hook; in do_sysinstr() local
Darmv8_deprecated.c65 struct undef_hook *hook; in register_emulation_hooks() local
77 struct undef_hook *hook; in remove_emulation_hooks() local
/Linux-v5.15/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.c29 int hook) in nft_reject_netdev_send_v4_tcp_reset()
43 int hook, u8 code) in nft_reject_netdev_send_v4_unreach()
57 int hook) in nft_reject_netdev_send_v6_tcp_reset()
72 int hook, u8 code) in nft_reject_netdev_send_v6_unreach()
Dnfnetlink_hook.c56 u8 hook; member
185 nfnl_hook_entries_head(u8 pf, unsigned int hook, struct net *net, const char *dev) in nfnl_hook_entries_head()
Dnf_tables_api.c201 struct nft_hook *hook; in nft_netdev_register_hooks() local
227 struct nft_hook *hook; in nft_netdev_unregister_hooks() local
1470 struct nft_hook *hook, *first = NULL; in nft_dump_basechain_hook() local
1765 struct nft_hook *hook, *next; in nf_tables_chain_destroy() local
1803 struct nft_hook *hook; in nft_netdev_hook_alloc() local
1836 struct nft_hook *hook; in nft_hook_list_find() local
1850 struct nft_hook *hook, *next; in nf_tables_parse_netdev_hooks() local
1900 struct nft_hook *hook; in nft_chain_parse_netdev() local
1926 struct nft_chain_hook *hook, u8 family, in nft_chain_parse_hook()
1992 static void nft_chain_release_hook(struct nft_chain_hook *hook) in nft_chain_release_hook()
[all …]
Dnf_tables_offload.c436 struct nft_hook *hook; in nft_flow_block_chain() local
602 struct nft_hook *hook, *found; in __nft_offload_get_chain() local
/Linux-v5.15/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()
138 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get()
238 int hook) in nf_send_reset()
311 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-v5.15/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()
375 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
/Linux-v5.15/include/linux/
Dnetfilter.h68 u8 hook; member
87 nf_hookfn *hook; member
98 nf_hookfn *hook; member
146 unsigned int hook, in nf_hook_state_init()
211 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
287 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
301 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
312 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
402 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
411 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
Dpci.h1976 void (*hook)(struct pci_dev *dev); member
1993 class_shift, hook) \ argument
2009 class_shift, hook, stub) \ argument
2019 class_shift, hook, stub) \ argument
2025 class_shift, hook) \ argument
2031 class_shift, hook) \ argument
2038 class_shift, hook) \ argument
2042 class_shift, hook) \ argument
2046 class_shift, hook) \ argument
2050 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-v5.15/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-v5.15/tools/lib/bpf/
Dnetlink.c381 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
421 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
445 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
450 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
455 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
471 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
556 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
629 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
690 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
702 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c25 static int test_tc_bpf_basic(const struct bpf_tc_hook *hook, int fd) in test_tc_bpf_basic()
68 static int test_tc_bpf_api(struct bpf_tc_hook *hook, int fd) in test_tc_bpf_api()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_quirks.c66 void (*hook)(struct drm_i915_private *i915); member
71 void (*hook)(struct drm_i915_private *i915); member
/Linux-v5.15/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-v5.15/drivers/acpi/
Dbattery.c691 static void __battery_hook_unregister(struct acpi_battery_hook *hook, int lock) in __battery_hook_unregister()
709 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister()
715 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register()
782 struct acpi_battery_hook *hook; in battery_hook_remove_battery() local
799 struct acpi_battery_hook *hook; in battery_hook_exit() local
/Linux-v5.15/drivers/thunderbolt/
Dquirks.c28 void (*hook)(struct tb_switch *sw); member
/Linux-v5.15/arch/arm/kernel/
Dtraps.c396 void register_undef_hook(struct undef_hook *hook) in register_undef_hook()
405 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook()
417 struct undef_hook *hook; in call_undef_hook() local
/Linux-v5.15/net/sched/
Dact_ipt.c34 char *table, unsigned int hook) in ipt_init_target()
108 u32 hook = 0; in __tcf_ipt_init() local
/Linux-v5.15/kernel/sched/
Dcpufreq_schedutil.c336 static void sugov_update_single_freq(struct update_util_data *hook, u64 time, in sugov_update_single_freq()
376 static void sugov_update_single_perf(struct update_util_data *hook, u64 time, in sugov_update_single_perf()
434 sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) in sugov_update_shared()
/Linux-v5.15/scripts/gcc-plugins/
Dgcc-common.h390 … struct cgraph_node_hook_list *cgraph_add_function_insertion_hook(cgraph_node_hook hook, void *dat… in cgraph_add_function_insertion_hook()
400 static inline struct cgraph_node_hook_list *cgraph_add_node_removal_hook(cgraph_node_hook hook, voi… in cgraph_add_node_removal_hook()
410 … struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook(cgraph_2node_hook hook, void *dat… in cgraph_add_node_duplication_hook()

12