Searched refs:BPF_PROG_PACK_SIZE (Results 1 – 1 of 1) sorted by relevance
842 #define BPF_PROG_PACK_SIZE (PMD_SIZE * num_possible_nodes()) macro844 #define BPF_PROG_PACK_SIZE PAGE_SIZE macro847 #define BPF_PROG_CHUNK_COUNT (BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE)857 pack->ptr = module_alloc(BPF_PROG_PACK_SIZE); in alloc_new_pack()862 bpf_fill_ill_insns(pack->ptr, BPF_PROG_PACK_SIZE); in alloc_new_pack()863 bitmap_zero(pack->bitmap, BPF_PROG_PACK_SIZE / BPF_PROG_CHUNK_SIZE); in alloc_new_pack()867 set_memory_ro((unsigned long)pack->ptr, BPF_PROG_PACK_SIZE / PAGE_SIZE); in alloc_new_pack()868 set_memory_x((unsigned long)pack->ptr, BPF_PROG_PACK_SIZE / PAGE_SIZE); in alloc_new_pack()880 if (size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_alloc()920 if (hdr->size > BPF_PROG_PACK_SIZE) { in bpf_prog_pack_free()[all …]