Searched refs:refCount (Results 1 - 25 of 25) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelIORequest.h22 int32 refCount; member in struct:UserlandFS::HaikuKernelIORequest
29 refCount(1)
H A DHaikuKernelNode.h45 int32 refCount; member in struct:UserlandFS::HaikuKernelNode::Capabilities
52 refCount(1),
H A DHaikuKernelFileSystem.h36 int32 refCount = 1);
H A DHaikuKernelFileSystem.cpp218 request->refCount++;
227 int32 refCount)
231 if ((request->refCount -= refCount) <= 0) {
249 capabilities->refCount++;
276 if (--capabilities->refCount == 0) {
226 PutIORequest(HaikuKernelIORequest* request, int32 refCount) argument
/haiku/src/apps/text_search/
H A DGrepApp.cpp38 int32 refCount = 0; local
47 refCount += 1;
52 if (refCount > 0)
/haiku/src/kits/storage/disk_device/
H A DDiskSystemAddOnManager.cpp43 refCount(0)
53 int32 refCount; member in struct:DiskSystemAddOnManager::AddOnImage
62 refCount(1)
68 int32 refCount; member in struct:DiskSystemAddOnManager::AddOn
182 addOn->refCount++;
202 if (addOn->refCount > 1) {
203 addOn->refCount--;
257 if (--addOn->refCount == 0) {
258 if (--addOn->image->refCount == 0)
351 addOnImage->refCount
[all...]
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerAddOn.h33 uint32 refCount; member in class:VideoMixerAddOn
H A DVideoMixerAddOn.cpp44 refCount = 0;
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp59 int32 refCount = 0; local
64 status_t status = fThreadDataStore->GetInfo("refs", &type, &refCount);
65 if (status != B_OK || refCount < 1) {
71 for (int index = 0; index < refCount; index++) {
117 if (refCount > 1)
139 int32 argc = refCount + 3;
146 for (int index = 0; index < refCount; index++) {
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEEntry.h84 int32 refCount; member in struct:UserlandFS::FUSENode
93 refCount(1),
H A DFUSEVolume.cpp437 nextNode->refCount++;
791 node->refCount++; // for the entry
984 node->refCount++;
2710 dir->refCount++;
2724 entry->parent->refCount++;
2732 entry->node->refCount++;
2762 entry->node->refCount++;
2789 node->refCount++;
2799 dir->refCount++;
2808 node->refCount
[all...]
/haiku/src/add-ons/media/media-add-ons/demultiplexer/
H A DMediaDemultiplexerAddOn.h56 int32 refCount; member in class:MediaDemultiplexerAddOn
H A DMediaDemultiplexerAddOn.cpp40 refCount = 0;
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DTransaction.cpp296 info->refCount++;
307 info->refCount = 1;
341 if (info->refCount == 0) {
349 if (--info->refCount == 0 && !info->dirty) {
403 if (info->refCount > 0) {
H A DTransaction.h81 int32 refCount; member in struct:Transaction::BlockInfo
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DFileSystem.h32 int32 refCount; member in struct:VNodeOps
39 refCount(1),
H A DFileSystem.cpp563 ops->refCount++;
594 if (--ops->refCount == 0) {
/haiku/src/bin/
H A Dmountvolume.cpp347 int32 refCount; local
350 status = message->GetInfo("refs", &typeFound, &refCount);
351 if (status != B_OK || refCount < 1) {
360 int32 argc = refCount + 2;
365 for (int32 i = 0; i < refCount; i++) {
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DExtentAllocator.cpp20 self->refCount = 0;
22 self->refCount = 1;
64 TRACE("%s at %" B_PRIu64 " length %" B_PRIu64 " refCount %i\n",
65 extentType, offset, length, refCount);
151 node->refCount--;
152 if (node->refCount <= 0) {
209 found->refCount++;
H A DExtentAllocator.h33 int refCount; member in struct:CachedExtent
/haiku/src/add-ons/media/media-add-ons/
H A DAbstractFileInterfaceAddOn.h90 int32 refCount; member in class:AbstractFileInterfaceAddOn
H A DAbstractFileInterfaceAddOn.cpp37 refCount = 0;
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp531 AcquireDataHeader(data_header* header, int32 refCount) argument
534 fRefCount(refCount)
552 ReleaseDataHeader(data_header* header, int32 refCount) argument
555 fRefCount(refCount)
826 int32 refCount = atomic_add(&header->ref_count, -1); local
827 T2(ReleaseDataHeader(header, refCount - 1));
828 if (refCount != 1)
839 int32 refCount = atomic_add(&header->ref_count, 1); local
840 (void)refCount;
841 T2(AcquireDataHeader(header, refCount
[all...]
/haiku/src/system/kernel/
H A Dmodule.cpp475 int32 refCount = atomic_add(&image->ref_count, -1); local
476 ASSERT(refCount > 0);
481 if (refCount == 1 && gBootDevice > 0)
/haiku/src/system/kernel/fs/
H A Dvfs.cpp7739 int32 refCount = vnode->ref_count; local
7741 refCount--;
7743 refCount--;
7745 if (refCount != 0) {

Completed in 151 milliseconds