Searched refs:ref_count (Results 1 - 25 of 56) sorted by path

123

/haiku/headers/private/kernel/
H A Delf_priv.h31 int32 ref_count; member in struct:elf_image_info
H A Dvfs.h52 int32 ref_count; member in struct:io_context
/haiku/src/add-ons/kernel/network/stack/
H A Ddevice_interfaces.h34 int32 ref_count; member in struct:net_device_interface
H A Droutes.h23 int32 ref_count; member in struct:net_route_private
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dintel.h16 PartitionMapCookie() : ref_count(1) {}
18 int32 ref_count; member in struct:PartitionMapCookie
/haiku/src/servers/input/
H A DPathList.cpp20 ref_count(1)
31 int32 ref_count; member in struct:PathList::path_entry
70 fPaths.ItemAt(index)->ref_count++;
91 if (--fPaths.ItemAt(index)->ref_count == 0)
/haiku/src/servers/media/
H A DBufferManager.h51 vint32 ref_count; member in struct:BufferManager::clone_info
H A DNodeManager.h38 int32 ref_count; member in struct:registered_node
/haiku/src/system/kernel/arch/arm/paging/
H A DARMPagingStructures.cpp12 ref_count(1)
H A DARMPagingStructures.h22 int32 ref_count; member in struct:ARMPagingStructures
39 atomic_add(&ref_count, 1);
46 if (atomic_add(&ref_count, -1) == 1)
/haiku/src/system/kernel/arch/generic/
H A Dgeneric_vm_physical_page_mapper.cpp34 int32 ref_count; member in struct:paddr_chunk_descriptor
68 if (paddr_desc[index].ref_count++ == 0) {
84 paddr_desc[index].ref_count++;
120 paddr_desc[index].ref_count++;
153 if (--desc->ref_count == 0) {
190 paddr_desc[i].ref_count, paddr_desc[i].last_ref);
/haiku/src/system/kernel/arch/m68k/paging/
H A DM68KPagingStructures.cpp12 ref_count(1)
H A DM68KPagingStructures.h22 int32 ref_count; member in struct:M68KPagingStructures
39 atomic_add(&ref_count, 1);
46 if (atomic_add(&ref_count, -1) == 1)
/haiku/src/system/kernel/arch/ppc/paging/
H A DPPCPagingStructures.cpp12 ref_count(1)
H A DPPCPagingStructures.h23 int32 ref_count; member in struct:PPCPagingStructures
40 atomic_add(&ref_count, 1);
47 if (atomic_add(&ref_count, -1) == 1)
/haiku/src/system/kernel/arch/x86/paging/
H A DX86PagingStructures.cpp12 ref_count(1)
H A DX86PagingStructures.h22 int32 ref_count; member in struct:X86PagingStructures
39 atomic_add(&ref_count, 1);
46 if (atomic_add(&ref_count, -1) == 1)
/haiku/src/system/kernel/device_manager/
H A Did_generator.cpp9 IDs are freed. They have a ref_count which is increased
48 ref_count(1),
60 int32 ref_count; member in struct:id_generator
135 // increase ref_count, so it won't go away
136 generator->ref_count++;
145 /*! Decrease ref_count, deleting generator if not used anymore */
153 if (--generator->ref_count == 0) {
/haiku/src/system/kernel/fs/
H A DVnode.h37 int32 ref_count; member in struct:vnode
H A Dvfs_tracing.h30 fReferenceCount(descriptor->ref_count)
134 fEvictedDescriptor != NULL ? fEvictedDescriptor->ref_count : 0),
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_modules.cpp39 int32 ref_count; // reference count of get_module() made on this module member in struct:module
46 int32 ref_count; // reference count of get_module() made using this addon member in struct:module_addon
111 atomic_add(&m->addon->ref_count, 1);
113 if (atomic_add(&m->ref_count, 1) == 0) {
136 if (atomic_add(&m->ref_count, -1) <= 1)
144 if (atomic_add(&m->addon->ref_count, -1) > 1)
176 if (m->ref_count)
257 atomic_add(&mlc->ma->ref_count, -1);
322 atomic_add(&mlc->ma->ref_count, 1);
356 atomic_add(&mlc->ma->ref_count,
[all...]
/haiku/src/tools/fs_shell/
H A Dfd.h49 int32_t ref_count; member in struct:FSShell::file_descriptor
H A Dmodule.cpp55 int32_t ref_count; member in struct:FSShell::module
56 fssh_module_info *info; /* will only be valid if ref_count > 0 */
113 module->ref_count++;
120 module->ref_count--;
167 module->ref_count = 0;
301 module, module->name, module->file, (int)module->offset, (int)module->ref_count,
361 if (module->ref_count == 0)
399 if (module->ref_count == 0)
/haiku/headers/private/kernel/fs/
H A Dfd.h51 int32 ref_count; member in struct:file_descriptor
/haiku/headers/private/kernel/vm/
H A Dvm_types.h110 int32 ref_count; member in struct:VMCacheRef

Completed in 114 milliseconds

123