Searched refs:BPF_PROG_PACK_SIZE (Results 1 – 1 of 1) sorted by relevance
871 #define BPF_PROG_PACK_SIZE (SZ_2M * num_possible_nodes()) macro873 #define BPF_PROG_PACK_SIZE PAGE_SIZE macro876 #define BPF_PROG_CHUNK_COUNT (BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE)886 pack->ptr = bpf_jit_alloc_exec(BPF_PROG_PACK_SIZE); in alloc_new_pack()891 bpf_fill_ill_insns(pack->ptr, BPF_PROG_PACK_SIZE); in alloc_new_pack()892 bitmap_zero(pack->bitmap, BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE); in alloc_new_pack()896 set_memory_rox((unsigned long)pack->ptr, BPF_PROG_PACK_SIZE / PAGE_SIZE); in alloc_new_pack()908 if (size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_alloc()947 if (hdr->size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_free()953 if ((void *)hdr >= tmp->ptr && (tmp->ptr + BPF_PROG_PACK_SIZE) > (void *)hdr) { in bpf_prog_pack_free()