Searched refs:refold (Results 1 – 1 of 1) sorted by relevance
632 int refold; in bpf_map_inc_not_zero() local634 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() local1212 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()