Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dsyscall.c632 int refold; in bpf_map_inc_not_zero() local
634 refold = atomic_fetch_add_unless(&map->refcnt, 1, 0); in bpf_map_inc_not_zero()
636 if (refold >= BPF_MAX_REFCNT) { in bpf_map_inc_not_zero()
641 if (!refold) in bpf_map_inc_not_zero()
1210 int refold; in bpf_prog_inc_not_zero() local
1212 refold = atomic_fetch_add_unless(&prog->aux->refcnt, 1, 0); in bpf_prog_inc_not_zero()
1214 if (refold >= BPF_MAX_REFCNT) { in bpf_prog_inc_not_zero()
1219 if (!refold) in bpf_prog_inc_not_zero()