Home
last modified time | relevance | path

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

/haiku/src/kits/storage/disk_device/
H A DDiskSystemAddOnManager.cpp43 refCount(0) in AddOnImage()
53 int32 refCount; member
62 refCount(1) in AddOn()
68 int32 refCount; member
182 addOn->refCount++; in GetAddOn()
202 if (addOn->refCount > 1) { in PutAddOn()
203 addOn->refCount--; in PutAddOn()
257 if (--addOn->refCount == 0) { in _PutAddOn()
258 if (--addOn->image->refCount == 0) in _PutAddOn()
351 addOnImage->refCount++; in _LoadAddOns()
/haiku/src/apps/text_search/
H A DGrepApp.cpp38 int32 refCount = 0; in ArgvReceived() local
47 refCount += 1; in ArgvReceived()
52 if (refCount > 0) in ArgvReceived()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelIORequest.h22 int32 refCount; member
29 refCount(1) in HaikuKernelIORequest()
H A DHaikuKernelNode.h45 int32 refCount; member
52 refCount(1), in Capabilities()
H A DHaikuKernelFileSystem.cpp218 request->refCount++; in GetIORequest()
227 int32 refCount) in PutIORequest() argument
231 if ((request->refCount -= refCount) <= 0) { in PutIORequest()
249 capabilities->refCount++; in GetNodeCapabilities()
276 if (--capabilities->refCount == 0) { in PutNodeCapabilities()
H A DHaikuKernelFileSystem.h36 int32 refCount = 1);
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp59 int32 refCount = 0; in ThreadStartup() local
64 status_t status = fThreadDataStore->GetInfo("refs", &type, &refCount); in ThreadStartup()
65 if (status != B_OK || refCount < 1) { in ThreadStartup()
71 for (int index = 0; index < refCount; index++) { in ThreadStartup()
117 if (refCount > 1) in ThreadStartup()
139 int32 argc = refCount + 3; in ThreadStartup()
146 for (int index = 0; index < refCount; index++) { in ThreadStartup()
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DTransaction.cpp296 info->refCount++; in RegisterBlock()
307 info->refCount = 1; in RegisterBlock()
341 if (info->refCount == 0) { in PutBlock()
349 if (--info->refCount == 0 && !info->dirty) { in PutBlock()
403 if (info->refCount > 0) { in _UpdateBlockCheckSums()
H A DTransaction.h81 int32 refCount; member
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEEntry.h84 int32 refCount; member
93 refCount(1), in FUSENode()
H A DFUSEVolume.cpp437 nextNode->refCount++; in LockNext()
791 node->refCount++; // for the entry in Mount()
984 node->refCount++; in ReadVNode()
2710 dir->refCount++; in _InternalGetNode()
2724 entry->parent->refCount++; in _InternalGetNode()
2732 entry->node->refCount++; in _InternalGetNode()
2762 entry->node->refCount++; in _InternalGetNode()
2789 node->refCount++; in _InternalGetNode()
2799 dir->refCount++; in _InternalGetNode()
2808 node->refCount++; in _InternalGetNode()
[all …]
/haiku/src/bin/
H A Dmountvolume.cpp347 int32 refCount; in RefsReceived() local
350 status = message->GetInfo("refs", &typeFound, &refCount); in RefsReceived()
351 if (status != B_OK || refCount < 1) { in RefsReceived()
360 int32 argc = refCount + 2; in RefsReceived()
365 for (int32 i = 0; i < refCount; i++) { in RefsReceived()
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DFileSystem.h32 int32 refCount; member
39 refCount(1), in VNodeOps()
H A DFileSystem.cpp563 ops->refCount++; in GetVNodeOps()
594 if (--ops->refCount == 0) { in PutVNodeOps()
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DExtentAllocator.cpp20 self->refCount = 0; in Create()
22 self->refCount = 1; in Create()
65 extentType, offset, length, refCount); in Info()
151 node->refCount--; in _RemoveExtent()
152 if (node->refCount <= 0) { in _RemoveExtent()
209 found->refCount++; in _AddAllocatedExtent()
H A DExtentAllocator.h33 int refCount; member
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerAddOn.h33 uint32 refCount;
H A DVideoMixerAddOn.cpp44 refCount = 0; in VideoMixerAddOn()
/haiku/src/add-ons/media/media-add-ons/demultiplexer/
H A DMediaDemultiplexerAddOn.h56 int32 refCount; variable
H A DMediaDemultiplexerAddOn.cpp40 refCount = 0; in MediaDemultiplexerAddOn()
/haiku/src/add-ons/media/media-add-ons/
H A DAbstractFileInterfaceAddOn.h90 int32 refCount; variable
H A DAbstractFileInterfaceAddOn.cpp37 refCount = 0; in AbstractFileInterfaceAddOn()
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp531 AcquireDataHeader(data_header* header, int32 refCount) in AcquireDataHeader() argument
534 fRefCount(refCount) in AcquireDataHeader()
552 ReleaseDataHeader(data_header* header, int32 refCount) in ReleaseDataHeader() argument
555 fRefCount(refCount) in ReleaseDataHeader()
827 int32 refCount = atomic_add(&header->ref_count, -1); in release_data_header() local
828 T2(ReleaseDataHeader(header, refCount - 1)); in release_data_header()
829 if (refCount != 1) in release_data_header()
840 int32 refCount = atomic_add(&header->ref_count, 1); in acquire_data_header() local
841 (void)refCount; in acquire_data_header()
842 T2(AcquireDataHeader(header, refCount + 1)); in acquire_data_header()
/haiku/src/system/kernel/
H A Dmodule.cpp475 int32 refCount = atomic_add(&image->ref_count, -1); in put_module_image() local
476 ASSERT(refCount > 0); in put_module_image()
481 if (refCount == 1 && gBootDevice > 0) in put_module_image()
/haiku/src/system/kernel/fs/
H A Dvfs.cpp7795 int32 refCount = vnode->ref_count; in fs_unmount() local
7797 refCount--; in fs_unmount()
7799 refCount--; in fs_unmount()
7801 if (refCount != 0) { in fs_unmount()