Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Ddelayacct.h79 extern void __delayacct_thrashing_start(bool *in_thrashing);
80 extern void __delayacct_thrashing_end(bool *in_thrashing);
150 static inline void delayacct_thrashing_start(bool *in_thrashing) in delayacct_thrashing_start() argument
156 __delayacct_thrashing_start(in_thrashing); in delayacct_thrashing_start()
159 static inline void delayacct_thrashing_end(bool *in_thrashing) in delayacct_thrashing_end() argument
165 __delayacct_thrashing_end(in_thrashing); in delayacct_thrashing_end()
253 static inline void delayacct_thrashing_start(bool *in_thrashing) in delayacct_thrashing_start() argument
255 static inline void delayacct_thrashing_end(bool *in_thrashing) in delayacct_thrashing_end() argument
Dsched.h960 unsigned in_thrashing:1; member
/linux-6.6.21/kernel/
Ddelayacct.c220 void __delayacct_thrashing_start(bool *in_thrashing) in __delayacct_thrashing_start() argument
222 *in_thrashing = !!current->in_thrashing; in __delayacct_thrashing_start()
223 if (*in_thrashing) in __delayacct_thrashing_start()
226 current->in_thrashing = 1; in __delayacct_thrashing_start()
230 void __delayacct_thrashing_end(bool *in_thrashing) in __delayacct_thrashing_end() argument
232 if (*in_thrashing) in __delayacct_thrashing_end()
235 current->in_thrashing = 0; in __delayacct_thrashing_end()
/linux-6.6.21/mm/
Dpage_io.c499 bool in_thrashing; in swap_readpage() local
511 delayacct_thrashing_start(&in_thrashing); in swap_readpage()
528 delayacct_thrashing_end(&in_thrashing); in swap_readpage()
Dfilemap.c1231 bool in_thrashing; in folio_wait_bit_common() local
1235 delayacct_thrashing_start(&in_thrashing); in folio_wait_bit_common()
1335 delayacct_thrashing_end(&in_thrashing); in folio_wait_bit_common()
1382 bool in_thrashing; in migration_entry_wait_on_locked() local
1388 delayacct_thrashing_start(&in_thrashing); in migration_entry_wait_on_locked()
1432 delayacct_thrashing_end(&in_thrashing); in migration_entry_wait_on_locked()