• Home
  • Raw
  • Download

Lines Matching refs:new

58 	struct unix_domain *new = NULL;  in unix_domain_find()  local
63 if (new && rv != &new->h) in unix_domain_find()
64 svcauth_unix_domain_release(&new->h); in unix_domain_find()
73 new = kmalloc(sizeof(*new), GFP_KERNEL); in unix_domain_find()
74 if (new == NULL) in unix_domain_find()
76 kref_init(&new->h.ref); in unix_domain_find()
77 new->h.name = kstrdup(name, GFP_KERNEL); in unix_domain_find()
78 if (new->h.name == NULL) { in unix_domain_find()
79 kfree(new); in unix_domain_find()
82 new->h.flavour = &svcauth_unix; in unix_domain_find()
83 rv = auth_domain_lookup(name, &new->h); in unix_domain_find()
122 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_match() local
123 return strcmp(orig->m_class, new->m_class) == 0 && in ip_map_match()
124 ipv6_addr_equal(&orig->m_addr, &new->m_addr); in ip_map_match()
128 struct ip_map *new = container_of(cnew, struct ip_map, h); in ip_map_init() local
131 strcpy(new->m_class, item->m_class); in ip_map_init()
132 new->m_addr = item->m_addr; in ip_map_init()
136 struct ip_map *new = container_of(cnew, struct ip_map, h); in update() local
140 new->m_client = item->m_client; in update()
449 struct unix_gid *new = container_of(cnew, struct unix_gid, h); in unix_gid_match() local
450 return uid_eq(orig->uid, new->uid); in unix_gid_match()
454 struct unix_gid *new = container_of(cnew, struct unix_gid, h); in unix_gid_init() local
456 new->uid = item->uid; in unix_gid_init()
460 struct unix_gid *new = container_of(cnew, struct unix_gid, h); in unix_gid_update() local
464 new->gi = item->gi; in unix_gid_update()