Home
last modified time | relevance | path

Searched refs:inactive (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dbpf_lru_list.c174 struct list_head *inactive = &l->lists[BPF_LRU_LIST_T_INACTIVE]; in __bpf_lru_list_rotate_inactive() local
175 struct list_head *cur, *last, *next = inactive; in __bpf_lru_list_rotate_inactive()
179 if (list_empty(inactive)) in __bpf_lru_list_rotate_inactive()
183 if (last == inactive) in __bpf_lru_list_rotate_inactive()
188 if (cur == inactive) { in __bpf_lru_list_rotate_inactive()
217 struct list_head *inactive = &l->lists[BPF_LRU_LIST_T_INACTIVE]; in __bpf_lru_list_shrink_inactive() local
222 list_for_each_entry_safe_reverse(node, tmp_node, inactive, list) { in __bpf_lru_list_shrink_inactive()
Dcgroup.c517 err = compute_effective_progs(desc, atype, &desc->bpf.inactive); in update_effective_progs()
527 if (unlikely(desc->bpf.inactive)) { in update_effective_progs()
528 bpf_prog_array_free(desc->bpf.inactive); in update_effective_progs()
529 desc->bpf.inactive = NULL; in update_effective_progs()
534 activate_effective_progs(desc, atype, desc->bpf.inactive); in update_effective_progs()
535 desc->bpf.inactive = NULL; in update_effective_progs()
547 bpf_prog_array_free(desc->bpf.inactive); in update_effective_progs()
548 desc->bpf.inactive = NULL; in update_effective_progs()