Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/OK3568_Linux_fs/external/xserver/config/
H A Ddbus-core.c72 struct dbus_core_hook *hook; in teardown() local
90 for (hook = bus_info.hooks; hook; hook = hook->next) { in teardown()
91 if (hook->disconnect) in teardown()
92 hook->disconnect(hook->data); in teardown()
133 struct dbus_core_hook *hook; in connect_to_bus() local
161 for (hook = bus_info.hooks; hook; hook = hook->next) { in connect_to_bus()
162 if (hook->connect) in connect_to_bus()
163 hook->connect(bus_info.connection, hook->data); in connect_to_bus()
193 dbus_core_add_hook(struct dbus_core_hook *hook) in dbus_core_add_hook() argument
199 hook->next = NULL; in dbus_core_add_hook()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetfilter.h69 unsigned int hook; member
83 nf_hookfn *hook; member
93 nf_hookfn *hook; member
137 return entry->hook(entry->priv, skb, state); in nf_hook_entry_hookfn()
141 unsigned int hook, in nf_hook_state_init() argument
149 p->hook = hook; in nf_hook_state_init()
208 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() argument
218 __builtin_constant_p(hook) && in nf_hook()
219 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
226 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
[all …]
H A Dpci.h1936 void (*hook)(struct pci_dev *dev); member
1953 class_shift, hook, stub) \ argument
1957 hook(dev); \
1967 class_shift, hook, stub) \ argument
1969 class_shift, hook, stub)
1971 class_shift, hook) \ argument
1973 class_shift, hook, __UNIQUE_ID(hook))
1977 class_shift, hook) \ argument
1980 = { vendor, device, class, class_shift, hook };
1984 class_shift, hook) \ argument
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Ddebug-monitors.c179 void register_user_step_hook(struct step_hook *hook) in register_user_step_hook() argument
181 register_debug_hook(&hook->node, &user_step_hook); in register_user_step_hook()
184 void unregister_user_step_hook(struct step_hook *hook) in unregister_user_step_hook() argument
186 unregister_debug_hook(&hook->node); in unregister_user_step_hook()
189 void register_kernel_step_hook(struct step_hook *hook) in register_kernel_step_hook() argument
191 register_debug_hook(&hook->node, &kernel_step_hook); in register_kernel_step_hook()
194 void unregister_kernel_step_hook(struct step_hook *hook) in unregister_kernel_step_hook() argument
196 unregister_debug_hook(&hook->node); in unregister_kernel_step_hook()
207 struct step_hook *hook; in call_step_hook() local
217 list_for_each_entry_rcu(hook, list, node) { in call_step_hook()
[all …]
H A Dtraps.c290 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
295 list_add(&hook->node, &undef_hook); in register_undef_hook()
299 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
304 list_del(&hook->node); in unregister_undef_hook()
310 struct undef_hook *hook; in call_undef_hook() local
344 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
345 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
346 (regs->pstate & hook->pstate_mask) == hook->pstate_val) in call_undef_hook()
347 fn = hook->fn; in call_undef_hook()
650 const struct sys64_hook *hook, *hook_base; in do_cp15instr() local
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dutils.c10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum() argument
18 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) in nf_ip_checksum()
43 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum_partial() argument
53 return nf_ip_checksum(skb, hook, dataoff, protocol); in nf_ip_checksum_partial()
64 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum() argument
72 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) in nf_ip6_checksum()
97 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum_partial() argument
108 return nf_ip6_checksum(skb, hook, dataoff, protocol); in nf_ip6_checksum_partial()
123 __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, in nf_checksum() argument
131 csum = nf_ip_checksum(skb, hook, dataoff, protocol); in nf_checksum()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
38 nf_send_unreach(skb, ICMP_NET_UNREACH, hook); in reject_tg()
41 nf_send_unreach(skb, ICMP_HOST_UNREACH, hook); in reject_tg()
44 nf_send_unreach(skb, ICMP_PROT_UNREACH, hook); in reject_tg()
47 nf_send_unreach(skb, ICMP_PORT_UNREACH, hook); in reject_tg()
50 nf_send_unreach(skb, ICMP_NET_ANO, hook); in reject_tg()
53 nf_send_unreach(skb, ICMP_HOST_ANO, hook); in reject_tg()
56 nf_send_unreach(skb, ICMP_PKT_FILTERED, hook); in reject_tg()
59 nf_send_reset(xt_net(par), skb, hook); in reject_tg()
H A Dnf_reject_ipv4.c16 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get() argument
37 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get()
115 void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset() argument
123 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nf_send_reset()
127 if (hook == NF_INET_PRE_ROUTING && nf_reject_fill_skb_dst(oldskb)) in nf_send_reset()
188 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach() argument
196 if (hook == NF_INET_PRE_ROUTING && nf_reject_fill_skb_dst(skb_in)) in nf_send_unreach()
204 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) in nf_send_unreach()
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Ddebug-monitors.h82 void register_user_step_hook(struct step_hook *hook);
83 void unregister_user_step_hook(struct step_hook *hook);
85 void register_kernel_step_hook(struct step_hook *hook);
86 void unregister_kernel_step_hook(struct step_hook *hook);
95 void register_user_break_hook(struct break_hook *hook);
96 void unregister_user_break_hook(struct break_hook *hook);
98 void register_kernel_break_hook(struct break_hook *hook);
99 void unregister_kernel_break_hook(struct break_hook *hook);
/OK3568_Linux_fs/kernel/security/integrity/ima/
H A Dima.h189 #define __ima_hooks(hook) \ argument
190 hook(NONE, none) \
191 hook(FILE_CHECK, file) \
192 hook(MMAP_CHECK, mmap) \
193 hook(BPRM_CHECK, bprm) \
194 hook(CREDS_CHECK, creds) \
195 hook(POST_SETATTR, post_setattr) \
196 hook(MODULE_CHECK, module) \
197 hook(FIRMWARE_CHECK, firmware) \
198 hook(KEXEC_KERNEL_CHECK, kexec_kernel) \
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/
H A D9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch61 def __init__(self, hook, args, kwargs, hookable=None):
63 - assert(isinstance(hook, collections.Callable))
64 + assert(isinstance(hook, collections.abc.Callable))
68 @@ -174,7 +174,7 @@ def add_hook_hookable(self, hook, *args, **kwargs):
69 self.__add_hook(hook, self, *args, **kwargs)
71 def __add_hook(self, hook, _hookable, *args, **kwargs):
72 - assert isinstance(hook, collections.Callable)
73 + assert isinstance(hook, collections.abc.Callable)
75 hookentry = _HookEntry(hook, args, kwargs, hookable=_hookable)
/OK3568_Linux_fs/buildroot/docs/manual/
H A Dadding-packages-hooks.txt14 The following hook points are available:
50 performed at this hook point. This allows several hooks to be
51 registered at a given hook point. Here is an example:
63 ==== Using the +POST_RSYNC+ hook
64 The +POST_RSYNC+ hook is run only for packages that use a local source,
72 the +POST_RSYNC+ hook.
74 In principle, the hook can contain any command you want. One specific
76 directory using +rsync+. The +rsync+ command you use in the hook can, among
82 ==== Target-finalize hook
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtarget.def1 /* Target hook definitions.
81 "The @code{assemble_integer} function uses this hook to output an\n\
88 The default implementation of this hook will use the\n\
99 "This target hook is used to emit assembly strings required by the target\n\
112 "Define this hook if the target assembler requires a special marker to\n\
120 "This target hook is a function to output to the stdio stream\n\
132 "This target hook is a function to output to the stdio stream\n\
136 The default implementation uses the TARGET_ASM_GLOBALIZE_LABEL target hook.",
142 "This target hook is a function to output to the stdio stream\n\
156 "This target hook emits a label at the beginning of each FDE@. It\n\
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtarget.def1 /* Target hook definitions.
81 "The @code{assemble_integer} function uses this hook to output an\n\
88 The default implementation of this hook will use the\n\
99 "This target hook is used to emit assembly strings required by the target\n\
112 "Define this hook if the target assembler requires a special marker to\n\
120 "This target hook is a function to output to the stdio stream\n\
132 "This target hook is a function to output to the stdio stream\n\
136 The default implementation uses the TARGET_ASM_GLOBALIZE_LABEL target hook.",
142 "This target hook is a function to output to the stdio stream\n\
156 "This target hook emits a label at the beginning of each FDE@. It\n\
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/
H A Dnft_queue.sh97 type filter hook prerouting priority $prio; policy accept;
101 type filter hook input priority $prio; policy accept;
105 type filter hook forward priority $prio; policy accept;
110 type filter hook output priority $prio; policy accept;
115 type filter hook postrouting priority $prio; policy accept;
128 type filter hook prerouting priority $prio; policy accept;
132 type filter hook input priority $prio; policy accept;
136 type filter hook forward priority $prio; policy accept;
140 type filter hook output priority $prio; policy accept;
144 type filter hook postrouting priority $prio; policy accept;
[all …]
/OK3568_Linux_fs/buildroot/package/ecryptfs-utils/
H A D0003-fix-parallel-build-issue.patch17 install-exec-hook: install-rootsbinPROGRAMS
21 The install-exec-hook target should not have a dependency on
28 hook; hooks are always executed after the main rule’s work is done. The
29 hook is named after the principal target, with ‘-hook’ appended. The
35 install-exec-hook:
57 -install-exec-hook: install-rootsbinPROGRAMS
58 +install-exec-hook:
/OK3568_Linux_fs/buildroot/package/shared-mime-info/
H A D0001-Remove-incorrect-dependency-from-install-data-hook.patch4 Subject: [PATCH] Remove incorrect dependency from install-data-hook
6 Having install-binPROGRAMS as a dependency of install-data-hook is not
11 In addition, this dependency is not needed: the install-data-hook
23 …cgit.cgi/poky/plain/meta/recipes-support/shared-mime-info/shared-mime-info/install-data-hook.patch.
40 -install-data-hook: install-binPROGRAMS
41 +install-data-hook:
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxace.h67 extern _X_EXPORT int XaceHookIsSet(int hook);
85 #define XaceRegisterCallback(hook,callback,data) \ argument
86 AddCallback(XaceHooks+(hook), callback, data)
90 #define XaceDeleteCallback(hook,callback,data) \ argument
91 DeleteCallback(XaceHooks+(hook), callback, data)
H A Dxace.c69 XaceHook(int hook, ...) in XaceHook() argument
86 if (!XaceHooks[hook]) in XaceHook()
89 va_start(ap, hook); in XaceHook()
96 switch (hook) { in XaceHook()
188 CallCallbacks(&XaceHooks[hook], &u); in XaceHook()
200 XaceHookIsSet(int hook) in XaceHookIsSet() argument
202 if (hook < 0 || hook >= XACE_NUM_HOOKS) in XaceHookIsSet()
204 return XaceHooks[hook] != NULL; in XaceHookIsSet()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_quirks.c60 void (*hook)(struct drm_i915_private *i915); member
65 void (*hook)(struct drm_i915_private *i915); member
97 .hook = quirk_invert_brightness,
177 q->hook(i915); in intel_init_quirks()
181 intel_dmi_quirks[i].hook(i915); in intel_init_quirks()
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Dnft_reject_bridge.c72 int hook) in nft_reject_br_send_v4_tcp_reset() argument
82 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nft_reject_br_send_v4_tcp_reset()
106 int hook, u8 code) in nft_reject_br_send_v4_unreach() argument
135 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nft_reject_br_send_v4_unreach()
187 int hook) in nft_reject_br_send_v6_tcp_reset() argument
198 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset()
218 static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) in reject6_br_csum_ok() argument
240 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; in reject6_br_csum_ok()
246 int hook, u8 code) in nft_reject_br_send_v6_unreach() argument
264 if (!reject6_br_csum_ok(oldskb, hook)) in nft_reject_br_send_v6_unreach()
/OK3568_Linux_fs/buildroot/package/
H A Ddoc-asciidoc.mk66 …$$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_$$(call UPPERCASE,$(5))_HOOKS),$$(call $$(hook))$$…
148 $$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_HOOKS),$$(call $$(hook))$$(sep))
157 $$(Q)$$(foreach hook,$$($(2)_POST_RSYNC_HOOKS),$$(call $$(hook))$$(sep))
H A Dpkg-generic.mk38 $(foreach hook,$(GLOBAL_INSTRUMENTATION_HOOKS),$(call $(hook),start,$(1),$($(PKG)_NAME))$(sep))
44 $(foreach hook,$(GLOBAL_INSTRUMENTATION_HOOKS),$(call $(hook),end,$(1),$($(PKG)_NAME))$(sep))
205 $(foreach hook,$($(PKG)_PRE_DOWNLOAD_HOOKS),$(call $(hook))$(sep))
214 $(foreach hook,$($(PKG)_POST_DOWNLOAD_HOOKS),$(call $(hook))$(sep))
232 $(foreach hook,$($(PKG)_PRE_EXTRACT_HOOKS),$(call $(hook))$(sep))
237 $(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep))
247 $(foreach hook,$($(PKG)_PRE_RSYNC_HOOKS),$(call $(hook))$(sep))
250 $(foreach hook,$($(PKG)_POST_RSYNC_HOOKS),$(call $(hook))$(sep))
269 $(foreach hook,$($(PKG)_PRE_PATCH_HOOKS),$(call $(hook))$(sep))
282 $(foreach hook,$($(PKG)_POST_PATCH_HOOKS),$(call $(hook))$(sep))
[all …]
/OK3568_Linux_fs/debian/overlay/usr/bin/
H A Dbootanim37 for hook in $(find $HOOK_DIR -maxdepth 1 -name "*.sh"); do
38 echo "Starting hook: $hook..."
39 $hook
40 echo "Started hook: $hook..."
/OK3568_Linux_fs/external/rkscript/
H A Dbootanim59 for hook in $(find $HOOK_DIR -maxdepth 1 -name "*.sh"); do
60 echo "Starting hook: $hook..."
61 $hook
62 echo "Started hook: $hook..."

12345678910>>...16