Searched refs:BPF_PROG_PACK_SIZE (Results 1 – 1 of 1) sorted by relevance
858 #define BPF_PROG_PACK_SIZE (PMD_SIZE * num_possible_nodes()) macro860 #define BPF_PROG_PACK_SIZE PAGE_SIZE macro863 #define BPF_PROG_CHUNK_COUNT (BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE)873 pack->ptr = bpf_jit_alloc_exec(BPF_PROG_PACK_SIZE); in alloc_new_pack()878 bpf_fill_ill_insns(pack->ptr, BPF_PROG_PACK_SIZE); in alloc_new_pack()879 bitmap_zero(pack->bitmap, BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE); in alloc_new_pack()883 set_memory_rox((unsigned long)pack->ptr, BPF_PROG_PACK_SIZE / PAGE_SIZE); in alloc_new_pack()895 if (size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_alloc()934 if (hdr->size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_free()940 if ((void *)hdr >= tmp->ptr && (tmp->ptr + BPF_PROG_PACK_SIZE) > (void *)hdr) { in bpf_prog_pack_free()