/linux-master/include/linux/ |
H A D | acpi.h | 1551 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 D | device.h | 289 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 D | memcontrol.h | 1748 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 D | iommu.c | 204 int npages, nid; local 213 nid = dev->archdata.numa_node; 214 page = alloc_pages_node(nid, gfp, order);
|
H A D | pci_sun4v.c | 193 int nid; local 205 nid = dev->archdata.numa_node; 206 page = alloc_pages_node(nid, gfp, order);
|
/linux-master/fs/f2fs/ |
H A D | segment.h | 863 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 D | patch_analog.c | 43 #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 D | super.c | 562 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 D | alloc_nid_api.c | 33 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 D | virtio_mem.c | 131 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 D | hv_balloon.c | 722 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 D | cistpl.h | 132 u_char nid; member in struct:cistpl_jedec_t
|
/linux-master/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_pool_test.c | 157 KUNIT_ASSERT_EQ(test, pool->nid, NUMA_NO_NODE);
|
/linux-master/mm/ |
H A D | huge_memory.c | 1652 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 D | slub.c | 2616 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 D | page_alloc.c | 4954 * @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 D | memory.c | 5141 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 D | pci.c | 733 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 D | pmem.c | 459 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 D | pagealloc.c | 294 int nid = dev_to_node(device); local 300 page = alloc_pages_node(nid, GFP_HIGHUSER, 0);
|
/linux-master/drivers/cxl/core/ |
H A D | region.c | 2275 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 D | amd_iommu_types.h | 583 int nid; /* Node ID */ member in struct:protection_domain
|
H A D | iommu.c | 1747 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 D | mmu.c | 1336 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 D | iommu.c | 725 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid, argument 738 tbl->it_map = vzalloc_node(sz, nid);
|