Home
last modified time | relevance | path

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

/include/linux/
Dcompaction.h32 extern int fragmentation_index(struct zone *zone, unsigned int order);
36 struct zone **candidate_zone);
39 extern unsigned long compaction_suitable(struct zone *zone, int order);
49 static inline void defer_compaction(struct zone *zone, int order) in defer_compaction() argument
51 zone->compact_considered = 0; in defer_compaction()
52 zone->compact_defer_shift++; in defer_compaction()
54 if (order < zone->compact_order_failed) in defer_compaction()
55 zone->compact_order_failed = order; in defer_compaction()
57 if (zone->compact_defer_shift > COMPACT_MAX_DEFER_SHIFT) in defer_compaction()
58 zone->compact_defer_shift = COMPACT_MAX_DEFER_SHIFT; in defer_compaction()
[all …]
Dmemory_hotplug.h10 struct zone;
62 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
64 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
66 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
68 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
70 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument
72 write_seqlock(&zone->span_seqlock); in zone_span_writelock()
74 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument
76 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock()
78 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument
[all …]
Dvmstat.h104 #define __count_zone_vm_events(item, zone, delta) \ argument
106 zone_idx(zone), delta)
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()
130 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() argument
133 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state()
147 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() argument
150 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
155 x += per_cpu_ptr(zone->pageset, cpu)->vm_stat_diff[item]; in zone_page_state_snapshot()
172 struct zone *zones = NODE_DATA(node)->node_zones; in node_page_state()
[all …]
Dpage-isolation.h5 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,
Dmmzone.h222 struct zone *zone; member
329 struct zone { struct
551 static inline unsigned long zone_end_pfn(const struct zone *zone) in zone_end_pfn() argument
553 return zone->zone_start_pfn + zone->spanned_pages; in zone_end_pfn()
556 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() argument
558 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); in zone_spans_pfn()
561 static inline bool zone_is_initialized(struct zone *zone) in zone_is_initialized() argument
563 return !!zone->wait_table; in zone_is_initialized()
566 static inline bool zone_is_empty(struct zone *zone) in zone_is_empty() argument
568 return zone->spanned_pages == 0; in zone_is_empty()
[all …]
Dmemcontrol.h51 struct zone *zone; member
68 struct lruvec *mem_cgroup_zone_lruvec(struct zone *, struct mem_cgroup *);
69 struct lruvec *mem_cgroup_page_lruvec(struct page *, struct zone *);
161 unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order,
217 static inline struct lruvec *mem_cgroup_zone_lruvec(struct zone *zone, in mem_cgroup_zone_lruvec() argument
220 return &zone->lruvec; in mem_cgroup_zone_lruvec()
224 struct zone *zone) in mem_cgroup_page_lruvec() argument
226 return &zone->lruvec; in mem_cgroup_page_lruvec()
333 unsigned long mem_cgroup_soft_limit_reclaim(struct zone *zone, int order, in mem_cgroup_soft_limit_reclaim() argument
Dcpuset.h66 static inline int cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_softwall()
71 static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall()
192 static inline int cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_softwall()
197 static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall()
Dwriteback.h122 bool zone_dirty_ok(struct zone *zone);
Dswap.h126 struct zone;
336 struct zone *zone,
347 extern int zone_reclaim(struct zone *, gfp_t, unsigned int);
350 static inline int zone_reclaim(struct zone *z, gfp_t mask, unsigned int order) in zone_reclaim()
Dsuspend.h262 extern void mark_free_pages(struct zone *zone);
Dbacking-dev.h307 long wait_iff_congested(struct zone *zone, int sync, long timeout);
Dmm.h768 static inline int zone_to_nid(struct zone *zone) in zone_to_nid() argument
771 return zone->node; in zone_to_nid()
899 static inline struct zone *page_zone(const struct page *page) in page_zone()
917 static inline void set_page_zone(struct page *page, enum zone_type zone) in set_page_zone() argument
920 page->flags |= (zone & ZONES_MASK) << ZONES_PGSHIFT; in set_page_zone()
929 static inline void set_page_links(struct page *page, enum zone_type zone, in set_page_links() argument
932 set_page_zone(page, zone); in set_page_links()
1727 extern void zone_pcp_update(struct zone *zone);
1728 extern void zone_pcp_reset(struct zone *zone);
Dgfp.h383 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp);
/include/uapi/linux/netfilter/
Dxt_CT.h14 __u16 zone; member
25 __u16 zone; member
/include/net/netfilter/
Dnf_conntrack_expect.h79 __nf_ct_expect_find(struct net *net, u16 zone,
83 nf_ct_expect_find_get(struct net *net, u16 zone,
87 nf_ct_find_expectation(struct net *net, u16 zone,
Dnf_conntrack_core.h55 nf_conntrack_find_get(struct net *net, u16 zone,
Dnf_conntrack.h185 __nf_conntrack_find(struct net *net, u16 zone,
254 struct nf_conn *nf_conntrack_alloc(struct net *net, u16 zone,
/include/uapi/linux/
Dtipc.h63 static inline __u32 tipc_addr(unsigned int zone, in tipc_addr() argument
67 return (zone << 24) | (cluster << 12) | node; in tipc_addr()
/include/sound/
Demux_synth.h183 struct snd_sf_zone *zone; /* Zone assigned to this note */ member