Searched refs:task_rlimit (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/net/unix/ |
D | scm.c | 102 if (unlikely(READ_ONCE(user->unix_inflight) > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
|
/linux-6.6.21/include/linux/sched/ |
D | signal.h | 759 static inline unsigned long task_rlimit(const struct task_struct *task, in task_rlimit() function 773 return task_rlimit(current, limit); in rlimit()
|
/linux-6.6.21/mm/ |
D | util.c | 495 limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __account_locked_vm() 508 locked_vm << PAGE_SHIFT, task_rlimit(task, RLIMIT_MEMLOCK), in __account_locked_vm()
|
/linux-6.6.21/io_uring/ |
D | io-wq.c | 1167 task_rlimit(current, RLIMIT_NPROC); in io_wq_create() 1347 if (new_count[i] > task_rlimit(current, RLIMIT_NPROC)) in io_wq_max_workers() 1348 new_count[i] = task_rlimit(current, RLIMIT_NPROC); in io_wq_max_workers()
|
/linux-6.6.21/kernel/time/ |
D | posix-cpu-timers.c | 916 soft = task_rlimit(tsk, RLIMIT_RTTIME); in check_thread_timers() 1013 soft = task_rlimit(tsk, RLIMIT_CPU); in check_process_timers()
|
/linux-6.6.21/kernel/ |
D | watch_queue.c | 466 if (atomic_inc_return(&cred->user->nr_watches) > task_rlimit(current, RLIMIT_NOFILE)) { in add_one_watch()
|
D | signal.c | 436 if (override_rlimit || likely(sigpending <= task_rlimit(t, RLIMIT_SIGPENDING))) { in __sigqueue_alloc()
|
/linux-6.6.21/fs/proc/ |
D | array.c | 287 qlim = task_rlimit(p, RLIMIT_SIGPENDING); in task_sig()
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | pages.c | 810 lock_limit = task_rlimit(pages->source_task, RLIMIT_MEMLOCK) >> in incr_user_locked_vm()
|
/linux-6.6.21/kernel/sched/ |
D | rt.c | 2617 soft = task_rlimit(p, RLIMIT_RTTIME); in watchdog()
|
D | core.c | 7255 return (nice_rlim <= task_rlimit(p, RLIMIT_NICE)); in is_nice_reduction() 7574 unsigned long rlim_rtprio = task_rlimit(p, RLIMIT_RTPRIO); in user_check_sched_setscheduler()
|
/linux-6.6.21/drivers/vfio/ |
D | vfio_iommu_type1.c | 770 task_rlimit(dma->task, RLIMIT_MEMLOCK)); in vfio_pin_page_external()
|