Searched refs:loh_ref (Results 1 – 3 of 3) sorted by relevance
530 atomic_t loh_ref; member700 LASSERT(atomic_read(&o->lo_header->loh_ref) > 0); in lu_object_get()701 atomic_inc(&o->lo_header->loh_ref); in lu_object_get()
91 if (!atomic_dec_and_test(&top->loh_ref)) in lu_object_put()104 if (!cfs_hash_bd_dec_and_lock(site->ls_obj_hash, &bd, &top->loh_ref)) { in lu_object_put()344 LASSERT(atomic_read(&h->loh_ref) == 0); in lu_site_purge()479 hdr, hdr->loh_flags, atomic_read(&hdr->loh_ref), in lu_object_header_print()929 if (atomic_add_return(1, &h->loh_ref) == 1) { in lu_obj_hop_get()1217 atomic_set(&h->loh_ref, 1); in lu_object_header_init()
1162 if (unlikely(atomic_read(&header->loh_ref) != 1)) { in cl_object_put_last()1173 if (atomic_read(&header->loh_ref) == 1) in cl_object_put_last()