| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/ |
| H A D | 0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch | 36 if (!hooks::malloc) { 37 hooks::init(); 45 if (!hooks::free) { 46 hooks::init(); 48 hooks::free(ptr); 54 if (!hooks::realloc) { 55 hooks::init(); 63 if (!hooks::calloc) { 64 hooks::init(); 72 if (!hooks::cfree) { [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_queue.c | 265 const struct nf_hook_entries *hooks, in nf_iterate() argument 271 while (i < hooks->num_hook_entries) { in nf_iterate() 272 hook = &hooks->hooks[i]; in nf_iterate() 311 const struct nf_hook_entries *hooks; in nf_reinject() local 321 hooks = nf_hook_entries_head(net, pf, entry->state.hook); in nf_reinject() 324 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject() 330 hook_entry = &hooks->hooks[i]; in nf_reinject() 344 verdict = nf_iterate(skb, &entry->state, hooks, &i); in nf_reinject()
|
| H A D | nft_fib.c | 32 unsigned int hooks; in nft_fib_validate() local 37 hooks = (1 << NF_INET_PRE_ROUTING); in nft_fib_validate() 41 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_fib_validate() 45 hooks = (1 << NF_INET_LOCAL_OUT) | in nft_fib_validate() 49 hooks = (1 << NF_INET_LOCAL_IN) | in nft_fib_validate() 60 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_validate()
|
| H A D | xt_socket.c | 225 .hooks = (1 << NF_INET_PRE_ROUTING) | 236 .hooks = (1 << NF_INET_PRE_ROUTING) | 248 .hooks = (1 << NF_INET_PRE_ROUTING) | 260 .hooks = (1 << NF_INET_PRE_ROUTING) | 272 .hooks = (1 << NF_INET_PRE_ROUTING) | 284 .hooks = (1 << NF_INET_PRE_ROUTING) | 296 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
| H A 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() 448 WRITE_ONCE(old->hooks[i].hook, accept_all); in nf_remove_net_hook() [all …]
|
| H A 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) |
|
| H A 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 …]
|
| H A D | nft_meta.c | 536 unsigned int hooks; in nft_meta_get_validate_sdif() local 542 hooks = (1 << NF_INET_LOCAL_IN) | in nft_meta_get_validate_sdif() 549 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_get_validate_sdif() 555 unsigned int hooks; in nft_meta_get_validate_xfrm() local 559 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_get_validate_xfrm() 564 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_meta_get_validate_xfrm() 572 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_get_validate_xfrm() 602 unsigned int hooks; in nft_meta_set_validate() local 609 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_set_validate() 612 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_set_validate() [all …]
|
| H A D | nft_chain_filter.c | 35 .hooks = { 77 .hooks = { 119 .hooks = { 205 .hooks = { 263 .hooks = { 314 .hooks = {
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/via/ |
| H A D | via-core.c | 564 void viafb_pm_register(struct viafb_pm_hooks *hooks) in viafb_pm_register() argument 566 INIT_LIST_HEAD(&hooks->list); in viafb_pm_register() 569 list_add_tail(&hooks->list, &viafb_pm_hooks); in viafb_pm_register() 574 void viafb_pm_unregister(struct viafb_pm_hooks *hooks) in viafb_pm_unregister() argument 577 list_del(&hooks->list); in viafb_pm_unregister() 584 struct viafb_pm_hooks *hooks; in via_suspend() local 596 list_for_each_entry_reverse(hooks, &viafb_pm_hooks, list) in via_suspend() 597 hooks->suspend(hooks->private); in via_suspend() 605 struct viafb_pm_hooks *hooks; in via_resume() local 609 list_for_each_entry(hooks, &viafb_pm_hooks, list) in via_resume() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/ |
| H A D | commands-boot-Add-API-to-pass-context-to-loader.patch | 15 context that is passed to its boot and unload hooks. This is an alternative 67 + struct grub_simple_loader_hooks *hooks; 69 + hooks = (struct grub_simple_loader_hooks *) context; 70 + return hooks->boot (); 76 + struct grub_simple_loader_hooks *hooks; 79 + hooks = (struct grub_simple_loader_hooks *) context; 81 + ret = hooks->unload (); 82 + grub_memset (hooks, 0, sizeof (*hooks));
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/kea/files/ |
| H A D | fix-multilib-conflict.patch | 29 "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",
|
| /OK3568_Linux_fs/external/alsa-config/alsa/cards/ |
| H A D | rockchip_rk809-.conf | 17 type hooks 22 hooks.0 { 48 type hooks 53 hooks.0 {
|
| H A D | rockchip_rk817-.conf | 17 type hooks 22 hooks.0 { 48 type hooks 53 hooks.0 {
|
| H A D | rockchip_rt5640.conf | 13 type hooks 18 hooks.0 { 73 type hooks 78 hooks.0 {
|
| H A D | realtek_rt5651-.conf | 13 type hooks 18 hooks.0 { 85 type hooks 90 hooks.0 {
|
| /OK3568_Linux_fs/buildroot/docs/manual/ |
| H A D | adding-packages-hooks.txt | 4 [[hooks]] 8 and cmake infrastructures) allow packages to specify hooks. 10 Most hooks aren't really useful for generic packages, since the +.mk+ 50 performed at this hook point. This allows several hooks to be 62 [[hooks-rsync]] 84 Packages may also register hooks in +LIBFOO_TARGET_FINALIZE_HOOKS+. 85 These hooks are run after all packages are built, but before the
|
| /OK3568_Linux_fs/external/xserver/config/ |
| H A D | dbus-core.c | 44 struct dbus_core_hook *hooks; member 90 for (hook = bus_info.hooks; hook; hook = hook->next) { in teardown() 161 for (hook = bus_info.hooks; hook; hook = hook->next) { in connect_to_bus() 197 for (prev = &bus_info.hooks; *prev; prev = &(*prev)->next); in dbus_core_add_hook() 214 for (prev = &bus_info.hooks; *prev; prev = &(*prev)->next) { in dbus_core_remove_hook() 227 bus_info.hooks = NULL; in dbus_core_init()
|
| /OK3568_Linux_fs/app/lvgl_demo/cJSON/ |
| H A D | cJSON.c | 188 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup() argument 199 copy = (unsigned char*)hooks->allocate(length); in cJSON_strdup() 209 CJSON_PUBLIC(void) cJSON_InitHooks(cJSON_Hooks* hooks) in cJSON_InitHooks() argument 211 if (hooks == NULL) in cJSON_InitHooks() 221 if (hooks->malloc_fn != NULL) in cJSON_InitHooks() 223 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks() 227 if (hooks->free_fn != NULL) in cJSON_InitHooks() 229 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks() 241 static cJSON *cJSON_New_Item(const internal_hooks * const hooks) in cJSON_New_Item() argument 243 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/ |
| H A D | cJSON.cpp | 190 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup() argument 201 copy = (unsigned char*)hooks->allocate(length); in cJSON_strdup() 211 CJSON_PUBLIC(void) cJSON_InitHooks(cJSON_Hooks* hooks) in cJSON_InitHooks() argument 213 if (hooks == NULL) in cJSON_InitHooks() 223 if (hooks->malloc_fn != NULL) in cJSON_InitHooks() 225 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks() 229 if (hooks->free_fn != NULL) in cJSON_InitHooks() 231 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks() 243 static cJSON *cJSON_New_Item(const internal_hooks * const hooks) in cJSON_New_Item() argument 245 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
| H A D | 0001-hook-Do-not-append-int-to-std-string.patch | 8 | ../../../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
|
| /OK3568_Linux_fs/kernel/Documentation/security/ |
| H A 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
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/dhcpcd/files/ |
| H A D | 0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch | 26 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
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A 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() 457 .hooks = swp_hooks, 544 .hooks = cp15_barrier_hooks, 617 .hooks = setend_hooks,
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | lsm_hooks.h | 1598 extern void security_add_hooks(struct security_hook_list *hooks, int count, 1644 static inline void security_delete_hooks(struct security_hook_list *hooks, in security_delete_hooks() argument 1650 hlist_del_rcu(&hooks[i].list); in security_delete_hooks()
|