Home
last modified time | relevance | path

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

123

/openbmc/linux/arch/arm64/kernel/
H A 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
/openbmc/linux/net/netfilter/
H A 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()
H A 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()
H A 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
H A 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
H A Dnf_dup_netdev.c21 enum nf_dev_hooks hook) in nf_do_netdev_egress()
H A 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()
H A 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
/openbmc/linux/net/ipv4/netfilter/
H A 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()
H A Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
/openbmc/linux/net/ipv6/netfilter/
H A 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()
/openbmc/linux/net/bridge/netfilter/
H A 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()
/openbmc/linux/include/linux/
H A 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()
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()
417 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
[all …]
H A Dpci.h2179 class_shift, hook) \ argument
2211 class_shift, hook) \ argument
2217 class_shift, hook) \ argument
2224 class_shift, hook) \ argument
2228 class_shift, hook) \ argument
2232 class_shift, hook) \ argument
2236 class_shift, hook) \ argument
2240 class_shift, hook) \ argument
2244 class_shift, hook) \ argument
2248 class_shift, hook) \ argument
[all …]
H A Dnetfilter_ipv4.h29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
/openbmc/linux/tools/lib/bpf/
H A 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()
/openbmc/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()
/openbmc/phosphor-networkd/src/
H A Dnetwork_manager.hpp115 inline void addReloadPreHook(fu2::unique_function<void()>&& hook) in addReloadPreHook()
119 inline void addReloadPostHook(fu2::unique_function<void()>&& hook) in addReloadPostHook()
H A Dnetwork_manager.cpp79 for (auto& hook : self.get().reloadPreHooks) in __anond1a9d47b0202() local
107 for (auto& hook : self.get().reloadPostHooks) in __anond1a9d47b0202() local
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_quirks.c72 void (*hook)(struct drm_i915_private *i915); member
77 void (*hook)(struct drm_i915_private *i915); member
/openbmc/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()
/openbmc/linux/drivers/acpi/
H A 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
/openbmc/linux/drivers/platform/x86/
H A Dmsi-ec.c802 struct acpi_battery_hook *hook) in msi_battery_add()
808 struct acpi_battery_hook *hook) in msi_battery_remove()
/openbmc/linux/net/sched/
H A Dact_ipt.c33 char *table, unsigned int hook) in ipt_init_target()
108 u32 hook = 0; in __tcf_ipt_init() local
/openbmc/linux/drivers/thunderbolt/
H A Dquirks.c57 void (*hook)(struct tb_switch *sw); member

123