Searched refs:newnode (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | allowedips.c | 184 struct allowedips_node *node, *parent, *down, *newnode; in add() local 205 newnode = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add() 206 if (unlikely(!newnode)) in add() 208 RCU_INIT_POINTER(newnode->peer, peer); in add() 209 list_add_tail(&newnode->peer_list, &peer->allowedips_list); in add() 210 copy_and_assign_cidr(newnode, key, cidr, bits); in add() 218 connect_node(&node->bit[bit], bit, newnode); in add() 225 if (newnode->cidr == cidr) { in add() 226 choose_and_connect_node(newnode, down); in add() 228 connect_node(trie, 2, newnode); in add() [all …]
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | hashtab.c | 52 struct hashtab_node *newnode; in __hashtab_insert() local 54 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in __hashtab_insert() 55 if (!newnode) in __hashtab_insert() 57 newnode->key = key; in __hashtab_insert() 58 newnode->datum = datum; in __hashtab_insert() 59 newnode->next = *dst; in __hashtab_insert() 60 *dst = newnode; in __hashtab_insert()
|
D | avtab.c | 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() 98 newnode->next = *n; in avtab_insert_node() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 224 symbol_node_t *newnode; in symlist_add() local 226 newnode = (symbol_node_t *)malloc(sizeof(symbol_node_t)); in symlist_add() 227 if (newnode == NULL) { in symlist_add() 231 newnode->symbol = symbol; in symlist_add() 257 && (curnode->symbol->type > newnode->symbol->type in symlist_add() 258 || (curnode->symbol->type == newnode->symbol->type in symlist_add() 260 newnode->symbol->info.finfo->value)))) in symlist_add() 262 newnode->symbol->info.rinfo->address))) { in symlist_add() 263 SLIST_INSERT_HEAD(symlist, newnode, links); in symlist_add() 269 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add() [all …]
|
/kernel/linux/linux-5.10/scripts/genksyms/ |
D | genksyms.c | 340 struct string_list *newnode; in mk_node() local 342 newnode = xmalloc(sizeof(*newnode)); in mk_node() 343 newnode->string = xstrdup(string); in mk_node() 344 newnode->tag = SYM_NORMAL; in mk_node() 345 newnode->next = NULL; in mk_node() 347 return newnode; in mk_node() 369 struct string_list *newnode; in copy_node() local 371 newnode = xmalloc(sizeof(*newnode)); in copy_node() 372 newnode->string = xstrdup(node->string); in copy_node() 373 newnode->tag = node->tag; in copy_node() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_els.c | 8481 uint32_t cmd, did, newnode; in lpfc_els_unsol_buffer() local 8489 newnode = 0; in lpfc_els_unsol_buffer() 8524 newnode = 1; in lpfc_els_unsol_buffer() 8533 newnode = 1; in lpfc_els_unsol_buffer() 8542 newnode = 1; in lpfc_els_unsol_buffer() 8555 if (newnode) in lpfc_els_unsol_buffer() 8651 if (newnode) in lpfc_els_unsol_buffer() 8693 if (newnode) in lpfc_els_unsol_buffer() 8771 if (newnode) in lpfc_els_unsol_buffer() 8781 if (newnode) in lpfc_els_unsol_buffer() [all …]
|