/kernel/linux/linux-5.10/fs/hfsplus/ |
D | brec.c | 66 struct hfs_bnode *node, *new_node; in hfs_brec_insert() local 82 new_node = NULL; in hfs_brec_insert() 98 if (new_node) in hfs_brec_insert() 100 new_node = hfs_bnode_split(fd); in hfs_brec_insert() 101 if (IS_ERR(new_node)) in hfs_brec_insert() 102 return PTR_ERR(new_node); in hfs_brec_insert() 140 if (!rec && new_node != node) { in hfs_brec_insert() 145 if (new_node) { in hfs_brec_insert() 147 if (!new_node->parent) { in hfs_brec_insert() 149 new_node->parent = tree->root; in hfs_brec_insert() [all …]
|
/kernel/linux/linux-5.10/fs/hfs/ |
D | brec.c | 68 struct hfs_bnode *node, *new_node; in hfs_brec_insert() local 84 new_node = NULL; in hfs_brec_insert() 100 if (new_node) in hfs_brec_insert() 102 new_node = hfs_bnode_split(fd); in hfs_brec_insert() 103 if (IS_ERR(new_node)) in hfs_brec_insert() 104 return PTR_ERR(new_node); in hfs_brec_insert() 140 if (!rec && new_node != node) { in hfs_brec_insert() 145 if (new_node) { in hfs_brec_insert() 147 if (!new_node->parent) { in hfs_brec_insert() 149 new_node->parent = tree->root; in hfs_brec_insert() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | rblist.c | 16 struct rb_node *parent = NULL, *new_node; in rblist__add_node() local 35 new_node = rblist->node_new(rblist, new_entry); in rblist__add_node() 36 if (new_node == NULL) in rblist__add_node() 39 rb_link_node(new_node, parent, p); in rblist__add_node() 40 rb_insert_color_cached(new_node, &rblist->entries, leftmost); in rblist__add_node() 58 struct rb_node *parent = NULL, *new_node = NULL; in __rblist__findnew() local 78 new_node = rblist->node_new(rblist, entry); in __rblist__findnew() 79 if (new_node) { in __rblist__findnew() 80 rb_link_node(new_node, parent, p); in __rblist__findnew() 81 rb_insert_color_cached(new_node, in __rblist__findnew() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | generic-radix-tree.c | 108 struct genradix_node *n, *new_node = NULL; in __genradix_ptr_alloc() local 121 if (!new_node) { in __genradix_ptr_alloc() 122 new_node = genradix_alloc_node(gfp_mask); in __genradix_ptr_alloc() 123 if (!new_node) in __genradix_ptr_alloc() 127 new_node->children[0] = n; in __genradix_ptr_alloc() 129 ((unsigned long) new_node | (n ? level + 1 : 0))); in __genradix_ptr_alloc() 133 new_node = NULL; in __genradix_ptr_alloc() 144 if (!new_node) { in __genradix_ptr_alloc() 145 new_node = genradix_alloc_node(gfp_mask); in __genradix_ptr_alloc() 146 if (!new_node) in __genradix_ptr_alloc() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | nsaccess.c | 38 struct acpi_namespace_node *new_node; in acpi_ns_root_initialize() local 101 new_node = in acpi_ns_root_initialize() 103 if (!new_node) { in acpi_ns_root_initialize() 108 new_node->descriptor_type = ACPI_DESC_TYPE_NAMED; in acpi_ns_root_initialize() 109 new_node->type = init_val->type; in acpi_ns_root_initialize() 112 acpi_gbl_root_node_struct.child = new_node; in acpi_ns_root_initialize() 114 prev_node->peer = new_node; in acpi_ns_root_initialize() 117 new_node->parent = &acpi_gbl_root_node_struct; in acpi_ns_root_initialize() 118 prev_node = new_node; in acpi_ns_root_initialize() 163 new_node->value = obj_desc->method.param_count; in acpi_ns_root_initialize() [all …]
|
D | nssearch.c | 259 struct acpi_namespace_node *new_node; in acpi_ns_search_and_enter() local 373 new_node = acpi_ns_create_node(target_name); in acpi_ns_search_and_enter() 374 if (!new_node) { in acpi_ns_search_and_enter() 383 new_node->flags |= ANOBJ_IS_EXTERNAL; in acpi_ns_search_and_enter() 388 new_node->flags |= ANOBJ_TEMPORARY; in acpi_ns_search_and_enter() 393 acpi_ns_install_node(walk_state, node, new_node, type); in acpi_ns_search_and_enter() 394 *return_node = new_node; in acpi_ns_search_and_enter()
|
D | dswload2.c | 376 struct acpi_namespace_node *new_node; in acpi_ds_load2_end_op() local 711 &(new_node)); in acpi_ds_load2_end_op() 718 if (new_node->type != ACPI_TYPE_METHOD) { in acpi_ds_load2_end_op() 726 op->common.node = new_node; in acpi_ds_load2_end_op()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | lpm_trie.c | 304 struct lpm_trie_node *node, *im_node = NULL, *new_node = NULL; in trie_update_elem() local 327 new_node = lpm_trie_node_alloc(trie, value); in trie_update_elem() 328 if (!new_node) { in trie_update_elem() 335 new_node->prefixlen = key->prefixlen; in trie_update_elem() 336 RCU_INIT_POINTER(new_node->child[0], NULL); in trie_update_elem() 337 RCU_INIT_POINTER(new_node->child[1], NULL); in trie_update_elem() 338 memcpy(new_node->data, key->data, trie->data_size); in trie_update_elem() 364 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 372 new_node->child[0] = node->child[0]; in trie_update_elem() 373 new_node->child[1] = node->child[1]; in trie_update_elem() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | 11n_rxreorder.c | 345 struct mwifiex_rx_reorder_tbl *tbl, *new_node; in mwifiex_11n_create_rx_reorder_tbl() local 359 new_node = kzalloc(sizeof(struct mwifiex_rx_reorder_tbl), GFP_KERNEL); in mwifiex_11n_create_rx_reorder_tbl() 360 if (!new_node) in mwifiex_11n_create_rx_reorder_tbl() 363 INIT_LIST_HEAD(&new_node->list); in mwifiex_11n_create_rx_reorder_tbl() 364 new_node->tid = tid; in mwifiex_11n_create_rx_reorder_tbl() 365 memcpy(new_node->ta, ta, ETH_ALEN); in mwifiex_11n_create_rx_reorder_tbl() 366 new_node->start_win = seq_num; in mwifiex_11n_create_rx_reorder_tbl() 367 new_node->init_win = seq_num; in mwifiex_11n_create_rx_reorder_tbl() 368 new_node->flags = 0; in mwifiex_11n_create_rx_reorder_tbl() 388 last_seq, new_node->start_win); in mwifiex_11n_create_rx_reorder_tbl() [all …]
|
D | 11n.c | 559 struct mwifiex_tx_ba_stream_tbl *new_node; in mwifiex_create_ba_tbl() local 564 new_node = kzalloc(sizeof(struct mwifiex_tx_ba_stream_tbl), in mwifiex_create_ba_tbl() 566 if (!new_node) in mwifiex_create_ba_tbl() 575 INIT_LIST_HEAD(&new_node->list); in mwifiex_create_ba_tbl() 577 new_node->tid = tid; in mwifiex_create_ba_tbl() 578 new_node->ba_status = ba_status; in mwifiex_create_ba_tbl() 579 memcpy(new_node->ra, ra, ETH_ALEN); in mwifiex_create_ba_tbl() 582 list_add_tail(&new_node->list, &priv->tx_ba_stream_tbl_ptr); in mwifiex_create_ba_tbl()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
D | altera-ci.c | 224 struct fpga_inode *new_node = fpga_first_inode; in append_internal() local 226 if (new_node == NULL) { in append_internal() 227 new_node = kmalloc(sizeof(struct fpga_inode), GFP_KERNEL); in append_internal() 228 fpga_first_inode = new_node; in append_internal() 230 while (new_node->next_inode != NULL) in append_internal() 231 new_node = new_node->next_inode; in append_internal() 233 new_node->next_inode = in append_internal() 235 if (new_node->next_inode != NULL) in append_internal() 236 new_node = new_node->next_inode; in append_internal() 238 new_node = NULL; in append_internal() [all …]
|
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_framereg.c | 153 struct hsr_node *new_node, *node; in hsr_add_node() local 157 new_node = kzalloc(sizeof(*new_node), GFP_ATOMIC); in hsr_add_node() 158 if (!new_node) in hsr_add_node() 161 ether_addr_copy(new_node->macaddress_A, addr); in hsr_add_node() 162 spin_lock_init(&new_node->seq_out_lock); in hsr_add_node() 169 new_node->time_in[i] = now; in hsr_add_node() 170 new_node->time_out[i] = now; in hsr_add_node() 173 new_node->seq_out[i] = seq_out; in hsr_add_node() 176 hsr->proto_ops->handle_san_frame(san, rx_port, new_node); in hsr_add_node() 186 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 90 struct qpn_to_netdev *new_node; in mlx5i_pkey_add_qpn() local 92 new_node = kzalloc(sizeof(*new_node), GFP_KERNEL); in mlx5i_pkey_add_qpn() 93 if (!new_node) in mlx5i_pkey_add_qpn() 96 new_node->netdev = netdev; in mlx5i_pkey_add_qpn() 97 new_node->underlay_qpn = qpn; in mlx5i_pkey_add_qpn() 99 hlist_add_head(&new_node->hlist, &ht->buckets[key]); in mlx5i_pkey_add_qpn()
|
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
D | dvbdev.c | 467 struct dvbdevfops_node *node = NULL, *new_node = NULL; in dvb_register_device() local 509 new_node = kzalloc(sizeof(struct dvbdevfops_node), GFP_KERNEL); in dvb_register_device() 510 if (!new_node) { in dvb_register_device() 517 new_node->fops = dvbdevfops; in dvb_register_device() 518 new_node->type = type; in dvb_register_device() 519 new_node->template = template; in dvb_register_device() 520 list_add_tail (&new_node->list_head, &dvbdevfops_list); in dvb_register_device() 539 if (new_node) { in dvb_register_device() 540 list_del (&new_node->list_head); in dvb_register_device() 542 kfree(new_node); in dvb_register_device() [all …]
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | nip_fib.c | 135 struct nip_fib_node *new_node; in nip_fib_add() local 157 new_node = nip_node_alloc(); in nip_fib_add() 158 if (!new_node) { in nip_fib_add() 163 new_node->nip_route_info = rt; in nip_fib_add() 164 rcu_assign_pointer(rt->rt_node, new_node); in nip_fib_add() 166 hlist_add_tail_rcu(&new_node->fib_hlist, h); in nip_fib_add()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | block_validity.c | 75 struct rb_node *parent = NULL, *new_node = NULL; in add_system_zone() local 95 new_node = &new_entry->node; in add_system_zone() 97 rb_link_node(new_node, parent, n); in add_system_zone() 98 rb_insert_color(new_node, &system_blks->root); in add_system_zone() 101 node = rb_prev(new_node); in add_system_zone() 113 node = rb_next(new_node); in add_system_zone()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_encap.c | 207 struct opa_vnic_mac_tbl_node *node, *new_node; in opa_vnic_update_mac_tbl() local 268 new_node = kzalloc(sizeof(*new_node), GFP_KERNEL); in opa_vnic_update_mac_tbl() 269 if (!new_node) { in opa_vnic_update_mac_tbl() 274 new_node->index = node->index; in opa_vnic_update_mac_tbl() 275 memcpy(&new_node->entry, &node->entry, sizeof(node->entry)); in opa_vnic_update_mac_tbl() 276 key = new_node->entry.mac_addr[OPA_VNIC_MAC_HASH_IDX]; in opa_vnic_update_mac_tbl() 277 vnic_hash_add(new_mactbl, &new_node->hlist, key); in opa_vnic_update_mac_tbl()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
D | livetree.c | 142 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument 151 for_each_label_withdel(new_node->labels, l) in merge_nodes() 156 while (new_node->proplist) { in merge_nodes() 158 new_prop = new_node->proplist; in merge_nodes() 159 new_node->proplist = new_prop->next; in merge_nodes() 192 while (new_node->children) { in merge_nodes() 194 new_child = new_node->children; in merge_nodes() 195 new_node->children = new_child->next_sibling; in merge_nodes() 219 old_node->srcpos = srcpos_extend(old_node->srcpos, new_node->srcpos); in merge_nodes() 223 free(new_node); in merge_nodes() [all …]
|
D | dtc.h | 240 struct node *merge_nodes(struct node *old_node, struct node *new_node); 241 struct node *add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | file_merge.c | 69 struct rb_node **new_node = &(root->rb_node); in insert_filename() local 73 while (*new_node) { in insert_filename() 75 *new_node, struct hmdfs_cache_entry, rb_node); in insert_filename() 76 parent = *new_node; in insert_filename() 94 new_node = &((*new_node)->rb_left); in insert_filename() 96 new_node = &((*new_node)->rb_right); in insert_filename() 99 rb_link_node(&data->rb_node, parent, new_node); in insert_filename()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stv0900_core.c | 85 struct stv0900_inode *new_node = stv0900_first_inode; in append_internal() local 87 if (new_node == NULL) { in append_internal() 88 new_node = kmalloc(sizeof(struct stv0900_inode), GFP_KERNEL); in append_internal() 89 stv0900_first_inode = new_node; in append_internal() 91 while (new_node->next_inode != NULL) in append_internal() 92 new_node = new_node->next_inode; in append_internal() 94 new_node->next_inode = kmalloc(sizeof(struct stv0900_inode), in append_internal() 96 if (new_node->next_inode != NULL) in append_internal() 97 new_node = new_node->next_inode; in append_internal() 99 new_node = NULL; in append_internal() [all …]
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | lowcomms.c | 363 struct dlm_node_addr *new_node, *na; in dlm_lowcomms_addr() local 365 new_node = kzalloc(sizeof(struct dlm_node_addr), GFP_NOFS); in dlm_lowcomms_addr() 366 if (!new_node) in dlm_lowcomms_addr() 371 kfree(new_node); in dlm_lowcomms_addr() 380 new_node->nodeid = nodeid; in dlm_lowcomms_addr() 381 new_node->addr[0] = new_addr; in dlm_lowcomms_addr() 382 new_node->addr_count = 1; in dlm_lowcomms_addr() 383 list_add(&new_node->list, &dlm_node_addrs); in dlm_lowcomms_addr() 391 kfree(new_node); in dlm_lowcomms_addr() 397 kfree(new_node); in dlm_lowcomms_addr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 1518 struct bnxt_tc_flow_node *new_node, *old_node; in bnxt_tc_add_flow() local 1526 new_node = kzalloc(sizeof(*new_node), GFP_KERNEL); in bnxt_tc_add_flow() 1527 if (!new_node) { in bnxt_tc_add_flow() 1531 new_node->cookie = tc_flow_cmd->cookie; in bnxt_tc_add_flow() 1532 flow = &new_node->flow; in bnxt_tc_add_flow() 1543 kfree_rcu(new_node, rcu); in bnxt_tc_add_flow() 1558 rc = bnxt_tc_get_ref_flow_handle(bp, flow, new_node, &ref_flow_handle); in bnxt_tc_add_flow() 1563 rc = bnxt_tc_get_tunnel_handle(bp, flow, new_node, &tunnel_handle); in bnxt_tc_add_flow() 1569 tunnel_handle, new_node); in bnxt_tc_add_flow() 1576 rc = rhashtable_insert_fast(&tc_info->flow_table, &new_node->node, in bnxt_tc_add_flow() [all …]
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | relocation.c | 543 struct btrfs_backref_node *new_node; in clone_backref_node() local 573 new_node = btrfs_backref_alloc_node(cache, dest->node->start, in clone_backref_node() 575 if (!new_node) in clone_backref_node() 578 new_node->lowest = node->lowest; in clone_backref_node() 579 new_node->checked = 1; in clone_backref_node() 580 new_node->root = btrfs_grab_root(dest); in clone_backref_node() 581 ASSERT(new_node->root); in clone_backref_node() 590 new_node, LINK_UPPER); in clone_backref_node() 593 list_add_tail(&new_node->lower, &cache->leaves); in clone_backref_node() 596 rb_node = rb_simple_insert(&cache->rb_root, new_node->bytenr, in clone_backref_node() [all …]
|
/kernel/linux/linux-5.10/kernel/gcov/ |
D | fs.c | 429 static struct gcov_node *new_node(struct gcov_node *parent, in new_node() function 591 node = new_node(parent, NULL, curr); in add_node() 598 node = new_node(parent, info, curr); in add_node()
|