Home
last modified time | relevance | path

Searched refs:in_thrashing (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/include/linux/
Ddelayacct.h76 extern void __delayacct_thrashing_start(bool *in_thrashing);
77 extern void __delayacct_thrashing_end(bool *in_thrashing);
146 static inline void delayacct_thrashing_start(bool *in_thrashing) in delayacct_thrashing_start() argument
152 __delayacct_thrashing_start(in_thrashing); in delayacct_thrashing_start()
155 static inline void delayacct_thrashing_end(bool *in_thrashing) in delayacct_thrashing_end() argument
161 __delayacct_thrashing_end(in_thrashing); in delayacct_thrashing_end()
240 static inline void delayacct_thrashing_start(bool *in_thrashing) in delayacct_thrashing_start() argument
242 static inline void delayacct_thrashing_end(bool *in_thrashing) in delayacct_thrashing_end() argument
Dsched.h960 unsigned in_thrashing:1; member
/Linux-v6.1/kernel/
Ddelayacct.c217 void __delayacct_thrashing_start(bool *in_thrashing) in __delayacct_thrashing_start() argument
219 *in_thrashing = !!current->in_thrashing; in __delayacct_thrashing_start()
220 if (*in_thrashing) in __delayacct_thrashing_start()
223 current->in_thrashing = 1; in __delayacct_thrashing_start()
227 void __delayacct_thrashing_end(bool *in_thrashing) in __delayacct_thrashing_end() argument
229 if (*in_thrashing) in __delayacct_thrashing_end()
232 current->in_thrashing = 0; in __delayacct_thrashing_end()
/Linux-v6.1/mm/
Dpage_io.c456 bool in_thrashing; in swap_readpage() local
468 delayacct_thrashing_start(&in_thrashing); in swap_readpage()
520 delayacct_thrashing_end(&in_thrashing); in swap_readpage()
Dfilemap.c1226 bool in_thrashing; in folio_wait_bit_common() local
1230 delayacct_thrashing_start(&in_thrashing); in folio_wait_bit_common()
1330 delayacct_thrashing_end(&in_thrashing); in folio_wait_bit_common()
1379 bool in_thrashing; in migration_entry_wait_on_locked() local
1385 delayacct_thrashing_start(&in_thrashing); in migration_entry_wait_on_locked()
1432 delayacct_thrashing_end(&in_thrashing); in migration_entry_wait_on_locked()