/linux/tools/testing/selftests/kvm/lib/x86/ |
H A D | processor.c | 26 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) in regs_dump() argument 30 indent, "", in regs_dump() 34 indent, "", in regs_dump() 38 indent, "", in regs_dump() 42 indent, "", in regs_dump() 45 indent, "", in regs_dump() 50 uint8_t indent) in segment_dump() argument 54 indent, "", segment->base, segment->limit, in segment_dump() 58 indent, "", segment->present, segment->dpl, in segment_dump() 62 indent, "", segment->g, segment->avl, in segment_dump() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_db_mgr.c | 49 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 D | xe_guc_id_mgr.c | 35 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 D | clksrc-change-registers.awk | 93 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 D | conf.c | 43 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 D | mconf.c | 285 static int indent; variable 485 indent + 1, ' ', prompt); in build_conf() 488 indent + 1, ' ', prompt, in build_conf() 498 item_make(" %*c*** %s ***", indent + 1, ' ', prompt); in build_conf() 506 item_make("---%*c%s", indent + 1, ' ', prompt); in build_conf() 531 item_add_str("%*c%s", indent + 1, ' ', menu_get_prompt(menu)); in build_conf() 537 item_make("---%*c%s", indent + 1, ' ', menu_get_prompt(menu)); in build_conf() 572 tmp = indent - tmp + 4; in build_conf() 582 item_add_str("%*c%s%s", indent + 1, ' ', menu_get_prompt(menu), in build_conf() 592 indent += doint; in build_conf() [all …]
|
H A D | nconf.c | 265 static int indent; variable 787 indent + 1, ' ', prompt); in build_conf() 791 indent + 1, ' ', prompt, in build_conf() 802 indent + 1, ' ', in build_conf() 810 indent + 1, ' ', in build_conf() 833 item_add_str("%*c%s", indent + 1, in build_conf() 841 "---%*c%s", indent + 1, in build_conf() 880 tmp = indent - tmp + 4; in build_conf() 888 item_add_str("%*c%s%s", indent + 1, ' ', in build_conf() 899 indent += doint; in build_conf() [all …]
|
/linux/tools/verification/rvgen/rvgen/ |
H A D | ltl2k.py | 14 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 D | insn_decoder_test.c | 58 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 D | insn_sanity.c | 52 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 D | annotate-data.c | 27 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 D | convert_csv_to_c.py | 63 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/tools/testing/selftests/kvm/lib/loongarch/ |
H A D | processor.c | 140 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument 153 indent, "", type[level], pte, *ptep, ptep); in pte_dump() 154 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level--); in pte_dump() 158 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 166 pte_dump(stream, vm, indent, vm->pgd, level); in virt_arch_dump() 169 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
|
/linux/scripts/ |
H A D | Lindent | 6 RES=`indent --version | cut -d' ' -f3` 26 indent $PARAM "$@"
|
/linux/include/drm/ |
H A D | drm_gem_dma_helper.h | 39 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/drivers/gpu/drm/ |
H A D | drm_framebuffer.c | 1185 void drm_framebuffer_print_info(struct drm_printer *p, unsigned int indent, in drm_framebuffer_print_info() argument 1190 drm_printf_indent(p, indent, "allocated by = %s\n", fb->comm); in drm_framebuffer_print_info() 1191 drm_printf_indent(p, indent, "refcount=%u\n", in drm_framebuffer_print_info() 1193 drm_printf_indent(p, indent, "format=%p4cc\n", &fb->format->format); in drm_framebuffer_print_info() 1194 drm_printf_indent(p, indent, "modifier=0x%llx\n", fb->modifier); in drm_framebuffer_print_info() 1195 drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height); in drm_framebuffer_print_info() 1196 drm_printf_indent(p, indent, "layers:\n"); in drm_framebuffer_print_info() 1199 drm_printf_indent(p, indent + 1, "size[%u]=%dx%d\n", i, in drm_framebuffer_print_info() 1202 drm_printf_indent(p, indent + 1, "pitch[%u]=%u\n", i, fb->pitches[i]); in drm_framebuffer_print_info() 1203 drm_printf_indent(p, indent + 1, "offset[%u]=%u\n", i, fb->offsets[i]); in drm_framebuffer_print_info() [all …]
|
/linux/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-log.c | 68 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 D | raid5-ppl.c | 846 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/perf/ui/stdio/ |
H A D | hist.c | 623 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/testing/selftests/kvm/lib/arm64/ |
H A D | processor.c | 233 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument 246 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump() 247 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump() 252 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 264 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", pgd, *ptep, ptep); in virt_arch_dump() 265 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_arch_dump() 367 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument 375 indent, "", pstate, pc); in vcpu_arch_dump()
|
/linux/fs/unicode/ |
H A D | mkutf8data.c | 423 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 D | sparsebit.c | 872 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 …]
|
H A D | kvm_util.c | 1984 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in vm_dump() argument 1990 fprintf(stream, "%*smode: 0x%x\n", indent, "", vm->mode); in vm_dump() 1991 fprintf(stream, "%*sfd: %i\n", indent, "", vm->fd); in vm_dump() 1992 fprintf(stream, "%*spage_size: 0x%x\n", indent, "", vm->page_size); in vm_dump() 1993 fprintf(stream, "%*sMem Regions:\n", indent, ""); in vm_dump() 1996 "host_virt: %p\n", indent + 2, "", in vm_dump() 2000 fprintf(stream, "%*sunused_phy_pages: ", indent + 2, ""); in vm_dump() 2003 fprintf(stream, "%*sprotected_phy_pages: ", indent + 2, ""); in vm_dump() 2007 fprintf(stream, "%*sMapped Virtual Pages:\n", indent, ""); in vm_dump() 2008 sparsebit_dump(stream, vm->vpages_mapped, indent + 2); in vm_dump() [all …]
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 155 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 D | coding-style.rst | 635 (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,
|