Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\freezer.h Create Date:2022-07-28 05:57:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:freezing

Proto:static inline bool freezing(struct task_struct *p)

Type:bool

Parameter:

TypeParameterName
struct task_struct *p
262  Return false
Caller
NameDescribe
recalc_sigpending
kthread_freezable_should_stopkthread_freezable_should_stop - should this freezable kthread return now?*@was_frozen: optional out parameter, indicates whether %current was frozen* kthread_should_stop() for freezable kthreads, which will enter* refrigerator if necessary
kthread_worker_fnkthread_worker_fn - kthread function to process kthread_worker*@worker_ptr: pointer to initialized kthread_worker* This function implements the main cycle of kthread worker. It processes* work_list until it is stopped with kthread_stop()
try_to_freeze_tasks
__refrigeratorRefrigerator is place where frozen processes are stored :-).
freeze_taskze_task - send a freeze request to given task*@p: task to send the request to* If @p is freezing, the freeze request is sent either by sending a fake* signal (if it's not a kernel thread) or waking it up (if it's a kernel* thread)
update_if_frozenpdate_if_frozen - update whether a cgroup finished freezing*@css: css of interest* Once FREEZING is initiated, transition to FROZEN is lazily updated by* calling this function
kswapd_try_to_sleep
ksm_do_scanksm_do_scan - the ksm scanner main worker function.*@scan_npages: number of pages we want to scan before we return.