Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:task_rlimit

Proto:static inline unsigned long task_rlimit(const struct task_struct *task, unsigned int limit)

Type:unsigned long

Parameter:

TypeParameterName
const struct task_struct *task
unsigned intlimit
687  Return READ_ONCE(rlim_cur)
Caller
NameDescribe
copy_processCreate a new process
__sigqueue_allocallocate a new signal queue record* - this may be called without locks if and only if t == current, otherwise an* appropriate lock must be held to stop the target task from exiting
can_nicean_nice - check if a task can reduce its nice value*@p: task*@nice: nice value
__sched_setscheduler
check_thread_timersCheck for any per-thread CPU timers that have fired and move them off* the tsk->cpu_timers[N] list onto the firing list. Here we update the
check_process_timersCheck for any per-thread CPU timers that have fired and move them* off the tsk->*_timers list onto the firing list. Per-thread timers* have already been taken off.
__account_locked_vm__account_locked_vm - account locked pages to an mm's locked_vm*@mm: mm to account against*@pages: number of pages to account*@inc: %true if @pages should be considered positive, %false if not*@task: task used to check RLIMIT_MEMLOCK*@bypass_rlim: %true
io_wq_create