hooks 47 arch/arm64/kernel/armv8_deprecated.c struct undef_hook *hooks; hooks 67 arch/arm64/kernel/armv8_deprecated.c BUG_ON(!ops->hooks); hooks 69 arch/arm64/kernel/armv8_deprecated.c for (hook = ops->hooks; hook->instr_mask; hook++) hooks 79 arch/arm64/kernel/armv8_deprecated.c BUG_ON(!ops->hooks); hooks 81 arch/arm64/kernel/armv8_deprecated.c for (hook = ops->hooks; hook->instr_mask; hook++) hooks 456 arch/arm64/kernel/armv8_deprecated.c .hooks = swp_hooks, hooks 543 arch/arm64/kernel/armv8_deprecated.c .hooks = cp15_barrier_hooks, hooks 616 arch/arm64/kernel/armv8_deprecated.c .hooks = setend_hooks, hooks 565 drivers/video/fbdev/via/via-core.c void viafb_pm_register(struct viafb_pm_hooks *hooks) hooks 567 drivers/video/fbdev/via/via-core.c INIT_LIST_HEAD(&hooks->list); hooks 570 drivers/video/fbdev/via/via-core.c list_add_tail(&hooks->list, &viafb_pm_hooks); hooks 575 drivers/video/fbdev/via/via-core.c void viafb_pm_unregister(struct viafb_pm_hooks *hooks) hooks 578 drivers/video/fbdev/via/via-core.c list_del(&hooks->list); hooks 585 drivers/video/fbdev/via/via-core.c struct viafb_pm_hooks *hooks; hooks 599 drivers/video/fbdev/via/via-core.c list_for_each_entry_reverse(hooks, &viafb_pm_hooks, list) hooks 600 drivers/video/fbdev/via/via-core.c hooks->suspend(hooks->private); hooks 611 drivers/video/fbdev/via/via-core.c struct viafb_pm_hooks *hooks; hooks 623 drivers/video/fbdev/via/via-core.c list_for_each_entry(hooks, &viafb_pm_hooks, list) hooks 624 drivers/video/fbdev/via/via-core.c hooks->resume(hooks->private); hooks 2100 include/linux/lsm_hooks.h extern void security_add_hooks(struct security_hook_list *hooks, int count, hooks 2146 include/linux/lsm_hooks.h static inline void security_delete_hooks(struct security_hook_list *hooks, hooks 2152 include/linux/lsm_hooks.h hlist_del_rcu(&hooks[i].list); hooks 103 include/linux/netfilter.h struct nf_hook_entry hooks[]; hooks 126 include/linux/netfilter.h hook_end = &e->hooks[n]; /* this is *past* ->hooks[]! */ hooks 175 include/linux/netfilter/x_tables.h unsigned int hooks; hooks 216 include/linux/netfilter/x_tables.h unsigned int hooks; hooks 58 include/linux/via-core.h void viafb_pm_register(struct viafb_pm_hooks *hooks); hooks 59 include/linux/via-core.h void viafb_pm_unregister(struct viafb_pm_hooks *hooks); hooks 951 include/net/netfilter/nf_tables.h nf_hookfn *hooks[NF_MAX_HOOKS]; hooks 223 net/bridge/br_input.c verdict = nf_hook_entry_hookfn(&e->hooks[i], skb, &state); hooks 83 net/bridge/netfilter/ebt_arpreply.c .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING), hooks 85 net/bridge/netfilter/ebt_dnat.c .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING) | hooks 60 net/bridge/netfilter/ebt_redirect.c .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING) | hooks 68 net/bridge/netfilter/ebt_snat.c .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_POST_ROUTING), hooks 93 net/ipv4/netfilter/ipt_REJECT.c .hooks = (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD) | hooks 98 net/ipv4/netfilter/ipt_SYNPROXY.c .hooks = (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD), hooks 111 net/ipv4/netfilter/ipt_rpfilter.c .hooks = (1 << NF_INET_PRE_ROUTING), hooks 115 net/ipv6/netfilter/ip6t_NPT.c .hooks = (1 << NF_INET_LOCAL_IN) | hooks 127 net/ipv6/netfilter/ip6t_NPT.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 104 net/ipv6/netfilter/ip6t_REJECT.c .hooks = (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD) | hooks 101 net/ipv6/netfilter/ip6t_SYNPROXY.c .hooks = (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD), hooks 55 net/ipv6/netfilter/ip6t_eui64.c .hooks = (1 << NF_INET_PRE_ROUTING) | (1 << NF_INET_LOCAL_IN) | hooks 135 net/ipv6/netfilter/ip6t_rpfilter.c .hooks = (1 << NF_INET_PRE_ROUTING), hooks 144 net/netfilter/core.c new->hooks[nhooks] = old->hooks[i]; hooks 148 net/netfilter/core.c new->hooks[nhooks].hook = reg->hook; hooks 149 net/netfilter/core.c new->hooks[nhooks].priv = reg->priv; hooks 157 net/netfilter/core.c new->hooks[nhooks].hook = reg->hook; hooks 158 net/netfilter/core.c new->hooks[nhooks].priv = reg->priv; hooks 164 net/netfilter/core.c static void hooks_validate(const struct nf_hook_entries *hooks) hooks 171 net/netfilter/core.c orig_ops = nf_hook_entries_get_hook_ops(hooks); hooks 173 net/netfilter/core.c for (i = 0; i < hooks->num_hook_entries; i++) { hooks 256 net/netfilter/core.c new->hooks[j] = old->hooks[i]; hooks 378 net/netfilter/core.c WRITE_ONCE(old->hooks[i].hook, accept_all); hooks 512 net/netfilter/core.c verdict = nf_hook_entry_hookfn(&e->hooks[s], skb, state); hooks 863 net/netfilter/nf_conntrack_sip.c const struct nf_nat_sip_hooks *hooks; hooks 949 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 950 net/netfilter/nf_conntrack_sip.c if (hooks && hooks 951 net/netfilter/nf_conntrack_sip.c !hooks->sdp_port(skb, protoff, dataoff, dptr, datalen, hooks 971 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 972 net/netfilter/nf_conntrack_sip.c if (hooks && ct->status & IPS_NAT_MASK && !direct_rtp) hooks 973 net/netfilter/nf_conntrack_sip.c ret = hooks->sdp_media(skb, protoff, dataoff, dptr, hooks 1039 net/netfilter/nf_conntrack_sip.c const struct nf_nat_sip_hooks *hooks; hooks 1044 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 1112 net/netfilter/nf_conntrack_sip.c if (maddr_len && hooks && ct->status & IPS_NAT_MASK) { hooks 1113 net/netfilter/nf_conntrack_sip.c ret = hooks->sdp_addr(skb, protoff, dataoff, hooks 1127 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 1128 net/netfilter/nf_conntrack_sip.c if (hooks && ct->status & IPS_NAT_MASK) hooks 1129 net/netfilter/nf_conntrack_sip.c ret = hooks->sdp_session(skb, protoff, dataoff, hooks 1231 net/netfilter/nf_conntrack_sip.c const struct nf_nat_sip_hooks *hooks; hooks 1298 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 1299 net/netfilter/nf_conntrack_sip.c if (hooks && ct->status & IPS_NAT_MASK) hooks 1300 net/netfilter/nf_conntrack_sip.c ret = hooks->expect(skb, protoff, dataoff, dptr, datalen, hooks 1507 net/netfilter/nf_conntrack_sip.c const struct nf_nat_sip_hooks *hooks; hooks 1516 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 1517 net/netfilter/nf_conntrack_sip.c if (hooks && !hooks->msg(skb, protoff, dataoff, hooks 1601 net/netfilter/nf_conntrack_sip.c const struct nf_nat_sip_hooks *hooks; hooks 1603 net/netfilter/nf_conntrack_sip.c hooks = rcu_dereference(nf_nat_sip_hooks); hooks 1604 net/netfilter/nf_conntrack_sip.c if (hooks) hooks 1605 net/netfilter/nf_conntrack_sip.c hooks->seq_adjust(skb, protoff, tdiff); hooks 761 net/netfilter/nf_nat_core.c ret = e->hooks[i].hook(e->hooks[i].priv, skb, hooks 249 net/netfilter/nf_queue.c const struct nf_hook_entries *hooks, hooks 255 net/netfilter/nf_queue.c while (i < hooks->num_hook_entries) { hooks 256 net/netfilter/nf_queue.c hook = &hooks->hooks[i]; hooks 295 net/netfilter/nf_queue.c const struct nf_hook_entries *hooks; hooks 305 net/netfilter/nf_queue.c hooks = nf_hook_entries_head(net, pf, entry->state.hook); hooks 310 net/netfilter/nf_queue.c if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { hooks 316 net/netfilter/nf_queue.c hook_entry = &hooks->hooks[i]; hooks 330 net/netfilter/nf_queue.c verdict = nf_iterate(skb, &entry->state, hooks, &i); hooks 1702 net/netfilter/nf_tables_api.c ops->hook = hook.type->hooks[ops->hooknum]; hooks 35 net/netfilter/nft_chain_filter.c .hooks = { hooks 77 net/netfilter/nft_chain_filter.c .hooks = { hooks 119 net/netfilter/nft_chain_filter.c .hooks = { hooks 173 net/netfilter/nft_chain_filter.c .hooks = { hooks 230 net/netfilter/nft_chain_filter.c .hooks = { hooks 281 net/netfilter/nft_chain_filter.c .hooks = { hooks 45 net/netfilter/nft_chain_nat.c .hooks = { hooks 66 net/netfilter/nft_chain_nat.c .hooks = { hooks 97 net/netfilter/nft_chain_nat.c .hooks = { hooks 58 net/netfilter/nft_chain_route.c .hooks = { hooks 108 net/netfilter/nft_chain_route.c .hooks = { hooks 139 net/netfilter/nft_chain_route.c .hooks = { hooks 318 net/netfilter/nft_compat.c if (target->hooks && !(hook_mask & target->hooks)) hooks 559 net/netfilter/nft_compat.c if (match->hooks && !(hook_mask & match->hooks)) hooks 32 net/netfilter/nft_fib.c unsigned int hooks; hooks 37 net/netfilter/nft_fib.c hooks = (1 << NF_INET_PRE_ROUTING); hooks 41 net/netfilter/nft_fib.c hooks = (1 << NF_INET_PRE_ROUTING) | hooks 45 net/netfilter/nft_fib.c hooks = (1 << NF_INET_LOCAL_OUT) | hooks 49 net/netfilter/nft_fib.c hooks = (1 << NF_INET_LOCAL_IN) | hooks 60 net/netfilter/nft_fib.c return nft_chain_validate_hooks(ctx->chain, hooks); hooks 395 net/netfilter/nft_meta.c unsigned int hooks; hooks 402 net/netfilter/nft_meta.c hooks = 1 << NF_NETDEV_INGRESS; hooks 407 net/netfilter/nft_meta.c hooks = (1 << NF_INET_PRE_ROUTING) | hooks 415 net/netfilter/nft_meta.c return nft_chain_validate_hooks(ctx->chain, hooks); hooks 426 net/netfilter/nft_meta.c unsigned int hooks; hooks 433 net/netfilter/nft_meta.c hooks = 1 << NF_BR_PRE_ROUTING; hooks 436 net/netfilter/nft_meta.c hooks = 1 << NF_NETDEV_INGRESS; hooks 441 net/netfilter/nft_meta.c hooks = 1 << NF_INET_PRE_ROUTING; hooks 447 net/netfilter/nft_meta.c return nft_chain_validate_hooks(ctx->chain, hooks); hooks 168 net/netfilter/nft_rt.c unsigned int hooks; hooks 177 net/netfilter/nft_rt.c hooks = (1 << NF_INET_FORWARD) | hooks 185 net/netfilter/nft_rt.c return nft_chain_validate_hooks(ctx->chain, hooks); hooks 235 net/netfilter/nft_xfrm.c unsigned int hooks; hooks 239 net/netfilter/nft_xfrm.c hooks = (1 << NF_INET_FORWARD) | hooks 244 net/netfilter/nft_xfrm.c hooks = (1 << NF_INET_FORWARD) | hooks 253 net/netfilter/nft_xfrm.c return nft_chain_validate_hooks(ctx->chain, hooks); hooks 482 net/netfilter/x_tables.c if (par->match->hooks && (par->hook_mask & ~par->match->hooks) != 0) { hooks 490 net/netfilter/x_tables.c par->match->hooks, hooks 1000 net/netfilter/x_tables.c if (par->target->hooks && (par->hook_mask & ~par->target->hooks) != 0) { hooks 1008 net/netfilter/x_tables.c par->target->hooks, hooks 42 net/netfilter/xt_CLASSIFY.c .hooks = (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_FORWARD) | hooks 52 net/netfilter/xt_CLASSIFY.c .hooks = (1 << NF_ARP_OUT) | (1 << NF_ARP_FORWARD), hooks 80 net/netfilter/xt_MASQUERADE.c .hooks = 1 << NF_INET_POST_ROUTING, hooks 91 net/netfilter/xt_MASQUERADE.c .hooks = 1 << NF_INET_POST_ROUTING, hooks 127 net/netfilter/xt_NETMAP.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 142 net/netfilter/xt_NETMAP.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 81 net/netfilter/xt_REDIRECT.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 94 net/netfilter/xt_REDIRECT.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 231 net/netfilter/xt_TPROXY.c .hooks = 1 << NF_INET_PRE_ROUTING, hooks 242 net/netfilter/xt_TPROXY.c .hooks = 1 << NF_INET_PRE_ROUTING, hooks 254 net/netfilter/xt_TPROXY.c .hooks = 1 << NF_INET_PRE_ROUTING, hooks 174 net/netfilter/xt_cgroup.c .hooks = (1 << NF_INET_LOCAL_OUT) | hooks 188 net/netfilter/xt_cgroup.c .hooks = (1 << NF_INET_LOCAL_OUT) | hooks 202 net/netfilter/xt_cgroup.c .hooks = (1 << NF_INET_LOCAL_OUT) | hooks 321 net/netfilter/xt_l2tp.c .hooks = ((1 << NF_INET_PRE_ROUTING) | hooks 335 net/netfilter/xt_l2tp.c .hooks = ((1 << NF_INET_PRE_ROUTING) | hooks 47 net/netfilter/xt_mac.c .hooks = (1 << NF_INET_PRE_ROUTING) | (1 << NF_INET_LOCAL_IN) | hooks 160 net/netfilter/xt_nat.c .hooks = (1 << NF_INET_POST_ROUTING) | hooks 173 net/netfilter/xt_nat.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 185 net/netfilter/xt_nat.c .hooks = (1 << NF_INET_POST_ROUTING) | hooks 197 net/netfilter/xt_nat.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 209 net/netfilter/xt_nat.c .hooks = (1 << NF_INET_POST_ROUTING) | hooks 221 net/netfilter/xt_nat.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 39 net/netfilter/xt_osf.c .hooks = (1 << NF_INET_LOCAL_IN) | hooks 129 net/netfilter/xt_owner.c .hooks = (1 << NF_INET_LOCAL_OUT) | hooks 34 net/netfilter/xt_realm.c .hooks = (1 << NF_INET_POST_ROUTING) | (1 << NF_INET_FORWARD) | hooks 225 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 236 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 248 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 260 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 272 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 284 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 296 net/netfilter/xt_socket.c .hooks = (1 << NF_INET_PRE_ROUTING) | hooks 443 security/security.c void __init security_add_hooks(struct security_hook_list *hooks, int count, hooks 449 security/security.c hooks[i].lsm = lsm; hooks 450 security/security.c hlist_add_tail_rcu(&hooks[i].list, hooks[i].head);