Lines Matching defs:new
60 struct unix_domain *new = NULL;
65 if (new && rv != &new->h)
66 svcauth_unix_domain_release(&new->h);
75 new = kmalloc(sizeof(*new), GFP_KERNEL);
76 if (new == NULL)
78 kref_init(&new->h.ref);
79 new->h.name = kstrdup(name, GFP_KERNEL);
80 if (new->h.name == NULL) {
81 kfree(new);
84 new->h.flavour = &svcauth_unix;
85 rv = auth_domain_lookup(name, &new->h);
124 struct ip_map *new = container_of(cnew, struct ip_map, h);
125 return strcmp(orig->m_class, new->m_class) == 0 &&
126 ipv6_addr_equal(&orig->m_addr, &new->m_addr);
130 struct ip_map *new = container_of(cnew, struct ip_map, h);
133 strcpy(new->m_class, item->m_class);
134 new->m_addr = item->m_addr;
138 struct ip_map *new = container_of(cnew, struct ip_map, h);
142 new->m_client = item->m_client;
442 struct unix_gid *new = container_of(cnew, struct unix_gid, h);
443 return uid_eq(orig->uid, new->uid);
447 struct unix_gid *new = container_of(cnew, struct unix_gid, h);
449 new->uid = item->uid;
453 struct unix_gid *new = container_of(cnew, struct unix_gid, h);
457 new->gi = item->gi;