Searched refs:round_up (Results 1 – 19 of 19) sorted by relevance
| /tools/testing/selftests/bpf/ |
| A D | bpf_arena_alloc.h | 9 #ifndef round_up 10 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro 28 size = round_up(size, 8); in bpf_alloc()
|
| /tools/include/linux/ |
| A D | math.h | 11 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
| /tools/perf/util/ |
| A D | bpf_map.c | 23 return malloc(round_up(bpf_map__value_size(map), 8) * in bpf_map__alloc_value()
|
| A D | genelf.h | 87 #define GEN_ELF_TEXT_OFFSET round_up(sizeof(Elf_Ehdr) + sizeof(Elf_Phdr), 16)
|
| A D | sha1.c | 90 final_len = round_up(final_len + 9, SHA1_BLOCK_SIZE); in sha1()
|
| A D | symbol-elf.c | 2428 kci->etext = round_up(kci->etext, page_size); in kcore_copy__calc_maps() 2430 kci->etext = round_up(kci->last_symbol, page_size); in kcore_copy__calc_maps() 2441 kci->last_module_symbol = round_up(kci->last_module_symbol, in kcore_copy__calc_maps() 2613 offset = round_up(offset, page_size); in kcore_copy()
|
| A D | callchain.c | 155 size = round_up(size, sizeof(u64)); in get_stack_size()
|
| A D | auxtrace.c | 2533 size = round_up(start, page_size) + page_size - args->start; in find_entire_kern_cb()
|
| A D | evsel.c | 1210 dump_size = round_up(dump_size, sizeof(u64)); in evsel__apply_config_terms()
|
| /tools/testing/selftests/ublk/ |
| A D | utils.h | 23 #define round_up(val, rnd) \ macro
|
| A D | kublk.c | 397 return round_up(size, page_sz); in __ublk_queue_cmd_buf_sz()
|
| /tools/bpf/bpftool/ |
| A D | map.c | 65 return malloc(round_up(info->value_size, 8) * in alloc_value() 101 step = round_up(map_info->value_size, 8); in do_dump_btf() 159 step = round_up(info->value_size, 8); in print_entry_json() 279 step = round_up(info->value_size, 8); in print_entry_plain() 335 step = round_up(info->value_size, 8); in fill_per_cpu_value()
|
| /tools/perf/arch/x86/util/ |
| A D | intel-bts.c | 171 sz = round_up(sz, page_size) / page_size; in intel_bts_recording_options()
|
| A D | intel-pt.c | 696 sz = round_up(sz, page_size) / page_size; in intel_pt_recording_options() 729 size_t sz = round_up(max_sz, page_size) / page_size; in intel_pt_recording_options()
|
| /tools/perf/arch/arm64/util/ |
| A D | arm-spe.c | 227 sz = round_up(sz, page_size) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
|
| /tools/arch/x86/intel_sdsi/ |
| A D | intel_sdsi.c | 49 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1) macro
|
| /tools/perf/arch/arm/util/ |
| A D | cs-etm.c | 391 sz = round_up(sz, page_size) / page_size; in cs_etm_recording_options()
|
| /tools/perf/ |
| A D | builtin-script.c | 1612 spacing = round_up(len + 4, 32); in perf_sample__fprintf_callindent()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | btf.c | 5522 rounded_value_size = round_up(get_pprint_mapv_size(mapv_kind), 8); in do_test_pprint()
|
Completed in 828 milliseconds