Searched refs:roundup (Results 1 – 11 of 11) sorted by relevance
/tools/perf/pmu-events/ |
D | json.h | 30 #ifndef roundup 31 #define roundup(x, y) ( \ macro
|
D | json.c | 76 munmap(map, roundup(size, ps)); in unmapfile()
|
/tools/include/linux/ |
D | kernel.h | 55 #ifndef roundup 56 #define roundup(x, y) ( \ macro
|
/tools/bpf/bpftool/ |
D | gen.c | 301 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_skeleton()
|
/tools/perf/bench/ |
D | inject-buildid.c | 179 len += roundup(strlen(dso->name) + 1, 8) + bench_id_hdr_size; in synthesize_mmap()
|
/tools/lib/bpf/ |
D | btf_dump.c | 856 new_off = roundup(cur_off, pad_bits); in btf_dump_emit_bit_padding() 872 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
|
D | libbpf.c | 1335 map_sz = (size_t)roundup(map->def.value_size, 8) * map->def.max_entries; in bpf_map_mmap_sz() 1336 map_sz = roundup(map_sz, page_sz); in bpf_map_mmap_sz() 3234 ext->kcfg.data_off = roundup(off, ext->kcfg.align); in bpf_object__collect_externs() 10554 data_len = roundup(data_len, sizeof(__u64)); in bpf_program__get_prog_info_linear()
|
/tools/perf/ |
D | builtin-inject.c | 755 output_data_offset = roundup(8192 + session->header.data_offset, 4096); in __cmd_inject()
|
/tools/perf/util/ |
D | symbol.c | 246 prev->end = roundup(prev->end + 4096, 4096); in symbols__fixup_end() 257 curr->end = roundup(curr->start, 4096) + 4096; in symbols__fixup_end()
|
D | intel-pt.c | 3396 len = roundup(len + 1, 8); in intel_pt_process_auxtrace_info()
|
/tools/perf/arch/x86/util/ |
D | intel-pt.c | 297 return len ? roundup(len + 1, 8) : 0; in intel_pt_filter_bytes()
|