Searched refs:BPF_PROG_PACK_SIZE (Results 1 – 1 of 1) sorted by relevance
875 #define BPF_PROG_PACK_SIZE (SZ_2M * num_possible_nodes()) macro877 #define BPF_PROG_PACK_SIZE PAGE_SIZE macro880 #define BPF_PROG_CHUNK_COUNT (BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE)890 pack->ptr = bpf_jit_alloc_exec(BPF_PROG_PACK_SIZE); in alloc_new_pack()895 bpf_fill_ill_insns(pack->ptr, BPF_PROG_PACK_SIZE); in alloc_new_pack()896 bitmap_zero(pack->bitmap, BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE); in alloc_new_pack()900 set_memory_rox((unsigned long)pack->ptr, BPF_PROG_PACK_SIZE / PAGE_SIZE); in alloc_new_pack()912 if (size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_alloc()951 if (hdr->size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_free()957 if ((void *)hdr >= tmp->ptr && (tmp->ptr + BPF_PROG_PACK_SIZE) > (void *)hdr) { in bpf_prog_pack_free()