/include/linux/ |
D | memory_hotplug.h | 10 struct zone; 63 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument 65 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin() 67 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument 69 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry() 71 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument 73 write_seqlock(&zone->span_seqlock); in zone_span_writelock() 75 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument 77 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock() 79 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument [all …]
|
D | page-isolation.h | 5 static inline bool has_isolate_pageblock(struct zone *zone) in has_isolate_pageblock() argument 7 return zone->nr_isolate_pageblock; in has_isolate_pageblock() 18 static inline bool has_isolate_pageblock(struct zone *zone) in has_isolate_pageblock() argument 32 bool has_unmovable_pages(struct zone *zone, struct page *page, int count, 35 int move_freepages_block(struct zone *zone, struct page *page, 37 int move_freepages(struct zone *zone,
|
D | compaction.h | 94 extern int fragmentation_index(struct zone *zone, unsigned int order); 99 extern enum compact_result compaction_suitable(struct zone *zone, int order, 102 extern void defer_compaction(struct zone *zone, int order); 103 extern bool compaction_deferred(struct zone *zone, int order); 104 extern void compaction_defer_reset(struct zone *zone, int order, 106 extern bool compaction_restarting(struct zone *zone, int order); 185 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable() argument 191 static inline void defer_compaction(struct zone *zone, int order) in defer_compaction() argument 195 static inline bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() argument
|
D | mmzone.h | 347 struct zone { struct 512 static inline unsigned long zone_end_pfn(const struct zone *zone) in zone_end_pfn() argument 514 return zone->zone_start_pfn + zone->spanned_pages; in zone_end_pfn() 517 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() argument 519 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); in zone_spans_pfn() 522 static inline bool zone_is_initialized(struct zone *zone) in zone_is_initialized() argument 524 return zone->initialized; in zone_is_initialized() 527 static inline bool zone_is_empty(struct zone *zone) in zone_is_empty() argument 529 return zone->spanned_pages == 0; in zone_is_empty() 559 struct zone *zone; /* Pointer to actual zone */ member [all …]
|
D | vmstat.h | 113 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() argument 116 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add() 147 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() argument 150 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state() 164 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() argument 167 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot() 172 x += per_cpu_ptr(zone->pageset, cpu)->vm_stat_diff[item]; in zone_page_state_snapshot() 213 void __mod_zone_page_state(struct zone *, enum zone_stat_item item, long); 221 void mod_zone_page_state(struct zone *, enum zone_stat_item, long); 230 extern void __inc_zone_state(struct zone *, enum zone_stat_item); [all …]
|
D | cpuset.h | 77 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 82 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed() 210 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 215 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
|
D | page_owner.h | 18 pg_data_t *pgdat, struct zone *zone);
|
D | gfp.h | 517 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp); 518 void drain_all_pages(struct zone *zone); 519 void drain_local_pages(void *zone);
|
D | suspend.h | 299 extern void mark_free_pages(struct zone *zone);
|
D | swap.h | 118 struct zone; 316 extern unsigned long zone_reclaimable_pages(struct zone *zone);
|
D | mm.h | 808 static inline int zone_to_nid(struct zone *zone) in zone_to_nid() argument 811 return zone->node; in zone_to_nid() 936 static inline struct zone *page_zone(const struct page *page) in page_zone() 959 static inline void set_page_zone(struct page *page, enum zone_type zone) in set_page_zone() argument 962 page->flags |= (zone & ZONES_MASK) << ZONES_PGSHIFT; in set_page_zone() 971 static inline void set_page_links(struct page *page, enum zone_type zone, in set_page_links() argument 974 set_page_zone(page, zone); in set_page_links() 1913 extern void zone_pcp_update(struct zone *zone); 1914 extern void zone_pcp_reset(struct zone *zone);
|
/include/net/netfilter/ |
D | nf_conntrack_zones.h | 13 return &ct->zone; in nf_ct_zone() 20 nf_ct_zone_init(struct nf_conntrack_zone *zone, u16 id, u8 dir, u8 flags) in nf_ct_zone_init() argument 22 zone->id = id; in nf_ct_zone_init() 23 zone->flags = flags; in nf_ct_zone_init() 24 zone->dir = dir; in nf_ct_zone_init() 26 return zone; in nf_ct_zone_init() 37 if (tmpl->zone.flags & NF_CT_FLAG_MARK) in nf_ct_zone_tmpl() 38 return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0); in nf_ct_zone_tmpl() 44 const struct nf_conntrack_zone *zone) in nf_ct_zone_add() argument 47 ct->zone = *zone; in nf_ct_zone_add() [all …]
|
D | nf_conntrack_expect.h | 83 const struct nf_conntrack_zone *zone, 88 const struct nf_conntrack_zone *zone, 93 const struct nf_conntrack_zone *zone,
|
D | nf_conntrack.h | 88 struct nf_conntrack_zone zone; member 253 const struct nf_conntrack_zone *zone, 335 const struct nf_conntrack_zone *zone,
|
D | nf_conntrack_core.h | 57 const struct nf_conntrack_zone *zone,
|
/include/trace/events/ |
D | compaction.h | 253 TP_PROTO(struct zone *zone, 257 TP_ARGS(zone, order, ret), 267 __entry->nid = zone_to_nid(zone); 268 __entry->idx = zone_idx(zone); 282 TP_PROTO(struct zone *zone, 286 TP_ARGS(zone, order, ret) 291 TP_PROTO(struct zone *zone, 295 TP_ARGS(zone, order, ret) 301 TP_PROTO(struct zone *zone, int order), 303 TP_ARGS(zone, order), [all …]
|
/include/uapi/linux/netfilter/ |
D | xt_CT.h | 20 __u16 zone; member 31 __u16 zone; member
|
/include/net/tc_act/ |
D | tc_connmark.h | 9 u16 zone; member
|
/include/uapi/linux/tc_act/ |
D | tc_connmark.h | 11 __u16 zone; member
|
/include/uapi/linux/ |
D | tipc.h | 83 static inline __u32 tipc_addr(unsigned int zone, in tipc_addr() argument 87 return (zone << TIPC_ZONE_OFFSET) | in tipc_addr()
|
/include/sound/ |
D | emux_synth.h | 183 struct snd_sf_zone *zone; /* Zone assigned to this note */ member
|