Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmempolicy.c429 nodemask_t *nmask; member
755 .nmask = nodes, in queue_pages_range()
1015 if (nmask) { in do_get_mempolicy()
1074 nodemask_t nmask; in migrate_to_node() local
1083 nodes_clear(nmask); in migrate_to_node()
1084 node_set(source, nmask); in migrate_to_node()
1313 nmask ? nodes_addr(*nmask)[0] : NUMA_NO_NODE); in do_mbind()
1728 if (nmask) in kernel_get_mempolicy()
2191 nodemask_t *nmask; in vma_alloc_folio() local
2239 if (!nmask || node_isset(hpage_node, *nmask)) { in vma_alloc_folio()
[all …]
H A Dmemory-tiers.c138 nodemask_t nmask; in nodelist_show() local
141 nmask = get_memtier_nodemask(to_memory_tier(dev)); in nodelist_show()
142 ret = sysfs_emit(buf, "%*pbl\n", nodemask_pr_args(&nmask)); in nodelist_show()
H A Dmemory_hotplug.c1768 nodemask_t nmask = node_states[N_MEMORY]; in do_migrate_range() local
1770 .nmask = &nmask, in do_migrate_range()
1786 node_clear(mtc.nid, nmask); in do_migrate_range()
1787 if (nodes_empty(nmask)) in do_migrate_range()
1788 node_set(mtc.nid, nmask); in do_migrate_range()
H A Dhugetlb.c1356 int nid, nodemask_t *nmask) in dequeue_hugetlb_folio_nodemask() argument
2110 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_hugetlb_folio() argument
2133 page = __alloc_pages(gfp_mask, order, nid, nmask); in alloc_buddy_hugetlb_folio()
2180 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_fresh_hugetlb_folio() argument
2188 folio = alloc_gigantic_folio(h, gfp_mask, nid, nmask); in alloc_fresh_hugetlb_folio()
2191 nid, nmask, node_alloc_noretry); in alloc_fresh_hugetlb_folio()
2390 gfp_t gfp_mask, int nid, nodemask_t *nmask) in alloc_surplus_hugetlb_folio() argument
2402 folio = alloc_fresh_hugetlb_folio(h, gfp_mask, nid, nmask, NULL); in alloc_surplus_hugetlb_folio()
2431 int nid, nodemask_t *nmask) in alloc_migrate_hugetlb_folio() argument
2485 nodemask_t *nmask, gfp_t gfp_mask) in alloc_hugetlb_folio_nodemask() argument
[all …]
H A Dinternal.h894 nodemask_t *nmask; member
H A Dmigrate.c2010 mtc->nmask, gfp_mask); in alloc_migration_target()
2026 return __folio_alloc(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
H A Dkhugepaged.c891 nodemask_t *nmask) in hpage_collapse_alloc_page() argument
893 *hpage = __alloc_pages(gfp, HPAGE_PMD_ORDER, node, nmask); in hpage_collapse_alloc_page()
H A Dvmscan.c1623 allowed_mask = mtc->nmask; in alloc_demote_folio()
1633 mtc->nmask = NULL; in alloc_demote_folio()
1640 mtc->nmask = allowed_mask; in alloc_demote_folio()
1665 .nmask = &allowed_mask in demote_folio_list()
/openbmc/linux/drivers/clk/
H A Dclk-fractional-divider.c74 u32 mmask, nmask; in clk_fd_get_div() local
90 nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in clk_fd_get_div()
93 n = (val & nmask) >> fd->nshift; in clk_fd_get_div()
173 u32 mmask, nmask; in clk_fd_set_rate() local
191 nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in clk_fd_set_rate()
194 val &= ~(mmask | nmask); in clk_fd_set_rate()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dnumaif.h20 long get_mempolicy(int *policy, const unsigned long *nmask, in get_mempolicy() argument
23 return syscall(__NR_get_mempolicy, policy, nmask, in get_mempolicy()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_debugfs.c92 u8 nvalue[16], nmask[16]; in vcap_debugfs_show_rule_keyfield() local
96 vcap_netbytes_copy(nmask, data->u128.mask, in vcap_debugfs_show_rule_keyfield()
97 sizeof(nmask)); in vcap_debugfs_show_rule_keyfield()
98 out->prf(out->dst, "%pI6/%pI6", nvalue, nmask); in vcap_debugfs_show_rule_keyfield()
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c2301 RockerOfDpaFlowMask *nmask; in of_dpa_flow_fill() local
2311 nmask = nflow->mask = g_malloc0(sizeof(*nmask)); in of_dpa_flow_fill()
2325 nmask->has_in_pport = true; in of_dpa_flow_fill()
2326 nmask->in_pport = mask->in_pport; in of_dpa_flow_fill()
2335 nmask->has_vlan_id = true; in of_dpa_flow_fill()
2345 nmask->has_tunnel_id = true; in of_dpa_flow_fill()
2346 nmask->tunnel_id = mask->tunnel_id; in of_dpa_flow_fill()
2380 nmask->has_ip_proto = true; in of_dpa_flow_fill()
2381 nmask->ip_proto = mask->ip.proto; in of_dpa_flow_fill()
2388 nmask->has_ip_tos = true; in of_dpa_flow_fill()
[all …]
/openbmc/linux/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.c462 if (unlikely(rhte->nmask == 0)) { in get_rhte()
490 if (ctxi->rht_start[i].nmask == 0) { in rhte_checkout()
513 rhte->nmask = 0; in rhte_checkin()
/openbmc/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst422 long set_mempolicy(int mode, const unsigned long *nmask,
427 'nmask'. 'nmask' points to a bit mask of node ids containing at least
438 const unsigned long *nmask, unsigned long maxnode,
451 const unsigned long *nmask, unsigned long maxnode,
454 mbind() installs the policy specified by (mode, nmask, maxnodes) as a
/openbmc/linux/include/linux/
H A Dhugetlb.h750 nodemask_t *nmask, gfp_t gfp_mask);
1058 nodemask_t *nmask, gfp_t gfp_mask)
H A Dsyscalls.h808 const unsigned long __user *nmask,
812 unsigned long __user *nmask,
815 asmlinkage long sys_set_mempolicy(int mode, const unsigned long __user *nmask,
/openbmc/linux/net/sched/
H A Dsch_api.c690 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
697 nmask = nsize - 1; in qdisc_class_hash_grow()
708 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow()
714 clhash->hashmask = nmask; in qdisc_class_hash_grow()
/openbmc/linux/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()
456 u32 nmask = gmask & (~GLOBAL_INTERRUPT_MASK); in pmcraid_enable_interrupts() local
458 iowrite32(nmask, pinstance->int_regs.global_interrupt_mask_reg); in pmcraid_enable_interrupts()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h1326 void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);