Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/mm/
H A Dmempolicy.c441 nodemask_t *nmask; member
459 return node_isset(nid, *qp->nmask) == !(flags & MPOL_MF_INVERT); in queue_pages_required()
753 .nmask = nodes, in queue_pages_range()
944 static long do_get_mempolicy(int *policy, nodemask_t *nmask, in do_get_mempolicy() argument
961 *nmask = cpuset_current_mems_allowed; in do_get_mempolicy()
1021 if (nmask) { in do_get_mempolicy()
1023 *nmask = pol->w.user_nodemask; in do_get_mempolicy()
1026 get_policy_nodemask(pol, nmask); in do_get_mempolicy()
1079 nodemask_t nmask; in migrate_to_node() local
1087 nodes_clear(nmask); in migrate_to_node()
[all …]
H A Dmemory_hotplug.c1382 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range() local
1384 .nmask = &nmask, in do_migrate_range()
1399 node_clear(mtc.nid, nmask); in do_migrate_range()
1400 if (nodes_empty(nmask)) in do_migrate_range()
1401 node_set(mtc.nid, nmask); in do_migrate_range()
H A Dhugetlb.c1100 nodemask_t *nmask) in dequeue_huge_page_nodemask() argument
1112 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_huge_page_nodemask()
1649 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_huge_page() argument
1670 page = __alloc_pages_nodemask(gfp_mask, order, nid, nmask); in alloc_buddy_huge_page()
1700 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_fresh_huge_page() argument
1706 page = alloc_gigantic_page(h, gfp_mask, nid, nmask); in alloc_fresh_huge_page()
1709 nid, nmask, node_alloc_noretry); in alloc_fresh_huge_page()
1886 int nid, nodemask_t *nmask) in alloc_surplus_huge_page() argument
1898 page = alloc_fresh_huge_page(h, gfp_mask, nid, nmask, NULL); in alloc_surplus_huge_page()
1927 int nid, nodemask_t *nmask) in alloc_migrate_huge_page() argument
[all …]
H A Dinternal.h662 nodemask_t *nmask; member
H A Dmigrate.c1547 return alloc_huge_page_nodemask(h, nid, mtc->nmask, gfp_mask); in alloc_migration_target()
1563 new_page = __alloc_pages_nodemask(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-fractional-divider.c55 n = (val & fd->nmask) >> fd->nshift; in clk_fd_recalc_rate()
149 if (n > fd->nmask) { in clk_fd_set_rate()
152 n = fd->nmask; in clk_fd_set_rate()
162 val &= ~(fd->mmask | fd->nmask); in clk_fd_set_rate()
207 fd->nmask = GENMASK(nwidth - 1, 0) << nshift; in clk_hw_register_fractional_divider()
/OK3568_Linux_fs/kernel/drivers/ntb/test/
H A 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()
307 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds()
310 pp->in_db, pp->pmask, pp->nmask); in pp_init_flds()
/OK3568_Linux_fs/kernel/drivers/clk/rockchip/regmap/
H A Dclk-regmap-fractional-divider.c29 n = (val & fd->nmask) >> fd->nshift; in clk_regmap_fractional_divider_recalc_rate()
111 val &= ~(fd->mmask | fd->nmask); in clk_regmap_fractional_divider_set_rate()
152 fd->nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in devm_clk_regmap_register_fractional_divider()
H A Dclk-regmap.h232 u32 nmask; member
H A Dclk-regmap-composite.c281 fd->nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in devm_clk_regmap_register_composite()
/OK3568_Linux_fs/kernel/drivers/clk/imx/
H A Dclk-composite-7ulp.c60 fd->nmask = PCG_PCD_MASK; in imx7ulp_clk_hw_composite()
/OK3568_Linux_fs/kernel/drivers/scsi/cxlflash/
H A Dvlun.c1039 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()
H A Dsislite.h513 u8 nmask; member
H A Dsuperpipe.c461 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dcompat.h740 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,
H A Dhugetlb.h522 nodemask_t *nmask, gfp_t gfp_mask);
792 nodemask_t *nmask, gfp_t gfp_mask) in alloc_huge_page_nodemask() argument
H A Dsyscalls.h914 const unsigned long __user *nmask,
918 unsigned long __user *nmask,
921 asmlinkage long sys_set_mempolicy(int mode, const unsigned long __user *nmask,
H A Dclk-provider.h964 u32 nmask; member
/OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/
H A 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
/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_api.c679 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
686 nmask = nsize - 1; in qdisc_class_hash_grow()
697 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow()
703 clhash->hashmask = nmask; in qdisc_class_hash_grow()
/OK3568_Linux_fs/kernel/drivers/clk/rockchip/
H A Dclk.c277 div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift; in rockchip_clk_register_frac_branch()
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h1333 void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dpmcraid.c429 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()