Home
last modified time | relevance | path

Searched refs:x (Results 1 – 19 of 19) sorted by relevance

/mm/
Dslab.c256 #define OBJFREELIST_SLAB(x) ((x)->flags & CFLGS_OBJFREELIST_SLAB) argument
257 #define OFF_SLAB(x) ((x)->flags & CFLGS_OFF_SLAB) argument
271 #define STATS_INC_ACTIVE(x) ((x)->num_active++) argument
272 #define STATS_DEC_ACTIVE(x) ((x)->num_active--) argument
273 #define STATS_INC_ALLOCED(x) ((x)->num_allocations++) argument
274 #define STATS_INC_GROWN(x) ((x)->grown++) argument
275 #define STATS_ADD_REAPED(x,y) ((x)->reaped += (y)) argument
276 #define STATS_SET_HIGH(x) \ argument
278 if ((x)->num_active > (x)->high_mark) \
279 (x)->high_mark = (x)->num_active; \
[all …]
Dpage-writeback.c308 unsigned long x = 0; in highmem_dirtyable_memory() local
328 x += nr_pages; in highmem_dirtyable_memory()
341 if ((long)x < 0) in highmem_dirtyable_memory()
342 x = 0; in highmem_dirtyable_memory()
350 return min(x, total); in highmem_dirtyable_memory()
364 unsigned long x; in global_dirtyable_memory() local
366 x = global_zone_page_state(NR_FREE_PAGES); in global_dirtyable_memory()
372 x -= min(x, totalreserve_pages); in global_dirtyable_memory()
374 x += global_node_page_state(NR_INACTIVE_FILE); in global_dirtyable_memory()
375 x += global_node_page_state(NR_ACTIVE_FILE); in global_dirtyable_memory()
[all …]
Dslub.c325 struct kmem_cache_order_objects x = { in oo_make() local
329 return x; in oo_make()
332 static inline int oo_order(struct kmem_cache_order_objects x) in oo_order() argument
334 return x.x >> OO_SHIFT; in oo_order()
337 static inline int oo_objects(struct kmem_cache_order_objects x) in oo_objects() argument
339 return x.x & OO_MASK; in oo_objects()
1355 static inline void kfree_hook(const void *x) in kfree_hook() argument
1357 kmemleak_free(x); in kfree_hook()
1358 kasan_kfree_large(x); in kfree_hook()
1361 static inline void *slab_free_hook(struct kmem_cache *s, void *x) in slab_free_hook() argument
[all …]
Dvmstat.c249 long x; in __mod_zone_page_state() local
252 x = delta + __this_cpu_read(*p); in __mod_zone_page_state()
256 if (unlikely(x > t || x < -t)) { in __mod_zone_page_state()
257 zone_page_state_add(x, zone, item); in __mod_zone_page_state()
258 x = 0; in __mod_zone_page_state()
260 __this_cpu_write(*p, x); in __mod_zone_page_state()
269 long x; in __mod_node_page_state() local
272 x = delta + __this_cpu_read(*p); in __mod_node_page_state()
276 if (unlikely(x > t || x < -t)) { in __mod_node_page_state()
277 node_page_state_add(x, pgdat, item); in __mod_node_page_state()
[all …]
Dslab.h354 static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x) in cache_from_obj() argument
370 page = virt_to_head_page(x); in cache_from_obj()
506 void ___cache_free(struct kmem_cache *cache, void *x, unsigned long addr);
Dswap_state.c61 #define INC_CACHE_INFO(x) do { swap_cache_info.x++; } while (0) argument
62 #define ADD_CACHE_INFO(x, nr) do { swap_cache_info.x += (nr); } while (0) argument
Dutil.c35 void kfree_const(const void *x) in kfree_const() argument
37 if (!is_kernel_rodata((unsigned long)x)) in kfree_const()
38 kfree(x); in kfree_const()
Dvmalloc.c248 int is_vmalloc_or_module_addr(const void *x) in is_vmalloc_or_module_addr() argument
256 unsigned long addr = (unsigned long)x; in is_vmalloc_or_module_addr()
260 return is_vmalloc_addr(x); in is_vmalloc_or_module_addr()
798 #define VMAP_MIN(x, y) ((x) < (y) ? (x) : (y)) /* can't use min() */ argument
799 #define VMAP_MAX(x, y) ((x) > (y) ? (x) : (y)) /* can't use max() */ argument
Dhugetlb_cgroup.c30 #define MEMFILE_PRIVATE(x, val) (((x) << 16) | (val)) argument
Dksm.c47 #define NUMA(x) (x) argument
48 #define DO_NUMA(x) do { (x); } while (0) argument
50 #define NUMA(x) (0) argument
51 #define DO_NUMA(x) do { } while (0) argument
Dkmemleak.c287 #define kmemleak_warn(x...) do { \ argument
288 pr_warn(x); \
298 #define kmemleak_stop(x...) do { \ argument
299 kmemleak_warn(x); \
Doom_kill.c439 #define K(x) ((x) << (PAGE_SHIFT-10)) argument
Dbacking-dev.c70 #define K(x) ((x) << (PAGE_SHIFT - 10)) in bdi_debug_stats_show() argument
Dslab_common.c131 void *x = p[i] = kmem_cache_alloc(s, flags); in __kmem_cache_alloc_bulk() local
132 if (!x) { in __kmem_cache_alloc_bulk()
Dmempolicy.c971 static struct page *new_node_page(struct page *page, unsigned long node, int **x) in new_node_page() argument
1136 static struct page *new_page(struct page *page, unsigned long start, int **x) in new_page() argument
1181 static struct page *new_page(struct page *page, unsigned long start, int **x) in new_page() argument
DKconfig570 tristate "Low (Up to 2x) density storage for compressed pages"
580 tristate "Up to 3x density storage for compressed pages"
Dmemcontrol.c230 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) argument
1168 #define K(x) ((x) << (PAGE_SHIFT-10)) argument
Dmemory-failure.c1501 static struct page *new_page(struct page *p, unsigned long private, int **x) in new_page() argument
Dpage_alloc.c4648 #define K(x) ((x) << (PAGE_SHIFT-10)) argument