Lines Matching refs:refcount
179 refcount_inc(&a->refcount);
181 &a->refcount);
201 refcount_set(&a->refcount, 1);
236 if (!refcount_dec_and_test(&a->refcount)) {
238 &a->refcount);
245 refcount_set(&a->refcount, 1);
278 refcount_inc(&a->refcount);
279 trace_dsa_fdb_add_bump(dp, addr, vid, &db, &a->refcount);
299 refcount_set(&a->refcount, 1);
333 if (!refcount_dec_and_test(&a->refcount)) {
334 trace_dsa_fdb_del_drop(dp, addr, vid, &db, &a->refcount);
341 refcount_set(&a->refcount, 1);
365 refcount_inc(&a->refcount);
367 &a->refcount);
387 refcount_set(&a->refcount, 1);
412 if (!refcount_dec_and_test(&a->refcount)) {
414 &a->refcount);
421 refcount_set(&a->refcount, 1);
707 * refcount bump which we need to avoid, since it unbalances the
717 refcount_inc(&v->refcount);
718 trace_dsa_vlan_add_bump(dp, vlan, &v->refcount);
736 refcount_set(&v->refcount, 1);
770 if (!refcount_dec_and_test(&v->refcount)) {
771 trace_dsa_vlan_del_drop(dp, vlan, &v->refcount);
778 refcount_set(&v->refcount, 1);