Lines Matching refs:ref_count
80 int32 ref_count;
81 // A negative ref_count means the node is not reference counted and not
417 handle->ref_count = 1;
420 handle->ref_count = -1;
668 handle->ref_count = 1;
670 handle->ref_count = 0;
695 if (handle->ref_count > 0) {
696 if (--handle->ref_count == 0 && gBootDevice > 0) {
725 if (handle != NULL && handle->ref_count == 0 && gBootDevice > 0) {
726 // A handle with a zero ref_count should be unloaded if /boot is
731 handle->ref_count++;