Searched refs:ref_cnt (Results 1 – 1 of 1) sorted by relevance
377 int err, ref_cnt; in __hw_addr_ref_sync_dev() local386 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev()387 if (unsync && unsync(dev, ha->addr, ref_cnt)) in __hw_addr_ref_sync_dev()390 ha->refcount = (ref_cnt << 1) + 1; in __hw_addr_ref_sync_dev()391 ha->sync_cnt = ref_cnt; in __hw_addr_ref_sync_dev()401 ref_cnt = ha->refcount - ha->sync_cnt; in __hw_addr_ref_sync_dev()402 err = sync(dev, ha->addr, ref_cnt); in __hw_addr_ref_sync_dev()406 ha->refcount = ref_cnt << 1; in __hw_addr_ref_sync_dev()407 ha->sync_cnt = ref_cnt; in __hw_addr_ref_sync_dev()