Searched refs:BPF_PROG_PACK_SIZE (Results 1 – 1 of 1) sorted by relevance
848 #define BPF_PROG_PACK_SIZE (PMD_SIZE * num_possible_nodes()) macro850 #define BPF_PROG_PACK_SIZE PAGE_SIZE macro853 #define BPF_PROG_CHUNK_COUNT (BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE)863 pack->ptr = module_alloc(BPF_PROG_PACK_SIZE); in alloc_new_pack()868 bpf_fill_ill_insns(pack->ptr, BPF_PROG_PACK_SIZE); in alloc_new_pack()869 bitmap_zero(pack->bitmap, BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE); in alloc_new_pack()873 set_memory_rox((unsigned long)pack->ptr, BPF_PROG_PACK_SIZE / PAGE_SIZE); in alloc_new_pack()885 if (size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_alloc()924 if (hdr->size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_free()930 if ((void *)hdr >= tmp->ptr && (tmp->ptr + BPF_PROG_PACK_SIZE) > (void *)hdr) { in bpf_prog_pack_free()
Completed in 7 milliseconds