Searched refs:nid (Results 251 - 275 of 324) sorted by relevance

<<111213

/linux-master/include/linux/
H A Dacpi.h1551 int hmat_update_target_coordinates(int nid, struct access_coordinate *coord,
1554 static inline int hmat_update_target_coordinates(int nid, argument
1563 bool acpi_node_backed_by_real_pxm(int nid);
1565 static inline bool acpi_node_backed_by_real_pxm(int nid) argument
H A Ddevice.h289 int nid, const char *name) __malloc;
292 #define devres_alloc_node(release, size, gfp, nid) \
293 __devres_alloc_node(release, size, gfp, nid, #release)
H A Dmemcontrol.h1748 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id);
1760 int nid, int shrinker_id)
1759 set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) argument
/linux-master/arch/sparc/kernel/
H A Diommu.c204 int npages, nid; local
213 nid = dev->archdata.numa_node;
214 page = alloc_pages_node(nid, gfp, order);
H A Dpci_sun4v.c193 int nid; local
205 nid = dev->archdata.numa_node;
206 page = alloc_pages_node(nid, gfp, order);
/linux-master/fs/f2fs/
H A Dsegment.h863 static inline void set_summary(struct f2fs_summary *sum, nid_t nid, argument
866 sum->nid = cpu_to_le32(nid);
/linux-master/sound/pci/hda/
H A Dpatch_analog.c43 #define set_beep_amp(spec, nid, idx, dir) \
44 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */
46 #define set_beep_amp(spec, nid, idx, dir) /* NOP */
/linux-master/fs/erofs/
H A Dsuper.c562 erofs_nid_t nid; local
566 err = erofs_namei(d_inode(child), &dotdot_name, &nid, &d_type);
569 return d_obtain_alias(erofs_iget(child->d_sb, nid));
656 erofs_err(sb, "rootino(nid %llu) is not a directory(i_mode %o)",
687 erofs_info(sb, "mounted with root inode @ nid %llu.", sbi->root_nid);
/linux-master/tools/testing/memblock/tests/
H A Dalloc_nid_api.c33 phys_addr_t max_addr, int nid)
43 max_addr, nid);
46 max_addr, nid);
47 return memblock_alloc_try_nid(size, align, min_addr, max_addr, nid);
1292 * enough memory (in this case, nid = 6) after falling back to NUMA_NO_NODE.
1344 * large enough and has enough unreserved memory (in this case, nid = 6) after
1455 * nid = NUMA_NODES - 1) after falling back to NUMA_NO_NODE. The region count
1836 * has enough memory (in this case, nid = 0) after falling back to NUMA_NO_NODE.
1888 * is large enough and has enough unreserved memory (in this case, nid = 0)
2002 * nid
30 run_memblock_alloc_nid(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) argument
[all...]
/linux-master/drivers/virtio/
H A Dvirtio_mem.c131 int nid; member in struct:virtio_mem
2622 rc = memory_group_register_dynamic(vm->nid, unit_pages);
2760 vm->nid = virtio_mem_translate_node_id(vm, node_id);
2765 /* Determine the nid for the device based on the lowest address. */
2766 if (vm->nid == NUMA_NO_NODE)
2767 vm->nid = memory_add_physaddr_to_nid(vm->addr);
2773 if (vm->nid != NUMA_NO_NODE && IS_ENABLED(CONFIG_NUMA))
2774 dev_info(&vm->vdev->dev, "nid: %d", vm->nid);
/linux-master/drivers/hv/
H A Dhv_balloon.c722 int i, nid; local
746 nid = memory_add_physaddr_to_nid(PFN_PHYS(start_pfn));
747 ret = add_memory(nid, PFN_PHYS((start_pfn)),
/linux-master/include/pcmcia/
H A Dcistpl.h132 u_char nid; member in struct:cistpl_jedec_t
/linux-master/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c157 KUNIT_ASSERT_EQ(test, pool->nid, NUMA_NO_NODE);
/linux-master/mm/
H A Dhuge_memory.c1652 int nid = NUMA_NO_NODE; local
1682 nid = folio_nid(folio);
1687 if (node_is_toptier(nid))
1689 target_nid = numa_migrate_prep(folio, vmf, haddr, nid, &flags);
1701 nid = target_nid;
1713 if (nid != NUMA_NO_NODE)
1714 task_numa_fault(last_cpupid, nid, HPAGE_PMD_NR, flags);
3259 struct pglist_data *pgdata = NODE_DATA(sc->nid);
3272 struct pglist_data *pgdata = NODE_DATA(sc->nid);
H A Dslub.c2616 int nid = slab_nid(slab); local
2617 struct kmem_cache_node *n = get_node(s, nid);
2641 inc_slabs_node(s, nid, slab->objects);
3358 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) argument
3369 nid, gfpflags, &gfpflags);
3393 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) { } argument
5658 int nid = marg->status_change_nid_normal; local
5665 if (nid < 0)
5679 if (get_node(s, nid))
5692 s->node[nid]
[all...]
H A Dpage_alloc.c4954 * @nid: the preferred node ID where memory should be allocated
4958 * Like alloc_pages_exact(), but try to allocate on node nid first before falling
4963 void * __meminit alloc_pages_exact_nid_noprof(int nid, size_t size, gfp_t gfp_mask) argument
4971 p = alloc_pages_node_noprof(nid, gfp_mask, order);
5309 int nid; local
5342 for_each_node(nid) {
5343 pg_data_t *pgdat = NODE_DATA(nid);
6317 .nid = zone_to_nid(cc->zone),
6556 * @nid: Target node
6574 int nid, nodemask_
6573 alloc_contig_pages_noprof(unsigned long nr_pages, gfp_t gfp_mask, int nid, nodemask_t *nodemask) argument
[all...]
H A Dmemory.c5141 int nid = NUMA_NO_NODE; local
5195 nid = folio_nid(folio);
5202 !node_is_toptier(nid))
5206 target_nid = numa_migrate_prep(folio, vmf, vmf->address, nid, &flags);
5217 nid = target_nid;
5233 if (nid != NUMA_NO_NODE)
5234 task_numa_fault(last_cpupid, nid, nr_pages, flags);
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci.c733 struct iommu_table *pnv_pci_table_alloc(int nid) argument
737 tbl = kzalloc_node(sizeof(struct iommu_table), GFP_KERNEL, nid);
/linux-master/drivers/nvdimm/
H A Dpmem.c459 int nid = dev_to_node(dev), fua; local
505 disk = blk_alloc_disk(&lim, nid);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c294 int nid = dev_to_node(device); local
300 page = alloc_pages_node(nid, GFP_HIGHUSER, 0);
/linux-master/drivers/cxl/core/
H A Dregion.c2275 static bool cxl_region_update_coordinates(struct cxl_region *cxlr, int nid) argument
2283 if (cxl_need_node_perf_attrs_update(nid))
2284 node_set_perf_attrs(nid, &cxlr->coord[i], i);
2286 rc = cxl_update_hmat_access_coordinates(nid, cxlr, i);
2316 int nid = mnb->status_change_nid; local
2319 if (nid == NUMA_NO_NODE || action != MEM_ONLINE)
2323 if (nid != region_nid)
2326 if (!cxl_region_update_coordinates(cxlr, nid))
/linux-master/drivers/iommu/amd/
H A Damd_iommu_types.h583 int nid; /* Node ID */ member in struct:protection_domain
H A Diommu.c1747 int nid = iommu ? dev_to_node(&iommu->dev->dev) : NUMA_NO_NODE; local
1758 gcr3_info->gcr3_tbl = iommu_alloc_page_node(nid, GFP_ATOMIC);
2043 if (domain->nid == NUMA_NO_NODE)
2044 domain->nid = dev_to_node(dev_data->dev);
2338 domain->nid = NUMA_NO_NODE;
/linux-master/arch/arm64/mm/
H A Dmmu.c1336 int arch_add_memory(int nid, u64 start, u64 size, argument
1352 ret = __add_pages(nid, start >> PAGE_SHIFT, size >> PAGE_SHIFT,
/linux-master/arch/powerpc/kernel/
H A Diommu.c725 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid, argument
738 tbl->it_map = vzalloc_node(sz, nid);

Completed in 709 milliseconds

<<111213