Searched refs:nodemask (Results 1 - 25 of 65) sorted by relevance

123

/linux-master/arch/loongarch/kernel/
H A Dtopology.c7 #include <linux/nodemask.h>
/linux-master/arch/x86/kernel/
H A Dtopology.c29 #include <linux/nodemask.h>
H A Ditmt.c24 #include <linux/nodemask.h>
/linux-master/include/linux/
H A Dcpuset.h16 #include <linux/nodemask.h>
84 int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask);
159 static inline void set_mems_allowed(nodemask_t nodemask) argument
166 current->mems_allowed = nodemask;
219 static inline int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask) argument
276 static inline void set_mems_allowed(nodemask_t nodemask) argument
H A Doom.h8 #include <linux/nodemask.h>
34 nodemask_t *nodemask; member in struct:oom_control
H A Dnodemask.h20 * The available nodemask operations are:
52 * nodemask_t nodemask_of_node(node) Return nodemask with bit 'node' set
57 * int nodemask_parse_user(ubuf, ulen, mask) Parse ascii string as nodemask
103 * nodemask_pr_args - printf args to output a nodemask
104 * @maskp: nodemask to be printed
106 * Can be used to provide arguments for '%*pb[l]' when printing a nodemask.
153 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits)
155 #define node_test_and_set(node, nodemask) \
156 __node_test_and_set((node), &(nodemask))
[all...]
H A Dmempolicy.h14 #include <linux/nodemask.h>
55 nodemask_t user_nodemask; /* nodemask passed by user */
143 struct mempolicy **mpol, nodemask_t **nodemask);
255 struct mempolicy **mpol, nodemask_t **nodemask)
258 *nodemask = NULL;
253 huge_node(struct vm_area_struct *vma, unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol, nodemask_t **nodemask) argument
H A Dmemory-tiers.h6 #include <linux/nodemask.h>
H A Dgfp.h179 nodemask_t *nodemask);
181 nodemask_t *nodemask);
184 nodemask_t *nodemask, int nr_pages,
380 int nid, nodemask_t *nodemask);
/linux-master/mm/
H A Dshow_mem.c125 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) argument
135 if (!nodemask)
136 nodemask = &cpuset_current_mems_allowed;
138 return !node_isset(nid, *nodemask);
186 static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) argument
196 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask))
233 if (show_mem_node_skip(filter, pgdat->node_id, nodemask))
297 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask))
360 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask))
390 if (show_mem_node_skip(filter, nid, nodemask))
400 __show_mem(unsigned int filter, nodemask_t *nodemask, int max_zone_idx) argument
[all...]
H A Dmempolicy.c89 #include <linux/nodemask.h>
121 #define MPOL_MF_INVERT (MPOL_MF_INTERNAL << 1) /* Invert check for nodemask */
255 * mpol_set_nodemask is called after mpol_new() to set up the nodemask, if
313 * MPOL_F_RELATIVE_NODES if the nodemask is empty (local allocation).
314 * All other modes require a valid pointer to a non-empty nodemask.
386 * OOM/allocation failure due to parallel nodemask modification.
411 * Rebind each vma in mm to new nodemask.
886 * Return nodemask for policy for get_mempolicy() query
1224 nodemask_t *nodemask; local
1229 nodemask
1981 nodemask_t nodemask; local
2025 nodemask_t nodemask; local
2047 nodemask_t *nodemask = NULL; local
2102 huge_node(struct vm_area_struct *vma, unsigned long addr, gfp_t gfp_flags, struct mempolicy **mpol, nodemask_t **nodemask) argument
2189 alloc_pages_preferred_many(gfp_t gfp, unsigned int order, int nid, nodemask_t *nodemask) argument
2223 nodemask_t *nodemask; local
2526 nodemask_t *nodemask; local
[all...]
H A Dpage_alloc.c37 #include <linux/nodemask.h>
1935 ac->nodemask) {
3193 ac->nodemask) {
3355 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) argument
3371 __show_mem(filter, nodemask, gfp_zone(gfp_mask));
3374 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) argument
3388 pr_warn("%s: %pV, mode:%#x(%pGg), nodemask=%*pbl",
3390 nodemask_pr_args(nodemask));
3396 warn_alloc_show_mem(gfp_mask, nodemask);
3425 .nodemask
4324 prepare_alloc_pages(gfp_t gfp_mask, unsigned int order, int preferred_nid, nodemask_t *nodemask, struct alloc_context *ac, gfp_t *alloc_gfp, unsigned int *alloc_flags) argument
4387 __alloc_pages_bulk(gfp_t gfp, int preferred_nid, nodemask_t *nodemask, int nr_pages, struct list_head *page_list, struct page **page_array) argument
4539 __alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid, nodemask_t *nodemask) argument
4604 __folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid, nodemask_t *nodemask) argument
6526 alloc_contig_pages(unsigned long nr_pages, gfp_t gfp_mask, int nid, nodemask_t *nodemask) argument
[all...]
H A Doom_kill.c95 const nodemask_t *mask = oc->nodemask;
282 * This is not a __GFP_THISNODE allocation, so a truncated nodemask in
286 if (oc->nodemask &&
287 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) {
289 for_each_node_mask(nid, *oc->nodemask)
296 highest_zoneidx, oc->nodemask)
317 /* p may not have freeable memory in nodemask */
390 /* p may not have freeable memory in nodemask */
445 pr_info("oom-kill:constraint=%s,nodemask=%*pbl",
447 nodemask_pr_args(oc->nodemask));
[all...]
/linux-master/arch/mips/kernel/
H A Dtopology.c6 #include <linux/nodemask.h>
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dxapic_ipi_test.c255 unsigned long nodemask = 0; local
256 unsigned long nodemasks[sizeof(nodemask) * 8];
271 r = get_mempolicy(NULL, &nodemask, sizeof(nodemask) * 8,
277 sizeof(nodemask) * 8, nodemask);
283 for (i = 0, bit = 1; i < sizeof(nodemask) * 8; i++, bit <<= 1) {
284 if (nodemask & bit) {
285 nodemasks[nodes] = nodemask & bit;
/linux-master/arch/loongarch/include/asm/
H A Dnuma.h12 #include <linux/nodemask.h>
/linux-master/arch/mips/sgi-ip27/
H A Dip27-reset.c17 #include <linux/nodemask.h>
H A Dip27-klnuma.c11 #include <linux/nodemask.h>
H A Dip27-smp.c13 #include <linux/nodemask.h>
/linux-master/arch/sh/kernel/
H A Dtopology.c13 #include <linux/nodemask.h>
/linux-master/arch/x86/include/asm/
H A Dnuma.h5 #include <linux/nodemask.h>
H A Dcpu.h8 #include <linux/nodemask.h>
/linux-master/drivers/of/
H A Dof_numa.c12 #include <linux/nodemask.h>
/linux-master/arch/arm/kernel/
H A Dtopology.c22 #include <linux/nodemask.h>
/linux-master/arch/xtensa/mm/
H A Dinit.c26 #include <linux/nodemask.h>

Completed in 199 milliseconds

123