| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | fdt.c | 758 char *newp; /* temporary newval char pointer */ in fdt_parse_prop() local 763 newp = newval[0]; in fdt_parse_prop() 766 if (*newp == '<') { in fdt_parse_prop() 767 newp++; in fdt_parse_prop() 768 while ((*newp != '>') && (stridx < count)) { in fdt_parse_prop() 773 if (*newp == '\0') { in fdt_parse_prop() 774 newp = newval[++stridx]; in fdt_parse_prop() 778 cp = newp; in fdt_parse_prop() 779 tmp = simple_strtoul(cp, &newp, 0); in fdt_parse_prop() 783 newp++; in fdt_parse_prop() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | addrlabel.c | 164 struct ip6addrlbl_entry *newp; in ip6addrlbl_alloc() local 189 newp = kmalloc(sizeof(*newp), GFP_KERNEL); in ip6addrlbl_alloc() 190 if (!newp) in ip6addrlbl_alloc() 193 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen); in ip6addrlbl_alloc() 194 newp->prefixlen = prefixlen; in ip6addrlbl_alloc() 195 newp->ifindex = ifindex; in ip6addrlbl_alloc() 196 newp->addrtype = addrtype; in ip6addrlbl_alloc() 197 newp->label = label; in ip6addrlbl_alloc() 198 INIT_HLIST_NODE(&newp->list); in ip6addrlbl_alloc() 199 return newp; in ip6addrlbl_alloc() [all …]
|
| /OK3568_Linux_fs/buildroot/package/glibc/2.28-69-g1e5c5303a522764d7e9d2302a60e4a32cdb902f1/ |
| H A D | 0015-posix-Fix-Warray-bounds-instances-building-timer_cre.patch | 12 83 | newp->sigev_notify = (evp != NULL 15 59 | struct timer *newp = (struct timer *) malloc (offsetof (struct timer, 133 - struct timer *newp = (struct timer *) malloc (offsetof (struct timer, 135 - if (newp == NULL) 146 - local_evp.sigev_value.sival_ptr = newp; 158 - newp->sigev_notify = (evp != NULL 160 - newp->ktimerid = ktimerid; 162 - *timerid = (timer_t) newp; 167 - free (newp); 183 - struct timer *newp; [all …]
|
| H A D | 0011-elf-Ignore-LD_AUDIT-interfaces-if-la_version-returns.patch | 132 + } *newp = malloc (sizeof (*newp)); 133 + if (newp == NULL) 164 + newp->fptr[cnt] = largs.result; 171 + newp->fptr[cnt] = NULL; 180 + newp->ifaces.next = NULL; 182 + *last_audit = GLRO(dl_audit) = &newp->ifaces; 184 + *last_audit = (*last_audit)->next = &newp->ifaces; 308 - } *newp = malloc (sizeof (*newp)); 339 - newp->fptr[cnt] = largs.result; 347 - newp->fptr[cnt] = NULL; [all …]
|
| H A D | 0012-Properly-initialize-audit-cookie-for-the-dynamic-loa.patch | 47 - newp->fptr[cnt] = largs.result; 53 + newp->fptr[cnt] = largs.result; 55 newp->fptr[cnt] = NULL; 58 *last_audit = GLRO(dl_audit) = &newp->ifaces; 60 *last_audit = (*last_audit)->next = &newp->ifaces;
|
| H A D | 0013-Introduce-link_map_audit_state-accessor-function.patch | 291 *last_audit = (*last_audit)->next = &newp->ifaces;
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | dlmalloc.c | 1657 mchunkptr newp; /* chunk to return */ local 1692 newp = oldp = mem2chunk(oldmem); 1702 newp = mremap_chunk(oldp, nb); 1703 if(newp) return chunk2mem(newp); 1773 newp = prev; 1775 newmem = chunk2mem(newp); 1777 top = chunk_at_offset(newp, nb); 1779 set_head_size(newp, nb); 1789 newp = prev; 1791 newmem = chunk2mem(newp); [all …]
|
| H A D | dlmalloc.src | 2505 mchunkptr newp; /* chunk to return */ 2515 mchunkptr remainder; /* holds split off extra space from newp */ 2530 newp = oldp = mem2chunk(oldmem); 2540 newp = mremap_chunk(oldp, nb); 2541 if(newp) return chunk2mem(newp); 2610 newp = prev; 2612 newmem = chunk2mem(newp); 2614 top = chunk_at_offset(newp, nb); 2616 set_head_size(newp, nb); 2626 newp = prev; [all …]
|
| /OK3568_Linux_fs/kernel/security/selinux/ss/ |
| H A D | conditional.c | 629 static int duplicate_policydb_cond_list(struct policydb *newp, in duplicate_policydb_cond_list() argument 634 rc = avtab_alloc_dup(&newp->te_cond_avtab, &origp->te_cond_avtab); in duplicate_policydb_cond_list() 638 newp->cond_list_len = 0; in duplicate_policydb_cond_list() 639 newp->cond_list = kcalloc(origp->cond_list_len, in duplicate_policydb_cond_list() 640 sizeof(*newp->cond_list), in duplicate_policydb_cond_list() 642 if (!newp->cond_list) in duplicate_policydb_cond_list() 646 struct cond_node *newn = &newp->cond_list[i]; in duplicate_policydb_cond_list() 649 newp->cond_list_len++; in duplicate_policydb_cond_list() 661 &newp->te_cond_avtab); in duplicate_policydb_cond_list() 666 &newp->te_cond_avtab); in duplicate_policydb_cond_list() [all …]
|
| H A D | mls.c | 448 struct policydb *newp, in mls_convert_context() argument 457 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context() 464 levdatum = symtab_search(&newp->p_levels, name); in mls_convert_context() 474 catdatum = symtab_search(&newp->p_cats, in mls_convert_context()
|
| H A D | mls.h | 51 struct policydb *newp,
|
| H A D | services.c | 74 struct policydb *newp; member 2035 rc = string_to_context_struct(args->newp, NULL, s, in convert_context() 2067 usrdatum = symtab_search(&args->newp->p_users, in convert_context() 2076 role = symtab_search(&args->newp->p_roles, in convert_context() 2084 typdatum = symtab_search(&args->newp->p_types, in convert_context() 2092 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 2093 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context() 2096 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 2104 oc = args->newp->ocontexts[OCON_ISID]; in convert_context() 2119 if (!policydb_context_isvalid(args->newp, newc)) { in convert_context() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | hdlcdrv.h | 207 unsigned newp; in hdlcdrv_hbuf_put() local 211 newp = (hb->wr+1) % HDLCDRV_HDLCBUFFER; in hdlcdrv_hbuf_put() 212 if (newp != hb->rd) { in hdlcdrv_hbuf_put() 214 hb->wr = newp; in hdlcdrv_hbuf_put()
|
| H A D | nodemask.h | 348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument 350 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap() 356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument 358 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
|
| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | readdir.c | 71 struct rb_node **newp = *link; in ovl_cache_entry_find_link() local 73 while (!found && *newp) { in ovl_cache_entry_find_link() 77 *parent = *newp; in ovl_cache_entry_find_link() 78 tmp = ovl_cache_entry_from_node(*newp); in ovl_cache_entry_find_link() 81 newp = &tmp->node.rb_right; in ovl_cache_entry_find_link() 83 newp = &tmp->node.rb_left; in ovl_cache_entry_find_link() 87 *link = newp; in ovl_cache_entry_find_link() 177 struct rb_node **newp = &rdd->root->rb_node; in ovl_cache_entry_add_rb() local 181 if (ovl_cache_entry_find_link(name, len, &newp, &parent)) in ovl_cache_entry_add_rb() 191 rb_link_node(&p->node, parent, newp); in ovl_cache_entry_add_rb() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | bcm_mpool_pub.h | 184 bcm_mp_pool_h *newp); 222 bcm_mp_pool_h *newp);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | bcm_mpool_pub.h | 184 bcm_mp_pool_h *newp); 222 bcm_mp_pool_h *newp);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | bcm_mpool_pub.h | 188 bcm_mp_pool_h *newp); 227 bcm_mp_pool_h *newp);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcm_mpool_pub.h | 176 bcm_mp_pool_h *newp); 214 bcm_mp_pool_h *newp);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | bcm_mpool_pub.h | 184 bcm_mp_pool_h *newp); 222 bcm_mp_pool_h *newp);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcm_mpool_pub.h | 176 bcm_mp_pool_h *newp); 214 bcm_mp_pool_h *newp);
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | util.c | 671 void *newp; in kvrealloc() local 675 newp = kvmalloc(newsize, flags); in kvrealloc() 676 if (!newp) in kvrealloc() 678 memcpy(newp, p, oldsize); in kvrealloc() 680 return newp; in kvrealloc()
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_policy.c | 2301 struct xfrm_policy *newp = xfrm_policy_alloc(xp_net(old), GFP_ATOMIC); in clone_policy() local 2304 if (newp) { in clone_policy() 2305 newp->selector = old->selector; in clone_policy() 2307 &newp->security)) { in clone_policy() 2308 kfree(newp); in clone_policy() 2311 newp->lft = old->lft; in clone_policy() 2312 newp->curlft = old->curlft; in clone_policy() 2313 newp->mark = old->mark; in clone_policy() 2314 newp->if_id = old->if_id; in clone_policy() 2315 newp->action = old->action; in clone_policy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | null_blk_main.c | 374 bool newp = false; in nullb_device_power_store() local 377 ret = nullb_device_bool_attr_store(&newp, page, count); in nullb_device_power_store() 381 if (!dev->power && newp) { in nullb_device_power_store() 390 dev->power = newp; in nullb_device_power_store() 391 } else if (dev->power && !newp) { in nullb_device_power_store() 394 dev->power = newp; in nullb_device_power_store()
|
| /OK3568_Linux_fs/kernel/drivers/net/arcnet/ |
| H A D | arcnet.c | 1161 *newp = arc_proto_map[soft->proto]; in arcnet_rx() local 1163 if (oldp != newp) { in arcnet_rx() 1167 newp->suffix, oldp->suffix); in arcnet_rx()
|