/linux-6.1.9/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 …]
|
/linux-6.1.9/security/selinux/ss/ |
D | hashtab.c | 53 struct hashtab_node *newnode; in __hashtab_insert() local 55 newnode = kmem_cache_zalloc(hashtab_node_cachep, GFP_KERNEL); in __hashtab_insert() 56 if (!newnode) in __hashtab_insert() 58 newnode->key = key; in __hashtab_insert() 59 newnode->datum = datum; in __hashtab_insert() 60 newnode->next = *dst; in __hashtab_insert() 61 *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 …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/scsi/elx/libefc/ |
D | efc_fabric.c | 651 struct efc_node *newnode; in efc_process_gidpt_payload() local 758 newnode = efc_node_find(nport, port_id); in efc_process_gidpt_payload() 759 if (!newnode) { in efc_process_gidpt_payload() 763 newnode = efc_node_alloc(nport, port_id, false, false); in efc_process_gidpt_payload() 764 if (!newnode) { in efc_process_gidpt_payload() 772 efc_node_init_device(newnode, true); in efc_process_gidpt_payload() 775 if (node->nport->enable_ini && newnode->targ) { in efc_process_gidpt_payload() 776 efc_node_post_event(newnode, EFC_EVT_NODE_REFOUND, in efc_process_gidpt_payload()
|
/linux-6.1.9/lib/ |
D | maple_tree.c | 3165 struct maple_node reuse, *newnode, *parent, *new_left, *left, *node; in mas_destroy_rebalance() local 3184 newnode = mas_pop_node(mas); in mas_destroy_rebalance() 3186 newnode = &reuse; in mas_destroy_rebalance() 3190 newnode->parent = node->parent; in mas_destroy_rebalance() 3191 slots = ma_slots(newnode, mt); in mas_destroy_rebalance() 3192 pivs = ma_pivots(newnode, mt); in mas_destroy_rebalance() 3222 memcpy(node, newnode, sizeof(struct maple_node)); in mas_destroy_rebalance() 3237 mas->node = mt_mk_node(newnode, mt); in mas_destroy_rebalance() 3238 ma_set_meta(newnode, mt, 0, tmp); in mas_destroy_rebalance() 4062 struct maple_node reuse, *newnode; in mas_wr_node_store() local [all …]
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_els.c | 10140 u32 cmd = 0, did = 0, newnode, status = 0; in lpfc_els_unsol_buffer() local 10148 newnode = 0; in lpfc_els_unsol_buffer() 10188 newnode = 1; in lpfc_els_unsol_buffer() 10193 newnode = 1; in lpfc_els_unsol_buffer() 10205 if (newnode) in lpfc_els_unsol_buffer() 10308 if (newnode) in lpfc_els_unsol_buffer() 10325 if (newnode) in lpfc_els_unsol_buffer() 10354 if (newnode) in lpfc_els_unsol_buffer() 10433 if (newnode) in lpfc_els_unsol_buffer() 10444 if (newnode) in lpfc_els_unsol_buffer() [all …]
|