Home
last modified time | relevance | path

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

12

/kernel/
Dpid_namespace.c39 static struct kmem_cache *create_pid_cachep(unsigned int level) in create_pid_cachep() argument
42 struct kmem_cache **pkc = &pid_cache[level - 1]; in create_pid_cachep()
51 snprintf(name, sizeof(name), "pid_%u", level + 1); in create_pid_cachep()
52 len = sizeof(struct pid) + level * sizeof(struct upid); in create_pid_cachep()
82 unsigned int level = parent_pid_ns->level + 1; in create_pid_namespace() local
91 if (level > MAX_PID_NS_LEVEL) in create_pid_namespace()
104 ns->pid_cachep = create_pid_cachep(level); in create_pid_namespace()
114 ns->level = level; in create_pid_namespace()
400 if (new->level < active->level) in pidns_install()
404 while (ancestor->level > active->level) in pidns_install()
Dpid.c53 .level = 0,
77 .level = 0,
110 ns = pid->numbers[pid->level].ns; in put_pid()
131 for (i = 0; i <= pid->level; i++) { in free_pid()
174 pid->level = ns->level; in alloc_pid()
176 for (i = ns->level; i >= 0; i--) { in alloc_pid()
220 upid = pid->numbers + ns->level; in alloc_pid()
239 while (++i <= ns->level) { in alloc_pid()
410 if (pid && ns->level <= pid->level) { in pid_nr_ns()
411 upid = &pid->numbers[ns->level]; in pid_nr_ns()
Dparams.c132 if (params[i].level < min_level in parse_one()
133 || params[i].level > max_level) in parse_one()
400 s16 level, in param_array() argument
410 kp.level = level; in param_array()
449 arr->elemsize, arr->ops->set, kp->level, in param_array_set()
DKconfig.preempt68 low level and critical code pathes (entry code, scheduler, low
69 level interrupt handling) fully preemptible and brings most
Duser_namespace.c78 if (parent_ns->level > 32) in create_user_ns()
117 ns->level = parent_ns->level + 1; in create_user_ns()
1224 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
/kernel/printk/
Dprintk.c375 u8 level:3; /* syslog level */ member
604 static int log_store(u32 caller_id, int facility, int level, in log_store() argument
646 msg->level = level & 7; in log_store()
731 (msg->facility << 3) | msg->level, seq, ts_usec, in msg_print_ext_header()
793 int devkmsg_emit(int facility, int level, const char *fmt, ...) in devkmsg_emit() argument
799 r = vprintk_emit(facility, level, NULL, 0, fmt, args); in devkmsg_emit()
808 int level = default_message_loglevel; in devkmsg_write() local
854 level = LOG_LEVEL(u); in devkmsg_write()
863 devkmsg_emit(facility, level, "%s", line); in devkmsg_write()
1199 static bool suppress_message_printing(int level) in suppress_message_printing() argument
[all …]
Dinternal.h16 int vprintk_store(int facility, int level,
/kernel/power/
Dmain.c211 int level; in pm_test_show() local
213 for (level = TEST_FIRST; level <= TEST_MAX; level++) in pm_test_show()
214 if (pm_tests[level]) { in pm_test_show()
215 if (level == pm_test_level) in pm_test_show()
216 s += sprintf(s, "[%s] ", pm_tests[level]); in pm_test_show()
218 s += sprintf(s, "%s ", pm_tests[level]); in pm_test_show()
232 int level; in pm_test_store() local
242 level = TEST_FIRST; in pm_test_store()
243 for (s = &pm_tests[level]; level <= TEST_MAX; s++, level++) in pm_test_store()
245 pm_test_level = level; in pm_test_store()
Dhibernate.c113 static int hibernation_test(int level) in hibernation_test() argument
115 if (pm_test_level == level) { in hibernation_test()
122 static int hibernation_test(int level) { return 0; } in hibernation_test() argument
Dsuspend.c323 static int suspend_test(int level) in suspend_test() argument
326 if (pm_test_level == level) { in suspend_test()
/kernel/rcu/
Dsrcutree.c87 int level = 0; in init_srcu_struct_nodes() local
94 ssp->level[0] = &ssp->node[0]; in init_srcu_struct_nodes()
96 ssp->level[i] = ssp->level[i - 1] + num_rcu_lvl[i - 1]; in init_srcu_struct_nodes()
118 if (snp == ssp->level[level + 1]) in init_srcu_struct_nodes()
119 level++; in init_srcu_struct_nodes()
120 snp->srcu_parent = ssp->level[level - 1] + in init_srcu_struct_nodes()
121 (snp - ssp->level[level]) / in init_srcu_struct_nodes()
122 levelspread[level - 1]; in init_srcu_struct_nodes()
131 level = rcu_num_lvls - 1; in init_srcu_struct_nodes()
132 snp_first = ssp->level[level]; in init_srcu_struct_nodes()
[all …]
DKconfig39 bool "Make expert-level adjustments to RCU configuration"
43 expert-level adjustments to RCU configuration. By default,
49 Say Y if you need to make expert-level adjustments to RCU.
112 int "Tree-based hierarchical RCU leaf-level fanout value"
118 This option controls the leaf-level fanout of hierarchical
122 want the default because the smaller leaf-level fanout keeps
130 leaf-level fanouts work well. That said, setting leaf-level
132 lock contention on the leaf-level rcu_node structures unless
Dtree.c88 .level = { &rcu_state.node[0] },
1028 __func__, rnp->grplo, rnp->grphi, rnp->level, in rcu_implicit_dynticks_qs()
1111 rnp->level, rnp->grplo, rnp->grphi, s); in trace_rcu_this_gp()
1554 rnp->level, rnp->grplo, in rcu_gp_init()
1867 mask, rnp->qsmask, rnp->level, in rcu_report_qs_rnp()
3359 rcu_state.level[i] = in rcu_init_one()
3360 rcu_state.level[i - 1] + num_rcu_lvl[i - 1]; in rcu_init_one()
3367 rnp = rcu_state.level[i]; in rcu_init_one()
3391 rnp->parent = rcu_state.level[i - 1] + in rcu_init_one()
3394 rnp->level = i; in rcu_init_one()
[all …]
Dtree.h78 u8 level; /* root is at level 0. */ member
292 struct rcu_node *level[RCU_NUM_LVLS + 1]; member
Dtree_exp.h305 trace_rcu_exp_funnel_lock(rcu_state.name, rnp->level, in exp_funnel_lock()
314 trace_rcu_exp_funnel_lock(rcu_state.name, rnp->level, in exp_funnel_lock()
515 rnp->level, rnp->grplo, rnp->grphi, in synchronize_sched_expedited_wait()
Drcu.h320 #define rcu_first_leaf_node() (rcu_state.level[rcu_num_lvls - 1])
323 #define rcu_is_leaf_node(rnp) ((rnp)->level == rcu_num_lvls - 1)
Dtree_stall.h207 rnp->level, rnp->grplo, rnp->grphi); in rcu_print_task_stall()
/kernel/sched/
Dtopology.c28 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one() argument
35 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one()
54 printk(KERN_DEBUG "%*s groups:", level + 1, ""); in sched_domain_debug_one()
117 int level = 0; in sched_domain_debug() local
130 if (sched_domain_debug_one(sd, cpu, level, sched_domains_tmpmask)) in sched_domain_debug()
132 level++; in sched_domain_debug()
1211 if (request < sd->level) { in set_domain_attribute()
1562 int level = 0; in sched_init_numa() local
1570 sched_domains_numa_distance[level++] = curr_distance; in sched_init_numa()
1571 sched_domains_numa_levels = level; in sched_init_numa()
[all …]
/kernel/bpf/
Dcgroup.c983 int __cgroup_bpf_run_filter_setsockopt(struct sock *sk, int *level, in __cgroup_bpf_run_filter_setsockopt() argument
990 .level = *level, in __cgroup_bpf_run_filter_setsockopt()
1041 *level = ctx.level; in __cgroup_bpf_run_filter_setsockopt()
1054 int __cgroup_bpf_run_filter_getsockopt(struct sock *sk, int level, in __cgroup_bpf_run_filter_getsockopt() argument
1062 .level = level, in __cgroup_bpf_run_filter_getsockopt()
1450 case offsetof(struct bpf_sockopt, level): in cg_sockopt_is_valid_access()
1507 case offsetof(struct bpf_sockopt, level): in cg_sockopt_convert_ctx_access()
1509 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_STX_MEM, level); in cg_sockopt_convert_ctx_access()
1511 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, level); in cg_sockopt_convert_ctx_access()
Dverifier.c1165 if (env->log.level & BPF_LOG_LEVEL2) in check_subprogs()
1471 if (env->log.level & BPF_LOG_LEVEL) { in backtrack_insn()
1730 if (env->log.level & BPF_LOG_LEVEL) in __mark_chain_precision()
1817 if (env->log.level & BPF_LOG_LEVEL) { in __mark_chain_precision()
2191 if (env->log.level & BPF_LOG_LEVEL) in check_map_access()
3828 if (env->log.level & BPF_LOG_LEVEL) { in check_func_call()
3868 if (env->log.level & BPF_LOG_LEVEL) { in prepare_func_exit()
5966 if (env->log.level & BPF_LOG_LEVEL) in check_cond_jmp_op()
7214 if (env->log.level & BPF_LOG_LEVEL2) in propagate_precision()
7228 if (env->log.level & BPF_LOG_LEVEL2) in propagate_precision()
[all …]
/kernel/irq/
DKconfig21 # Print level/edge extra information
77 # Support for hierarchical fasteoi+edge and fasteoi+level handlers
143 Allow to specify the low level IRQ handler at run time.
/kernel/debug/kdb/
Dkdb_cmds7 # Standard debugging information for first level support, just type archkdb
/kernel/trace/
Dtrace_events_hist.c1662 unsigned int level) in field_has_hist_vars() argument
1666 if (level > 3) in field_has_hist_vars()
1680 if (field_has_hist_vars(operand, level + 1)) in field_has_hist_vars()
1963 unsigned int level) in hist_field_name() argument
1967 if (level > 1) in hist_field_name()
1974 field_name = hist_field_name(field->operands[0], ++level); in hist_field_name()
2353 static char *expr_str(struct hist_field *field, unsigned int level) in expr_str() argument
2357 if (level > 1) in expr_str()
2373 subexpr = expr_str(field->operands[0], ++level); in expr_str()
2449 unsigned int level) in destroy_hist_field() argument
[all …]
Dtrace_events_filter.c1468 int level = open; in calc_stack() local
1479 if (level == open) { in calc_stack()
1483 level--; in calc_stack()
1486 level++; in calc_stack()
/kernel/cgroup/
Dcgroup.c5211 int level = parent->level + 1; in cgroup_create() local
5215 cgrp = kzalloc(struct_size(cgrp, ancestor_ids, (level + 1)), in cgroup_create()
5244 cgrp->level = level; in cgroup_create()
5272 cgrp->ancestor_ids[tcgrp->level] = tcgrp->id; in cgroup_create()
5336 int level = 1; in cgroup_check_hierarchy_limits() local
5344 if (level > cgroup->max_depth) in cgroup_check_hierarchy_limits()
5347 level++; in cgroup_check_hierarchy_limits()

12