Lines Matching defs:folio
87 static inline int folio_ref_count(const struct folio *folio) in folio_ref_count()
104 static inline void folio_set_count(struct folio *folio, int v) in folio_set_count()
125 static inline void folio_ref_add(struct folio *folio, int nr) in folio_ref_add()
137 static inline void folio_ref_sub(struct folio *folio, int nr) in folio_ref_sub()
151 static inline int folio_ref_sub_return(struct folio *folio, int nr) in folio_ref_sub_return()
163 static inline void folio_ref_inc(struct folio *folio) in folio_ref_inc()
175 static inline void folio_ref_dec(struct folio *folio) in folio_ref_dec()
189 static inline int folio_ref_sub_and_test(struct folio *folio, int nr) in folio_ref_sub_and_test()
203 static inline int folio_ref_inc_return(struct folio *folio) in folio_ref_inc_return()
217 static inline int folio_ref_dec_and_test(struct folio *folio) in folio_ref_dec_and_test()
231 static inline int folio_ref_dec_return(struct folio *folio) in folio_ref_dec_return()
245 static inline bool folio_ref_add_unless(struct folio *folio, int nr, int u) in folio_ref_add_unless()
261 static inline bool folio_try_get(struct folio *folio) in folio_try_get()
266 static inline bool folio_ref_try_add_rcu(struct folio *folio, int count) in folio_ref_try_add_rcu()
311 static inline bool folio_try_get_rcu(struct folio *folio) in folio_try_get_rcu()
325 static inline int folio_ref_freeze(struct folio *folio, int count) in folio_ref_freeze()
340 static inline void folio_ref_unfreeze(struct folio *folio, int count) in folio_ref_unfreeze()