Home
last modified time | relevance | path

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

/linux-6.6.21/net/unix/
Dscm.c102 if (unlikely(READ_ONCE(user->unix_inflight) > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
/linux-6.6.21/include/linux/sched/
Dsignal.h759 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/
Dutil.c495 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/
Dio-wq.c1167 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/
Dposix-cpu-timers.c916 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/
Dwatch_queue.c466 if (atomic_inc_return(&cred->user->nr_watches) > task_rlimit(current, RLIMIT_NOFILE)) { in add_one_watch()
Dsignal.c436 if (override_rlimit || likely(sigpending <= task_rlimit(t, RLIMIT_SIGPENDING))) { in __sigqueue_alloc()
/linux-6.6.21/fs/proc/
Darray.c287 qlim = task_rlimit(p, RLIMIT_SIGPENDING); in task_sig()
/linux-6.6.21/drivers/iommu/iommufd/
Dpages.c810 lock_limit = task_rlimit(pages->source_task, RLIMIT_MEMLOCK) >> in incr_user_locked_vm()
/linux-6.6.21/kernel/sched/
Drt.c2617 soft = task_rlimit(p, RLIMIT_RTTIME); in watchdog()
Dcore.c7255 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/
Dvfio_iommu_type1.c770 task_rlimit(dma->task, RLIMIT_MEMLOCK)); in vfio_pin_page_external()