Home
last modified time | relevance | path

Searched refs:round_up (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_xdp_meta.c8 #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/
Dbpf_map.c23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value()
Dsymbol-elf.c1719 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()
Dcallchain.c153 size = round_up(size, sizeof(u64)); in get_stack_size()
Dauxtrace.c1833 args->size = round_up(start, page_size) + page_size - args->start; in find_entire_kern_cb()
Devsel.c882 dump_size = round_up(dump_size, sizeof(u64)); in apply_config_terms()
/tools/include/linux/
Dkernel.h116 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) macro
/tools/bpf/bpftool/
Dmap.c88 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/
Dintel-bts.c165 sz = round_up(sz, page_size) / page_size; in intel_bts_recording_options()
Dintel-pt.c646 sz = round_up(sz, page_size) / page_size; in intel_pt_recording_options()
/tools/perf/arch/arm/util/
Dcs-etm.c336 sz = round_up(sz, page_size) / page_size; in cs_etm_recording_options()
/tools/perf/
Dbuiltin-script.c1247 spacing = round_up(len + 4, 32); in perf_sample__fprintf_callindent()
/tools/testing/selftests/bpf/
Dtest_btf.c4823 rounded_value_size = round_up(get_pprint_mapv_size(mapv_kind), 8); in do_test_pprint()