Searched refs:newp (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/net/ipv6/ |
D | addrlabel.c | 198 struct ip6addrlbl_entry *newp; in ip6addrlbl_alloc() local 223 newp = kmalloc(sizeof(*newp), GFP_KERNEL); in ip6addrlbl_alloc() 224 if (!newp) in ip6addrlbl_alloc() 227 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen); in ip6addrlbl_alloc() 228 newp->prefixlen = prefixlen; in ip6addrlbl_alloc() 229 newp->ifindex = ifindex; in ip6addrlbl_alloc() 230 newp->addrtype = addrtype; in ip6addrlbl_alloc() 231 newp->label = label; in ip6addrlbl_alloc() 232 INIT_HLIST_NODE(&newp->list); in ip6addrlbl_alloc() 234 newp->lbl_net = hold_net(net); in ip6addrlbl_alloc() [all …]
|
/linux-3.4.99/include/linux/ |
D | hdlcdrv.h | 302 unsigned newp; in hdlcdrv_hbuf_put() local 306 newp = (hb->wr+1) % HDLCDRV_HDLCBUFFER; in hdlcdrv_hbuf_put() 307 if (newp != hb->rd) { in hdlcdrv_hbuf_put() 309 hb->wr = newp; in hdlcdrv_hbuf_put()
|
D | nodemask.h | 331 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument 333 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap() 339 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument 341 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
|
/linux-3.4.99/net/xfrm/ |
D | xfrm_policy.c | 1113 struct xfrm_policy *newp = xfrm_policy_alloc(xp_net(old), GFP_ATOMIC); in clone_policy() local 1115 if (newp) { in clone_policy() 1116 newp->selector = old->selector; in clone_policy() 1118 &newp->security)) { in clone_policy() 1119 kfree(newp); in clone_policy() 1122 newp->lft = old->lft; in clone_policy() 1123 newp->curlft = old->curlft; in clone_policy() 1124 newp->mark = old->mark; in clone_policy() 1125 newp->action = old->action; in clone_policy() 1126 newp->flags = old->flags; in clone_policy() [all …]
|
/linux-3.4.99/security/selinux/ss/ |
D | mls.h | 45 struct policydb *newp,
|
D | mls.c | 471 struct policydb *newp, in mls_convert_context() argument 484 levdatum = hashtab_search(newp->p_levels.table, in mls_convert_context() 496 catdatum = hashtab_search(newp->p_cats.table, in mls_convert_context()
|
D | services.c | 1637 struct policydb *newp; member 1675 rc = string_to_context_struct(args->newp, NULL, s, in convert_context() 1703 usrdatum = hashtab_search(args->newp->p_users.table, in convert_context() 1711 role = hashtab_search(args->newp->p_roles.table, in convert_context() 1719 typdatum = hashtab_search(args->newp->p_types.table, in convert_context() 1726 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 1727 rc = mls_convert_context(args->oldp, args->newp, c); in convert_context() 1730 } else if (args->oldp->mls_enabled && !args->newp->mls_enabled) { in convert_context() 1737 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context() 1745 oc = args->newp->ocontexts[OCON_ISID]; in convert_context() [all …]
|
/linux-3.4.99/drivers/net/arcnet/ |
D | arcnet.c | 1039 *newp = arc_proto_map[soft->proto]; in arcnet_rx() local 1041 if (oldp != newp) { in arcnet_rx() 1045 newp->suffix, oldp->suffix); in arcnet_rx()
|