/linux-6.6.21/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.6.21/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.6.21/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 225 symbol_node_t *newnode; in symlist_add() local 227 newnode = (symbol_node_t *)malloc(sizeof(symbol_node_t)); in symlist_add() 228 if (newnode == NULL) { in symlist_add() 232 newnode->symbol = symbol; in symlist_add() 258 && (curnode->symbol->type > newnode->symbol->type in symlist_add() 259 || (curnode->symbol->type == newnode->symbol->type in symlist_add() 261 newnode->symbol->info.finfo->value)))) in symlist_add() 263 newnode->symbol->info.rinfo->address))) { in symlist_add() 264 SLIST_INSERT_HEAD(symlist, newnode, links); in symlist_add() 270 SLIST_INSERT_AFTER(curnode, newnode, in symlist_add() [all …]
|
/linux-6.6.21/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.6.21/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.6.21/lib/ |
D | maple_tree.c | 3052 struct maple_node reuse, *newnode, *parent, *new_left, *left, *node; in mas_destroy_rebalance() local 3071 newnode = mas_pop_node(mas); in mas_destroy_rebalance() 3073 newnode = &reuse; in mas_destroy_rebalance() 3077 newnode->parent = node->parent; in mas_destroy_rebalance() 3078 slots = ma_slots(newnode, mt); in mas_destroy_rebalance() 3079 pivs = ma_pivots(newnode, mt); in mas_destroy_rebalance() 3109 memcpy(node, newnode, sizeof(struct maple_node)); in mas_destroy_rebalance() 3125 mas->node = mt_mk_node(newnode, mt); in mas_destroy_rebalance() 3126 ma_set_meta(newnode, mt, 0, tmp); in mas_destroy_rebalance() 3927 struct maple_node reuse, *newnode; in mas_wr_node_store() local [all …]
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_els.c | 10341 u32 cmd = 0, did = 0, newnode, status = 0; in lpfc_els_unsol_buffer() local 10349 newnode = 0; in lpfc_els_unsol_buffer() 10389 newnode = 1; in lpfc_els_unsol_buffer() 10394 newnode = 1; in lpfc_els_unsol_buffer() 10406 if (newnode) in lpfc_els_unsol_buffer() 10509 if (newnode) in lpfc_els_unsol_buffer() 10526 if (newnode) in lpfc_els_unsol_buffer() 10555 if (newnode) in lpfc_els_unsol_buffer() 10634 if (newnode) in lpfc_els_unsol_buffer() 10645 if (newnode) in lpfc_els_unsol_buffer() [all …]
|