/openbmc/linux/mm/ |
H A D | mempolicy.c | 440 nodemask_t *nmask; member 460 return node_isset(nid, *qp->nmask) == !(flags & MPOL_MF_INVERT); in queue_folio_required() 745 .nmask = nodes, in queue_pages_range() 925 static long do_get_mempolicy(int *policy, nodemask_t *nmask, in do_get_mempolicy() argument 942 *nmask = cpuset_current_mems_allowed; in do_get_mempolicy() 1002 if (nmask) { in do_get_mempolicy() 1004 *nmask = pol->w.user_nodemask; in do_get_mempolicy() 1007 get_policy_nodemask(pol, nmask); in do_get_mempolicy() 1059 nodemask_t nmask; in migrate_to_node() local 1069 nodes_clear(nmask); in migrate_to_node() [all …]
|
H A D | memory-tiers.c | 138 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 D | memory_hotplug.c | 1768 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 D | hugetlb.c | 1356 int nid, nodemask_t *nmask) in dequeue_hugetlb_folio_nodemask() argument 1368 for_each_zone_zonelist_nodemask(zone, z, zonelist, gfp_zone(gfp_mask), nmask) { in dequeue_hugetlb_folio_nodemask() 2111 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_buddy_hugetlb_folio() argument 2134 page = __alloc_pages(gfp_mask, order, nid, nmask); in alloc_buddy_hugetlb_folio() 2181 gfp_t gfp_mask, int nid, nodemask_t *nmask, in alloc_fresh_hugetlb_folio() argument 2189 folio = alloc_gigantic_folio(h, gfp_mask, nid, nmask); in alloc_fresh_hugetlb_folio() 2192 nid, nmask, node_alloc_noretry); in alloc_fresh_hugetlb_folio() 2391 gfp_t gfp_mask, int nid, nodemask_t *nmask) in alloc_surplus_hugetlb_folio() argument 2403 folio = alloc_fresh_hugetlb_folio(h, gfp_mask, nid, nmask, NULL); in alloc_surplus_hugetlb_folio() 2432 int nid, nodemask_t *nmask) in alloc_migrate_hugetlb_folio() argument [all …]
|
H A D | internal.h | 964 nodemask_t *nmask; member
|
H A D | migrate.c | 2010 mtc->nmask, gfp_mask); in alloc_migration_target() 2026 return __folio_alloc(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
|
H A D | vmscan.c | 1630 allowed_mask = mtc->nmask; in alloc_demote_folio() 1640 mtc->nmask = NULL; in alloc_demote_folio() 1647 mtc->nmask = allowed_mask; in alloc_demote_folio() 1672 .nmask = &allowed_mask in demote_folio_list()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-fractional-divider.c | 74 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 D | numaif.h | 20 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 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()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs.c | 92 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 D | rocker_of_dpa.c | 2294 RockerOfDpaFlowMask *nmask; in of_dpa_flow_fill() local 2304 nmask = nflow->mask = g_malloc0(sizeof(*nmask)); in of_dpa_flow_fill() 2318 nmask->has_in_pport = true; in of_dpa_flow_fill() 2319 nmask->in_pport = mask->in_pport; in of_dpa_flow_fill() 2328 nmask->has_vlan_id = true; in of_dpa_flow_fill() 2329 nmask->vlan_id = ntohs(mask->eth.vlan_id); in of_dpa_flow_fill() 2338 nmask->has_tunnel_id = true; in of_dpa_flow_fill() 2339 nmask->tunnel_id = mask->tunnel_id; in of_dpa_flow_fill() 2348 nmask->eth_src = qemu_mac_strdup_printf(mask->eth.src.a); in of_dpa_flow_fill() 2357 nmask->eth_dst = qemu_mac_strdup_printf(mask->eth.dst.a); in of_dpa_flow_fill() [all …]
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A 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()
|
H A D | sislite.h | 513 u8 nmask; member
|
H A D | superpipe.c | 462 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 D | numa_memory_policy.rst | 422 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 D | hugetlb.h | 751 nodemask_t *nmask, gfp_t gfp_mask); 1059 nodemask_t *nmask, gfp_t gfp_mask)
|
H A D | syscalls.h | 808 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 D | sch_api.c | 689 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local 696 nmask = nsize - 1; in qdisc_class_hash_grow() 707 h = qdisc_class_hash(cl->classid, nmask); in qdisc_class_hash_grow() 713 clhash->hashmask = nmask; in qdisc_class_hash_grow()
|
/openbmc/linux/drivers/scsi/ |
H A 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() 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 D | processor.h | 1326 void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
|