Home
last modified time | relevance | path

Searched refs:funcs_cnt (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/bpf/
H A Dbpf_struct_ops.c36 u32 funcs_cnt; member
567 for (i = 0; i < st_map->funcs_cnt; i++) { in bpf_struct_ops_map_put_progs()
579 for (i = 0; i < st_map->funcs_cnt; i++) { in bpf_struct_ops_map_dissoc_progs()
696 for (i = 0; i < st_map->funcs_cnt; i++) { in bpf_struct_ops_map_add_ksyms()
707 for (i = 0; i < st_map->funcs_cnt; i++) { in bpf_struct_ops_map_del_ksyms()
718 for (i = 0; i < st_map->funcs_cnt; i++) { in bpf_struct_ops_map_free_ksyms()
1150 st_map->funcs_cnt = count_func_ptrs(btf, t); in bpf_struct_ops_map_alloc()
1152 bpf_map_area_alloc(st_map->funcs_cnt * sizeof(struct bpf_link *), in bpf_struct_ops_map_alloc()
1156 bpf_map_area_alloc(st_map->funcs_cnt * sizeof(struct bpf_ksym *), in bpf_struct_ops_map_alloc()
1187 usage += st_map->funcs_cnt * sizeof(struct bpf_link *); in bpf_struct_ops_map_mem_usage()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtracing_multi.c79 static __u32 *get_ids(const char * const funcs[], int funcs_cnt, const char *mod) in get_ids() argument
100 ids = calloc(funcs_cnt, sizeof(ids[0])); in get_ids()
108 for (i = 0; i < funcs_cnt; i++) { in get_ids()
117 for (type_id = 1; type_id < nr && cnt < funcs_cnt; type_id++) { in get_ids()