Home
last modified time | relevance | path

Searched refs:indent (Results 1 – 25 of 71) sorted by relevance

123

/linux/tools/testing/selftests/kvm/lib/x86/
H A Dprocessor.c60 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) in regs_dump() argument
64 indent, "", in regs_dump()
68 indent, "", in regs_dump()
72 indent, "", in regs_dump()
76 indent, "", in regs_dump()
79 indent, "", in regs_dump()
84 uint8_t indent) in segment_dump() argument
88 indent, "", segment->base, segment->limit, in segment_dump()
92 indent, "", segment->present, segment->dpl, in segment_dump()
96 indent, "", segment->g, segment->avl, in segment_dump()
[all …]
/linux/tools/testing/selftests/x86/
H A Dsyscall_numbering.c73 unsigned int indent; /* Message indentation level */ member
81 unsigned int level = sh ? sh->indent : 0; in offset()
101 sh->indent = 0; \
176 sh->indent++; in _check_for()
178 sh->indent++; in _check_for()
192 sh->indent--; in _check_for()
204 sh->indent--; in _check_for()
235 sh->indent++; in test_x32()
246 sh->indent--; in test_x32()
311 sh->indent++; in test_syscall_numbering()
[all …]
/linux/tools/testing/selftests/kvm/lib/s390/
H A Dprocessor.c114 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument
124 indent, "", ptea, *pte); in virt_dump_ptes()
128 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument
138 indent, "", 4 - ((*entry & REGION_ENTRY_TYPE) >> 2), in virt_dump_region()
141 virt_dump_region(stream, vm, indent + 2, in virt_dump_region()
144 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region()
150 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument
155 virt_dump_region(stream, vm, indent, vm->pgd); in virt_arch_dump()
215 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
218 indent, "", vcpu->run->psw_mask, vcpu->run->psw_addr); in vcpu_arch_dump()
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.c49 static void dbm_print_locked(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent);
225 static void dbm_print_locked(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent) in dbm_print_locked() argument
230 drm_printf_indent(p, indent, "count: %u\n", dbm->count); in dbm_print_locked()
236 drm_printf_indent(p, indent, "available range: %u..%u (%u)\n", in dbm_print_locked()
240 drm_printf_indent(p, indent, "available total: %u\n", total); in dbm_print_locked()
244 drm_printf_indent(p, indent, "reserved range: %u..%u (%u)\n", in dbm_print_locked()
248 drm_printf_indent(p, indent, "reserved total: %u\n", total); in dbm_print_locked()
258 struct drm_printer *p, int indent) in xe_guc_db_mgr_print() argument
261 dbm_print_locked(dbm, p, indent); in xe_guc_db_mgr_print()
H A Dxe_guc_id_mgr.c35 static void idm_print_locked(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent);
250 static void idm_print_locked(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent) in idm_print_locked() argument
256 drm_printf_indent(p, indent, "total %u\n", idm->total); in idm_print_locked()
260 drm_printf_indent(p, indent, "used %u\n", idm->used); in idm_print_locked()
262 drm_printf_indent(p, indent, "range %u..%u (%u)\n", rs, re - 1, re - rs); in idm_print_locked()
271 void xe_guc_id_mgr_print(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent) in xe_guc_id_mgr_print() argument
274 idm_print_locked(idm, p, indent); in xe_guc_id_mgr_print()
/linux/Documentation/arch/arm/samsung/
H A Dclksrc-change-registers.awk93 indent=1
97 for(; indent >= 1;) {
114 indent++
117 indent--
119 if (indent == 0) {
162 printf indent ":" line "\n" > "/dev/stderr"
/linux/scripts/kconfig/
H A Dconf.c43 static int indent = 1; variable
329 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string()
362 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_sym()
432 printf("%*s%s\n", indent - 1, "", menu_get_prompt(menu)); in conf_choice()
440 printf("%*c %s\n", indent, '*', menu_get_prompt(child)); in conf_choice()
446 printf("%*c", indent, '>'); in conf_choice()
448 printf("%*c", indent, ' '); in conf_choice()
457 printf("%*schoice", indent - 1, ""); in conf_choice()
538 indent, '*', in conf()
539 indent, '*', prompt, in conf()
[all …]
H A Dmconf.c286 static int indent; variable
486 indent + 1, ' ', prompt); in build_conf()
489 indent + 1, ' ', prompt, in build_conf()
499 item_make(" %*c*** %s ***", indent + 1, ' ', prompt); in build_conf()
507 item_make("---%*c%s", indent + 1, ' ', prompt); in build_conf()
532 item_add_str("%*c%s", indent + 1, ' ', menu_get_prompt(menu)); in build_conf()
538 item_make("---%*c%s", indent + 1, ' ', menu_get_prompt(menu)); in build_conf()
573 tmp = indent - tmp + 4; in build_conf()
583 item_add_str("%*c%s%s", indent + 1, ' ', menu_get_prompt(menu), in build_conf()
593 indent += doint; in build_conf()
[all …]
H A Dnconf.c266 static int indent; variable
788 indent + 1, ' ', prompt); in build_conf()
792 indent + 1, ' ', prompt, in build_conf()
803 indent + 1, ' ', in build_conf()
811 indent + 1, ' ', in build_conf()
834 item_add_str("%*c%s", indent + 1, in build_conf()
842 "---%*c%s", indent + 1, in build_conf()
881 tmp = indent - tmp + 4; in build_conf()
889 item_add_str("%*c%s%s", indent + 1, ' ', in build_conf()
900 indent += doint; in build_conf()
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dltl2k.py14 def break_long_line(line: str, indent='') -> list[str]: argument
19 line = indent + line[i + 1:]
160 indent = "\t\t "
163 lines = break_long_line(line, indent)
194 indent = "\t "
197 lines = break_long_line(line, indent)
/linux/arch/x86/tools/
H A Dinsn_decoder_test.c58 static void dump_field(FILE *fp, const char *name, const char *indent, in dump_field() argument
61 fprintf(fp, "%s.%s = {\n", indent, name); in dump_field()
63 indent, field->value, field->bytes[0], field->bytes[1], in dump_field()
65 fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent, in dump_field()
H A Dinsn_sanity.c52 static void dump_field(FILE *fp, const char *name, const char *indent, in dump_field() argument
55 fprintf(fp, "%s.%s = {\n", indent, name); in dump_field()
57 indent, field->value, field->bytes[0], field->bytes[1], in dump_field()
59 fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent, in dump_field()
/linux/tools/perf/ui/browsers/
H A Dannotate-data.c27 int indent; /*indentation level, starts from 0 */ member
80 struct evsel *evsel, int indent) in add_child_entries() argument
98 entry->indent = indent; in add_child_entries()
114 indent + 1); in add_child_entries()
127 bracket->indent = indent; in add_child_entries()
405 "", "", be->indent * 4, ""); in browser__write()
429 if (be->indent == 0 && !member->var_name) { in browser__write()
437 be->indent * 4, "", member->type_name, in browser__write()
/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py63 def routedict_to_routelist_single(name, D, indent=1): argument
67 I0 = '\t'*(indent),
68 I1 = '\t'*(indent+1),
69 I2 = '\t'*(indent+2),
70 I3 = '\t'*(indent+3),
71 I4 = '\t'*(indent+4),
/linux/scripts/
H A DLindent6 RES=`indent --version | cut -d' ' -f3`
26 indent $PARAM "$@"
/linux/include/drm/
H A Ddrm_gem_dma_helper.h39 struct drm_printer *p, unsigned int indent);
74 static inline void drm_gem_dma_object_print_info(struct drm_printer *p, unsigned int indent, in drm_gem_dma_object_print_info() argument
79 drm_gem_dma_print_info(dma_obj, p, indent); in drm_gem_dma_object_print_info()
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.c68 int indent) in intel_pt_print_data() argument
72 for (i = 0; i < indent; i++) in intel_pt_print_data()
83 static void intel_pt_print_no_data(uint64_t pos, int indent) in intel_pt_print_no_data() argument
87 for (i = 0; i < indent; i++) in intel_pt_print_no_data()
/linux/drivers/md/
H A Draid5-ppl.c846 int indent = 0; in ppl_recover_entry() local
848 pr_debug("%s:%*s iter %d start\n", __func__, indent, "", i); in ppl_recover_entry()
849 indent += 2; in ppl_recover_entry()
862 __func__, indent, "", disk); in ppl_recover_entry()
863 indent += 2; in ppl_recover_entry()
867 __func__, indent, "", in ppl_recover_entry()
869 indent -= 2; in ppl_recover_entry()
879 __func__, indent, "", in ppl_recover_entry()
887 __func__, indent, "", dd_idx); in ppl_recover_entry()
893 __func__, indent, "", rdev->bdev, in ppl_recover_entry()
[all …]
/linux/tools/testing/selftests/kvm/lib/loongarch/
H A Dprocessor.c142 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument
155 indent, "", type[level], pte, *ptep, ptep); in pte_dump()
156 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level--); in pte_dump()
160 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument
168 pte_dump(stream, vm, indent, vm->pgd, level); in virt_arch_dump()
171 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
/linux/tools/perf/ui/stdio/
H A Dhist.c623 static int print_hierarchy_indent(const char *sep, int indent, in print_hierarchy_indent() argument
628 if (sep != NULL || indent < 2) in print_hierarchy_indent()
631 width = (indent - 2) * HIERARCHY_INDENT; in print_hierarchy_indent()
640 int indent; in hists__fprintf_hierarchy_headers() local
649 indent = hists->nr_hpp_node; in hists__fprintf_hierarchy_headers()
661 print_hierarchy_indent(sep, indent, " ", fp); in hists__fprintf_hierarchy_headers()
700 print_hierarchy_indent(sep, indent, dots, fp); in hists__fprintf_hierarchy_headers()
844 unsigned indent; in hists__fprintf() local
867 indent = hists__overhead_width(hists) + 4; in hists__fprintf()
898 fprintf(fp, "%*sno entry >= %.2f%%\n", indent, "", min_pcnt); in hists__fprintf()
/linux/tools/lib/python/kdoc/
H A Denrich_formatter.py41 def _fill_text(self, text, width, indent): argument
44 return "\n".join(indent + line for line in enriched.splitlines())
/linux/fs/unicode/
H A Dmkutf8data.c423 int indent = 1; in tree_walk() local
431 tree->leaf_print(tree->root, indent); in tree_walk()
440 indent, "", node, in tree_walk()
455 indent+1); in tree_walk()
459 indent += 1; in tree_walk()
469 indent+1); in tree_walk()
473 indent += 1; in tree_walk()
481 indent -= 1; in tree_walk()
949 int indent; in index_nodes() local
955 indent = 1; in index_nodes()
[all …]
/linux/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c872 unsigned int indent) in dump_nodes() argument
885 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes()
886 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "", in dump_nodes()
889 indent, "", nodep->idx, nodep->mask, nodep->num_after); in dump_nodes()
893 dump_nodes(stream, nodep->left, indent + 2); in dump_nodes()
897 dump_nodes(stream, nodep->right, indent + 2); in dump_nodes()
925 unsigned int indent) in sparsebit_dump_internal() argument
928 fprintf(stream, "%*sroot: %p\n", indent, "", s->root); in sparsebit_dump_internal()
929 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set); in sparsebit_dump_internal()
932 dump_nodes(stream, s->root, indent); in sparsebit_dump_internal()
[all …]
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c155 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, in pte_dump() argument
169 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", in pte_dump()
171 pte_dump(stream, vm, indent + 1, in pte_dump()
177 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument
189 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", in virt_arch_dump()
191 pte_dump(stream, vm, indent + 1, in virt_arch_dump()
220 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
/linux/Documentation/translations/zh_TW/process/
H A Dcoding-style.rst635 (indent-tabs-mode . t)
646 以用 ``indent`` 。
648 不過,GNU indent 也有和 GNU emacs 一樣有問題的設定,所以你需要給它一些命令選
649 項。不過,這還不算太糟糕,因爲就算是 GNU indent 的作者也認同 K&R 的權威性
650 (GNU 的人並不是壞人,他們只是在這個問題上被嚴重的誤導了),所以你只要給 indent
654 ``indent`` 有很多選項,特別是重新格式化註釋的時候,你可能需要看一下它的手冊。
655 不過記住: ``indent`` 不能修正壞的編程習慣。
1079 GNU 手冊 - 遵循 K&R 標準和此文本 - cpp, gcc, gcc internals and indent,

123