Home
last modified time | relevance | path

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

12345678910>>...103

/linux/fs/nilfs2/
H A Dbtree.c26 int level = NILFS_BTREE_LEVEL_DATA; in nilfs_btree_alloc_path() local
32 for (; level < NILFS_BTREE_LEVEL_MAX; level++) { in nilfs_btree_alloc_path()
33 path[level].bp_bh = NULL; in nilfs_btree_alloc_path()
34 path[level].bp_sib_bh = NULL; in nilfs_btree_alloc_path()
35 path[level].bp_index = 0; in nilfs_btree_alloc_path()
36 path[level].bp_oldreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; in nilfs_btree_alloc_path()
37 path[level].bp_newreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; in nilfs_btree_alloc_path()
38 path[level].bp_op = NULL; in nilfs_btree_alloc_path()
47 int level = NILFS_BTREE_LEVEL_DATA; in nilfs_btree_free_path() local
49 for (; level < NILFS_BTREE_LEVEL_MAX; level++) in nilfs_btree_free_path()
[all …]
/linux/fs/xfs/scrub/
H A Dbtree.c29 int level, in __xchk_btree_process_error() argument
53 trace_xchk_ifork_btree_op_error(sc, cur, level, in __xchk_btree_process_error()
56 trace_xchk_btree_op_error(sc, cur, level, in __xchk_btree_process_error()
67 int level, in xchk_btree_process_error() argument
70 return __xchk_btree_process_error(sc, cur, level, error, in xchk_btree_process_error()
78 int level, in xchk_btree_xref_process_error() argument
81 return __xchk_btree_process_error(sc, cur, level, error, in xchk_btree_xref_process_error()
90 int level, in __xchk_btree_set_corrupt() argument
97 trace_xchk_ifork_btree_error(sc, cur, level, in __xchk_btree_set_corrupt()
100 trace_xchk_btree_error(sc, cur, level, in __xchk_btree_set_corrupt()
[all …]
H A Ddabtree.c32 int level, in xchk_da_process_error() argument
57 ds->state->path.blk[level].blkno), in xchk_da_process_error()
71 int level) in xchk_da_set_corrupt() argument
79 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt()
87 int level) in xchk_da_set_preen() argument
94 ds->state->path.blk[level].blkno), in xchk_da_set_preen()
102 int level) in xchk_da_btree_node_entry() argument
104 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry()
117 int level, in xchk_da_btree_hash() argument
126 if (hash < ds->hashes[level]) in xchk_da_btree_hash()
[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/arch/arm64/boot/dts/renesas/
H A Dr8a78000.dtsi146 next-level-cache = <&L2_CA720_0>;
153 next-level-cache = <&L2_CA720_1>;
160 next-level-cache = <&L2_CA720_2>;
167 next-level-cache = <&L2_CA720_3>;
174 next-level-cache = <&L2_CA720_4>;
181 next-level-cache = <&L2_CA720_5>;
188 next-level-cache = <&L2_CA720_6>;
195 next-level-cache = <&L2_CA720_7>;
202 next-level-cache = <&L2_CA720_8>;
209 next-level-cache = <&L2_CA720_9>;
[all …]
/linux/arch/riscv/kernel/
H A Dcacheinfo.c27 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) in get_cacheinfo() argument
44 if (this_leaf->level == level && this_leaf->type == type) in get_cacheinfo()
51 uintptr_t get_cache_size(u32 level, enum cache_type type) in get_cache_size() argument
53 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_size()
58 uintptr_t get_cache_geometry(u32 level, enum cache_type type) in get_cache_geometry() argument
60 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_geometry()
68 enum cache_type type, unsigned int level) in ci_leaf_init() argument
70 this_leaf->level = level; in ci_leaf_init()
84 int levels = 1, level = 1; in populate_cache_leaves() local
96 for (; level <= this_cpu_ci->num_levels; level++) { in populate_cache_leaves()
[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/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/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/drivers/gpu/drm/xe/
H A Dxe_lmtt.c60 static struct xe_lmtt_pt *lmtt_pt_alloc(struct xe_lmtt *lmtt, unsigned int level) in lmtt_pt_alloc() argument
62 unsigned int num_entries = level ? lmtt->ops->lmtt_pte_num(level) : 0; in lmtt_pt_alloc()
74 PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) * in lmtt_pt_alloc()
75 lmtt->ops->lmtt_pte_num(level)), in lmtt_pt_alloc()
85 lmtt_debug(lmtt, "level=%u addr=%#llx\n", level, (u64)xe_bo_main_addr(bo, XE_PAGE_SIZE)); in lmtt_pt_alloc()
89 pt->level = level; in lmtt_pt_alloc()
102 pt->level, (u64)xe_bo_main_addr(pt->bo, XE_PAGE_SIZE)); in lmtt_pt_free()
126 unsigned int num_entries = lmtt->ops->lmtt_pte_num(pd->level); in lmtt_fini_pd()
302 unsigned int level = pt->level; in lmtt_write_pte() local
304 lmtt_assert(lmtt, idx <= lmtt->ops->lmtt_pte_num(level)); in lmtt_write_pte()
[all …]
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_pt_walk.h64 unsigned int level, u64 addr, u64 next,
87 int xe_pt_walk_range(struct xe_ptw *parent, unsigned int level,
90 int xe_pt_walk_shared(struct xe_ptw *parent, unsigned int level,
105 static inline bool xe_pt_covers(u64 addr, u64 end, unsigned int level, in xe_pt_covers() argument
108 u64 pt_size = 1ull << walk->shifts[level]; in xe_pt_covers()
125 xe_pt_num_entries(u64 addr, u64 end, unsigned int level, in xe_pt_num_entries() argument
128 u64 pt_size = 1ull << walk->shifts[level]; in xe_pt_num_entries()
131 walk->shifts[level]; in xe_pt_num_entries()
144 xe_pt_offset(u64 addr, unsigned int level, const struct xe_pt_walk *walk) in xe_pt_offset() argument
146 if (level < walk->max_level) in xe_pt_offset()
[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/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c283 unsigned int level) in ia_css_eed1_8_debug_dtrace() argument
288 ia_css_debug_dtrace(level, "Edge Enhancing Demosaic 1.8:\n"); in ia_css_eed1_8_debug_dtrace()
289 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "rbzp_strength", in ia_css_eed1_8_debug_dtrace()
291 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "fcstrength", eed->fcstrength); in ia_css_eed1_8_debug_dtrace()
292 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "fcthres_0", eed->fcthres_0); in ia_css_eed1_8_debug_dtrace()
293 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "fcthres_1", eed->fcthres_1); in ia_css_eed1_8_debug_dtrace()
294 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "fc_sat_coef", eed->fc_sat_coef); in ia_css_eed1_8_debug_dtrace()
295 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "fc_coring_prm", in ia_css_eed1_8_debug_dtrace()
298 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "aerel_thres0", eed->aerel_thres0); in ia_css_eed1_8_debug_dtrace()
299 ia_css_debug_dtrace(level, "\t%-32s = %d\n", "aerel_gain0", eed->aerel_gain0); in ia_css_eed1_8_debug_dtrace()
[all …]
/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h81 int level; member
145 static bool FNAME(is_rsvd_bits_set)(struct kvm_mmu *mmu, u64 gpte, int level) in FNAME()
147 return __is_rsvd_bits_set(&mmu->guest_rsvd_check, gpte, level) || in FNAME()
202 unsigned level, index; in FNAME() local
212 for (level = walker->max_level; level >= walker->level; --level) { in FNAME()
213 pte = orig_pte = walker->ptes[level - 1]; in FNAME()
214 table_gfn = walker->table_gfn[level - 1]; in FNAME()
215 ptep_user = walker->ptep_user[level - 1]; in FNAME()
221 if (level == walker->level && write_fault && in FNAME()
246 if (unlikely(!walker->pte_writable[level - 1])) in FNAME()
[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.c59 int level; in fsverity_readahead() local
64 for (level = 0; level < params->num_levels; level++) { in fsverity_readahead()
65 unsigned long level_start = params->level_start[level]; in fsverity_readahead()
165 int level; in verify_data_block() local
218 for (level = 0; level < params->num_levels; level++) { in verify_data_block()
234 hblock_idx = params->level_start[level] + next_hidx; in verify_data_block()
262 level, in verify_data_block()
266 hblocks[level].page = hpage; in verify_data_block()
267 hblocks[level].addr = haddr; in verify_data_block()
268 hblocks[level].index = hblock_idx; in verify_data_block()
[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/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/powerpc/kernel/
H A Dcacheinfo.c121 int level; /* level not explicit in device tree */ member
144 static void cache_init(struct cache *cache, int type, int level, in cache_init() argument
148 cache->level = level; in cache_init()
155 static struct cache *new_cache(int type, int level, in new_cache() argument
162 cache_init(cache, type, level, ofnode, group_id); in new_cache()
185 pr_debug("freeing L%d %s cache for %pOFP\n", cache->level, in release_cache()
362 int level) in cache_do_one_devnode_unified() argument
364 pr_debug("creating L%d ucache for %pOFP\n", level, node); in cache_do_one_devnode_unified()
366 return new_cache(cache_is_unified_d(node), level, node, group_id); in cache_do_one_devnode_unified()
370 int level) in cache_do_one_devnode_split() argument
[all …]
/linux/net/netfilter/
H A Dnf_conntrack_h323_asn1.c110 static int decode_nul(struct bitstr *bs, const struct field_t *f, char *base, int level);
111 static int decode_bool(struct bitstr *bs, const struct field_t *f, char *base, int level);
112 static int decode_oid(struct bitstr *bs, const struct field_t *f, char *base, int level);
113 static int decode_int(struct bitstr *bs, const struct field_t *f, char *base, int level);
114 static int decode_enum(struct bitstr *bs, const struct field_t *f, char *base, int level);
115 static int decode_bitstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
116 static int decode_numstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
117 static int decode_octstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
118 static int decode_bmpstr(struct bitstr *bs, const struct field_t *f, char *base, int level);
119 static int decode_seq(struct bitstr *bs, const struct field_t *f, char *base, int level);
[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 …]

12345678910>>...103