Home
last modified time | relevance | path

Searched refs:task_rlimit (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/unix/
Dscm.c101 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
/kernel/linux/linux-5.10/include/linux/sched/
Dsignal.h716 static inline unsigned long task_rlimit(const struct task_struct *task, in task_rlimit() function
730 return task_rlimit(current, limit); in rlimit()
/kernel/linux/linux-5.10/mm/
Dutil.c478 limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __account_locked_vm()
491 locked_vm << PAGE_SHIFT, task_rlimit(task, RLIMIT_MEMLOCK), in __account_locked_vm()
/kernel/linux/linux-5.10/io_uring/
Dio-wq.c1162 task_rlimit(current, RLIMIT_NPROC); in io_wq_create()
1362 if (new_count[i] > task_rlimit(current, RLIMIT_NPROC)) in io_wq_max_workers()
1363 new_count[i] = task_rlimit(current, RLIMIT_NPROC); in io_wq_max_workers()
/kernel/linux/linux-5.10/kernel/time/
Dposix-cpu-timers.c852 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers()
949 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers()
/kernel/linux/linux-5.10/kernel/
Dwatch_queue.c473 if (atomic_inc_return(&cred->user->nr_watches) > task_rlimit(current, RLIMIT_NOFILE)) { in add_one_watch()
Dfork.c2004 task_rlimit(p, RLIMIT_NPROC)) { in copy_process()
Dsignal.c434 if (override_rlimit || likely(sigpending <= task_rlimit(t, RLIMIT_SIGPENDING))) { in __sigqueue_alloc()
/kernel/linux/linux-5.10/fs/proc/
Darray.c288 qlim = task_rlimit(p, RLIMIT_SIGPENDING); in task_sig()
/kernel/linux/linux-5.10/kernel/sched/
Drt.c2574 soft = task_rlimit(p, RLIMIT_RTTIME); in watchdog()
Dcore.c5247 return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || in can_nice()
5462 task_rlimit(p, RLIMIT_RTPRIO); in __sched_setscheduler()
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio_iommu_type1.c688 task_rlimit(dma->task, RLIMIT_MEMLOCK)); in vfio_pin_page_external()