Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 36) sorted by relevance

12

/kernel/
Dpid_namespace.c37 static struct kmem_cache *create_pid_cachep(unsigned int level) in create_pid_cachep() argument
40 struct kmem_cache **pkc = &pid_cache[level - 1]; in create_pid_cachep()
49 snprintf(name, sizeof(name), "pid_%u", level + 1); in create_pid_cachep()
50 len = sizeof(struct pid) + level * sizeof(struct upid); in create_pid_cachep()
75 unsigned int level = parent_pid_ns->level + 1; in create_pid_namespace() local
84 if (level > MAX_PID_NS_LEVEL) in create_pid_namespace()
97 ns->pid_cachep = create_pid_cachep(level); in create_pid_namespace()
107 ns->level = level; in create_pid_namespace()
410 if (new->level < active->level) in pidns_install()
414 while (ancestor->level > active->level) in pidns_install()
Dpid.c55 .level = 0,
79 .level = 0,
112 ns = pid->numbers[pid->level].ns; in put_pid()
133 for (i = 0; i <= pid->level; i++) { in free_pid()
177 if (set_tid_size > ns->level + 1) in alloc_pid()
185 pid->level = ns->level; in alloc_pid()
187 for (i = ns->level; i >= 0; i--) { in alloc_pid()
191 tid = set_tid[ns->level - i]; in alloc_pid()
268 upid = pid->numbers + ns->level; in alloc_pid()
287 while (++i <= ns->level) { in alloc_pid()
[all …]
Dparams.c132 if (params[i].level < min_level in parse_one()
133 || params[i].level > max_level) in parse_one()
419 s16 level, in param_array() argument
429 kp.level = level; in param_array()
468 arr->elemsize, arr->ops->set, kp->level, in param_array_set()
Duser_namespace.c91 if (parent_ns->level > 32) in create_user_ns()
135 ns->level = parent_ns->level + 1; in create_user_ns()
1304 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
DKconfig.preempt80 low level and critical code paths (entry code, scheduler, low
81 level interrupt handling) fully preemptible and brings most
/kernel/printk/
Dindex.c76 int level = LOGLEVEL_DEFAULT; in pi_show() local
88 if (entry->level) in pi_show()
89 printk_parse_prefix(entry->level, &level, &flags); in pi_show()
91 prefix_len = printk_parse_prefix(entry->fmt, &level, &flags); in pi_show()
100 if (level == LOGLEVEL_DEFAULT) in pi_show()
103 seq_printf(s, "<%d,c>", level); in pi_show()
105 seq_printf(s, "<%d>", level); in pi_show()
Dprintk.c572 (info->facility << 3) | info->level, info->seq, in info_print_ext_header()
645 int devkmsg_emit(int facility, int level, const char *fmt, ...) in devkmsg_emit() argument
651 r = vprintk_emit(facility, level, NULL, fmt, args); in devkmsg_emit()
660 int level = default_message_loglevel; in devkmsg_write() local
706 level = LOG_LEVEL(u); in devkmsg_write()
714 devkmsg_emit(facility, level, "%s", line); in devkmsg_write()
1060 dest_r.info->level = r->info->level; in add_to_rb()
1204 static bool suppress_message_printing(int level) in suppress_message_printing() argument
1206 return (level >= console_loglevel && !ignore_loglevel); in suppress_message_printing()
1232 static void boot_delay_msec(int level) in boot_delay_msec() argument
[all …]
Dinternal.h24 int vprintk_store(int facility, int level,
47 u16 printk_parse_prefix(const char *text, int *level,
Dprintk_ringbuffer.h21 u8 level:3; /* syslog level */ member
/kernel/power/
Dmain.c249 int level; in pm_test_show() local
251 for (level = TEST_FIRST; level <= TEST_MAX; level++) in pm_test_show()
252 if (pm_tests[level]) { in pm_test_show()
253 if (level == pm_test_level) in pm_test_show()
254 s += sprintf(s, "[%s] ", pm_tests[level]); in pm_test_show()
256 s += sprintf(s, "%s ", pm_tests[level]); in pm_test_show()
272 int level; in pm_test_store() local
281 level = TEST_FIRST; in pm_test_store()
282 for (s = &pm_tests[level]; level <= TEST_MAX; s++, level++) in pm_test_store()
284 pm_test_level = level; in pm_test_store()
Dsuspend.c334 static int suspend_test(int level) in suspend_test() argument
337 if (pm_test_level == level) { in suspend_test()
Dhibernate.c132 static int hibernation_test(int level) in hibernation_test() argument
134 if (pm_test_level == level) { in hibernation_test()
141 static int hibernation_test(int level) { return 0; } in hibernation_test() argument
/kernel/rcu/
Dsrcutree.c168 int level = 0; in init_srcu_struct_nodes() local
181 ssp->level[0] = &ssp->node[0]; in init_srcu_struct_nodes()
183 ssp->level[i] = ssp->level[i - 1] + num_rcu_lvl[i - 1]; in init_srcu_struct_nodes()
205 if (snp == ssp->level[level + 1]) in init_srcu_struct_nodes()
206 level++; in init_srcu_struct_nodes()
207 snp->srcu_parent = ssp->level[level - 1] + in init_srcu_struct_nodes()
208 (snp - ssp->level[level]) / in init_srcu_struct_nodes()
209 levelspread[level - 1]; in init_srcu_struct_nodes()
216 level = rcu_num_lvls - 1; in init_srcu_struct_nodes()
217 snp_first = ssp->level[level]; in init_srcu_struct_nodes()
[all …]
DKconfig42 bool "Make expert-level adjustments to RCU configuration"
46 expert-level adjustments to RCU configuration. By default,
52 Say Y if you need to make expert-level adjustments to RCU.
165 int "Tree-based hierarchical RCU leaf-level fanout value"
173 This option controls the leaf-level fanout of hierarchical
177 want the default because the smaller leaf-level fanout keeps
185 leaf-level fanouts work well. That said, setting leaf-level
187 lock contention on the leaf-level rcu_node structures unless
Dtree.h83 u8 level; /* root is at level 0. */ member
312 struct rcu_node *level[RCU_NUM_LVLS + 1]; member
456 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level);
Dtree.c86 .level = { &rcu_state.node[0] },
865 __func__, rnp->grplo, rnp->grphi, rnp->level, in rcu_implicit_dynticks_qs()
946 gp_seq_req, rnp->level, in trace_rcu_this_gp()
1591 rnp->level, rnp->grplo, in rcu_gp_init()
1973 mask, rnp->qsmask, rnp->level, in rcu_report_qs_rnp()
4654 rcu_state.level[i] = in rcu_init_one()
4655 rcu_state.level[i - 1] + num_rcu_lvl[i - 1]; in rcu_init_one()
4662 rnp = rcu_state.level[i]; in rcu_init_one()
4686 rnp->parent = rcu_state.level[i - 1] + in rcu_init_one()
4689 rnp->level = i; in rcu_init_one()
[all …]
Drcu.h329 #define rcu_first_leaf_node() (rcu_state.level[rcu_num_lvls - 1])
332 #define rcu_is_leaf_node(rnp) ((rnp)->level == rcu_num_lvls - 1)
Dtree_nocb.h1016 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level) in rcu_nocb_need_deferred_wakeup() argument
1018 return READ_ONCE(rdp->nocb_defer_wakeup) >= level; in rcu_nocb_need_deferred_wakeup()
1023 struct rcu_data *rdp, int level, in do_nocb_deferred_wakeup_common() argument
1030 if (!rcu_nocb_need_deferred_wakeup(rdp_gp, level)) { in do_nocb_deferred_wakeup_common()
1752 static int rcu_nocb_need_deferred_wakeup(struct rcu_data *rdp, int level) in rcu_nocb_need_deferred_wakeup() argument
Dtree_exp.h311 trace_rcu_exp_funnel_lock(rcu_state.name, rnp->level, in exp_funnel_lock()
320 trace_rcu_exp_funnel_lock(rcu_state.name, rnp->level, in exp_funnel_lock()
658 rnp->level, rnp->grplo, rnp->grphi, in synchronize_rcu_expedited_wait()
/kernel/irq/
DKconfig21 # Print level/edge extra information
79 # Support for hierarchical fasteoi+edge and fasteoi+level handlers
145 Allow to specify the low level IRQ handler at run time.
/kernel/bpf/
Dcgroup.c1787 int __cgroup_bpf_run_filter_setsockopt(struct sock *sk, int *level, in __cgroup_bpf_run_filter_setsockopt() argument
1795 .level = *level, in __cgroup_bpf_run_filter_setsockopt()
1841 *level = ctx.level; in __cgroup_bpf_run_filter_setsockopt()
1877 int __cgroup_bpf_run_filter_getsockopt(struct sock *sk, int level, in __cgroup_bpf_run_filter_getsockopt() argument
1886 .level = level, in __cgroup_bpf_run_filter_getsockopt()
1960 int __cgroup_bpf_run_filter_getsockopt_kern(struct sock *sk, int level, in __cgroup_bpf_run_filter_getsockopt_kern() argument
1967 .level = level, in __cgroup_bpf_run_filter_getsockopt_kern()
2357 case offsetof(struct bpf_sockopt, level): in cg_sockopt_is_valid_access()
2414 case offsetof(struct bpf_sockopt, level): in cg_sockopt_convert_ctx_access()
2416 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_STX_MEM, level); in cg_sockopt_convert_ctx_access()
[all …]
/kernel/sched/
Dtopology.c38 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one() argument
47 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one()
73 printk(KERN_DEBUG "%*s groups:", level + 1, ""); in sched_domain_debug_one()
136 int level = 0; in sched_domain_debug() local
149 if (sched_domain_debug_one(sd, cpu, level, sched_domains_tmpmask)) in sched_domain_debug()
151 level++; in sched_domain_debug()
1432 if (sd->level > request) { in set_domain_attribute()
2177 sd->level = child->level + 1; in build_sched_domain()
2178 sched_domain_level_max = max(sched_domain_level_max, sd->level); in build_sched_domain()
/kernel/kcsan/
D.kunitconfig11 # Need some level of concurrency to test a concurrency sanitizer.
/kernel/debug/kdb/
Dkdb_cmds7 # Standard debugging information for first level support, just type archkdb
/kernel/trace/
Dtrace_events_filter.c1686 int level = open; in calc_stack() local
1697 if (level == open) { in calc_stack()
1701 level--; in calc_stack()
1704 level++; in calc_stack()

12