/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_context.c | 223 struct vmci_handle_list *node; in ctx_fire_notification() local 233 list_for_each_entry_rcu(node, &sub_ctx->notifier_list, node) { in ctx_fire_notification() 234 if (!vmci_handle_is_equal(node->handle, context_handle)) in ctx_fire_notification() 472 &context->notifier_list, node) { in ctx_free_ctx() 473 list_del(¬ifier->node); in ctx_free_ctx() 627 INIT_LIST_HEAD(¬ifier->node); in vmci_ctx_add_notification() 633 list_for_each_entry(n, &context->notifier_list, node) { in vmci_ctx_add_notification() 644 list_add_tail_rcu(¬ifier->node, in vmci_ctx_add_notification() 679 &context->notifier_list, node) { in vmci_ctx_remove_notification() [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | inode.c | 71 struct hfs_bnode *node; in hfsplus_release_folio() local 96 node = hfs_bnode_findhash(tree, nidx); in hfsplus_release_folio() 97 if (!node) in hfsplus_release_folio() 99 else if (atomic_read(&node->refcnt)) in hfsplus_release_folio() 101 if (res && node) { in hfsplus_release_folio() 102 hfs_bnode_unhash(node); in hfsplus_release_folio() 103 hfs_bnode_free(node); in hfsplus_release_folio() 112 node = hfs_bnode_findhash(tree, nidx++); in hfsplus_release_folio() 113 if (!node) in hfsplus_release_folio() 115 if (atomic_read(&node in hfsplus_release_folio() [all...] |
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | inode.c | 77 struct hfs_bnode *node; in hfs_release_folio() local 100 node = hfs_bnode_findhash(tree, nidx); in hfs_release_folio() 101 if (!node) in hfs_release_folio() 103 else if (atomic_read(&node->refcnt)) in hfs_release_folio() 105 if (res && node) { in hfs_release_folio() 106 hfs_bnode_unhash(node); in hfs_release_folio() 107 hfs_bnode_free(node); in hfs_release_folio() 115 node = hfs_bnode_findhash(tree, nidx++); in hfs_release_folio() 116 if (!node) in hfs_release_folio() 118 if (atomic_read(&node in hfs_release_folio() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xgmi.c | 250 * hive ID and individual node IDs, both of which are 64-bit numbers. 261 * The node information is stored in numbered directories: 262 * /sys/class/drm/card${cardno}/device/xgmi_hive_info/node${nodeno}/xgmi_device_id 265 * set of node sub-directories. 268 * two padded VRAM space from each node to each other. 401 char node[10] = { 0 }; in amdgpu_xgmi_sysfs_add_dev_info() local 435 sprintf(node, "node%d", atomic_read(&hive->number_devices)); in amdgpu_xgmi_sysfs_add_dev_info() 437 ret = sysfs_create_link(&hive->kobj, &adev->dev->kobj, node); in amdgpu_xgmi_sysfs_add_dev_info() 462 char node[1 in amdgpu_xgmi_sysfs_rem_dev_info() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_gpuva_mgr.c | 51 * portion of VA space reserved by the kernel. This node is initialized together 600 #define to_drm_gpuva(__node) container_of((__node), struct drm_gpuva, rb.node) 602 #define GPUVA_START(node) ((node)->va.addr) 603 #define GPUVA_LAST(node) ((node)->va.addr + (node)->va.range - 1) 608 INTERVAL_TREE_DEFINE(struct drm_gpuva, rb.node, u64, rb.__subtree_last, 724 struct rb_node *node; in __drm_gpuva_insert() local 736 node in __drm_gpuva_insert() [all...] |
/kernel/linux/linux-6.6/lib/zlib_deflate/ |
H A D | deftree.c | 289 /* Index within the heap array of least frequent node in the Huffman tree */ 312 * Restore the heap property by moving down the tree starting at node k, 313 * exchanging a node with the smallest of its two sons if necessary, stopping 320 int k /* node to move down */ in pqdownheap() 385 if (n > max_code) continue; /* not a leaf node */ in gen_bitlen() 494 int node; /* new node being created */ in build_tree() local 517 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0); in build_tree() 518 tree[node].Freq = 1; in build_tree() 519 s->depth[node] in build_tree() [all...] |
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | fastrpc.c | 152 struct list_head node; /* list of user requested mmaps */ member 159 struct list_head node; member 163 struct list_head node; member 187 struct list_head node; /* list of ctxs */ member 252 list_del(&map->node); in fastrpc_free_map() 280 list_for_each_entry(map, &fl->maps, node) { in fastrpc_map_find() 310 INIT_LIST_HEAD(&buf->node); in fastrpc_buf_alloc() 462 INIT_LIST_HEAD(&ctx->node); in fastrpc_context_alloc() 498 list_add_tail(&ctx->node, &user->pending); in fastrpc_context_alloc() 516 list_del(&ctx->node); in fastrpc_context_alloc() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 388 struct hlist_node node; member 399 struct hlist_node node; member 412 struct hlist_node node; member 424 struct hlist_node node; member 903 hlist_for_each_entry(f, &epsfp.stream_list, node) in enetc_get_stream_by_index() 914 hlist_for_each_entry(g, &epsfp.psfp_gate_list, node) in enetc_get_gate_by_index() 925 hlist_for_each_entry(s, &epsfp.psfp_filter_list, node) in enetc_get_filter_by_index() 936 hlist_for_each_entry(m, &epsfp.psfp_meter_list, node) in enetc_get_meter_by_index() 948 hlist_for_each_entry(s, &epsfp.psfp_filter_list, node) in enetc_psfp_check_sfi() 981 hlist_del(&sfi->node); in stream_filter_unref() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | mempolicy.c | 8 * NUMA policy allows the user to give hints in which node(s) memory should 24 * FIXME: memory is allocated starting with the first node 28 * preferred Try a specific node first before normal fallback. 34 * default Allocate on the local node first, or when on a VMA 131 * numa_map_to_online_node - Find closest online node 132 * @node: Node id to start the search 134 * Lookup the next closest node by distance if @nid is not online. 136 int numa_map_to_online_node(int node) in numa_map_to_online_node() argument 140 if (node == NUMA_NO_NODE || node_online(node)) in numa_map_to_online_node() 159 int node; get_task_policy() local 350 int node = first_node(pol->w.user_nodemask); mpol_rebind_preferred() local 1916 int node = numa_mem_id(); mempolicy_slab_node() local 2169 alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma, unsigned long addr, int node, bool hugepage) alloc_pages_vma() argument 2549 sp_node_init(struct sp_node *node, unsigned long start, unsigned long end, struct mempolicy *pol) sp_node_init() argument [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | multicast.c | 104 * node for IPv4 107 * Checks the presence of an IPv4 multicast router on this node. 125 * node for IPv6 128 * Checks the presence of an IPv6 multicast router on this node. 153 * batadv_mcast_mla_rtr_flags_softif_get() - get mcast router flags from node 159 * node. 252 * node or behind its bridge. 364 * your multicast receiving applications run directly on this node. 430 * your multicast receiving applications run directly on this node. 512 * your multicast receiving applications run directly on this node 1785 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; batadv_mcast_want_unsnoop_update() local 1830 struct hlist_node *node = &orig->mcast_want_all_ipv4_node; batadv_mcast_want_ipv4_update() local 1875 struct hlist_node *node = &orig->mcast_want_all_ipv6_node; batadv_mcast_want_ipv6_update() local 1920 struct hlist_node *node = &orig->mcast_want_all_rtr4_node; batadv_mcast_want_rtr4_update() local 1965 struct hlist_node *node = &orig->mcast_want_all_rtr6_node; batadv_mcast_want_rtr6_update() local [all...] |
/kernel/linux/linux-5.10/drivers/opp/ |
H A D | core.c | 38 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 50 list_for_each_entry(opp_table, &opp_tables, node) { in _find_opp_table_unlocked() 230 list_for_each_entry(opp, &opp_table->opp_list, node) { in dev_pm_opp_get_max_volt_latency() 309 list_for_each_entry(opp, &opp_table->opp_list, node) { in _get_opp_count() 386 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_freq_exact() 435 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_level_exact() 459 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in _find_freq_ceil() 551 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_freq_floor() 553 /* go to the next node, before choosing prev */ in dev_pm_opp_find_freq_floor() 609 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_freq_ceil_by_volt() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 434 struct hlist_node node; member 445 struct hlist_node node; member 458 struct hlist_node node; member 470 struct hlist_node node; member 905 hlist_for_each_entry(f, &epsfp.stream_list, node) in enetc_get_stream_by_index() 916 hlist_for_each_entry(g, &epsfp.psfp_gate_list, node) in enetc_get_gate_by_index() 927 hlist_for_each_entry(s, &epsfp.psfp_filter_list, node) in enetc_get_filter_by_index() 938 hlist_for_each_entry(m, &epsfp.psfp_meter_list, node) in enetc_get_meter_by_index() 950 hlist_for_each_entry(s, &epsfp.psfp_filter_list, node) in enetc_psfp_check_sfi() 983 hlist_del(&sfi->node); in stream_filter_unref() [all...] |
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | controller.c | 155 list_for_each_entry_rcu(nf, &nh->head, base.node, in ssam_nfblk_call_chain() 187 p = list_entry(h, struct ssam_notifier_block, node); in ssam_nfblk_insert() 198 list_add_tail_rcu(&nb->node, h); in ssam_nfblk_insert() 220 list_for_each_entry(p, &nh->head, node) { in ssam_nfblk_find() 240 list_del_rcu(&nb->node); in ssam_nfblk_remove() 285 * @node: The node of this entry in the rb-tree. 291 struct rb_node node; member 330 entry = rb_entry(*link, struct ssam_nf_refcount_entry, node); in ssam_nf_refcount_inc() 354 rb_link_node(&entry->node, paren in ssam_nf_refcount_inc() 382 struct rb_node *node = nf->refcount.rb_node; ssam_nf_refcount_dec() local [all...] |
/kernel/linux/linux-6.6/drivers/block/xen-blkback/ |
H A D | blkback.c | 150 #define foreach_grant_safe(pos, n, rbtree, node) \ 151 for ((pos) = container_of(rb_first((rbtree)), typeof(*(pos)), node), \ 152 (n) = (&(pos)->node != NULL) ? rb_next(&(pos)->node) : NULL; \ 153 &(pos)->node != NULL; \ 154 (pos) = container_of(n, typeof(*(pos)), node), \ 155 (n) = (&(pos)->node != NULL) ? rb_next(&(pos)->node) : NULL) 180 /* Figure out where to put new node */ in add_persistent_gnt() 183 this = container_of(*new, struct persistent_gnt, node); in add_persistent_gnt() 209 struct rb_node *node = NULL; get_persistent_gnt() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb.c | 46 #include <linux/node.h> 1362 int node = NUMA_NO_NODE; in dequeue_hugetlb_folio_nodemask() local 1374 * no need to ask again on the same node. Pool is node rather than in dequeue_hugetlb_folio_nodemask() 1377 if (zone_to_nid(zone) == node) in dequeue_hugetlb_folio_nodemask() 1379 node = zone_to_nid(zone); in dequeue_hugetlb_folio_nodemask() 1381 folio = dequeue_hugetlb_folio_node_exact(h, node); in dequeue_hugetlb_folio_nodemask() 1451 * node for alloc or free. 1469 * returns the previously saved node ["this node"] fro 1581 int node; alloc_gigantic_folio() local 1819 struct llist_node *node; free_hpage_workfn() local 2239 int nr_nodes, node; alloc_pool_huge_page() local 2265 int nr_nodes, node; remove_pool_huge_page() local 2529 int node; alloc_hugetlb_folio_vma() local 3180 int nr_nodes, node; __alloc_bootmem_huge_page() local 3433 int nr_nodes, node; adjust_pool_surplus() local 3677 int nr_nodes, node; global() variable 4114 hugetlb_unregister_node(struct node *node) hugetlb_unregister_node() argument 4144 hugetlb_register_node(struct node *node) hugetlb_register_node() argument 4369 int node = NUMA_NO_NODE; hugepages_setup() local 4568 int node; allowed_mems_nr() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdpart.c | 76 * However, it is very useful to have the master node present, in allocate_partition() 270 list_add_tail(&child->part.node, &parent->partitions); in mtd_add_partition() 283 list_del(&child->part.node); in mtd_add_partition() 304 list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { in __mtd_del_partition() 316 list_del(&mtd->part.node); in __mtd_del_partition() 332 list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { in __del_mtd_partitions() 345 list_del(&child->part.node); in __del_mtd_partitions() 372 list_for_each_entry(child, &mtd->partitions, part.node) { in mtd_del_partition() 412 list_add_tail(&child->part.node, &parent->partitions); in add_mtd_partitions() 418 list_del(&child->part.node); in add_mtd_partitions() [all...] |
/kernel/linux/linux-6.6/arch/mips/loongson64/ |
H A D | smp.c | 564 register long cpuid, core, node, count; in loongson3_type1_play_dead() local 601 " andi %[node], %[cpuid], 0xc \n" in loongson3_type1_play_dead() 602 " dsll %[node], 42 \n" /* get node id */ in loongson3_type1_play_dead() 603 " or %[base], %[base], %[node] \n" in loongson3_type1_play_dead() 616 : [core] "=&r" (core), [node] "=&r" (node), in loongson3_type1_play_dead() 626 register long cpuid, core, node, count; in loongson3_type2_play_dead() local 663 " andi %[node], %[cpuid], 0xc \n" in loongson3_type2_play_dead() 664 " dsll %[node], 4 in loongson3_type2_play_dead() 690 register long cpuid, core, node, count; loongson3_type3_play_dead() local [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | palmas.c | 392 struct device_node *node = i2c->dev.of_node; in palmas_dt_to_pdata() local 396 ret = of_property_read_u32(node, "ti,mux-pad1", &prop); in palmas_dt_to_pdata() 402 ret = of_property_read_u32(node, "ti,mux-pad2", &prop); in palmas_dt_to_pdata() 409 ret = of_property_read_u32(node, "ti,power-ctrl", &prop); in palmas_dt_to_pdata() 419 pdata->pm_off = of_property_read_bool(node, in palmas_dt_to_pdata() 511 struct device_node *node = i2c->dev.of_node; in palmas_i2c_probe() local 519 if (node && !pdata) { in palmas_i2c_probe() 560 palmas->i2c_clients[i]->dev.of_node = of_node_get(node); in palmas_i2c_probe() 681 if (node) { in palmas_i2c_probe()
|
/kernel/linux/linux-5.10/drivers/interconnect/qcom/ |
H A D | msm8916.c | 134 * @name: the node name used in debugfs 135 * @id: a unique node identifier 138 * @buswidth: width of the interconnect between a node and the bus (bytes) 441 struct icc_node *node; in msm8916_qnoc_probe() local 497 node = icc_node_create(qnodes[i]->id); in msm8916_qnoc_probe() 498 if (IS_ERR(node)) { in msm8916_qnoc_probe() 499 ret = PTR_ERR(node); in msm8916_qnoc_probe() 503 node->name = qnodes[i]->name; in msm8916_qnoc_probe() 504 node->data = qnodes[i]; in msm8916_qnoc_probe() 505 icc_node_add(node, provide in msm8916_qnoc_probe() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 403 struct drm_mm_node *node = &ggtt->uc_fw; in uc_fw_ggtt_offset() local 405 GEM_BUG_ON(!drm_mm_node_allocated(node)); in uc_fw_ggtt_offset() 406 GEM_BUG_ON(upper_32_bits(node->start)); in uc_fw_ggtt_offset() 407 GEM_BUG_ON(upper_32_bits(node->start + node->size - 1)); in uc_fw_ggtt_offset() 409 return lower_32_bits(node->start); in uc_fw_ggtt_offset() 417 .node.start = uc_fw_ggtt_offset(uc_fw), in uc_fw_bind_ggtt() 418 .node.size = obj->base.size, in uc_fw_bind_ggtt() 424 GEM_BUG_ON(dummy.node.size > ggtt->uc_fw.size); in uc_fw_bind_ggtt()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pcie-iproc-msi.c | 448 static int iproc_msi_alloc_domains(struct device_node *node, in iproc_msi_alloc_domains() argument 456 msi->msi_domain = pci_msi_create_irq_domain(of_node_to_fwnode(node), in iproc_msi_alloc_domains() 521 int iproc_msi_init(struct iproc_pcie *pcie, struct device_node *node) in iproc_msi_init() argument 527 if (!of_device_is_compatible(node, "brcm,iproc-msi")) in iproc_msi_init() 530 if (!of_find_property(node, "msi-controller", NULL)) in iproc_msi_init() 549 msi->nr_irqs = of_irq_count(node); in iproc_msi_init() 590 if (of_find_property(node, "brcm,pcie-msi-inten", NULL)) in iproc_msi_init() 605 unsigned int irq = irq_of_parse_and_map(node, i); in iproc_msi_init() 626 ret = iproc_msi_alloc_domains(node, msi); in iproc_msi_init()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_devinfo.c | 30 struct list_head node; /* our node for being on the master list */ member 273 list_for_each_entry(devinfo_table, &scsi_dev_info_list, node) in scsi_devinfo_lookup_by_key() 630 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_show() 655 node); in devinfo_seq_start() 669 list_entry(dl->top, struct scsi_dev_info_list_table, node); in devinfo_seq_next() 681 node); in devinfo_seq_next() 795 INIT_LIST_HEAD(&devinfo_table->node); in scsi_dev_info_add_list() 799 list_add_tail(&devinfo_table->node, &scsi_dev_info_list); in scsi_dev_info_add_list() 824 list_del(&devinfo_table->node); in scsi_dev_info_remove_list() [all...] |
/kernel/linux/linux-5.10/net/nfc/ |
H A D | llcp_commands.c | 128 INIT_HLIST_NODE(&sdres->node); in nfc_llcp_build_sdres_tlv() 169 INIT_HLIST_NODE(&sdreq->node); in nfc_llcp_build_sdreq_tlv() 185 hlist_for_each_entry_safe(sdp, n, head, node) { in nfc_llcp_free_sdp_tlv_list() 186 hlist_del(&sdp->node); in nfc_llcp_free_sdp_tlv_list() 574 hlist_for_each_entry_safe(sdp, n, tlv_list, node) { in nfc_llcp_send_snl_sdres() 577 hlist_del(&sdp->node); in nfc_llcp_send_snl_sdres() 604 hlist_for_each_entry_safe(sdreq, n, tlv_list, node) { in nfc_llcp_send_snl_sdreq() 609 hlist_del(&sdreq->node); in nfc_llcp_send_snl_sdreq() 611 hlist_add_head(&sdreq->node, &local->pending_sdreqs); in nfc_llcp_send_snl_sdreq()
|
/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
H A D | dlmlock.c | 49 u8 node, u64 cookie); 117 lock->ml.node != dlm->node_num) { in dlmlock_master() 145 "node %u for reco lock\n", dlm->name, in dlmlock_master() 146 lock->ml.node); in dlmlock_master() 156 "node %u for reco lock\n", dlm->name, in dlmlock_master() 157 lock->ml.node); in dlmlock_master() 239 /* recovery lock was mastered by dead node. in dlmlock_remote() 243 "dead node %u, remaster it now.\n", in dlmlock_remote() 263 mlog(0, "%s: $RECOVERY lock for this node (%u) is " in dlmlock_remote() 307 "owned by node in dlm_send_remote_lock_request() 378 dlm_init_lock(struct dlm_lock *newlock, int type, u8 node, u64 cookie) dlm_init_lock() argument 407 dlm_new_lock(int type, u8 node, u64 cookie, struct dlm_lockstatus *lksb) dlm_new_lock() argument [all...] |
/kernel/linux/linux-5.10/net/ipv6/ila/ |
H A D | ila_xlat.c | 20 struct rhash_head node; member 87 .head_offset = offsetof(struct ila_map, node), 241 &ila->node, rht_params); in ila_add_mapping() 267 &head->node, in ila_add_mapping() 268 &ila->node, rht_params); in ila_add_mapping() 322 &ilan->xlat.rhash_table, &ila->node, in ila_del_mapping() 323 &head->node, rht_params); in ila_del_mapping() 330 &ila->node, rht_params); in ila_del_mapping() 408 &ila->node, rht_params); in ila_xlat_nl_cmd_flush()
|