Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dcore.c876 #define BPF_PROG_CHUNK_COUNT (BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE) macro
882 pack = kzalloc(struct_size(pack, bitmap, BITS_TO_LONGS(BPF_PROG_CHUNK_COUNT)), in alloc_new_pack()
919 pos = bitmap_find_next_zero_area(pack->bitmap, BPF_PROG_CHUNK_COUNT, 0, in bpf_prog_pack_alloc()
921 if (pos < BPF_PROG_CHUNK_COUNT) in bpf_prog_pack_alloc()
969 if (bitmap_find_next_zero_area(pack->bitmap, BPF_PROG_CHUNK_COUNT, 0, in bpf_prog_pack_free()
970 BPF_PROG_CHUNK_COUNT, 0) == 0) { in bpf_prog_pack_free()