Searched refs:task_rlimit (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/net/unix/ |
D | scm.c | 101 if (unlikely(user->unix_inflight > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | signal.h | 704 static inline unsigned long task_rlimit(const struct task_struct *task, in task_rlimit() function 718 return task_rlimit(current, limit); in rlimit()
|
/kernel/linux/linux-5.10/mm/ |
D | util.c | 446 limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __account_locked_vm() 459 locked_vm << PAGE_SHIFT, task_rlimit(task, RLIMIT_MEMLOCK), in __account_locked_vm()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | posix-cpu-timers.c | 850 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers() 947 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers()
|
/kernel/linux/linux-5.10/kernel/ |
D | watch_queue.c | 457 task_rlimit(current, RLIMIT_NOFILE)) { in add_watch_to_object()
|
D | fork.c | 1990 task_rlimit(p, RLIMIT_NPROC)) { in copy_process()
|
D | signal.c | 434 if (override_rlimit || likely(sigpending <= task_rlimit(t, RLIMIT_SIGPENDING))) { in __sigqueue_alloc()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | array.c | 288 qlim = task_rlimit(p, RLIMIT_SIGPENDING); in task_sig()
|
/kernel/linux/linux-5.10/fs/ |
D | io-wq.c | 1126 task_rlimit(current, RLIMIT_NPROC); in io_wq_create()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | rt.c | 2563 soft = task_rlimit(p, RLIMIT_RTTIME); in watchdog()
|
D | core.c | 5230 return (nice_rlim <= task_rlimit(p, RLIMIT_NICE) || in can_nice() 5445 task_rlimit(p, RLIMIT_RTPRIO); in __sched_setscheduler()
|
/kernel/linux/linux-5.10/drivers/vfio/ |
D | vfio_iommu_type1.c | 629 task_rlimit(dma->task, RLIMIT_MEMLOCK)); in vfio_pin_page_external()
|