Searched refs:arena_map (Results 1 – 4 of 4) sorted by relevance
29 if (!sch->arena_map) in scx_arena_pool_init()75 if (!sch->arena_map || !sch->arena_pool) in scx_arena_grow()78 p = bpf_arena_alloc_pages_sleepable(sch->arena_map, NULL, in scx_arena_grow()87 bpf_arena_free_pages_non_sleepable(sch->arena_map, p, page_cnt); in scx_arena_grow()
1577 * @arena_pool sub-allocates @arena_map. Each gen_pool chunk is added1581 struct bpf_map *arena_map; member 2049 struct bpf_map *arena_map; /* arena ref to transfer to sch */2044 struct bpf_map *arena_map; /* arena ref to transfer to sch */ global() member
5509 if (sch->arena_map)5510 bpf_map_put(sch->arena_map);7414 * Consume the arena_map ref bpf_scx_reg_cid() took. Defer to here so in scx_alloc_and_add_sched() 7415 * earlier failure paths leave cmd->arena_map set and bpf_scx_reg_cid in scx_alloc_and_add_sched() 7419 sch->arena_map = cmd->arena_map; in scx_alloc_and_add_sched() 7422 if (sch->arena_map) in scx_alloc_and_add_sched() 7423 sch->arena_kern_base = bpf_arena_map_kern_vm_start(sch->arena_map); in scx_alloc_and_add_sched() 7425 cmd->arena_map = NULL; in scx_alloc_and_add_sched() 8294 cmd.arena_map in bpf_scx_update() [all...]
7501 struct bpf_map *arena_map = &obj->maps[obj->arena_map_idx]; in bpf_object__relocate() local7503 obj->arena_data_off = bpf_map_mmap_sz(arena_map) - in bpf_object__relocate()