Home | History | Annotate | Download | only in marvell

Lines Matching defs:refs

1501 	mv_s->refs = 1; /* 0 means session is already invalid */
1525 uint32_t refs;
1533 refs = atomic_inc_32_nv(&mv_s->refs);
1534 if (refs == 1) {
1536 * a session with refs == 0 is
1540 atomic_dec_32(&mv_s->refs);
1552 uint32_t refs;
1555 refs = atomic_dec_32_nv(&mv_s->refs);
1556 if (refs == 0) {