Searched refs:task_rlimit (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/net/unix/ |
D | scm.c | 98 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
|
/Linux-v5.4/include/linux/sched/ |
D | signal.h | 684 static inline unsigned long task_rlimit(const struct task_struct *task, in task_rlimit() function 698 return task_rlimit(current, limit); in rlimit()
|
/Linux-v5.4/mm/ |
D | util.c | 435 limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __account_locked_vm() 448 locked_vm << PAGE_SHIFT, task_rlimit(task, RLIMIT_MEMLOCK), in __account_locked_vm()
|
/Linux-v5.4/kernel/time/ |
D | posix-cpu-timers.c | 845 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers() 942 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers()
|
/Linux-v5.4/fs/proc/ |
D | array.c | 289 qlim = task_rlimit(p, RLIMIT_SIGPENDING); in task_sig()
|
/Linux-v5.4/drivers/vfio/ |
D | vfio_iommu_type1.c | 516 task_rlimit(dma->task, RLIMIT_MEMLOCK)); in vfio_pin_page_external()
|
/Linux-v5.4/kernel/sched/ |
D | rt.c | 2282 soft = task_rlimit(p, RLIMIT_RTTIME); in watchdog()
|
D | core.c | 4559 return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || in can_nice() 4805 task_rlimit(p, RLIMIT_RTPRIO); in __sched_setscheduler()
|
/Linux-v5.4/kernel/ |
D | fork.c | 1877 task_rlimit(p, RLIMIT_NPROC)) { in copy_process()
|
D | signal.c | 428 task_rlimit(t, RLIMIT_SIGPENDING)) { in __sigqueue_alloc()
|
/Linux-v5.4/fs/ |
D | io_uring.c | 3026 if (inflight > task_rlimit(current, RLIMIT_NOFILE)) in __io_sqe_files_scm()
|
/Linux-v5.4/arch/ia64/kernel/ |
D | perfmon.c | 2219 if (size > task_rlimit(task, RLIMIT_MEMLOCK)) in pfm_smpl_buffer_alloc()
|