• Home
  • Raw
  • Download

Lines Matching refs:new

51 	struct unix_domain *new = NULL;  in unix_domain_find()  local
56 if (new && rv != &new->h) in unix_domain_find()
57 svcauth_unix_domain_release(&new->h); in unix_domain_find()
66 new = kmalloc(sizeof(*new), GFP_KERNEL); in unix_domain_find()
67 if (new == NULL) in unix_domain_find()
69 kref_init(&new->h.ref); in unix_domain_find()
70 new->h.name = kstrdup(name, GFP_KERNEL); in unix_domain_find()
71 if (new->h.name == NULL) { in unix_domain_find()
72 kfree(new); in unix_domain_find()
75 new->h.flavour = &svcauth_unix; in unix_domain_find()
76 rv = auth_domain_lookup(name, &new->h); in unix_domain_find()
114 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_match() local
115 return strcmp(orig->m_class, new->m_class) == 0 && in ip_map_match()
116 ipv6_addr_equal(&orig->m_addr, &new->m_addr); in ip_map_match()
120 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_init() local
123 strcpy(new->m_class, item->m_class); in ip_map_init()
124 new->m_addr = item->m_addr; in ip_map_init()
128 struct ip_map *new = container_of(cnew, struct ip_map, h); in update() local
132 new->m_client = item->m_client; in update()
435 struct unix_gid *new = container_of(cnew, struct unix_gid, h); in unix_gid_match() local
436 return uid_eq(orig->uid, new->uid); in unix_gid_match()
440 struct unix_gid *new = container_of(cnew, struct unix_gid, h); in unix_gid_init() local
442 new->uid = item->uid; in unix_gid_init()
446 struct unix_gid *new = container_of(cnew, struct unix_gid, h); in unix_gid_update() local
450 new->gi = item->gi; in unix_gid_update()