/Linux-v6.1/net/netfilter/ |
D | nf_queue.c | 256 const struct nf_hook_entries *hooks, in nf_iterate() argument 262 while (i < hooks->num_hook_entries) { in nf_iterate() 263 hook = &hooks->hooks[i]; in nf_iterate() 302 const struct nf_hook_entries *hooks; in nf_reinject() local 312 hooks = nf_hook_entries_head(net, pf, entry->state.hook); in nf_reinject() 315 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject() 321 hook_entry = &hooks->hooks[i]; in nf_reinject() 335 verdict = nf_iterate(skb, &entry->state, hooks, &i); in nf_reinject()
|
D | nft_fib.c | 32 unsigned int hooks; in nft_fib_validate() local 37 hooks = (1 << NF_INET_PRE_ROUTING); in nft_fib_validate() 39 hooks |= (1 << NF_INET_LOCAL_IN) | in nft_fib_validate() 45 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_fib_validate() 49 hooks = (1 << NF_INET_LOCAL_OUT) | in nft_fib_validate() 53 hooks = (1 << NF_INET_LOCAL_IN) | in nft_fib_validate() 64 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_validate()
|
D | xt_socket.c | 235 .hooks = (1 << NF_INET_PRE_ROUTING) | 247 .hooks = (1 << NF_INET_PRE_ROUTING) | 260 .hooks = (1 << NF_INET_PRE_ROUTING) | 273 .hooks = (1 << NF_INET_PRE_ROUTING) | 286 .hooks = (1 << NF_INET_PRE_ROUTING) | 299 .hooks = (1 << NF_INET_PRE_ROUTING) | 312 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
D | core.c | 144 new->hooks[nhooks] = old->hooks[i]; in nf_hook_entries_grow() 148 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow() 149 new->hooks[nhooks].priv = reg->priv; in nf_hook_entries_grow() 157 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow() 158 new->hooks[nhooks].priv = reg->priv; in nf_hook_entries_grow() 164 static void hooks_validate(const struct nf_hook_entries *hooks) in hooks_validate() argument 171 orig_ops = nf_hook_entries_get_hook_ops(hooks); in hooks_validate() 173 for (i = 0; i < hooks->num_hook_entries; i++) { in hooks_validate() 256 new->hooks[j] = old->hooks[i]; in __nf_hook_entries_try_shrink() 468 WRITE_ONCE(old->hooks[i].hook, accept_all); in nf_remove_net_hook() [all …]
|
D | xt_nat.c | 160 .hooks = (1 << NF_INET_POST_ROUTING) | 173 .hooks = (1 << NF_INET_PRE_ROUTING) | 185 .hooks = (1 << NF_INET_POST_ROUTING) | 197 .hooks = (1 << NF_INET_PRE_ROUTING) | 209 .hooks = (1 << NF_INET_POST_ROUTING) | 221 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
D | nft_meta.c | 541 unsigned int hooks; in nft_meta_get_validate_sdif() local 547 hooks = (1 << NF_INET_LOCAL_IN) | in nft_meta_get_validate_sdif() 554 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_get_validate_sdif() 560 unsigned int hooks; in nft_meta_get_validate_xfrm() local 564 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_get_validate_xfrm() 569 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_meta_get_validate_xfrm() 577 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_get_validate_xfrm() 607 unsigned int hooks; in nft_meta_set_validate() local 614 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_set_validate() 617 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_set_validate() [all …]
|
D | nf_conntrack_sip.c | 863 const struct nf_nat_sip_hooks *hooks; in set_expected_rtp_rtcp() local 949 hooks = rcu_dereference(nf_nat_sip_hooks); in set_expected_rtp_rtcp() 950 if (hooks && in set_expected_rtp_rtcp() 951 !hooks->sdp_port(skb, protoff, dataoff, dptr, datalen, in set_expected_rtp_rtcp() 971 hooks = rcu_dereference(nf_nat_sip_hooks); in set_expected_rtp_rtcp() 972 if (hooks && ct->status & IPS_NAT_MASK && !direct_rtp) in set_expected_rtp_rtcp() 973 ret = hooks->sdp_media(skb, protoff, dataoff, dptr, in set_expected_rtp_rtcp() 1039 const struct nf_nat_sip_hooks *hooks; in process_sdp() local 1044 hooks = rcu_dereference(nf_nat_sip_hooks); in process_sdp() 1112 if (maddr_len && hooks && ct->status & IPS_NAT_MASK) { in process_sdp() [all …]
|
D | nft_chain_filter.c | 35 .hooks = { 77 .hooks = { 119 .hooks = { 205 .hooks = { 263 .hooks = { 315 .hooks = {
|
D | nft_chain_nat.c | 45 .hooks = { 66 .hooks = { 97 .hooks = {
|
D | xt_CLASSIFY.c | 42 .hooks = (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_FORWARD) | 52 .hooks = (1 << NF_ARP_OUT) | (1 << NF_ARP_FORWARD),
|
D | nft_chain_route.c | 58 .hooks = { 108 .hooks = { 139 .hooks = {
|
D | nft_osf.c | 118 unsigned int hooks; in nft_osf_validate() local 124 hooks = (1 << NF_INET_LOCAL_IN) | in nft_osf_validate() 132 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_osf_validate()
|
D | nft_rt.c | 167 unsigned int hooks; in nft_rt_validate() local 176 hooks = (1 << NF_INET_FORWARD) | in nft_rt_validate() 184 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_rt_validate()
|
D | nft_xfrm.c | 236 unsigned int hooks; in nft_xfrm_validate() local 240 hooks = (1 << NF_INET_FORWARD) | in nft_xfrm_validate() 245 hooks = (1 << NF_INET_FORWARD) | in nft_xfrm_validate() 254 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_xfrm_validate()
|
D | xt_REDIRECT.c | 81 .hooks = (1 << NF_INET_PRE_ROUTING) | 94 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
D | xt_cgroup.c | 174 .hooks = (1 << NF_INET_LOCAL_OUT) | 188 .hooks = (1 << NF_INET_LOCAL_OUT) | 202 .hooks = (1 << NF_INET_LOCAL_OUT) |
|
/Linux-v6.1/sound/soc/generic/ |
D | audio-graph-card2.c | 964 struct graph2_custom_hooks *hooks, in graph_link() argument 975 if (hooks && hooks->custom_normal) in graph_link() 976 func = hooks->custom_normal; in graph_link() 981 if (hooks && hooks->custom_dpcm) in graph_link() 982 func = hooks->custom_dpcm; in graph_link() 987 if (hooks && hooks->custom_c2c) in graph_link() 988 func = hooks->custom_c2c; in graph_link() 1130 struct graph2_custom_hooks *hooks, in graph_count() argument 1173 struct graph2_custom_hooks *hooks, in graph_for_each_link() argument 1176 struct graph2_custom_hooks *hooks, in graph_for_each_link() [all …]
|
/Linux-v6.1/drivers/video/fbdev/via/ |
D | via-core.c | 565 void viafb_pm_register(struct viafb_pm_hooks *hooks) in viafb_pm_register() argument 567 INIT_LIST_HEAD(&hooks->list); in viafb_pm_register() 570 list_add_tail(&hooks->list, &viafb_pm_hooks); in viafb_pm_register() 575 void viafb_pm_unregister(struct viafb_pm_hooks *hooks) in viafb_pm_unregister() argument 578 list_del(&hooks->list); in viafb_pm_unregister() 585 struct viafb_pm_hooks *hooks; in via_suspend() local 597 list_for_each_entry_reverse(hooks, &viafb_pm_hooks, list) in via_suspend() 598 hooks->suspend(hooks->private); in via_suspend() 606 struct viafb_pm_hooks *hooks; in via_resume() local 610 list_for_each_entry(hooks, &viafb_pm_hooks, list) in via_resume() [all …]
|
/Linux-v6.1/Documentation/translations/zh_CN/maintainer/ |
D | configure-git.rst | 54 $ cat >.git/hooks/applypatch-msg <<'EOF' 58 test -x "$GIT_DIR/hooks/commit-msg" && 59 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} 62 $ chmod a+x .git/hooks/applypatch-msg
|
/Linux-v6.1/Documentation/security/ |
D | lsm.rst | 30 general framework that would provide a set of security hooks to control 98 LSM hooks are maintained in lists. A list is maintained for each 99 hook, and the hooks are called in the order specified by CONFIG_LSM. 108 The LSM framework does not provide a mechanism for removing hooks that 112 The hooks can be viewed as falling into two major 113 categories: hooks that are used to manage the security fields and hooks 115 of hooks include the security_inode_alloc() and security_inode_free() 116 These hooks are used to allocate 118 An example of the second category of hooks
|
/Linux-v6.1/include/linux/ |
D | lsm_hooks.h | 1647 extern void security_add_hooks(struct security_hook_list *hooks, int count, 1693 static inline void security_delete_hooks(struct security_hook_list *hooks, in security_delete_hooks() argument 1699 hlist_del_rcu(&hooks[i].list); in security_delete_hooks()
|
/Linux-v6.1/arch/arm64/kernel/ |
D | armv8_deprecated.c | 47 struct undef_hook *hooks; member 68 BUG_ON(!ops->hooks); in register_emulation_hooks() 70 for (hook = ops->hooks; hook->instr_mask; hook++) in register_emulation_hooks() 80 BUG_ON(!ops->hooks); in remove_emulation_hooks() 82 for (hook = ops->hooks; hook->instr_mask; hook++) in remove_emulation_hooks() 451 .hooks = swp_hooks, 538 .hooks = cp15_barrier_hooks, 611 .hooks = setend_hooks,
|
/Linux-v6.1/Documentation/maintainer/ |
D | configure-git.rst | 56 $ cat >.git/hooks/applypatch-msg <<'EOF' 60 test -x "$GIT_DIR/hooks/commit-msg" && 61 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} 64 $ chmod a+x .git/hooks/applypatch-msg
|
/Linux-v6.1/drivers/ufs/host/ |
D | Kconfig | 58 tristate "QCOM specific hooks to UFS controller platform driver" 72 tristate "Mediatek specific hooks to UFS controller platform driver" 87 tristate "Hisilicon specific hooks to UFS controller platform driver" 96 tristate "Renesas specific hooks to UFS controller platform driver" 118 tristate "Exynos specific hooks to UFS controller platform driver"
|
/Linux-v6.1/security/ |
D | Kconfig | 52 This enables the socket and networking security hooks. 53 If enabled, a security module can use these hooks to 61 This enables the Infiniband security hooks. 62 If enabled, a security module can use these hooks to 70 This enables the XFRM (IPSec) networking security hooks. 71 If enabled, a security module can use these hooks to 80 bool "Security hooks for pathname based access control" 83 This enables the security hooks for pathname based access control. 84 If enabled, a security module can use these hooks to
|