/Linux-v5.10/mm/ |
D | mempolicy.c | 438 nodemask_t *nmask; member 456 return node_isset(nid, *qp->nmask) == !(flags & MPOL_MF_INVERT); in queue_pages_required() 750 .nmask = nodes, in queue_pages_range() 939 static long do_get_mempolicy(int *policy, nodemask_t *nmask, in do_get_mempolicy() argument 956 *nmask = cpuset_current_mems_allowed; in do_get_mempolicy() 1016 if (nmask) { in do_get_mempolicy() 1018 *nmask = pol->w.user_nodemask; in do_get_mempolicy() 1021 get_policy_nodemask(pol, nmask); in do_get_mempolicy() 1074 nodemask_t nmask; in migrate_to_node() local 1082 nodes_clear(nmask); in migrate_to_node() [all …]
|
D | memory_hotplug.c | 1334 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range() local 1336 .nmask = &nmask, in do_migrate_range() 1351 node_clear(mtc.nid, nmask); in do_migrate_range() 1352 if (nodes_empty(nmask)) in do_migrate_range() 1353 node_set(mtc.nid, nmask); in do_migrate_range()
|
D | hugetlb.c | 1056 nodemask_t *nmask) in dequeue_huge_page_nodemask() argument 1068 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_huge_page_nodemask() 1609 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_huge_page() argument 1630 page = __alloc_pages_nodemask(gfp_mask, order, nid, nmask); in alloc_buddy_huge_page() 1660 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_fresh_huge_page() argument 1666 page = alloc_gigantic_page(h, gfp_mask, nid, nmask); in alloc_fresh_huge_page() 1669 nid, nmask, node_alloc_noretry); in alloc_fresh_huge_page() 1825 int nid, nodemask_t *nmask) in alloc_surplus_huge_page() argument 1837 page = alloc_fresh_huge_page(h, gfp_mask, nid, nmask, NULL); in alloc_surplus_huge_page() 1866 int nid, nodemask_t *nmask) in alloc_migrate_huge_page() argument [all …]
|
D | internal.h | 617 nodemask_t *nmask; member
|
D | migrate.c | 1559 return alloc_huge_page_nodemask(h, nid, mtc->nmask, gfp_mask); in alloc_migration_target() 1575 new_page = __alloc_pages_nodemask(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
|
/Linux-v5.10/drivers/ntb/test/ |
D | ntb_pingpong.c | 105 u64 nmask; member 124 if (link & pp->nmask) in pp_find_next_peer() 125 pidx = __ffs64(link & pp->nmask); in pp_find_next_peer() 307 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds() 310 pp->in_db, pp->pmask, pp->nmask); in pp_init_flds()
|
/Linux-v5.10/drivers/clk/ |
D | clk-fractional-divider.c | 55 n = (val & fd->nmask) >> fd->nshift; in clk_fd_recalc_rate() 136 val &= ~(fd->mmask | fd->nmask); in clk_fd_set_rate() 181 fd->nmask = GENMASK(nwidth - 1, 0) << nshift; in clk_hw_register_fractional_divider()
|
/Linux-v5.10/drivers/clk/imx/ |
D | clk-composite-7ulp.c | 60 fd->nmask = PCG_PCD_MASK; in imx7ulp_clk_hw_composite()
|
/Linux-v5.10/drivers/scsi/cxlflash/ |
D | vlun.c | 1039 rhte->nmask = MC_RHT_NMASK; in cxlflash_disk_virtual_open() 1241 if (ctxi_dst->rht_start[i].nmask != 0) { in cxlflash_disk_clone() 1292 if (ctxi_src->rht_start[i].nmask == 0) in cxlflash_disk_clone() 1297 ctxi_dst->rht_start[i].nmask = ctxi_src->rht_start[i].nmask; in cxlflash_disk_clone()
|
D | sislite.h | 513 u8 nmask; member
|
D | superpipe.c | 461 if (unlikely(rhte->nmask == 0)) { in get_rhte() 489 if (ctxi->rht_start[i].nmask == 0) { in rhte_checkout() 512 rhte->nmask = 0; in rhte_checkin()
|
/Linux-v5.10/include/linux/ |
D | compat.h | 740 compat_ulong_t __user *nmask, 743 compat_ulong_t __user *nmask, 747 asmlinkage long compat_sys_set_mempolicy(int mode, compat_ulong_t __user *nmask,
|
D | hugetlb.h | 511 nodemask_t *nmask, gfp_t gfp_mask); 785 nodemask_t *nmask, gfp_t gfp_mask) in alloc_huge_page_nodemask() argument
|
D | syscalls.h | 889 const unsigned long __user *nmask, 893 unsigned long __user *nmask, 896 asmlinkage long sys_set_mempolicy(int mode, const unsigned long __user *nmask,
|
D | clk-provider.h | 948 u32 nmask; member
|
/Linux-v5.10/Documentation/admin-guide/mm/ |
D | numa_memory_policy.rst | 417 long set_mempolicy(int mode, const unsigned long *nmask, 422 'nmask'. 'nmask' points to a bit mask of node ids containing at least 433 const unsigned long *nmask, unsigned long maxnode, 446 const unsigned long *nmask, unsigned long maxnode, 449 mbind() installs the policy specified by (mode, nmask, maxnodes) as a
|
/Linux-v5.10/net/sched/ |
D | sch_api.c | 672 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local 679 nmask = nsize - 1; in qdisc_class_hash_grow() 690 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow() 696 clhash->hashmask = nmask; in qdisc_class_hash_grow()
|
/Linux-v5.10/drivers/clk/rockchip/ |
D | clk.c | 251 div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift; in rockchip_clk_register_frac_branch()
|
/Linux-v5.10/drivers/scsi/ |
D | pmcraid.c | 429 u32 nmask = gmask | GLOBAL_INTERRUPT_MASK; in pmcraid_disable_interrupts() local 432 iowrite32(nmask, pinstance->int_regs.global_interrupt_mask_reg); in pmcraid_disable_interrupts() 457 u32 nmask = gmask & (~GLOBAL_INTERRUPT_MASK); in pmcraid_enable_interrupts() local 459 iowrite32(nmask, pinstance->int_regs.global_interrupt_mask_reg); in pmcraid_enable_interrupts()
|