Home
last modified time | relevance | path

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

12345678910>>...99

/linux/fs/xfs/scrub/
H A Dbtree.c29 int level, in __xchk_btree_process_error() argument
50 trace_xchk_ifork_btree_op_error(sc, cur, level, in __xchk_btree_process_error()
53 trace_xchk_btree_op_error(sc, cur, level, in __xchk_btree_process_error()
59 trace_xchk_ifork_btree_op_error(sc, cur, level, in __xchk_btree_process_error()
62 trace_xchk_btree_op_error(sc, cur, level,
73 int level,
76 return __xchk_btree_process_error(sc, cur, level, error, in xchk_btree_xref_process_error()
84 int level,
87 return __xchk_btree_process_error(sc, cur, level, error, in __xchk_btree_set_corrupt()
96 int level, in __xchk_btree_set_corrupt()
67 xchk_btree_process_error(struct xfs_scrub * sc,struct xfs_btree_cur * cur,int level,int * error) xchk_btree_process_error() argument
78 xchk_btree_xref_process_error(struct xfs_scrub * sc,struct xfs_btree_cur * cur,int level,int * error) xchk_btree_xref_process_error() argument
90 __xchk_btree_set_corrupt(struct xfs_scrub * sc,struct xfs_btree_cur * cur,int level,__u32 errflag,void * ret_ip) __xchk_btree_set_corrupt() argument
108 xchk_btree_set_corrupt(struct xfs_scrub * sc,struct xfs_btree_cur * cur,int level) xchk_btree_set_corrupt() argument
118 xchk_btree_xref_set_corrupt(struct xfs_scrub * sc,struct xfs_btree_cur * cur,int level) xchk_btree_xref_set_corrupt() argument
128 xchk_btree_set_preen(struct xfs_scrub * sc,struct xfs_btree_cur * cur,int level) xchk_btree_set_preen() argument
190 xchk_btree_key(struct xchk_btree * bs,int level) xchk_btree_key() argument
238 xchk_btree_ptr_ok(struct xchk_btree * bs,int level,union xfs_btree_ptr * ptr) xchk_btree_ptr_ok() argument
259 xchk_btree_block_check_sibling(struct xchk_btree * bs,int level,int direction,union xfs_btree_ptr * sibling) xchk_btree_block_check_sibling() argument
327 int level; xchk_btree_block_check_siblings() local
360 int level; global() member
370 xchk_btree_check_block_owner(struct xchk_btree * bs,int level,xfs_daddr_t daddr) xchk_btree_check_block_owner() argument
424 xchk_btree_check_owner(struct xchk_btree * bs,int level,struct xfs_buf * bp) xchk_btree_check_owner() argument
497 xchk_btree_check_minrecs(struct xchk_btree * bs,int level,struct xfs_btree_block * block) xchk_btree_check_minrecs() argument
545 xchk_btree_block_check_keys(struct xchk_btree * bs,int level,struct xfs_btree_block * block) xchk_btree_block_check_keys() argument
587 xchk_btree_get_block(struct xchk_btree * bs,int level,union xfs_btree_ptr * pp,struct xfs_btree_block ** pblock,struct xfs_buf ** pbp) xchk_btree_get_block() argument
639 xchk_btree_block_keys(struct xchk_btree * bs,int level,struct xfs_btree_block * block) xchk_btree_block_keys() argument
698 int level; xchk_btree() local
[all...]
/linux/arch/sparc/kernel/
H A Dcpumap.c34 int level; member
52 struct cpuinfo_level level[CPUINFO_LVL_MAX]; member
96 static int cpuinfo_id(int cpu, int level) in cpuinfo_id() argument
100 switch (level) { in cpuinfo_id()
193 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local
202 memcpy(&new_tree->level, tmp_level, sizeof(tmp_level)); in build_cpuinfo_tree()
207 for (level = CPUINFO_LVL_PROC; level >= CPUINFO_LVL_ROOT; level--) { in build_cpuinfo_tree()
208 n = new_tree->level[level].start_index; in build_cpuinfo_tree()
210 level_rover[level] = n; in build_cpuinfo_tree()
213 id = cpuinfo_id(cpu, level); in build_cpuinfo_tree()
[all …]
/linux/arch/arm64/kernel/
H A Dcacheinfo.c24 static inline enum cache_type get_cache_type(int level) in get_cache_type() argument
28 if (level > MAX_CACHE_LEVEL) in get_cache_type()
31 return CLIDR_CTYPE(clidr, level); in get_cache_type()
35 enum cache_type type, unsigned int level) in ci_leaf_init() argument
37 this_leaf->level = level; in ci_leaf_init()
43 unsigned int ctype, level, leaves; in detect_cache_level() local
45 for (level = 1, leaves = 0; level <= MAX_CACHE_LEVEL; level++) { in detect_cache_level()
46 ctype = get_cache_type(level); in detect_cache_level()
48 level--; in detect_cache_level()
55 *level_p = level; in detect_cache_level()
[all …]
/linux/tools/power/x86/intel-speed-select/
H A Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt() argument
91 if (!level) in format_and_print_txt()
94 if (level == 1) { in format_and_print_txt()
97 for (i = 0; i < level - 1; ++i) in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
119 format_and_print_txt(outf, level, header, value); in format_and_print()
123 if (level == 0) { in format_and_print()
132 for (i = 0; i < level; ++i) in format_and_print()
136 if (last_level == level) in format_and_print()
140 if (last_level != level) in format_and_print()
[all …]
/linux/arch/s390/include/asm/
H A Ddebug.h35 unsigned long level : 3; member
49 int level; member
106 debug_entry_t *debug_event_common(debug_info_t *id, int level,
109 debug_entry_t *debug_exception_common(debug_info_t *id, int level,
142 static inline bool debug_level_enabled(debug_info_t *id, int level) in debug_level_enabled() argument
144 return level <= id->level; in debug_level_enabled()
160 static inline debug_entry_t *debug_event(debug_info_t *id, int level, in debug_event() argument
163 if ((!id) || (level > id->level) || (id->pages_per_area == 0)) in debug_event()
165 return debug_event_common(id, level, data, length); in debug_event()
180 static inline debug_entry_t *debug_int_event(debug_info_t *id, int level, in debug_int_event() argument
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drockchip-pinconf.dtsi23 pcfg_pull_none_drv_level_0: pcfg-pull-none-drv-level-0 {
29 pcfg_pull_none_drv_level_1: pcfg-pull-none-drv-level-1 {
35 pcfg_pull_none_drv_level_2: pcfg-pull-none-drv-level-2 {
41 pcfg_pull_none_drv_level_3: pcfg-pull-none-drv-level-3 {
47 pcfg_pull_none_drv_level_4: pcfg-pull-none-drv-level-4 {
53 pcfg_pull_none_drv_level_5: pcfg-pull-none-drv-level-5 {
59 pcfg_pull_none_drv_level_6: pcfg-pull-none-drv-level-6 {
65 pcfg_pull_none_drv_level_7: pcfg-pull-none-drv-level-7 {
71 pcfg_pull_none_drv_level_8: pcfg-pull-none-drv-level-8 {
77 pcfg_pull_none_drv_level_9: pcfg-pull-none-drv-level-9 {
[all …]
/linux/arch/s390/kernel/
H A Dcache.c77 seq_printf(m, "level=%d ", cache->level); in show_cacheinfo()
88 static inline enum cache_type get_cache_type(struct cache_info *ci, int level) in get_cache_type() argument
90 if (level >= CACHE_MAX_LEVEL) in get_cache_type()
92 ci += level; in get_cache_type()
104 enum cache_type type, unsigned int level, int cpu) in ci_leaf_init() argument
112 this_leaf->level = level + 1; in ci_leaf_init()
114 this_leaf->coherency_line_size = ecag(EXTRACT_LINE_SIZE, level, ti); in ci_leaf_init()
115 this_leaf->ways_of_associativity = ecag(EXTRACT_ASSOCIATIVITY, level, ti); in ci_leaf_init()
116 this_leaf->size = ecag(EXTRACT_SIZE, level, ti); in ci_leaf_init()
128 unsigned int level = 0, leaves = 0; in init_cache_level() local
[all …]
/linux/lib/
H A Dgeneric-radix-tree.c28 unsigned level; in __genradix_ptr_alloc() local
38 level = genradix_root_to_depth(r); in __genradix_ptr_alloc()
40 if (n && ilog2(offset) < genradix_depth_shift(level)) in __genradix_ptr_alloc()
51 ((unsigned long) new_node | (n ? level + 1 : 0))); in __genradix_ptr_alloc()
61 while (level--) { in __genradix_ptr_alloc()
63 &n->children[offset >> genradix_depth_shift(level)]; in __genradix_ptr_alloc()
64 offset &= genradix_depth_size(level) - 1; in __genradix_ptr_alloc()
92 unsigned level, i; in __genradix_iter_peek() local
103 level = genradix_root_to_depth(r); in __genradix_iter_peek()
105 if (ilog2(iter->offset) >= genradix_depth_shift(level)) in __genradix_iter_peek()
[all …]
/linux/security/selinux/ss/
H A Dmls.c3 * Implementation of the multi-level security (MLS) policy.
44 u32 index_sens = context->range.level[l].sens; in mls_compute_context_len()
50 e = &context->range.level[l].cat; in mls_compute_context_len()
70 if (mls_level_eq(&context->range.level[0], in mls_compute_context_len()
71 &context->range.level[1])) in mls_compute_context_len()
105 context->range.level[l].sens - 1)); in mls_sid_to_context()
111 e = &context->range.level[l].cat; in mls_sid_to_context()
148 if (mls_level_eq(&context->range.level[0], in mls_sid_to_context()
149 &context->range.level[1])) in mls_sid_to_context()
176 * l is valid iff every bit in l->cat is set in levdatum->level in mls_level_isvalid()
[all...]
/linux/arch/powerpc/platforms/powernv/
H A Dopal-hmi.c38 static void print_core_checkstop_reason(const char *level, in print_core_checkstop_reason() argument
75 printk("%s Unknown Core check stop.\n", level); in print_core_checkstop_reason()
79 printk("%s CPU PIR: %08x\n", level, in print_core_checkstop_reason()
84 printk("%s [Unit: %-3s] %s\n", level, in print_core_checkstop_reason()
89 static void print_nx_checkstop_reason(const char *level, in print_nx_checkstop_reason() argument
126 printk("%s Unknown NX check stop.\n", level); in print_nx_checkstop_reason()
130 printk("%s NX checkstop on CHIP ID: %x\n", level, in print_nx_checkstop_reason()
135 printk("%s [Unit: %-3s] %s\n", level, in print_nx_checkstop_reason()
140 static void print_npu_checkstop_reason(const char *level, in print_npu_checkstop_reason() argument
150 printk("%s NPU checkstop on chip %x\n", level, in print_npu_checkstop_reason()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_pt_walk.c27 static u64 xe_pt_addr_end(u64 addr, u64 end, unsigned int level, in xe_pt_addr_end() argument
30 u64 size = 1ull << walk->shifts[level]; in xe_pt_addr_end()
37 unsigned int level, const struct xe_pt_walk *walk) in xe_pt_next() argument
43 unsigned int shift = walk->shifts[level]; in xe_pt_next()
73 int xe_pt_walk_range(struct xe_ptw *parent, unsigned int level, in xe_pt_walk_range() argument
76 pgoff_t offset = xe_pt_offset(addr, level, walk); in xe_pt_walk_range()
86 next = xe_pt_addr_end(addr, end, level, walk); in xe_pt_walk_range()
87 if (walk->shared_pt_mode && xe_pt_covers(addr, next, level, in xe_pt_walk_range()
93 err = ops->pt_entry(parent, offset, level, addr, next, in xe_pt_walk_range()
102 if (likely(!level || !child || action == ACTION_CONTINUE)) in xe_pt_walk_range()
[all …]
H A Dxe_lmtt_2l.c76 static unsigned int lmtt_2l_pte_num(unsigned int level) in lmtt_2l_pte_num() argument
78 switch (level) { in lmtt_2l_pte_num()
90 static unsigned int lmtt_2l_pte_size(unsigned int level) in lmtt_2l_pte_size() argument
92 switch (level) { in lmtt_2l_pte_size()
102 static unsigned int lmtt_2l_pte_shift(unsigned int level) in lmtt_2l_pte_shift() argument
104 switch (level) { in lmtt_2l_pte_shift()
112 static unsigned int lmtt_2l_pte_index(u64 addr, unsigned int level) in lmtt_2l_pte_index() argument
114 addr >>= lmtt_2l_pte_shift(level); in lmtt_2l_pte_index()
116 switch (level) { in lmtt_2l_pte_index()
126 static u64 lmtt_2l_pte_encode(unsigned long offset, unsigned int level) in lmtt_2l_pte_encode() argument
[all …]
H A Dxe_lmtt_ml.c76 static unsigned int lmtt_ml_pte_num(unsigned int level) in lmtt_ml_pte_num() argument
78 switch (level) { in lmtt_ml_pte_num()
92 static unsigned int lmtt_ml_pte_size(unsigned int level) in lmtt_ml_pte_size() argument
94 switch (level) { in lmtt_ml_pte_size()
105 static unsigned int lmtt_ml_pte_shift(unsigned int level) in lmtt_ml_pte_shift() argument
107 switch (level) { in lmtt_ml_pte_shift()
118 static unsigned int lmtt_ml_pte_index(u64 addr, unsigned int level) in lmtt_ml_pte_index() argument
120 addr >>= lmtt_ml_pte_shift(level); in lmtt_ml_pte_index()
122 switch (level) { in lmtt_ml_pte_index()
136 static u64 lmtt_ml_pte_encode(unsigned long offset, unsigned int level) in lmtt_ml_pte_encode() argument
[all …]
/linux/scripts/
H A Dgenerate_initcall_order.pl45 my $level = $initcalls->{$counter}->{'level'};
53 print "$index $level $secname\n";
72 my ($index, $level, $secname) = $data =~
76 !defined($level) ||
88 'level' => $level,
135 my ($function, $level) = $symbol =~
139 if (!defined($function) || !defined($level));
145 'level' => $level,
233 my $level = $result->{'level'};
235 if (!exists($sections->{$level})) {
[all …]
/linux/fs/verity/
H A Dverify.c60 int level; in fsverity_readahead()
65 for (level = 0; level < params->num_levels; level++) { in fsverity_readahead()
66 unsigned long level_start = params->level_start[level]; in fsverity_readahead()
166 int level; in verify_data_block()
170 /* The hash blocks that are traversed, indexed by level */ in verify_data_block()
185 * The index of the previous level's block within that level; also the in verify_data_block()
186 * index of that block's hash within the current level in verify_data_block()
59 int level; fsverity_readahead() local
165 int level; verify_data_block() local
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_btree_staging.c286 unsigned int level, in xfs_btree_bload_prep_block() argument
298 if (xfs_btree_at_iroot(cur, level)) { in xfs_btree_bload_prep_block()
305 new_size = bbl->iroot_size(cur, level, nr_this_block, priv); in xfs_btree_bload_prep_block()
311 level, nr_this_block, I_INO(cur->bc_ino.ip)); in xfs_btree_bload_prep_block()
345 xfs_btree_init_block_cur(cur, new_bp, level, nr_this_block); in xfs_btree_bload_prep_block()
440 unsigned int level) in xfs_btree_bload_max_npb() argument
444 if (level == cur->bc_nlevels - 1 && cur->bc_ops->get_dmaxrecs) in xfs_btree_bload_max_npb()
445 return cur->bc_ops->get_dmaxrecs(cur, level); in xfs_btree_bload_max_npb()
447 ret = cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_bload_max_npb()
448 if (level == 0) in xfs_btree_bload_max_npb()
[all …]
/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h81 int level; member
150 static bool FNAME(is_rsvd_bits_set)(struct kvm_page_format *fmt, u64 gpte, int level) in FNAME()
152 return __is_rsvd_bits_set(fmt, gpte, level) || in FNAME()
215 unsigned level, index; in FNAME() local
225 for (level = walker->max_level; level >= walker->level; --level) { in FNAME()
226 pte = orig_pte = walker->ptes[level - 1]; in FNAME()
227 table_gfn = walker->table_gfn[level in FNAME()
[all...]
H A Dmmutrace.h38 __entry->gfn, role.level, \
95 TP_PROTO(u64 pte, int level),
96 TP_ARGS(pte, level),
100 __field(__u32, level)
105 __entry->level = level;
108 TP_printk("pte %llx level %u", __entry->pte, __entry->level)
340 TP_PROTO(int level, gfn_t gfn, u64 *sptep),
341 TP_ARGS(level, gfn, sptep),
347 __field(u8, level)
358 __entry->level = level;
[all …]
/linux/scripts/gdb/linux/
H A Dpgtable.py18 def page_mask(level=1): argument
20 if level == 1:
23 elif level == 2:
26 elif level == 3:
29 raise Exception(f'Unknown page level: {level}')
44 def entry_va(level, phys_addr, translating_va):
45 def start_bit(level):
46 if level == 5: argument
48 elif level
47 start_bit(level) global() argument
89 __init__(self, address, level) global() argument
154 page_size_line(ps_bit, ps, level) global() argument
[all...]
/linux/arch/arm64/boot/dts/amd/
H A Delba-16core.dtsi46 next-level-cache = <&l2_0>;
54 next-level-cache = <&l2_0>;
62 next-level-cache = <&l2_0>;
70 next-level-cache = <&l2_0>;
77 cache-level = <2>;
85 next-level-cache = <&l2_1>;
93 next-level-cache = <&l2_1>;
101 next-level-cache = <&l2_1>;
109 next-level-cache = <&l2_1>;
116 cache-level = <2>;
[all …]
/linux/arch/powerpc/kernel/
H A Dcacheinfo.c122 int level; /* level not explicit in device tree */ member
145 static void cache_init(struct cache *cache, int type, int level, in cache_init() argument
149 cache->level = level; in cache_init()
156 static struct cache *new_cache(int type, int level, in new_cache() argument
163 cache_init(cache, type, level, ofnode, group_id); in new_cache()
186 pr_debug("freeing L%d %s cache for %pOFP\n", cache->level, in release_cache()
363 int level) in cache_do_one_devnode_unified() argument
365 pr_debug("creating L%d ucache for %pOFP\n", level, node); in cache_do_one_devnode_unified()
367 return new_cache(cache_is_unified_d(node), level, node, group_id); in cache_do_one_devnode_unified()
371 int level) in cache_do_one_devnode_split() argument
[all …]
/linux/security/lockdown/
H A Dlockdown.c27 static int lock_kernel_down(const char *where, enum lockdown_reason level) in lock_kernel_down() argument
29 if (kernel_locked_down >= level) in lock_kernel_down()
32 kernel_locked_down = level; in lock_kernel_down()
38 static int __init lockdown_param(char *level) in lockdown_param() argument
40 if (!level) in lockdown_param()
43 if (strcmp(level, "integrity") == 0) in lockdown_param()
45 else if (strcmp(level, "confidentiality") == 0) in lockdown_param()
103 enum lockdown_reason level = lockdown_levels[i]; in lockdown_read() local
105 if (lockdown_reasons[level]) { in lockdown_read()
106 const char *label = lockdown_reasons[level]; in lockdown_read()
[all …]
/linux/sound/soc/sof/xtensa/
H A Dcore.c84 static void xtensa_dsp_oops(struct snd_sof_dev *sdev, const char *level, void *oops) in xtensa_dsp_oops() argument
89 dev_printk(level, sdev->dev, "error: DSP Firmware Oops\n"); in xtensa_dsp_oops()
92 dev_printk(level, sdev->dev, in xtensa_dsp_oops()
98 dev_printk(level, sdev->dev, in xtensa_dsp_oops()
101 dev_printk(level, sdev->dev, in xtensa_dsp_oops()
104 dev_printk(level, sdev->dev, in xtensa_dsp_oops()
107 dev_printk(level, sdev->dev, in xtensa_dsp_oops()
110 dev_printk(level, sdev->dev, in xtensa_dsp_oops()
115 static void xtensa_stack(struct snd_sof_dev *sdev, const char *level, void *oops, in xtensa_stack() argument
124 dev_printk(level, sdev->dev, "stack dump from 0x%8.8x\n", stack_ptr); in xtensa_stack()
[all …]
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-common.dtsi69 next-level-cache = <&l2_cache_0>;
83 next-level-cache = <&l2_cache_0>;
97 next-level-cache = <&l2_cache_1>;
111 next-level-cache = <&l2_cache_1>;
125 next-level-cache = <&l2_cache_1>;
139 next-level-cache = <&l2_cache_1>;
153 next-level-cache = <&l2_cache_2>;
167 next-level-cache = <&l2_cache_2>;
181 next-level-cache = <&l2_cache_2>;
195 next-level-cache = <&l2_cache_2>;
[all …]
/linux/net/netfilter/
H A Dnf_conntrack_h323_asn1.c108 static int decode_nul(struct bitstr *bs, const struct field_t *f, char *base, int level);
109 static int decode_bool(struct bitstr *bs, const struct field_t *f, char *base, int level);
110 static int decode_oid(struct bitstr *bs, const struct field_t *f, char *base, int level);
111 static int decode_int(struct bitstr *bs, const struct field_t *f, char *base, int level);
112 static int decode_enum(struct bitstr *bs, const struct field_t *f, char *base, int level);
113 static int decode_bitstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
114 static int decode_numstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
115 static int decode_octstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
116 static int decode_bmpstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
117 static int decode_seq(struct bitstr *bs, const struct field_t *f, char *base, int level);
[all …]

12345678910>>...99