|
#define | MAX_ORDER 11 |
|
#define | MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) |
|
#define | PAGE_ALLOC_COSTLY_ORDER 3 |
|
#define | is_migrate_cma(migratetype) false |
|
#define | cma_wmark_pages(zone) 0 |
|
#define | for_each_migratetype_order(order, type) |
|
#define | ZONE_PADDING(name) |
|
#define | LRU_BASE 0 |
|
#define | LRU_ACTIVE 1 |
|
#define | LRU_FILE 2 |
|
#define | for_each_lru(lru) for (lru = 0; lru < NR_LRU_LISTS; lru++) |
|
#define | for_each_evictable_lru(lru) for (lru = 0; lru <= LRU_ACTIVE_FILE; lru++) |
|
#define | LRU_ALL_FILE (BIT(LRU_INACTIVE_FILE) | BIT(LRU_ACTIVE_FILE)) |
|
#define | LRU_ALL_ANON (BIT(LRU_INACTIVE_ANON) | BIT(LRU_ACTIVE_ANON)) |
|
#define | LRU_ALL ((1 << NR_LRU_LISTS) - 1) |
|
#define | ISOLATE_CLEAN ((__force isolate_mode_t)0x1) |
|
#define | ISOLATE_UNMAPPED ((__force isolate_mode_t)0x2) |
|
#define | ISOLATE_ASYNC_MIGRATE ((__force isolate_mode_t)0x4) |
|
#define | ISOLATE_UNEVICTABLE ((__force isolate_mode_t)0x8) |
|
#define | min_wmark_pages(z) (z->watermark[WMARK_MIN]) |
|
#define | low_wmark_pages(z) (z->watermark[WMARK_LOW]) |
|
#define | high_wmark_pages(z) (z->watermark[WMARK_HIGH]) |
|
#define | ZONES_SHIFT 0 |
|
#define | DEF_PRIORITY 12 |
|
#define | MAX_ZONES_PER_ZONELIST (MAX_NUMNODES * MAX_NR_ZONES) |
|
#define | MAX_ZONELISTS 1 |
|
#define | node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) |
|
#define | node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) |
|
#define | pgdat_page_nr(pgdat, pagenr) pfn_to_page((pgdat)->node_start_pfn + (pagenr)) |
|
#define | nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) |
|
#define | node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) |
|
#define | node_end_pfn(nid) |
|
#define | zone_idx(zone) ((zone) - (zone)->zone_pgdat->node_zones) |
|
#define | NUMA_ZONELIST_ORDER_LEN 16 /* string buffer size */ |
|
#define | NODE_DATA(nid) (&contig_page_data) |
|
#define | NODE_MEM_MAP(nid) mem_map |
|
#define | for_each_online_pgdat(pgdat) |
|
#define | for_each_zone(zone) |
|
#define | for_each_populated_zone(zone) |
|
#define | for_each_zone_zonelist_nodemask(zone, z, zlist, highidx, nodemask) |
|
#define | for_each_zone_zonelist(zone, z, zlist, highidx) for_each_zone_zonelist_nodemask(zone, z, zlist, highidx, NULL) |
|
#define | sparse_init() do {} while (0) |
|
#define | sparse_index_init(_sec, _nid) do {} while (0) |
|
#define | early_pfn_in_nid(pfn, nid) (1) |
|
#define | early_pfn_valid(pfn) (1) |
|
#define | pfn_valid_within(pfn) (1) |
|
|
void | build_all_zonelists (pg_data_t *pgdat, struct zone *zone) |
|
void | wakeup_kswapd (struct zone *zone, int order, enum zone_type classzone_idx) |
|
bool | zone_watermark_ok (struct zone *z, int order, unsigned long mark, int classzone_idx, int alloc_flags) |
|
bool | zone_watermark_ok_safe (struct zone *z, int order, unsigned long mark, int classzone_idx, int alloc_flags) |
|
int | init_currently_empty_zone (struct zone *zone, unsigned long start_pfn, unsigned long size, enum memmap_context context) |
|
void | lruvec_init (struct lruvec *lruvec) |
|
int | min_free_kbytes_sysctl_handler (struct ctl_table *, int, void __user *, size_t *, loff_t *) |
|
int | lowmem_reserve_ratio_sysctl_handler (struct ctl_table *, int, void __user *, size_t *, loff_t *) |
|
int | percpu_pagelist_fraction_sysctl_handler (struct ctl_table *, int, void __user *, size_t *, loff_t *) |
|
int | sysctl_min_unmapped_ratio_sysctl_handler (struct ctl_table *, int, void __user *, size_t *, loff_t *) |
|
int | sysctl_min_slab_ratio_sysctl_handler (struct ctl_table *, int, void __user *, size_t *, loff_t *) |
|
int | numa_zonelist_order_handler (struct ctl_table *, int, void __user *, size_t *, loff_t *) |
|
struct pglist_data * | first_online_pgdat (void) |
|
struct pglist_data * | next_online_pgdat (struct pglist_data *pgdat) |
|
struct zone * | next_zone (struct zone *zone) |
|
struct zoneref * | next_zones_zonelist (struct zoneref *z, enum zone_type highest_zoneidx, nodemask_t *nodes, struct zone **zone) |
|
unsigned long __init | node_memmap_size_bytes (int, unsigned long, unsigned long) |
|