Lines Matching refs:newnode
73 struct avtab_node *newnode; in avtab_insert_node() local
75 newnode = kmem_cache_zalloc(avtab_node_cachep, GFP_KERNEL); in avtab_insert_node()
76 if (newnode == NULL) in avtab_insert_node()
78 newnode->key = *key; in avtab_insert_node()
83 kmem_cache_free(avtab_node_cachep, newnode); in avtab_insert_node()
87 newnode->datum.u.xperms = xperms; in avtab_insert_node()
89 newnode->datum.u.data = datum->u.data; in avtab_insert_node()
93 newnode->next = prev->next; in avtab_insert_node()
94 prev->next = newnode; in avtab_insert_node()
96 newnode->next = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_node()
97 if (flex_array_put_ptr(h->htable, hvalue, newnode, in avtab_insert_node()
99 kmem_cache_free(avtab_node_cachep, newnode); in avtab_insert_node()
105 return newnode; in avtab_insert_node()
111 struct avtab_node *prev, *cur, *newnode; in avtab_insert() local
141 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert()
142 if (!newnode) in avtab_insert()