Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_get_stack_rawtp.c60 int max_len, max_buildid_len, total_size; in bpf_prog1() local
95 total_size = usize + ksize; in bpf_prog1()
96 if (total_size > 0 && total_size <= max_len) in bpf_prog1()
97 bpf_perf_event_output(ctx, &perfmap, 0, raw_data, total_size); in bpf_prog1()
/tools/bootconfig/
Dtest-bootconfig.sh63 total_size=$(expr $bconf_size + $initrd_size + 9 + 12 + $ALIGN - 1 )
64 total_size=$(expr $total_size / $ALIGN)
65 total_size=$(expr $total_size \* $ALIGN)
66 xpass test $new_size -eq $total_size
Dmain.c362 size_t total_size; in apply_xbc() local
426 total_size = stat.st_size + size + sizeof(u32) * 2 + BOOTCONFIG_MAGIC_LEN; in apply_xbc()
427 pad = ((total_size + BOOTCONFIG_ALIGN - 1) & (~BOOTCONFIG_ALIGN_MASK)) - total_size; in apply_xbc()
441 total_size = p - data; in apply_xbc()
443 ret = write(fd, data, total_size); in apply_xbc()
444 if (ret < total_size) { in apply_xbc()
/tools/perf/util/
Djitdump.h40 uint32_t total_size; /* total size of header */ member
61 uint32_t total_size; member
Djitdump.c184 header.total_size = bswap_32(header.total_size); in jit_open()
196 header.total_size, in jit_open()
227 bs = header.total_size - sizeof(header); in jit_open()
288 prefix->total_size = bswap_32(prefix->total_size); in jit_get_next_entry()
292 size = prefix->total_size; in jit_get_next_entry()
455 code = (unsigned long)jr + jr->load.p.total_size - csize; in jit_repipe_code_load()
643 sz = jr->prefix.total_size - sizeof(jr->info); in jit_repipe_debug_info()
670 unwinding_data_size = jr->prefix.total_size - sizeof(jr->unwinding); in jit_repipe_unwinding_info()
Dcs-etm.c2895 int total_size = auxtrace_info->header.size; in cs_etm__process_auxtrace_info() local
2910 if (total_size < (event_header_size + info_header_size)) in cs_etm__process_auxtrace_info()
2913 priv_size = total_size - event_header_size - info_header_size; in cs_etm__process_auxtrace_info()
/tools/perf/jvmti/
Djvmti_agent.c312 header.total_size = sizeof(header); in jvmti_open()
342 rec.p.total_size = sizeof(rec); in jvmti_close()
380 rec.p.total_size = sizeof(rec) + sym_len; in jvmti_write_code()
390 rec.p.total_size += size; in jvmti_write_code()
457 rec.p.total_size = size; in jvmti_write_debug_info()
/tools/perf/Documentation/
Djitdump-specification.txt41 * uint32_t total_size: size in bytes of file header
57 * uint32_t total_size: the size in bytes of the record including the header.
82 The record header total_size field is inclusive of all components:
/tools/vm/
Dslabinfo.c820 avg_size, total_size = 0; in totals() local
935 total_size += size; in totals()
960 avg_size = total_size / used_slabs; in totals()
980 store_size(b1, total_size);store_size(b2, total_waste); in totals()
1027 store_size(b3, max_size);store_size(b4, total_size); in totals()