Home
last modified time | relevance | path

Searched refs:hooks (Results 1 – 25 of 192) sorted by relevance

12345678

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/
H A D0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch37 hooks::init();
45 if (!hooks::free) {
46 hooks::init();
48 hooks::free(ptr);
55 hooks::init();
64 hooks::init();
73 hooks::init();
82 hooks::init();
91 hooks::init();
100 hooks::init();
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_queue.c254 const struct nf_hook_entries *hooks, in nf_iterate() argument
260 while (i < hooks->num_hook_entries) { in nf_iterate()
261 hook = &hooks->hooks[i]; in nf_iterate()
300 const struct nf_hook_entries *hooks; in nf_reinject() local
310 hooks = nf_hook_entries_head(net, pf, entry->state.hook); in nf_reinject()
313 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject()
319 hook_entry = &hooks->hooks[i]; in nf_reinject()
333 verdict = nf_iterate(skb, &entry->state, hooks, &i); in nf_reinject()
H A Dnft_fib.c33 unsigned int hooks; in nft_fib_validate() local
38 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_fib_validate()
44 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_fib_validate()
48 hooks = (1 << NF_INET_LOCAL_OUT) | in nft_fib_validate()
52 hooks = (1 << NF_INET_LOCAL_IN) | in nft_fib_validate()
63 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_validate()
H A Dxt_socket.c235 .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) |
H A Dxt_CLASSIFY.c42 .hooks = (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_FORWARD) |
52 .hooks = (1 << NF_ARP_OUT) | (1 << NF_ARP_FORWARD),
62 .hooks = (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_FORWARD) |
H A Dxt_nat.c160 .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) |
H A Dcore.c156 new->hooks[nhooks] = old->hooks[i]; in nf_hook_entries_grow()
160 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow()
161 new->hooks[nhooks].priv = reg->priv; in nf_hook_entries_grow()
169 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow()
170 new->hooks[nhooks].priv = reg->priv; in nf_hook_entries_grow()
176 static void hooks_validate(const struct nf_hook_entries *hooks) in hooks_validate() argument
183 orig_ops = nf_hook_entries_get_hook_ops(hooks); in hooks_validate()
185 for (i = 0; i < hooks->num_hook_entries; i++) { in hooks_validate()
268 new->hooks[j] = old->hooks[i]; in __nf_hook_entries_try_shrink()
480 WRITE_ONCE(old->hooks[i].hook, accept_all); in nf_remove_net_hook()
[all …]
H A Dnft_chain_nat.c45 .hooks = {
66 .hooks = {
97 .hooks = {
H A Dnft_chain_filter.c35 .hooks = {
77 .hooks = {
119 .hooks = {
205 .hooks = {
263 .hooks = {
315 .hooks = {
H A Dnf_conntrack_sip.c863 const struct nf_nat_sip_hooks *hooks; in set_expected_rtp_rtcp() local
950 if (hooks && in set_expected_rtp_rtcp()
1039 const struct nf_nat_sip_hooks *hooks; in process_sdp() local
1128 if (hooks && ct->status & IPS_NAT_MASK) in process_sdp()
1231 const struct nf_nat_sip_hooks *hooks; in process_register_request() local
1304 if (hooks && ct->status & IPS_NAT_MASK) in process_register_request()
1512 const struct nf_nat_sip_hooks *hooks; in process_sip_msg() local
1522 if (hooks && !hooks->msg(skb, protoff, dataoff, in process_sip_msg()
1606 const struct nf_nat_sip_hooks *hooks; in sip_help_tcp() local
1609 if (hooks) in sip_help_tcp()
[all …]
H A Dnft_meta.c541 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 …]
H A Dnft_chain_route.c58 .hooks = {
108 .hooks = {
139 .hooks = {
H A Dnft_rt.c167 unsigned int hooks; in nft_rt_validate() local
181 hooks = (1 << NF_INET_FORWARD) | in nft_rt_validate()
189 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_rt_validate()
H A Dnft_osf.c119 unsigned int hooks; in nft_osf_validate() local
125 hooks = (1 << NF_INET_LOCAL_IN) | in nft_osf_validate()
133 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_osf_validate()
/openbmc/linux/sound/soc/generic/
H A Daudio-graph-card2.c883 if (hooks && hooks->custom_normal) in graph_link()
884 func = hooks->custom_normal; in graph_link()
889 if (hooks && hooks->custom_dpcm) in graph_link()
890 func = hooks->custom_dpcm; in graph_link()
895 if (hooks && hooks->custom_c2c) in graph_link()
896 func = hooks->custom_c2c; in graph_link()
1128 struct graph2_custom_hooks *hooks) in audio_graph2_parse_of() argument
1142 if ((hooks) && (hooks)->hook_pre) { in audio_graph2_parse_of()
1143 ret = (hooks)->hook_pre(priv); in audio_graph2_parse_of()
1184 if ((hooks) && (hooks)->hook_post) { in audio_graph2_parse_of()
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/kea/files/
H A Dfix-multilib-conflict.patch29 "hooks-libraries": [
31 -// "library": "@libdir@/kea/hooks/control-agent-commands.so",
33 +// "library": "$libdir/kea/hooks/control-agent-commands.so",
45 - // "library": "@libdir@/kea/hooks/libdhcp_legal_log.so",
46 + // "library": "$libdir/kea/hooks/libdhcp_legal_log.so",
54 - // "library": "@libdir@/kea/hooks/libdhcp_flex_id.so",
55 + // "library": "$libdir/kea/hooks/libdhcp_flex_id.so",
/openbmc/linux/Documentation/translations/zh_CN/maintainer/
H A Dconfigure-git.rst54 $ 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
/openbmc/linux/drivers/video/fbdev/via/
H A Dvia-core.c565 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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-hook-Do-not-append-int-to-std-string.patch8 | ../../../git/sysdeps/linux-gnu/hooks.c:205:51: error: adding 'int' to a string does not append to…
16 sysdeps/linux-gnu/hooks.c | 2 +-
19 --- a/sysdeps/linux-gnu/hooks.c
20 +++ b/sysdeps/linux-gnu/hooks.c
/openbmc/openbmc/poky/meta/recipes-connectivity/dhcpcd/files/
H A D0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch26 hooks/20-resolv.conf | 17 +++++++++++++----
29 diff --git a/hooks/20-resolv.conf b/hooks/20-resolv.conf
31 --- a/hooks/20-resolv.conf
32 +++ b/hooks/20-resolv.conf
/openbmc/linux/Documentation/security/
H A Dlsm.rst30 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
/openbmc/linux/Documentation/maintainer/
H A Dconfigure-git.rst50 $ cat >.git/hooks/applypatch-msg <<'EOF'
54 test -x "$GIT_DIR/hooks/commit-msg" &&
55 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
58 $ chmod a+x .git/hooks/applypatch-msg
/openbmc/u-boot/doc/
H A DREADME.generic_usb_ohci7 into cpu/board directories and are called via the hooks below.
14 CONFIG_SYS_USB_OHCI_BOARD_INIT: call the board dependant hooks:
20 CONFIG_SYS_USB_OHCI_CPU_INIT: call the cpu dependant hooks:
/openbmc/linux/drivers/ufs/host/
H A DKconfig58 tristate "QCOM specific hooks to UFS controller platform driver"
73 tristate "Mediatek specific hooks to UFS controller platform driver"
89 tristate "Hisilicon specific hooks to UFS controller platform driver"
98 tristate "Renesas specific hooks to UFS controller platform driver"
120 tristate "Exynos specific hooks to UFS controller platform driver"
135 tristate "Unisoc specific hooks to UFS controller platform driver"
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-build_1.2.1.bb10 DEPENDS += "python3-pyproject-hooks-native"
27 python3-pyproject-hooks \

12345678