/haiku/src/add-ons/kernel/drivers/video/usb_vision/ |
H A D | usb_vision.h | 28 uint32 open_count; member in struct:__anon14
|
H A D | usb_vision.c | 119 if(atomic_add(&usb_vision_devices[i]->open_count, 1) == 0){ 124 atomic_add(&usb_vision_devices[i]->open_count, -1); 205 atomic_add(&uvd->open_count, -1);
|
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/ |
H A D | framebuffer_private.h | 21 int32 open_count; member in struct:framebuffer_info
|
H A D | device.cpp | 59 if (info->open_count == 0) { 69 info->open_count++; 92 if (info->open_count-- == 1) {
|
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | cm_private.h | 84 int32 open_count; member in struct:__anon5 137 int32 open_count; member in struct:__anon6 144 int32 open_count; member in struct:__anon7
|
H A D | mux.c | 95 atomic_add(&cards[ix].mux.open_count, 1); 109 atomic_add(&plex->open_count, -1); 121 if (((mux_dev *)cookie)->open_count != 0) { 122 dprintf("cmedia_pci: mux open_count is bad in mux_free()!\n");
|
H A D | mixer.c | 106 atomic_add(&cards[ix].mixer.open_count, 1); 120 atomic_add(&it->open_count, -1); 132 if (((mixer_dev *)cookie)->open_count != 0) { 133 dprintf("cmedia_pci: mixer open_count is bad in mixer_free()!\n");
|
/haiku/src/add-ons/kernel/generic/mpu401/ |
H A D | mpu401_priv.h | 53 static int open_count; variable
|
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/ |
H A D | radeon_hd_private.h | 32 int32 open_count; member in struct:radeon_info
|
H A D | device.cpp | 126 if (info->open_count == 0) { 139 info->open_count++; 165 if (info->open_count-- == 1) {
|
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | device.cpp | 59 if (info->open_count == 0) { 69 info->open_count++; 92 if (info->open_count-- == 1) {
|
H A D | vesa_private.h | 26 int32 open_count; member in struct:vesa_info
|
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | intel_extreme_private.h | 21 int32 open_count; member in struct:intel_info
|
H A D | device.cpp | 213 if (info->open_count == 0) { 228 info->open_count++; 254 if (info->open_count-- == 1) {
|
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/ |
H A D | usb_disk.h | 42 uint32 open_count; member in struct:disk_device_s
|
/haiku/src/tests/kits/storage/virtualdrive/ |
H A D | virtualdrive.cpp | 72 int32 open_count; member in struct:device_info 159 info.open_count = 0; 266 // open_count doesn't have to be changed here (virtualdrive_open() will do that for us) 276 if (info.open_count == 0) 390 gDeviceInfos[devIndex].open_count++; 408 gDeviceInfos[devIndex].open_count--; 409 if (gDeviceInfos[devIndex].open_count == 0 && !gDeviceInfos[devIndex].registered) {
|
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/ |
H A D | h2generic.h | 65 int32 open_count; /* number of clients of the device */ member in struct:bt_usb_dev
|
/haiku/src/tools/fs_shell/ |
H A D | fd.cpp | 65 descriptor->open_count = 0; 116 fssh_atomic_add(&descriptor->open_count, 1); 152 && previous - 1 == descriptor->open_count 164 descriptor->open_count = -1; 182 if (fssh_atomic_add(&descriptor->open_count, -1) == 1) { 338 fssh_atomic_add(&context->fds[oldfd]->open_count, 1);
|
H A D | fd.h | 50 int32_t open_count; member in struct:FSShell::file_descriptor
|
/haiku/src/add-ons/kernel/generic/tty/ |
H A D | module.cpp | 52 kprintf(" open_count: %" B_PRId32 "\n", tty.open_count);
|
H A D | tty.cpp | 51 window_size,pgrp_id}}. Moreover when held guarantees that tty::open_count 503 if (fTarget->open_count > 0) { 659 tty_notify_if_available(fTTY, (otherTTY->open_count > 0 ? otherTTY : NULL), 685 if (fCookie->other_tty->open_count == 0 938 if (otherTTY && otherTTY->open_count > 0) 1092 if (target->open_count <= 0) 1197 if (target->open_count <= 0) 1354 tty->open_count = 0; 1429 tty->open_count++; 1458 if (cookie->other_tty->open_count > [all...] |
/haiku/headers/private/kernel/fs/ |
H A D | fd.h | 52 int32 open_count; member in struct:file_descriptor
|
/haiku/src/add-ons/kernel/network/devices/tunnel/ |
H A D | tunnel.cpp | 48 int32 open_count; member in struct:tunnel_device 99 if (atomic_or(&device->open_count, 1) != 0) 130 atomic_and(&cookie->device->open_count, 0); 372 if (atomic_get(&device->open_count) != 0)
|
/haiku/src/system/kernel/fs/ |
H A D | fd.cpp | 86 descriptor->open_count = 0; 141 atomic_add(&descriptor->open_count, 1); 178 && previous - 1 == descriptor->open_count 209 if (atomic_add(&descriptor->open_count, -1) == 1) { 293 atomic_add(&descriptor->open_count, 1); 411 atomic_add(&context->fds[oldfd]->open_count, 1); 570 atomic_add(&descriptor->open_count, 1); 613 atomic_add(&descriptor->open_count, -1);
|
/haiku/src/add-ons/kernel/drivers/pty/ |
H A D | driver.cpp | 274 if (gMasterTTYs[index] == NULL || gMasterTTYs[index]->open_count == 0 283 if (gSlaveTTYs[index]->open_count == 0) { 301 if (gSlaveTTYs[index]->open_count == 0) {
|