函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-27 06:42:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_rlimit

函数原型:static inline unsigned long task_rlimit(const struct task_struct *task, unsigned int limit)

返回类型:unsigned long

参数:

类型参数名称
const struct task_struct *task
unsigned intlimit
687  返回:READ_ONCE(rlim_cur)
调用者
名称描述
copy_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
rlimit