Searched refs:off_arr (Results 1 – 1 of 1) sorted by relevance
617 kfree(map->off_arr); in bpf_map_free_deferred()926 u32 *off_base = map->off_arr->field_off; in map_off_arr_swap()930 sz_a = map->off_arr->field_sz + (a - off_base); in map_off_arr_swap()931 sz_b = map->off_arr->field_sz + (b - off_base); in map_off_arr_swap()942 struct bpf_map_off_arr *off_arr; in bpf_map_alloc_off_arr() local946 map->off_arr = NULL; in bpf_map_alloc_off_arr()950 off_arr = kmalloc(sizeof(*map->off_arr), GFP_KERNEL | __GFP_NOWARN); in bpf_map_alloc_off_arr()951 if (!off_arr) in bpf_map_alloc_off_arr()953 map->off_arr = off_arr; in bpf_map_alloc_off_arr()955 off_arr->cnt = 0; in bpf_map_alloc_off_arr()[all …]