Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 30) 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.h76 struct nf_conntrack_zone zone; member
240 const struct nf_conntrack_zone *zone,
317 const struct nf_conntrack_zone *zone,
Dnf_conntrack_core.h50 const struct nf_conntrack_zone *zone,
/include/linux/
Dmemory_hotplug.h11 struct zone;
73 static inline unsigned zone_span_seqbegin(struct zone *zone) in zone_span_seqbegin() argument
75 return read_seqbegin(&zone->span_seqlock); in zone_span_seqbegin()
77 static inline int zone_span_seqretry(struct zone *zone, unsigned iv) in zone_span_seqretry() argument
79 return read_seqretry(&zone->span_seqlock, iv); in zone_span_seqretry()
81 static inline void zone_span_writelock(struct zone *zone) in zone_span_writelock() argument
83 write_seqlock(&zone->span_seqlock); in zone_span_writelock()
85 static inline void zone_span_writeunlock(struct zone *zone) in zone_span_writeunlock() argument
87 write_sequnlock(&zone->span_seqlock); in zone_span_writeunlock()
89 static inline void zone_seqlock_init(struct zone *zone) in zone_seqlock_init() argument
[all …]
Dcompaction.h93 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);
192 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable() argument
198 static inline void defer_compaction(struct zone *zone, int order) in defer_compaction() argument
202 static inline bool compaction_deferred(struct zone *zone, int order) in compaction_deferred() argument
Dvmstat.h136 static inline void zone_numa_state_add(long x, struct zone *zone, in zone_numa_state_add() argument
139 atomic_long_add(x, &zone->vm_numa_stat[item]); in zone_numa_state_add()
150 static inline unsigned long zone_numa_state_snapshot(struct zone *zone, in zone_numa_state_snapshot() argument
153 long x = atomic_long_read(&zone->vm_numa_stat[item]); in zone_numa_state_snapshot()
157 x += per_cpu_ptr(zone->pageset, cpu)->vm_numa_stat_diff[item]; in zone_numa_state_snapshot()
163 static inline void zone_page_state_add(long x, struct zone *zone, in zone_page_state_add() argument
166 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
197 static inline unsigned long zone_page_state(struct zone *zone, in zone_page_state() argument
200 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state()
214 static inline unsigned long zone_page_state_snapshot(struct zone *zone, in zone_page_state_snapshot() argument
[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 bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
39 int move_freepages_block(struct zone *zone, struct page *page,
Dmmzone.h423 struct zone { struct
601 static inline unsigned long zone_managed_pages(struct zone *zone) in zone_managed_pages() argument
603 return (unsigned long)atomic_long_read(&zone->managed_pages); in zone_managed_pages()
606 static inline unsigned long zone_end_pfn(const struct zone *zone) in zone_end_pfn() argument
608 return zone->zone_start_pfn + zone->spanned_pages; in zone_end_pfn()
611 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() argument
613 return zone->zone_start_pfn <= pfn && pfn < zone_end_pfn(zone); in zone_spans_pfn()
616 static inline bool zone_is_initialized(struct zone *zone) in zone_is_initialized() argument
618 return zone->initialized; in zone_is_initialized()
621 static inline bool zone_is_empty(struct zone *zone) in zone_is_empty() argument
[all …]
Dcpuset.h74 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
79 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
207 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
212 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
Dpage_owner.h19 pg_data_t *pgdat, struct zone *zone);
Dmemblock.h241 void __next_mem_pfn_range_in_zone(u64 *idx, struct zone *zone,
258 #define for_each_free_mem_pfn_range_in_zone(i, zone, p_start, p_end) \ argument
260 __next_mem_pfn_range_in_zone(&i, zone, p_start, p_end); \
262 __next_mem_pfn_range_in_zone(&i, zone, p_start, p_end))
276 #define for_each_free_mem_pfn_range_in_zone_from(i, zone, p_start, p_end) \ argument
278 __next_mem_pfn_range_in_zone(&i, zone, p_start, p_end))
Dgfp.h588 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp);
589 void drain_all_pages(struct zone *zone);
590 void drain_local_pages(struct zone *zone);
Dsuspend.h362 extern void mark_free_pages(struct zone *zone);
Dswap.h140 struct zone;
351 extern unsigned long zone_reclaimable_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/uapi/linux/netfilter/
Dxt_CT.h21 __u16 zone; member
32 __u16 zone; member
/include/net/tc_act/
Dtc_ct.h14 u16 zone; member
41 return to_ct_params(a)->zone; in tcf_ct_zone()
Dtc_connmark.h10 u16 zone; member
Dtc_ctinfo.h13 u16 zone; member
/include/uapi/linux/tc_act/
Dtc_connmark.h10 __u16 zone; member
/include/uapi/linux/
Dtipc.h267 static inline __u32 tipc_addr(unsigned int zone, in tipc_addr() argument
271 return (zone << TIPC_ZONE_OFFSET) | in tipc_addr()
/include/sound/
Demux_synth.h168 struct snd_sf_zone *zone; /* Zone assigned to this note */ member
/include/soc/tegra/
Dbpmp-abi.h1504 uint32_t zone; member
1529 uint32_t zone; member
1541 uint32_t zone; member

12