/kernel/cgroup/ |
D | pids.c | 49 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/ |
D | contiguous.c | 168 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()
|
D | debug.c | 354 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/ |
D | lpm_trie.c | 169 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/ |
D | panic.c | 232 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()
|
D | exit.c | 942 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()
|
D | user_namespace.c | 64 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()
|
D | audit.c | 429 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()
|
D | signal.c | 3266 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/ |
D | core.c | 791 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/ |
D | gdbstub.c | 407 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/ |
D | core.c | 1154 struct klp_patch *limit) in klp_cleanup_module_patches_limited() argument 1160 if (patch == limit) in klp_cleanup_module_patches_limited()
|
/kernel/time/ |
D | posix-cpu-timers.c | 879 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/ |
D | Kconfig | 174 int "Maximum number of user space wakeup sources (0 = no limit)"
|
/kernel/trace/ |
D | Kconfig | 916 This defines the limit of number of functions that can be 919 This file can be reset, but the limit can not change in
|