Home
last modified time | relevance | path

Searched refs:nmask (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/mm/
Dmempolicy.c412 nodemask_t *nmask; member
428 return node_isset(nid, *qp->nmask) == !(flags & MPOL_MF_INVERT); in queue_pages_required()
626 .nmask = nodes, in queue_pages_range()
814 static long do_get_mempolicy(int *policy, nodemask_t *nmask, in do_get_mempolicy() argument
831 *nmask = cpuset_current_mems_allowed; in do_get_mempolicy()
882 if (nmask) { in do_get_mempolicy()
884 *nmask = pol->w.user_nodemask; in do_get_mempolicy()
887 get_policy_nodemask(pol, nmask); in do_get_mempolicy()
948 nodemask_t nmask; in migrate_to_node() local
952 nodes_clear(nmask); in migrate_to_node()
[all …]
Dhugetlb.c884 nodemask_t *nmask) in dequeue_huge_page_nodemask() argument
896 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_huge_page_nodemask()
1376 gfp_t gfp_mask, int nid, nodemask_t *nmask) in alloc_buddy_huge_page() argument
1384 page = __alloc_pages_nodemask(gfp_mask, order, nid, nmask); in alloc_buddy_huge_page()
1398 gfp_t gfp_mask, int nid, nodemask_t *nmask) in alloc_fresh_huge_page() argument
1403 page = alloc_gigantic_page(h, gfp_mask, nid, nmask); in alloc_fresh_huge_page()
1406 nid, nmask); in alloc_fresh_huge_page()
1549 int nid, nodemask_t *nmask) in alloc_surplus_huge_page() argument
1561 page = alloc_fresh_huge_page(h, gfp_mask, nid, nmask); in alloc_surplus_huge_page()
1589 int nid, nodemask_t *nmask) in alloc_migrate_huge_page() argument
[all …]
Dmemory_hotplug.c1351 nodemask_t nmask = node_states[N_MEMORY]; in new_node_page() local
1358 node_clear(nid, nmask); in new_node_page()
1359 if (nodes_empty(nmask)) in new_node_page()
1360 node_set(nid, nmask); in new_node_page()
1362 return new_page_nodemask(page, nid, &nmask); in new_node_page()
/Linux-v4.19/drivers/ntb/test/
Dntb_pingpong.c105 u64 nmask; member
124 if (link & pp->nmask) { in pp_find_next_peer()
125 pidx = __ffs64(link & pp->nmask); in pp_find_next_peer()
308 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds()
311 pp->in_db, pp->pmask, pp->nmask); in pp_init_flds()
/Linux-v4.19/drivers/clk/
Dclk-fractional-divider.c41 n = (val & fd->nmask) >> fd->nshift; in clk_fd_recalc_rate()
112 val &= ~(fd->mmask | fd->nmask); in clk_fd_set_rate()
157 fd->nmask = GENMASK(nwidth - 1, 0) << nshift; in clk_hw_register_fractional_divider()
/Linux-v4.19/drivers/scsi/cxlflash/
Dvlun.c1043 rhte->nmask = MC_RHT_NMASK; in cxlflash_disk_virtual_open()
1245 if (ctxi_dst->rht_start[i].nmask != 0) { in cxlflash_disk_clone()
1296 if (ctxi_src->rht_start[i].nmask == 0) in cxlflash_disk_clone()
1301 ctxi_dst->rht_start[i].nmask = ctxi_src->rht_start[i].nmask; in cxlflash_disk_clone()
Dsislite.h517 u8 nmask; member
Dsuperpipe.c466 if (unlikely(rhte->nmask == 0)) { in get_rhte()
494 if (ctxi->rht_start[i].nmask == 0) { in rhte_checkout()
517 rhte->nmask = 0; in rhte_checkin()
/Linux-v4.19/include/linux/
Dhugetlb.h371 nodemask_t *nmask);
550 #define alloc_huge_page_nodemask(h, preferred_nid, nmask) NULL argument
Dcompat.h856 compat_ulong_t __user *nmask,
859 compat_ulong_t __user *nmask,
863 asmlinkage long compat_sys_set_mempolicy(int mode, compat_ulong_t __user *nmask,
Dsyscalls.h806 const unsigned long __user *nmask,
810 unsigned long __user *nmask,
813 asmlinkage long sys_set_mempolicy(int mode, const unsigned long __user *nmask,
Dclk-provider.h606 u32 nmask; member
/Linux-v4.19/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst417 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-v4.19/arch/powerpc/include/asm/
Dprocessor.h526 extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
/Linux-v4.19/net/sched/
Dsch_api.c655 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
662 nmask = nsize - 1; in qdisc_class_hash_grow()
673 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow()
679 clhash->hashmask = nmask; in qdisc_class_hash_grow()
/Linux-v4.19/drivers/clk/rockchip/
Dclk.c258 div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift; in rockchip_clk_register_frac_branch()
/Linux-v4.19/drivers/scsi/
Dpmcraid.c444 u32 nmask = gmask | GLOBAL_INTERRUPT_MASK; in pmcraid_disable_interrupts() local
447 iowrite32(nmask, pinstance->int_regs.global_interrupt_mask_reg); in pmcraid_disable_interrupts()
472 u32 nmask = gmask & (~GLOBAL_INTERRUPT_MASK); in pmcraid_enable_interrupts() local
474 iowrite32(nmask, pinstance->int_regs.global_interrupt_mask_reg); in pmcraid_enable_interrupts()