Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 12 of 12) 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.c169 void __init dma_contiguous_reserve(phys_addr_t limit) in dma_contiguous_reserve() argument
173 phys_addr_t selected_limit = limit; in dma_contiguous_reserve()
176 pr_debug("%s(limit %08lx)\n", __func__, (unsigned long)limit); in dma_contiguous_reserve()
181 selected_limit = min_not_zero(limit_cmdline, limit); in dma_contiguous_reserve()
230 phys_addr_t limit, struct cma **res_cma, in dma_contiguous_reserve_area() argument
235 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.c225 unsigned int limit; in check_panic_on_warn() local
230 limit = READ_ONCE(warn_limit); in check_panic_on_warn()
231 if (atomic_inc_return(&warn_count) >= limit && limit) in check_panic_on_warn()
233 origin, limit); in check_panic_on_warn()
Dexit.c923 unsigned int limit; in make_task_dead() local
935 limit = READ_ONCE(oops_limit); in make_task_dead()
936 if (atomic_inc_return(&oops_count) >= limit && limit) in make_task_dead()
937 panic("Oopsed too often (kernel.oops_limit is %d)", limit); in make_task_dead()
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.c3166 unsigned char limit, layout; member
3187 if (si_code <= sig_sicodes[sig].limit) in known_siginfo_layout()
3205 (si_code <= sig_sicodes[sig].limit)) { in siginfo_layout()
/kernel/debug/
Dgdbstub.c410 unsigned char *limit; in pack_threadid() local
413 limit = id + (BUF_THREAD_ID_SIZE / 2); in pack_threadid()
414 while (id < limit) { in pack_threadid()
/kernel/livepatch/
Dcore.c1140 struct klp_patch *limit) in klp_cleanup_module_patches_limited() argument
1146 if (patch == limit) in klp_cleanup_module_patches_limited()
/kernel/futex/
Dcore.c3566 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; in exit_robust_list() local
3615 if (!--limit) in exit_robust_list()
3868 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; in compat_exit_robust_list() local
3923 if (!--limit) in compat_exit_robust_list()
/kernel/time/
Dposix-cpu-timers.c814 static bool check_rlimit(u64 time, u64 limit, int signo, bool rt, bool hard) in check_rlimit() argument
816 if (time < limit) in check_rlimit()
/kernel/power/
DKconfig156 int "Maximum number of user space wakeup sources (0 = no limit)"