Searched refs:round_up (Results 1 – 13 of 13) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | test_xdp_meta.c | 8 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1) macro 22 data_meta + round_up(ETH_ALEN, 4) > data) in ing_cls() 37 ret = bpf_xdp_adjust_meta(ctx, -round_up(ETH_ALEN, 4)); in ing_xdp() 46 data_meta + round_up(ETH_ALEN, 4) > data) in ing_xdp()
|
/tools/perf/util/ |
D | bpf_map.c | 23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value()
|
D | symbol-elf.c | 1719 kci->etext = round_up(kci->etext, page_size); in kcore_copy__calc_maps() 1721 kci->etext = round_up(kci->last_symbol, page_size); in kcore_copy__calc_maps() 1728 kci->last_module_symbol = round_up(kci->last_module_symbol, in kcore_copy__calc_maps() 1900 offset = round_up(offset, page_size); in kcore_copy()
|
D | callchain.c | 153 size = round_up(size, sizeof(u64)); in get_stack_size()
|
D | auxtrace.c | 1833 args->size = round_up(start, page_size) + page_size - args->start; in find_entire_kern_cb()
|
D | evsel.c | 882 dump_size = round_up(dump_size, sizeof(u64)); in apply_config_terms()
|
/tools/include/linux/ |
D | kernel.h | 116 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
|
/tools/bpf/bpftool/ |
D | map.c | 88 return malloc(round_up(info->value_size, 8) * in alloc_value() 175 step = round_up(map_info->value_size, 8); in do_dump_btf() 231 step = round_up(info->value_size, 8); in print_entry_json() 311 step = round_up(info->value_size, 8); in print_entry_plain() 367 step = round_up(info->value_size, 8); in fill_per_cpu_value()
|
/tools/perf/arch/x86/util/ |
D | intel-bts.c | 165 sz = round_up(sz, page_size) / page_size; in intel_bts_recording_options()
|
D | intel-pt.c | 646 sz = round_up(sz, page_size) / page_size; in intel_pt_recording_options()
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 336 sz = round_up(sz, page_size) / page_size; in cs_etm_recording_options()
|
/tools/perf/ |
D | builtin-script.c | 1247 spacing = round_up(len + 4, 32); in perf_sample__fprintf_callindent()
|
/tools/testing/selftests/bpf/ |
D | test_btf.c | 4823 rounded_value_size = round_up(get_pprint_mapv_size(mapv_kind), 8); in do_test_pprint()
|