Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 14 of 14) sorted by relevance

/kernel/cgroup/
Dpids.c49 atomic64_t limit; member
78 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc()
150 int64_t limit = atomic64_read(&p->limit); in pids_try_charge() local
157 if (new > limit) in pids_try_charge()
267 int64_t limit; in pids_max_write() local
272 limit = PIDS_MAX; in pids_max_write()
276 err = kstrtoll(buf, 0, &limit); in pids_max_write()
280 if (limit < 0 || limit >= PIDS_MAX) in pids_max_write()
288 atomic64_set(&pids->limit, limit); in pids_max_write()
296 int64_t limit = atomic64_read(&pids->limit); in pids_max_show() local
[all …]
/kernel/dma/
Dcontiguous.c168 void __init dma_contiguous_reserve(phys_addr_t limit) in dma_contiguous_reserve() argument
172 phys_addr_t selected_limit = limit; in dma_contiguous_reserve()
175 pr_debug("%s(limit %08lx)\n", __func__, (unsigned long)limit); in dma_contiguous_reserve()
180 selected_limit = min_not_zero(limit_cmdline, limit); in dma_contiguous_reserve()
229 phys_addr_t limit, struct cma **res_cma, in dma_contiguous_reserve_area() argument
234 ret = cma_declare_contiguous(base, size, limit, 0, 0, fixed, in dma_contiguous_reserve_area()
/kernel/bpf/
Dlpm_trie.c168 u32 limit = min(node->prefixlen, key->prefixlen); in longest_prefix_match() local
184 if (prefixlen >= limit) in longest_prefix_match()
185 return limit; in longest_prefix_match()
197 if (prefixlen >= limit) in longest_prefix_match()
198 return limit; in longest_prefix_match()
209 if (prefixlen >= limit) in longest_prefix_match()
210 return limit; in longest_prefix_match()
219 if (prefixlen >= limit) in longest_prefix_match()
220 return limit; in longest_prefix_match()
/kernel/
Dpanic.c226 unsigned int limit; in check_panic_on_warn() local
231 limit = READ_ONCE(warn_limit); in check_panic_on_warn()
232 if (atomic_inc_return(&warn_count) >= limit && limit) in check_panic_on_warn()
234 origin, limit); in check_panic_on_warn()
Dexit.c939 unsigned int limit; in make_task_dead() local
951 limit = READ_ONCE(oops_limit); in make_task_dead()
952 if (atomic_inc_return(&oops_count) >= limit && limit) in make_task_dead()
953 panic("Oopsed too often (kernel.oops_limit is %d)", limit); in make_task_dead()
Duser_namespace.c63 unsigned long limit = RLIM_INFINITY; in enforced_nproc_rlimit() local
68 limit = rlimit(RLIMIT_NPROC); in enforced_nproc_rlimit()
70 return limit; in enforced_nproc_rlimit()
Daudit.c431 static int audit_set_rate_limit(u32 limit) in audit_set_rate_limit() argument
433 return audit_do_config_change("audit_rate_limit", &audit_rate_limit, limit); in audit_set_rate_limit()
436 static int audit_set_backlog_limit(u32 limit) in audit_set_backlog_limit() argument
438 return audit_do_config_change("audit_backlog_limit", &audit_backlog_limit, limit); in audit_set_backlog_limit()
Dsignal.c3281 unsigned char limit, layout; member
3302 if (si_code <= sig_sicodes[sig].limit) in known_siginfo_layout()
3320 (si_code <= sig_sicodes[sig].limit)) { in siginfo_layout()
/kernel/debug/
Dgdbstub.c407 unsigned char *limit; in pack_threadid() local
410 limit = id + (BUF_THREAD_ID_SIZE / 2); in pack_threadid()
411 while (id < limit) { in pack_threadid()
/kernel/livepatch/
Dcore.c1139 struct klp_patch *limit) in klp_cleanup_module_patches_limited() argument
1145 if (patch == limit) in klp_cleanup_module_patches_limited()
/kernel/futex/
Dcore.c3793 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; in exit_robust_list() local
3842 if (!--limit) in exit_robust_list()
4111 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; in compat_exit_robust_list() local
4166 if (!--limit) in compat_exit_robust_list()
/kernel/time/
Dposix-cpu-timers.c872 static bool check_rlimit(u64 time, u64 limit, int signo, bool rt, bool hard) in check_rlimit() argument
874 if (time < limit) in check_rlimit()
/kernel/power/
DKconfig154 int "Maximum number of user space wakeup sources (0 = no limit)"
/kernel/trace/
DKconfig853 This defines the limit of number of functions that can be
856 This file can be reset, but the limit can not change in