Searched refs:indent (Results 26 - 50 of 73) sorted by last modified time

123

/linux-master/kernel/bpf/
H A Dbtf.c1110 const char *indent = &indents[strlen(indents)]; local
1112 if ((indent - show->state.depth) >= indents)
1113 return indent - show->state.depth;
/linux-master/fs/bcachefs/
H A Dutil.c391 printbuf_tabstop_push(out, out->indent + TABSTOP_SIZE);
401 printbuf_tabstop_push(out, out->indent + 20);
415 printbuf_tabstop_push(out, out->indent + 20);
H A Dprintbuf.c152 * bch2_printbuf_indent_add() - add to the current indent level
155 * @spaces: number of spaces to add to the current indent level
162 if (WARN_ON_ONCE(buf->indent + spaces < buf->indent))
165 buf->indent += spaces;
172 * bch2_printbuf_indent_sub() - subtract from the current indent level
175 * @spaces: number of spaces to subtract from the current indent level
182 if (WARN_ON_ONCE(spaces > buf->indent))
183 spaces = buf->indent;
185 if (buf->last_newline + buf->indent
[all...]
H A Dprintbuf.h47 * functions, printbufs track the current indent level.
49 * printbuf_indent_push() and printbuf_indent_pop() increase and decrease the current indent
58 * Make sure you use prt_newline() instead of \n in the format string for indent
82 unsigned indent; member in struct:printbuf
265 buf->indent = 0;
/linux-master/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c163 #define DUMP_LINE_MAX 100 /* Does not include indent amount */
866 * is prefixed by the number of spaces given by indent. On each
867 * recursion, the indent amount is increased by 2. This causes nodes
869 * with a greater indent.
872 unsigned int indent)
885 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep);
886 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "",
889 indent, "", nodep->idx, nodep->mask, nodep->num_after);
893 dump_nodes(stream, nodep->left, indent + 2);
897 dump_nodes(stream, nodep->right, indent
871 dump_nodes(FILE *stream, struct node *nodep, unsigned int indent) argument
924 sparsebit_dump_internal(FILE *stream, const struct sparsebit *s, unsigned int indent) argument
1586 sparsebit_dump(FILE *stream, const struct sparsebit *s, unsigned int indent) argument
[all...]
/linux-master/tools/testing/selftests/kvm/lib/s390x/
H A Dprocessor.c114 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, argument
124 indent, "", ptea, *pte);
128 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, argument
138 indent, "", 4 - ((*entry & REGION_ENTRY_TYPE) >> 2),
141 virt_dump_region(stream, vm, indent + 2,
144 virt_dump_ptes(stream, vm, indent + 2,
150 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) argument
155 virt_dump_region(stream, vm, indent, vm->pgd);
215 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) argument
218 indent, "", vcp
[all...]
/linux-master/tools/testing/selftests/kvm/include/
H A Dsparsebit.h66 unsigned int indent);
/linux-master/tools/perf/util/
H A Dstat-display.c1394 int idx, indent = 0; local
1397 while (tmp[indent] == ' ')
1398 indent++;
1400 fprintf(output, "%*s# Table of individual measurements:\n", indent, "");
1415 fprintf(output, "\n%*s# Final result:\n", indent, "");
/linux-master/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py95 indent=4)
/linux-master/tools/perf/
H A Dbuiltin-report.c833 int indent; member in struct:maps__fprintf_task_args
847 args->indent, "", map__start(map), map__end(map),
862 static size_t maps__fprintf_task(struct maps *maps, int indent, FILE *fp) argument
865 .indent = indent,
H A Dbuiltin-annotate.c362 struct evsel *evsel, int indent)
387 member->offset, member->size, indent, "", member->type_name,
394 print_annotated_data_type(mem_type, child, evsel, indent + 4);
397 printf("%*s}", 11 * nr_events + 24 + indent, "");
360 print_annotated_data_type(struct annotated_data_type *mem_type, struct annotated_member *member, struct evsel *evsel, int indent) argument
/linux-master/drivers/gpu/drm/xe/
H A Dxe_reg_whitelist.c88 * @indent: indent level
94 void xe_reg_whitelist_print_entry(struct drm_printer *p, unsigned int indent, argument
132 drm_printf_indent(p, indent, "REG[0x%x-0x%x]: %s %s access\n",
H A Dxe_guc_db_mgr.c49 static void dbm_print_locked(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent);
224 static void dbm_print_locked(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent) argument
229 drm_printf_indent(p, indent, "count: %u\n", dbm->count);
235 drm_printf_indent(p, indent, "available range: %u..%u (%u)\n",
239 drm_printf_indent(p, indent, "available total: %u\n", total);
243 drm_printf_indent(p, indent, "reserved range: %u..%u (%u)\n",
247 drm_printf_indent(p, indent, "reserved total: %u\n", total);
254 * @indent: tab indentation level
257 struct drm_printer *p, int indent)
260 dbm_print_locked(dbm, p, indent);
256 xe_guc_db_mgr_print(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent) argument
[all...]
H A Dxe_guc_db_mgr.h20 void xe_guc_db_mgr_print(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent);
H A Dxe_reg_whitelist.h18 void xe_reg_whitelist_print_entry(struct drm_printer *p, unsigned int indent,
/linux-master/drivers/gpu/drm/i915/
H A Di915_request.c2185 int indent)
2224 prefix, indent, " ",
2182 i915_request_show(struct drm_printer *m, const struct i915_request *rq, const char *prefix, int indent) argument
/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc.py816 json.dump(testlist, outfile, indent=4)
/linux-master/drivers/md/
H A Draid5-ppl.c846 int indent = 0; local
848 pr_debug("%s:%*s iter %d start\n", __func__, indent, "", i);
849 indent += 2;
862 __func__, indent, "", disk);
863 indent += 2;
867 __func__, indent, "",
869 indent -= 2;
879 __func__, indent, "",
887 __func__, indent, "", dd_idx);
893 __func__, indent, "", rde
[all...]
/linux-master/scripts/clang-tools/
H A Dgen_compile_commands.py224 json.dump(sorted(compile_commands, key=lambda x: x["file"]), f, indent=2, sort_keys=True)
/linux-master/tools/perf/ui/browsers/
H A Dhists.c1577 int indent = browser->hists->nr_hpp_node - 2; local
1617 ui_browser__write_nstring(&browser->b, "", indent * HIERARCHY_INDENT);
1618 width -= indent * HIERARCHY_INDENT;
1692 int indent = hists->nr_hpp_node - 2; local
1720 indent * HIERARCHY_INDENT, "");
/linux-master/scripts/
H A Dcheckpatch.pl1552 # Pick the indent from the front of the line.
2633 my $indent;
2831 # Measure the line length and indent.
2832 ($length, $indent) = line_stats($rawline);
2836 ($previndent, $stashindent) = ($stashindent, $indent);
3895 "code indent should use tabs where possible\n" . $herevet) &&
3943 my $indent = length($1);
3944 if ($indent % $tabsize) {
3948 $fixed[$fixlinenr] =~ s@(^\+\t+) +@$1 . "\t" x ($indent/$tabsize)@e;
4287 # statements should be at the same indent
[all...]
H A Dget_abi.pl415 my $indent = $d =~ m/^(\s+)/;
416 my $spaces = length($indent);
417 $init_indent = $indent if ($init_indent < 0);
/linux-master/drivers/gpu/drm/
H A Ddrm_framebuffer.c1155 void drm_framebuffer_print_info(struct drm_printer *p, unsigned int indent, argument
1160 drm_printf_indent(p, indent, "allocated by = %s\n", fb->comm);
1161 drm_printf_indent(p, indent, "refcount=%u\n",
1163 drm_printf_indent(p, indent, "format=%p4cc\n", &fb->format->format);
1164 drm_printf_indent(p, indent, "modifier=0x%llx\n", fb->modifier);
1165 drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height);
1166 drm_printf_indent(p, indent, "layers:\n");
1169 drm_printf_indent(p, indent + 1, "size[%u]=%dx%d\n", i,
1172 drm_printf_indent(p, indent + 1, "pitch[%u]=%u\n", i, fb->pitches[i]);
1173 drm_printf_indent(p, indent
[all...]
/linux-master/tools/perf/pmu-events/
H A Dmetric.py511 return json.dumps(sorted(self.Flatten()), indent=2, cls=_MetricJsonEncoder)
/linux-master/tools/perf/scripts/python/
H A Dgecko.py340 json.dump(gecko_profile_with_meta, f, indent=2)
347 json.dump(gecko_profile_with_meta, f, indent=2)

Completed in 415 milliseconds

123