Home
last modified time | relevance | path

Searched refs:frozen (Results 1 - 7 of 7) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dfreezer.h23 * Check if a process has been frozen
25 static inline bool frozen(struct task_struct *p) in frozen() function
95 * complete. However, we don't want kernel threads to be frozen in unexpected
99 * (the child) does a little before exec/exit and it can't be frozen before
107 * target frozen state is reached. IOW, the current task will be
108 * considered frozen enough by freezers.
110 * The caller shouldn't do anything which isn't allowed for a frozen task
147 * freezer_should_skip - whether to skip a task when determining frozen
152 * test whether a task should be skipped when determining the target frozen
154 * frozen enoug
278 static inline bool frozen(struct task_struct *p) frozen() function
[all...]
H A Dsched.h948 /* task is frozen/stopped (used by the cgroup freezer) */
949 unsigned frozen : 1; member
1681 #define PF_NOFREEZE 0x00008000 /* This thread should not be frozen */
1696 #define PF_SUSPEND_TASK 0x80000000 /* This thread called freeze_processes() and should not be frozen */
H A Dbpf.h151 bool frozen; /* write-once; write-protected by freeze_mutex */ member
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dprocess.c116 if (p != current && !freezer_should_skip(p) && freezing(p) && !frozen(p)) { in try_to_freeze_tasks()
131 * The current thread will not be frozen. The same process that calls
145 /* Make sure this task doesn't get frozen */ in freeze_processes()
164 * Now that the whole userspace is frozen we need to disable in freeze_processes()
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
H A Dlegacy_freezer.c37 CGROUP_FROZEN = (1 << 3), /* this and its descendants frozen */
175 * current state before executing the following - !frozen tasks may in freezer_attach()
176 * be visible in a FROZEN cgroup and frozen tasks in a THAWED one. in freezer_attach()
263 /* are all (live) children frozen? */ in update_if_frozen()
276 /* are all tasks frozen? */ in update_if_frozen()
284 * completion. Consider it frozen in addition to in update_if_frozen()
285 * the usual frozen condition. in update_if_frozen()
287 if (!frozen(task) && !freezer_should_skip(task)) { in update_if_frozen()
/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dsyscall.c525 if (READ_ONCE(map->frozen)) { in map_get_sys_perms()
554 "frozen:\t%u\n", in bpf_map_show_fdinfo()
556 map->memory.pages * 1ULL << PAGE_SHIFT, map->id, READ_ONCE(map->frozen)); in bpf_map_show_fdinfo()
625 if (map->frozen) { in bpf_map_mmap()
1595 if (READ_ONCE(map->frozen)) { in map_freeze()
1604 WRITE_ONCE(map->frozen, true); in map_freeze()
H A Dverifier.c3471 return (map->map_flags & BPF_F_RDONLY_PROG) && map->frozen; in bpf_map_is_rdonly()

Completed in 35 milliseconds