Searched refs:refold (Results 1 – 1 of 1) sorted by relevance
692 int refold; in __bpf_map_inc_not_zero() local694 refold = atomic_fetch_add_unless(&map->refcnt, 1, 0); in __bpf_map_inc_not_zero()696 if (refold >= BPF_MAX_REFCNT) { in __bpf_map_inc_not_zero()701 if (!refold) in __bpf_map_inc_not_zero()1489 int refold; in bpf_prog_inc_not_zero() local1491 refold = atomic_fetch_add_unless(&prog->aux->refcnt, 1, 0); in bpf_prog_inc_not_zero()1493 if (refold >= BPF_MAX_REFCNT) { in bpf_prog_inc_not_zero()1498 if (!refold) in bpf_prog_inc_not_zero()