Home
last modified time | relevance | path

Searched refs:newnode (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireguard/
Dallowedips.c184 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 …]
/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c224 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 …]
/drivers/scsi/elx/libefc/
Defc_fabric.c651 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()
/drivers/scsi/lpfc/
Dlpfc_els.c9756 uint32_t cmd, did, newnode; in lpfc_els_unsol_buffer() local
9764 newnode = 0; in lpfc_els_unsol_buffer()
9799 newnode = 1; in lpfc_els_unsol_buffer()
9804 newnode = 1; in lpfc_els_unsol_buffer()
9816 if (newnode) in lpfc_els_unsol_buffer()
9914 if (newnode) in lpfc_els_unsol_buffer()
9931 if (newnode) in lpfc_els_unsol_buffer()
9960 if (newnode) in lpfc_els_unsol_buffer()
10039 if (newnode) in lpfc_els_unsol_buffer()
10050 if (newnode) in lpfc_els_unsol_buffer()
[all …]