/linux-master/arch/x86/virt/vmx/tdx/ |
H A D | tdx.c | 186 unsigned long end_pfn, int nid) 197 tmb->nid = nid; 225 int i, nid, ret; local 227 for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) { 243 ret = add_tdx_memblock(tmb_list, start_pfn, end_pfn, nid); 527 return tmb->nid; 553 int pgsz, nid; local 555 nid = tdmr_get_nid(tdmr, tmb_list); 574 nid, 185 add_tdx_memblock(struct list_head *tmb_list, unsigned long start_pfn, unsigned long end_pfn, int nid) argument [all...] |
/linux-master/arch/powerpc/perf/ |
H A D | imc-pmu.c | 359 int nid, target = -1; local 387 nid = cpu_to_node(cpu); 388 l_cpumask = cpumask_of_node(nid); 601 int nid, rc = 0, core_id = (cpu / threads_per_core); local 609 nid = cpu_to_node(cpu); 614 page = alloc_pages_node(nid, 923 int nid = cpu_to_node(cpu_id); local 931 page = alloc_pages_node(nid, 1528 int nid, i, cpu; local 1537 for_each_node(nid) { [all...] |
/linux-master/sound/pci/hda/ |
H A D | patch_cs8409.c | 400 static void cs8409_fix_caps(struct hda_codec *codec, unsigned int nid) argument 414 caps = snd_hdac_read_parm(&codec->core, nid, AC_PAR_PIN_CAP); 416 snd_hdac_override_parm(&codec->core, nid, AC_PAR_PIN_CAP, 419 snd_hda_override_wcaps(codec, nid, (get_wcaps(codec, nid) | AC_WCAP_UNSOL_CAP)); 1049 for (; seq->nid; seq++) 1053 for (; seq_bullseye->nid; seq_bullseye++) 1095 unsigned int nid = ((cmd >> 20) & 0x07f); local 1103 switch (nid) { 1295 for (; seq->nid; se 1325 unsigned int nid = ((cmd >> 20) & 0x07f); local [all...] |
H A D | hda_bind.c | 250 hda_nid_t nid; local 259 for_each_hda_codec_node(nid, codec) { 260 unsigned int wcaps = get_wcaps(codec, nid);
|
/linux-master/mm/ |
H A D | zswap.c | 737 int nid = entry_to_nid(entry); local 756 list_lru_add(list_lru, &entry->lru, nid, memcg); 759 lru_size = list_lru_count_one(list_lru, nid, memcg); 760 lruvec = mem_cgroup_lruvec(memcg, NODE_DATA(nid)); 775 int nid = entry_to_nid(entry); local 781 list_lru_del(list_lru, &entry->lru, nid, memcg); 871 static struct zswap_entry *zswap_entry_cache_alloc(gfp_t gfp, int nid) argument 874 entry = kmem_cache_alloc_node(zswap_entry_cache, gfp, nid); 1278 struct lruvec *lruvec = mem_cgroup_lruvec(sc->memcg, NODE_DATA(sc->nid)); 1320 struct lruvec *lruvec = mem_cgroup_lruvec(memcg, NODE_DATA(sc->nid)); 1390 int nid, shrunk = 0; local [all...] |
H A D | compaction.c | 2939 int ret, nid; local 2944 for_each_online_node(nid) { 2945 ret = compact_node(NODE_DATA(nid), false); 2956 int rc, nid; local 2963 for_each_online_node(nid) { 2964 pg_data_t *pgdat = NODE_DATA(nid); 3006 int nid = dev->id; local 3008 if (nid >= 0 && nid < nr_node_ids && node_online(nid)) { 3242 kcompactd_run(int nid) argument 3260 kcompactd_stop(int nid) argument 3278 int nid; local 3353 int nid; local [all...] |
H A D | hugetlb_cgroup.c | 460 int nid; local 471 for_each_node_state(nid, N_MEMORY) 472 usage += READ_ONCE(h_cg->nodeinfo[nid]->usage[idx]); 476 for_each_node_state(nid, N_MEMORY) 477 seq_printf(seq, " N%d=%lu", nid, 478 READ_ONCE(h_cg->nodeinfo[nid]->usage[idx]) * 494 for_each_node_state(nid, N_MEMORY) { 499 ->nodeinfo[nid] 503 seq_printf(seq, " N%d=%lu", nid, usage * PAGE_SIZE);
|
H A D | hugetlb_vmemmap.c | 325 int nid = page_to_nid((struct page *)reuse); local 336 walk.reuse_page = alloc_pages_node(nid, gfp_mask, 0); 385 int nid = page_to_nid((struct page *)start); local 389 page = alloc_pages_node(nid, gfp_mask, 0);
|
/linux-master/arch/sh/kernel/cpu/sh4a/ |
H A D | setup-shx3.c | 383 unsigned int nid = 1; local 386 setup_bootmem_node(nid++, 0x145f0000, 0x14610000); /* CPU0 */ 390 setup_bootmem_node(nid++, 0x14df0000, 0x14e10000); /* CPU1 */ 391 setup_bootmem_node(nid++, 0x155f0000, 0x15610000); /* CPU2 */ 392 setup_bootmem_node(nid++, 0x15df0000, 0x15e10000); /* CPU3 */ 395 setup_bootmem_node(nid++, 0x16000000, 0x16020000); /* CSM */
|
/linux-master/lib/ |
H A D | genalloc.c | 148 * @nid: node id of the node the pool structure should be allocated on, or -1 153 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) argument 157 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); 176 * @nid: node id of the node the chunk structure and bitmap should be 185 size_t size, int nid, void *owner) 192 chunk = vzalloc_node(nbytes, nid); 822 * @nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes 830 int nid, const char *name) 849 pool = gen_pool_create(min_alloc_order, nid); 184 gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, size_t size, int nid, void *owner) argument 829 devm_gen_pool_create(struct device *dev, int min_alloc_order, int nid, const char *name) argument
|
/linux-master/sound/soc/codecs/ |
H A D | rt700-sdw.c | 90 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; local 102 nid = reg & 0xff; 112 reg3 = RT700_PRIV_DATA_R_H | nid; 212 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; local 224 nid = reg & 0xff; 234 reg3 = RT700_PRIV_DATA_W_H | nid;
|
H A D | rt711-sdw.c | 94 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; local 106 nid = reg & 0xff; 116 reg3 = RT711_PRIV_DATA_R_H | nid; 216 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; local 228 nid = reg & 0xff; 238 reg3 = RT711_PRIV_DATA_W_H | nid;
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_pool.c | 97 p = alloc_pages_node(pool->nid, gfp_flags, order); 297 if (pool->nid != NUMA_NO_NODE) 305 if (pool->nid != NUMA_NO_NODE) 557 * @nid: NUMA node to use for allocations 564 int nid, bool use_dma_alloc, bool use_dma32) 571 pool->nid = nid; 563 ttm_pool_init(struct ttm_pool *pool, struct device *dev, int nid, bool use_dma_alloc, bool use_dma32) argument
|
/linux-master/drivers/misc/sgi-xp/ |
H A D | xpc_uv.c | 143 int nid; local 173 nid = cpu_to_node(cpu); 174 page = __alloc_pages_node(nid, 179 "bytes of memory on nid=%d for GRU mq\n", mq_size, nid); 1656 xpc_init_mq_node(int nid) argument 1662 for_each_cpu(cpu, cpumask_of_node(nid)) { 1664 xpc_create_gru_mq_uv(XPC_ACTIVATE_MQ_SIZE_UV, nid, 1675 for_each_cpu(cpu, cpumask_of_node(nid)) { 1677 xpc_create_gru_mq_uv(XPC_NOTIFY_MQ_SIZE_UV, nid, 1696 int nid; local [all...] |
/linux-master/arch/mips/sgi-ip27/ |
H A D | ip27-memory.c | 427 pg_data_t * __init arch_alloc_nodedata(int nid) argument 432 void arch_refresh_nodedata(int nid, pg_data_t *pgdat) argument 434 __node_data[nid] = (struct node_data *)pgdat;
|
/linux-master/arch/sparc/kernel/ |
H A D | pci_msi.c | 283 int err, nid; local 288 nid = pbm->numa_node; 289 if (nid != -1) { 292 cpumask_copy(&numa_mask, cpumask_of_node(nid));
|
/linux-master/include/trace/events/ |
H A D | page_pool.h | 106 __entry->pool_nid = pool->p.nid;
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 74 int nid; local 85 nid = spu->node; 87 nid = tmp[0]; 90 isrc |= nid << IIC_IRQ_NODE_SHIFT;
|
/linux-master/include/net/page_pool/ |
H A D | types.h | 51 * @nid: NUMA node id to allocate from pages from 64 int nid;
|
/linux-master/include/linux/ |
H A D | memremap.h | 192 void *memremap_pages(struct dev_pagemap *pgmap, int nid);
|
H A D | mempool.h | 49 gfp_t gfp_mask, int nid);
|
H A D | f2fs_fs.h | 32 /* 0, 1(node nid), 2(meta nid) are reserved node id */ 248 __le32 nid; /* node id */ member in struct:node_footer 310 __le32 i_xattr_nid; /* nid to save xattr */ 347 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */ member in struct:indirect_node 432 * - If data page, nid represents dnode's nid 433 * - If node page, nid represents the node page's nid. 446 __le32 nid; /* paren member in struct:f2fs_summary 491 __le32 nid; member in struct:nat_journal_entry [all...] |
/linux-master/arch/powerpc/mm/ |
H A D | mmu_decl.h | 181 int nid, pgprot_t prot);
|
/linux-master/fs/erofs/ |
H A D | internal.h | 160 /* what we really care is nid, rather than ino.. */ 259 erofs_nid_t nid; member in struct:erofs_inode 305 (EROFS_I(inode)->nid << sbi->islotbits); 414 struct inode *erofs_iget(struct super_block *sb, erofs_nid_t nid); 419 erofs_nid_t *nid, unsigned int *d_type);
|
/linux-master/arch/sparc/mm/ |
H A D | init_64.c | 962 static u64 __init memblock_nid_range_sun4u(u64 start, u64 end, int *nid) argument 988 *nid = prev_nid; 993 static u64 __init memblock_nid_range(u64 start, u64 end, int *nid) argument 1000 return memblock_nid_range_sun4u(start, end, nid); 1065 *nid = _nid; 1071 * memblock_set_node() calls for 'nid'. We need to be able to get 1074 static void __init allocate_node_data(int nid) argument 1080 NODE_DATA(nid) = memblock_alloc_node(sizeof(struct pglist_data), 1081 SMP_CACHE_BYTES, nid); 1082 if (!NODE_DATA(nid)) { 1176 int count, nid; local 1221 int nid; local [all...] |