/haiku/src/system/kernel/arch/x86/paging/ |
H A D | X86PagingStructures.cpp | 12 ref_count(1)
|
H A D | X86PagingStructures.h | 22 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/arch/arm/paging/ |
H A D | ARMPagingStructures.cpp | 12 ref_count(1)
|
H A D | ARMPagingStructures.h | 22 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/m68k/paging/ |
H A D | M68KPagingStructures.cpp | 12 ref_count(1)
|
H A D | M68KPagingStructures.h | 22 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 D | PPCPagingStructures.cpp | 12 ref_count(1)
|
H A D | PPCPagingStructures.h | 23 int32 ref_count; member in struct:PPCPagingStructures 40 atomic_add(&ref_count, 1); 47 if (atomic_add(&ref_count, -1) == 1)
|
/haiku/src/add-ons/kernel/partitioning_systems/intel/ |
H A D | intel.h | 16 PartitionMapCookie() : ref_count(1) {} 18 int32 ref_count; member in struct:PartitionMapCookie
|
/haiku/src/servers/input/ |
H A D | PathList.cpp | 20 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/system/kernel/device_manager/ |
H A D | id_generator.cpp | 9 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/tools/fs_shell/ |
H A D | module.cpp | 55 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)
|
H A D | fd.cpp | 44 fssh_dprintf("fd[%d] = %p: type = %d, ref_count = %d, ops = %p, u.vnode = %p, u.mount = %p, cookie = %p, open_mode = %x, pos = %lld\n", 45 fd, descriptor, (int)descriptor->type, (int)descriptor->ref_count, descriptor->ops, 64 descriptor->ref_count = 1; 139 int32_t previous = fssh_atomic_add(&descriptor->ref_count, -1); 142 descriptor, descriptor->ref_count, descriptor->cookie)); 165 descriptor->ref_count = -1; 208 fssh_atomic_add(&descriptor->ref_count, 1); 337 fssh_atomic_add(&context->fds[oldfd]->ref_count, 1);
|
H A D | driver_settings.cpp | 57 int32_t ref_count; member in struct:settings_handle 618 if (--handle->ref_count == 0) { 645 handle->ref_count++;
|
/haiku/src/system/kernel/arch/generic/ |
H A D | generic_vm_physical_page_mapper.cpp | 34 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/tests/add-ons/kernel/network/ |
H A D | userland_modules.cpp | 39 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/servers/media/ |
H A D | BufferManager.h | 51 vint32 ref_count; member in struct:BufferManager::clone_info
|
H A D | BufferManager.cpp | 204 info->ref_count++; 221 info.ref_count = 1; 247 if (--info->ref_count == 0) {
|
/haiku/headers/private/kernel/ |
H A D | elf_priv.h | 31 int32 ref_count; member in struct:elf_image_info
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | routes.h | 23 int32 ref_count; member in struct:net_route_private
|
H A D | device_interfaces.cpp | 103 while (atomic_get(&interface->ref_count) > 0) { 197 interface->ref_count = 1; 261 kprintf("ref_count: %" B_PRId32 "\n", interface->ref_count); 263 kprintf("deframe_ref_count: %" B_PRId32 "\n", interface->ref_count); 307 if (interface == NULL || atomic_add(&interface->ref_count, 1) == 0) 392 if (atomic_add(&interface->ref_count, -1) != 1) 396 // by setting its ref_count to 0. 397 interface->ref_count = 0; 432 if (atomic_add(&interface->ref_count, [all...] |
H A D | device_interfaces.h | 34 int32 ref_count; member in struct:net_device_interface
|
/haiku/src/system/libroot/os/ |
H A D | driver_settings.cpp | 80 int32 ref_count; member in struct:settings_handle 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 shoul [all...] |
/haiku/src/system/kernel/ |
H A D | module.cpp | 96 int32 ref_count; // how many ref's to this file member in struct:module_image 107 int32 ref_count; member in struct:module 108 module_info* info; // will only be valid if ref_count > 0 426 moduleImage->ref_count = 0; 453 if (moduleImage->ref_count != 0) { 455 moduleImage->path, moduleImage->ref_count)); 475 int32 refCount = atomic_add(&image->ref_count, -1); 502 atomic_add(&image->ref_count, 1); 546 module->ref_count = 0; 590 if (module->module_image == NULL && module->ref_count [all...] |
/haiku/src/system/kernel/locks/ |
H A D | user_mutex.cpp | 36 int32 ref_count; member in struct:UserMutexEntry 188 kprintf(" refcount: %" B_PRId32 "\n", entry->ref_count); 272 atomic_add(&entry->ref_count, 1); 282 atomic_add(&entry->ref_count, 1); 291 entry->ref_count = 1; 307 if (atomic_add(&entry->ref_count, -1) != 1) 317 if (atomic_get(&entry->ref_count) > 0)
|