Home
last modified time | relevance | path

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

12

/include/net/netfilter/
Dnf_conntrack_zones.h12 return &ct->zone; in nf_ct_zone()
19 nf_ct_zone_init(struct nf_conntrack_zone *zone, u16 id, u8 dir, u8 flags) in nf_ct_zone_init() argument
21 zone->id = id; in nf_ct_zone_init()
22 zone->flags = flags; in nf_ct_zone_init()
23 zone->dir = dir; in nf_ct_zone_init()
25 return zone; in nf_ct_zone_init()
36 if (tmpl->zone.flags & NF_CT_FLAG_MARK) in nf_ct_zone_tmpl()
37 return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0); in nf_ct_zone_tmpl()
43 const struct nf_conntrack_zone *zone) in nf_ct_zone_add() argument
46 ct->zone = *zone; in nf_ct_zone_add()
[all …]
Dnf_conntrack_count.h26 const struct nf_conntrack_zone *zone);
30 const struct nf_conntrack_zone *zone);
Dnf_conntrack_expect.h92 const struct nf_conntrack_zone *zone,
97 const struct nf_conntrack_zone *zone,
102 const struct nf_conntrack_zone *zone,
Dnf_conntrack_core.h49 const struct nf_conntrack_zone *zone,
/include/linux/
Dmemory_hotplug.h11 struct zone;
81 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
83 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
85 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
87 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
89 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument
91 write_seqlock(&zone->span_seqlock); in zone_span_writelock()
93 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument
95 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock()
97 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument
[all …]
Dvmstat.h52 static inline void zone_numa_event_add(long x, struct zone *zone, in zone_numa_event_add() argument
55 atomic_long_add(x, &zone->vm_numa_event[item]); in zone_numa_event_add()
59 static inline unsigned long zone_numa_event_state(struct zone *zone, in zone_numa_event_state() argument
62 return atomic_long_read(&zone->vm_numa_event[item]); in zone_numa_event_state()
72 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() argument
75 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
114 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() argument
117 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state()
131 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() argument
134 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
[all …]
Dpage-isolation.h6 static inline bool has_isolate_pageblock(struct zone *zone) in has_isolate_pageblock() argument
8 return zone->nr_isolate_pageblock; in has_isolate_pageblock()
19 static inline bool has_isolate_pageblock(struct zone *zone) in has_isolate_pageblock() argument
36 struct page *has_unmovable_pages(struct zone *zone, struct page *page,
39 int move_freepages_block(struct zone *zone, struct page *page,
Dmmzone.h708 struct zone { struct
901 static inline unsigned long zone_managed_pages(struct zone *zone) in zone_managed_pages() argument
903 return (unsigned long)atomic_long_read(&zone->managed_pages); in zone_managed_pages()
906 static inline unsigned long zone_cma_pages(struct zone *zone) in zone_cma_pages() argument
909 return zone->cma_pages; in zone_cma_pages()
915 static inline unsigned long zone_end_pfn(const struct zone *zone) in zone_end_pfn() argument
917 return zone->zone_start_pfn + zone->spanned_pages; in zone_end_pfn()
920 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() argument
922 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); in zone_spans_pfn()
925 static inline bool zone_is_initialized(struct zone *zone) in zone_is_initialized() argument
[all …]
Dcompaction.h92 extern unsigned int extfrag_for_order(struct zone *zone, unsigned int order);
93 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 compaction_defer_reset(struct zone *zone, int order,
191 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable() argument
Ddtpm.h16 struct powercap_zone zone; member
60 static inline struct dtpm *to_dtpm(struct powercap_zone *zone) in to_dtpm() argument
62 return container_of(zone, struct dtpm, zone); in to_dtpm()
Dmm_inline.h173 int zone = page_zonenum(page); in lru_gen_update_size() local
183 WRITE_ONCE(lrugen->nr_pages[old_gen][type][zone], in lru_gen_update_size()
184 lrugen->nr_pages[old_gen][type][zone] - delta); in lru_gen_update_size()
186 WRITE_ONCE(lrugen->nr_pages[new_gen][type][zone], in lru_gen_update_size()
187 lrugen->nr_pages[new_gen][type][zone] + delta); in lru_gen_update_size()
193 __update_lru_size(lruvec, lru, zone, delta); in lru_gen_update_size()
201 __update_lru_size(lruvec, lru, zone, -delta); in lru_gen_update_size()
207 __update_lru_size(lruvec, lru, zone, -delta); in lru_gen_update_size()
208 __update_lru_size(lruvec, lru + LRU_ACTIVE, zone, delta); in lru_gen_update_size()
221 int zone = page_zonenum(page); in lru_gen_add_page() local
[all …]
Dcpuset.h79 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
84 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
218 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
223 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
Dpstore_blk.h21 struct pstore_zone_info zone; member
Dpage_owner.h21 pg_data_t *pgdat, struct zone *zone);
Dmemblock.h273 void __next_mem_pfn_range_in_zone(u64 *idx, struct zone *zone,
290 #define for_each_free_mem_pfn_range_in_zone(i, zone, p_start, p_end) \ argument
292 __next_mem_pfn_range_in_zone(&i, zone, p_start, p_end); \
294 __next_mem_pfn_range_in_zone(&i, zone, p_start, p_end))
308 #define for_each_free_mem_pfn_range_in_zone_from(i, zone, p_start, p_end) \ argument
310 __next_mem_pfn_range_in_zone(&i, zone, p_start, p_end))
Dgfp.h663 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp);
664 void drain_all_pages(struct zone *zone);
665 void drain_local_pages(struct zone *zone);
/include/trace/events/
Dcompaction.h199 TP_PROTO(struct zone *zone,
203 TP_ARGS(zone, order, ret),
213 __entry->nid = zone_to_nid(zone);
214 __entry->idx = zone_idx(zone);
228 TP_PROTO(struct zone *zone,
232 TP_ARGS(zone, order, ret)
237 TP_PROTO(struct zone *zone,
241 TP_ARGS(zone, order, ret)
246 TP_PROTO(struct zone *zone, int order),
248 TP_ARGS(zone, order),
[all …]
/include/trace/hooks/
Dmm.h100 int migratetype, struct zone *preferred_zone, struct page **page, bool *should_alloc_retry),
104 TP_PROTO(bool force, struct zone *zone, bool *skip_unreserve_highatomic),
105 TP_ARGS(force, zone, skip_unreserve_highatomic));
187 TP_PROTO(struct zone *preferred_zone, struct zone *zone,
190 TP_ARGS(preferred_zone, zone, order,
202 TP_PROTO(struct page **page, struct zone *zone, int order, int migratetype),
203 TP_ARGS(page, zone, order, migratetype));
205 TP_PROTO(struct page *page, struct zone *zone, int order, int migratetype,
207 TP_ARGS(page, zone, order, migratetype, fpi_flags, bypass));
233 TP_PROTO(struct zone *zone, unsigned int order, struct page **page),
[all …]
/include/uapi/linux/netfilter/
Dxt_CT.h21 __u16 zone; member
32 __u16 zone; member
/include/uapi/linux/tc_act/
Dtc_connmark.h10 __u16 zone; member
/include/net/tc_act/
Dtc_connmark.h10 u16 zone; member
Dtc_ct.h14 u16 zone; member
46 return to_ct_params(a)->zone; in tcf_ct_zone()
Dtc_ctinfo.h13 u16 zone; member
/include/sound/sof/
Ddebug.h26 uint32_t zone; /**< see sof_ipc_dbg_mem_zone */ member
/include/uapi/linux/
Dtipc.h291 static inline __u32 tipc_addr(unsigned int zone, in tipc_addr() argument
295 return (zone << TIPC_ZONE_OFFSET) | in tipc_addr()

12