Searched refs:pb_pin_count (Results 1 – 2 of 2) sorted by relevance
307 atomic_set(&pb->pb_pin_count, 0); in _pagebuf_initialize()1150 atomic_inc(&pb->pb_pin_count); in pagebuf_pin()1151 PB_TRACE(pb, "pin", (long)pb->pb_pin_count.counter); in pagebuf_pin()1165 if (atomic_dec_and_test(&pb->pb_pin_count)) { in pagebuf_unpin()1168 PB_TRACE(pb, "unpin", (long)pb->pb_pin_count.counter); in pagebuf_unpin()1175 return atomic_read(&pb->pb_pin_count); in pagebuf_ispin()1191 if (atomic_read(&pb->pb_pin_count) == 0) in _pagebuf_wait_unpin()1197 if (atomic_read(&pb->pb_pin_count) == 0) in _pagebuf_wait_unpin()
150 atomic_t pb_pin_count; /* pin count */ member