Searched refs:roundup (Results 1 – 14 of 14) sorted by relevance
| /tools/include/linux/ |
| A D | math.h | 16 #ifndef roundup 17 #define roundup(x, y) ( \ macro
|
| /tools/perf/util/ |
| A D | bpf-utils.c | 152 data_len += roundup(count * size, sizeof(__u64)); in get_bpf_prog_info_linear() 182 ptr += roundup(count * size, sizeof(__u64)); in get_bpf_prog_info_linear()
|
| A D | util.c | 446 new_sz = msz >= 64 ? 1 : roundup(64, msz); /* Start with at least 64 bytes */ in do_realloc_array_as_needed()
|
| A D | symbol.c | 291 prev->end = roundup(prev->end + 4096, 4096); in symbols__fixup_end() 294 prev->end = roundup(prev->end + 4096, 4096); in symbols__fixup_end() 305 curr->end = roundup(curr->start, 4096) + 4096; in symbols__fixup_end()
|
| A D | intel-pt.c | 4504 len = roundup(len + 1, 8); in intel_pt_process_auxtrace_info()
|
| /tools/testing/selftests/cgroup/ |
| A D | memcg_protection.m | 77 % SWAP_CLUSTER_MAX roundup
|
| /tools/bpf/bpftool/ |
| A D | gen.c | 491 map_sz = (size_t)roundup(bpf_map__value_size(map), 8) * bpf_map__max_entries(map); in bpf_map_mmap_sz() 492 map_sz = roundup(map_sz, page_sz); in bpf_map_mmap_sz() 1218 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_skeleton() 1630 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_subskeleton()
|
| /tools/perf/tests/ |
| A D | dlfilter-test.c | 151 size_t fsz = roundup(strlen(filename) + 1, 8); in write_mmap()
|
| /tools/perf/bench/ |
| A D | inject-buildid.c | 180 len += roundup(strlen(dso->name) + 1, 8) + bench_id_hdr_size; in synthesize_mmap()
|
| /tools/lib/bpf/ |
| A D | btf_dump.c | 903 new_off = roundup(cur_off, pad_bits); in btf_dump_emit_bit_padding() 919 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
|
| A D | gen_loader.c | 159 __u32 size8 = roundup(size, 8); in add_data()
|
| A D | libbpf.c | 1795 map_sz = (size_t)roundup(value_sz, 8) * max_entries; in array_map_mmap_sz() 1796 map_sz = roundup(map_sz, page_sz); in array_map_mmap_sz() 2969 if (roundup(data_sz, page_sz) > mmap_sz) { in init_arena_map_data() 4406 ext->kcfg.data_off = roundup(off, ext->kcfg.align); in bpf_object__collect_externs() 10621 size_t elem_sz = roundup(map->def.value_size, 8); in validate_map_op()
|
| /tools/perf/arch/x86/util/ |
| A D | intel-pt.c | 293 return len ? roundup(len + 1, 8) : 0; in intel_pt_filter_bytes()
|
| /tools/perf/ |
| A D | builtin-inject.c | 2239 output_data_offset = roundup(8192 + session->header.data_offset, 4096); in __cmd_inject() 2282 output_data_offset = roundup(output_data_offset, 4096); in __cmd_inject()
|
Completed in 73 milliseconds