/linux-2.6.39/include/linux/ |
D | mmzone.h | 283 struct zone { struct 299 * GB of ram we must reserve some of the lower zone memory (otherwise we risk argument 309 * zone reclaim becomes active if more unmapped pages exist. argument 311 unsigned long min_unmapped_pages; 312 unsigned long min_slab_pages; 314 struct per_cpu_pageset __percpu *pageset; 318 spinlock_t lock; 319 int all_unreclaimable; /* All pages pinned */ 322 seqlock_t span_seqlock; 324 struct free_area free_area[MAX_ORDER]; [all …]
|
D | compaction.h | 38 static inline void defer_compaction(struct zone *zone) in defer_compaction() 48 static inline bool compaction_deferred(struct zone *zone) in compaction_deferred() 67 static inline unsigned long compaction_suitable(struct zone *zone, int order) in compaction_suitable() 72 static inline unsigned long compact_zone_order(struct zone *zone, int order, in compact_zone_order() 78 static inline void defer_compaction(struct zone *zone) in defer_compaction() 82 static inline bool compaction_deferred(struct zone *zone) in compaction_deferred()
|
D | memory_hotplug.h | 48 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() 52 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() 56 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() 60 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() 64 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() 185 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() 189 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() 193 static inline void zone_span_writelock(struct zone *zone) {} in zone_span_writelock() 194 static inline void zone_span_writeunlock(struct zone *zone) {} in zone_span_writeunlock() 195 static inline void zone_seqlock_init(struct zone *zone) {} in zone_seqlock_init()
|
D | mm_inline.h | 25 __add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list l, in __add_page_to_lru_list() 34 add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list l) in add_page_to_lru_list() 40 del_page_from_lru_list(struct zone *zone, struct page *page, enum lru_list l) in del_page_from_lru_list() 63 del_page_from_lru(struct zone *zone, struct page *page) in del_page_from_lru()
|
D | vmstat.h | 143 #define __count_zone_vm_events(item, zone, delta) \ argument 152 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() 169 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() 186 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() 242 static inline void zap_zone_vm_stats(struct zone *zone) in zap_zone_vm_stats() 275 static inline void __mod_zone_page_state(struct zone *zone, in __mod_zone_page_state() 281 static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state() 293 static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state()
|
/linux-2.6.39/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 74 struct ttm_mem_zone *zone = in ttm_mem_zone_kobj_release() local 87 struct ttm_mem_zone *zone = in ttm_mem_zone_show() local 115 struct ttm_mem_zone *zone = in ttm_mem_zone_store() local 184 struct ttm_mem_zone *zone; in ttm_zones_above_swap_target() local 247 struct ttm_mem_zone *zone = kzalloc(sizeof(*zone), GFP_KERNEL); in ttm_mem_init_kernel_zone() local 279 struct ttm_mem_zone *zone; in ttm_mem_init_highmem_zone() local 314 struct ttm_mem_zone *zone = kzalloc(sizeof(*zone), GFP_KERNEL); in ttm_mem_init_dma32_zone() local 364 struct ttm_mem_zone *zone; in ttm_mem_global_init() local 408 struct ttm_mem_zone *zone; in ttm_mem_global_release() local 430 struct ttm_mem_zone *zone; in ttm_check_swapping() local [all …]
|
/linux-2.6.39/mm/ |
D | vmstat.c | 86 int calculate_pressure_threshold(struct zone *zone) in calculate_pressure_threshold() 110 int calculate_normal_threshold(struct zone *zone) in calculate_normal_threshold() 162 struct zone *zone; in refresh_zone_stat_thresholds() local 189 int (*calculate_pressure)(struct zone *)) in set_pgdat_percpu_threshold() 191 struct zone *zone; in set_pgdat_percpu_threshold() local 211 void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in __mod_zone_page_state() 254 void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state() 276 void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state() 311 static inline void mod_state(struct zone *zone, in mod_state() 349 void mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in mod_zone_page_state() [all …]
|
D | vmscan.c | 162 static struct zone_reclaim_stat *get_reclaim_stat(struct zone *zone, in get_reclaim_stat() 171 static unsigned long zone_nr_lru_pages(struct zone *zone, in zone_nr_lru_pages() 706 struct zone *zone, in shrink_page_list() 1205 struct zone *zone = page_zone(page); in isolate_lru_page() local 1223 static int too_many_isolated(struct zone *zone, int file, in too_many_isolated() 1249 putback_lru_pages(struct zone *zone, struct scan_control *sc, in putback_lru_pages() 1295 static noinline_for_stack void update_isolated_counts(struct zone *zone, in update_isolated_counts() 1372 shrink_inactive_list(unsigned long nr_to_scan, struct zone *zone, in shrink_inactive_list() 1470 static void move_active_pages_to_lru(struct zone *zone, in move_active_pages_to_lru() 1503 static void shrink_active_list(unsigned long nr_pages, struct zone *zone, in shrink_active_list() [all …]
|
D | compaction.c | 44 struct zone *zone; member 62 static unsigned long isolate_freepages_block(struct zone *zone, in isolate_freepages_block() 138 static void isolate_freepages(struct zone *zone, in isolate_freepages() 212 static void acct_isolated(struct zone *zone, struct compact_control *cc) in acct_isolated() 229 static bool too_many_isolated(struct zone *zone) in too_many_isolated() 247 static unsigned long isolate_migratepages(struct zone *zone, in isolate_migratepages() 410 static int compact_finished(struct zone *zone, in compact_finished() 458 unsigned long compaction_suitable(struct zone *zone, int order) in compaction_suitable() 499 static int compact_zone(struct zone *zone, struct compact_control *cc) in compact_zone() 557 unsigned long compact_zone_order(struct zone *zone, in compact_zone_order() [all …]
|
D | swap.c | 52 struct zone *zone = page_zone(page); in __page_cache_release() local 187 struct zone *zone = NULL; in pagevec_lru_move_fn() local 212 struct zone *zone = page_zone(page); in pagevec_move_tail_fn() local 255 static void update_page_reclaim_stat(struct zone *zone, struct page *page, in update_page_reclaim_stat() 280 struct zone *zone = page_zone(page); in activate_page() local 360 struct zone *zone = page_zone(page); in add_page_to_unevictable_list() local 394 struct zone *zone = page_zone(page); in lru_deactivate_fn() local 524 struct zone *zone = NULL; in release_pages() local 594 void lru_add_page_tail(struct zone* zone, in lru_add_page_tail() 633 struct zone *zone = page_zone(page); in ____pagevec_lru_add_fn() local
|
D | page_alloc.c | 237 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries() 254 static int page_is_consistent(struct zone *zone, struct page *page) in page_is_consistent() 266 static int bad_range(struct zone *zone, struct page *page) in bad_range() 276 static inline int bad_range(struct zone *zone, struct page *page) in bad_range() 491 struct zone *zone, unsigned int order, in __free_one_page() 590 static void free_pcppages_bulk(struct zone *zone, int count, in free_pcppages_bulk() 636 static void free_one_page(struct zone *zone, struct page *page, int order, in free_one_page() 734 static inline void expand(struct zone *zone, struct page *page, in expand() 797 struct page *__rmqueue_smallest(struct zone *zone, unsigned int order, in __rmqueue_smallest() 839 static int move_freepages(struct zone *zone, in move_freepages() [all …]
|
D | mmzone.c | 30 struct zone *next_zone(struct zone *zone) in next_zone() 59 struct zone **zone) in next_zones_zonelist() 79 struct page *page, struct zone *zone) in memmap_valid_within()
|
D | memory_hotplug.c | 155 struct zone *zone; in register_page_bootmem_info_node() local 186 static void grow_zone_span(struct zone *zone, unsigned long start_pfn, in grow_zone_span() 216 static int __meminit __add_zone(struct zone *zone, unsigned long phys_start_pfn) in __add_zone() 243 static int __meminit __add_section(int nid, struct zone *zone, in __add_section() 266 static int __remove_section(struct zone *zone, struct mem_section *ms) in __remove_section() 275 static int __remove_section(struct zone *zone, struct mem_section *ms) in __remove_section() 301 int __ref __add_pages(int nid, struct zone *zone, unsigned long phys_start_pfn, in __add_pages() 339 int __remove_pages(struct zone *zone, unsigned long phys_start_pfn, in __remove_pages() 406 struct zone *zone; in online_pages() local 648 struct zone *zone = NULL; in test_pages_in_a_zone() local [all …]
|
D | oom_kill.c | 216 struct zone *zone; in constrained_alloc() local 577 struct zone *zone; in try_set_zonelist_oom() local 610 struct zone *zone; in clear_zonelist_oom() local 626 struct zone *zone; in try_set_system_oom() local 648 struct zone *zone; in clear_system_oom() local
|
D | mm_init.c | 31 struct zone *zone; in mminit_verify_zonelist() local 124 void __meminit mminit_verify_page_links(struct page *page, enum zone_type zone, in mminit_verify_page_links()
|
/linux-2.6.39/drivers/mtd/ |
D | sm_ftl.c | 198 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset() 213 int *zone, int *block, int *boffset) in sm_break_offset() 240 int zone, int block, int boffset, in sm_read_sector() 322 int zone, int block, int boffset, in sm_write_sector() 370 int zone, int block, int lba, in sm_write_block() 432 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad() 462 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block() local 514 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block() 764 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone() local 884 struct ftl_zone *zone; in sm_get_zone() local [all …]
|
/linux-2.6.39/virt/kvm/ |
D | coalesced_mmio.c | 27 struct kvm_coalesced_mmio_zone *zone; in coalesced_mmio_in_range() local 140 struct kvm_coalesced_mmio_zone *zone) in kvm_vm_ioctl_register_coalesced_mmio() 161 struct kvm_coalesced_mmio_zone *zone) in kvm_vm_ioctl_unregister_coalesced_mmio()
|
/linux-2.6.39/net/netfilter/ |
D | nf_conntrack_core.c | 71 static u32 hash_conntrack_raw(const struct nf_conntrack_tuple *tuple, u16 zone) in hash_conntrack_raw() 96 u16 zone, unsigned int size) in __hash_conntrack() 101 static inline u_int32_t hash_conntrack(const struct net *net, u16 zone, in hash_conntrack() 312 ____nf_conntrack_find(struct net *net, u16 zone, in ____nf_conntrack_find() 348 __nf_conntrack_find(struct net *net, u16 zone, in __nf_conntrack_find() 358 __nf_conntrack_find_get(struct net *net, u16 zone, in __nf_conntrack_find_get() 386 nf_conntrack_find_get(struct net *net, u16 zone, in nf_conntrack_find_get() 410 u16 zone; in nf_conntrack_hash_insert() local 432 u16 zone; in __nf_conntrack_confirm() local 540 u16 zone = nf_ct_zone(ignored_conntrack); in nf_conntrack_tuple_taken() local [all …]
|
D | nf_conntrack_netlink.c | 842 ctnetlink_parse_zone(const struct nlattr *attr, u16 *zone) in ctnetlink_parse_zone() 901 u16 zone; in ctnetlink_del_conntrack() local 968 u16 zone; in ctnetlink_get_conntrack() local 1328 ctnetlink_create_conntrack(struct net *net, u16 zone, in ctnetlink_create_conntrack() 1482 u16 zone; in ctnetlink_new_conntrack() local 1837 u16 zone; in ctnetlink_get_expect() local 1905 u16 zone; in ctnetlink_del_expect() local 1991 ctnetlink_create_expect(struct net *net, u16 zone, in ctnetlink_create_expect() 2072 u16 zone; in ctnetlink_new_expect() local
|
/linux-2.6.39/fs/adfs/ |
D | map.c | 192 scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() 235 unsigned int zone; in adfs_map_free() local 252 unsigned int zone, mapoff; in adfs_map_lookup() local
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | kmem.h | 103 kmem_zone_free(kmem_zone_t *zone, void *ptr) in kmem_zone_free() 109 kmem_zone_destroy(kmem_zone_t *zone) in kmem_zone_destroy()
|
D | kmem.c | 105 kmem_zone_alloc(kmem_zone_t *zone, unsigned int __nocast flags) in kmem_zone_alloc() 124 kmem_zone_zalloc(kmem_zone_t *zone, unsigned int __nocast flags) in kmem_zone_zalloc()
|
/linux-2.6.39/kernel/power/ |
D | snapshot.c | 334 struct zone *zone; in create_mem_extents() local 798 unsigned int snapshot_additional_pages(struct zone *zone) in snapshot_additional_pages() 815 struct zone *zone; in count_free_highmem_pages() local 832 static struct page *saveable_highmem_page(struct zone *zone, unsigned long pfn) in saveable_highmem_page() 859 struct zone *zone; in count_highmem_pages() local 891 static struct page *saveable_page(struct zone *zone, unsigned long pfn) in saveable_page() 921 struct zone *zone; in count_data_pages() local 970 page_is_saveable(struct zone *zone, unsigned long pfn) in page_is_saveable() 1004 #define page_is_saveable(zone, pfn) saveable_page(zone, pfn) argument 1016 struct zone *zone; in copy_data_pages() local [all …]
|
/linux-2.6.39/drivers/uwb/ |
D | drp-ie.c | 269 void uwb_drp_ie_single_zone_to_bm(struct uwb_mas_bm *bm, u8 zone, u16 mas_bm) in uwb_drp_ie_single_zone_to_bm() 302 u8 zone; in uwb_drp_ie_to_bm() local
|
/linux-2.6.39/net/ipv4/netfilter/ |
D | nf_nat_core.c | 52 hash_by_src(const struct net *net, u16 zone, in hash_by_src() 123 find_appropriate_src(struct net *net, u16 zone, in find_appropriate_src() 159 find_best_ips_proto(u16 zone, struct nf_conntrack_tuple *tuple, in find_best_ips_proto() 213 u16 zone = nf_ct_zone(ct); in get_unique_tuple() local
|