Home
last modified time | relevance | path

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

/kernel/cgroup/
Dpids.c49 atomic64_t limit; member
79 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc()
164 int64_t limit = atomic64_read(&p->limit); in pids_try_charge() local
171 if (new > limit) in pids_try_charge()
287 int64_t limit; in pids_max_write() local
292 limit = PIDS_MAX; in pids_max_write()
296 err = kstrtoll(buf, 0, &limit); in pids_max_write()
300 if (limit < 0 || limit >= PIDS_MAX) in pids_max_write()
308 atomic64_set(&pids->limit, limit); in pids_max_write()
316 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()
Ddebug.c354 int limit = min(HASH_SIZE, (index.dev_addr >> HASH_FN_SHIFT) + 1); in bucket_find_contain() local
356 for (int i = 0; i < limit; i++) { in bucket_find_contain()
/kernel/bpf/
Dlpm_trie.c169 u32 limit = min(node->prefixlen, key->prefixlen); in longest_prefix_match() local
185 if (prefixlen >= limit) in longest_prefix_match()
186 return limit; in longest_prefix_match()
198 if (prefixlen >= limit) in longest_prefix_match()
199 return limit; in longest_prefix_match()
210 if (prefixlen >= limit) in longest_prefix_match()
211 return limit; in longest_prefix_match()
220 if (prefixlen >= limit) in longest_prefix_match()
221 return limit; in longest_prefix_match()
/kernel/
Dpanic.c232 unsigned int limit; in check_panic_on_warn() local
237 limit = READ_ONCE(warn_limit); in check_panic_on_warn()
238 if (atomic_inc_return(&warn_count) >= limit && limit) in check_panic_on_warn()
240 origin, limit); in check_panic_on_warn()
Dexit.c942 unsigned int limit; in make_task_dead() local
971 limit = READ_ONCE(oops_limit); in make_task_dead()
972 if (atomic_inc_return(&oops_count) >= limit && limit) in make_task_dead()
973 panic("Oopsed too often (kernel.oops_limit is %d)", limit); in make_task_dead()
Duser_namespace.c64 unsigned long limit = RLIM_INFINITY; in enforced_nproc_rlimit() local
69 limit = rlimit(RLIMIT_NPROC); in enforced_nproc_rlimit()
71 return limit; in enforced_nproc_rlimit()
Daudit.c429 static int audit_set_rate_limit(u32 limit) in audit_set_rate_limit() argument
431 return audit_do_config_change("audit_rate_limit", &audit_rate_limit, limit); in audit_set_rate_limit()
434 static int audit_set_backlog_limit(u32 limit) in audit_set_backlog_limit() argument
436 return audit_do_config_change("audit_backlog_limit", &audit_backlog_limit, limit); in audit_set_backlog_limit()
Dsignal.c3266 unsigned char limit, layout; member
3287 if (si_code <= sig_sicodes[sig].limit) in known_siginfo_layout()
3305 (si_code <= sig_sicodes[sig].limit)) { in siginfo_layout()
/kernel/futex/
Dcore.c791 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; in exit_robust_list() local
837 if (!--limit) in exit_robust_list()
885 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; in compat_exit_robust_list() local
937 if (!--limit) in compat_exit_robust_list()
/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.c1154 struct klp_patch *limit) in klp_cleanup_module_patches_limited() argument
1160 if (patch == limit) in klp_cleanup_module_patches_limited()
/kernel/time/
Dposix-cpu-timers.c879 static bool check_rlimit(u64 time, u64 limit, int signo, bool rt, bool hard) in check_rlimit() argument
881 if (time < limit) in check_rlimit()
/kernel/power/
DKconfig174 int "Maximum number of user space wakeup sources (0 = no limit)"
/kernel/trace/
DKconfig916 This defines the limit of number of functions that can be
919 This file can be reset, but the limit can not change in