Lines Matching defs:lru
96 struct bpf_lru lru;
311 struct bpf_lru_node *node = bpf_lru_pop_free(&htab->lru, hash);
355 err = bpf_lru_init(&htab->lru,
368 bpf_lru_populate(&htab->lru, htab->elems,
388 bpf_lru_destroy(&htab->lru);
421 bool lru = (attr->map_type == BPF_MAP_TYPE_LRU_HASH ||
444 if (!lru && percpu_lru)
447 if (lru && !prealloc)
496 /* ensure each CPU's lru list has >=1 elements.
497 * since we are at it, make each lru list has the same
1191 bpf_lru_push_free(&htab->lru, &elem->lru_node);
1390 bpf_lru_push_free(&htab->lru, &l_new->lru_node);
2222 bool lru = htab_is_lru(htab);
2237 else if (!lru)