/haiku/headers/os/drivers/ |
H A D | device_manager.h | 179 status_t (*close)(void *cookie); 180 status_t (*free)(void *cookie); 181 status_t (*read)(void *cookie, off_t pos, void *buffer, size_t *_length); 182 status_t (*write)(void *cookie, off_t pos, const void *buffer, 184 status_t (*io)(void *cookie, io_request *request); 185 status_t (*control)(void *cookie, uint32 op, void *buffer, size_t length); 186 status_t (*select)(void *cookie, uint8 event, selectsync *sync); 187 status_t (*deselect)(void *cookie, uint8 event, selectsync *sync);
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | MouseProtocolHandler.h | 33 virtual status_t Control(uint32 *cookie, uint32 op, void *buffer, 37 status_t _ReadReport(void *buffer, uint32 *cookie);
|
/haiku/src/system/boot/platform/openfirmware/ |
H A D | Handle.cpp | 49 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument 59 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
|
/haiku/src/tests/system/kernel/disk_device_manager/ |
H A D | DiskDeviceManagerTest.cpp | 45 for (int32 cookie = 0; 46 KDiskDevice *device = manager->RegisterNextDevice(&cookie); ) {
|
/haiku/src/libs/bsd/ |
H A D | dl_iterate_phdr.c | 35 int32 cookie = 0; local 40 while (get_next_image_info(0, &cookie, &info) == B_OK) {
|
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | Call.cpp | 88 acpi_call_read(void *cookie, off_t position, void *buffer, size_t *numBytes) argument 90 TRACE("read(%p, %" B_PRIdOFF", %p, %lu)\n", cookie, position, buffer, *numBytes); 96 acpi_call_write(void *cookie, off_t position, const void *buffer, argument 99 TRACE("write(%p, %" B_PRIdOFF", %p, %lu)\n", cookie, position, buffer, *numBytes); 161 acpi_call_close(void *cookie) argument 163 TRACE("close(%p)\n", cookie); 169 acpi_call_free(void *cookie) argument 171 TRACE("free(%p)\n", cookie);
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | NodeAttribute.h | 20 status_t Stat(attr_cookie* cookie, struct stat& stat); 22 status_t Read(attr_cookie* cookie, off_t pos,
|
H A D | ShortAttribute.h | 31 status_t Stat(attr_cookie* cookie, struct stat& stat); 33 status_t Read(attr_cookie* cookie, off_t pos,
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | Driver.cpp | 175 pc_serial_device_added(pc_device device, void **cookie) 177 TRACE_FUNCALLS("> pc_serial_device_added(0x%08x, 0x%08x)\n", device, cookie); 186 *cookie = NULL; 214 *cookie = serialDevice; 228 pc_serial_device_removed(void *cookie) 230 TRACE_FUNCALLS("> pc_serial_device_removed(0x%08x)\n", cookie); 234 SerialDevice *device = (SerialDevice *)cookie; 669 pc_serial_open(const char *name, uint32 flags, void **cookie) argument 671 TRACE_FUNCALLS("> pc_serial_open(%s, 0x%08x, 0x%08x)\n", name, flags, cookie); 675 *cookie 690 pc_serial_read(void *cookie, off_t position, void *buffer, size_t *numBytes) argument 701 pc_serial_write(void *cookie, off_t position, const void *buffer, size_t *numBytes) argument 713 pc_serial_control(void *cookie, uint32 op, void *arg, size_t length) argument 724 pc_serial_select(void *cookie, uint8 event, uint32 ref, selectsync *sync) argument 735 pc_serial_deselect(void *cookie, uint8 event, selectsync *sync) argument 746 pc_serial_close(void *cookie) argument 756 pc_serial_free(void *cookie) argument [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/amiga/ |
H A D | amiga_rdb.cpp | 78 get_next_partition(int fd, rigid_disk_block &rdb, uint32 &cookie, argument 81 if (cookie == 0) { 83 cookie = rdb.FirstPartition(); 84 } else if (cookie == 0xffffffff) { 89 ssize_t bytesRead = read_pos(fd, (off_t)cookie * rdb.BlockSize(), 101 cookie = partition.Next(); 164 TRACE(("amiga_rdb_scan_partition(cookie = %p)\n", _cookie)); 176 uint32 index = 0, cookie = 0; local 179 while ((status = get_next_partition(fd, rdb, cookie, partitionBlock))
|
/haiku/src/add-ons/kernel/partitioning_systems/apple/ |
H A D | apple.cpp | 57 get_next_partition(int fd, apple_driver_descriptor &descriptor, uint32 &cookie, argument 60 uint32 block = cookie; 71 } while (cookie == 0 && block < 64 && !partition.HasValidSignature()); 74 if (cookie) 82 if (!cookie && (strncmp(partition.type, "Apple_", 6) 88 cookie = block; 146 TRACE(("apple_scan_partition(cookie = %p)\n", _cookie)); 158 uint32 index = 0, cookie = 0; local 161 while ((status = get_next_partition(fd, descriptor, cookie, partitionMap)) == B_OK) {
|
/haiku/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_keyboard.cpp | 377 keyboard_cookie* cookie = new(std::nothrow) keyboard_cookie(); local 378 if (cookie == NULL) 381 cookie->is_reader = false; 382 cookie->is_debugger = false; 391 delete cookie; 399 delete cookie; 407 delete cookie; 418 *_cookie = cookie; 428 keyboard_cookie *cookie = (keyboard_cookie *)_cookie; local 441 if (cookie 452 keyboard_freecookie(void *cookie) argument 460 keyboard_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument 469 keyboard_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument 480 keyboard_cookie *cookie = (keyboard_cookie *)_cookie; local [all...] |
/haiku/headers/private/net/ |
H A D | arp_control.h | 36 uint32 cookie; member in struct:arp_control
|
/haiku/headers/private/system/ |
H A D | device_manager_defs.h | 24 device_node_cookie cookie; member in struct:device_attr_info
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | NodeHandleMap.h | 23 status_t LockNodeHandle(int32 cookie,
|
/haiku/src/tests/servers/input/view_input_device/ |
H A D | ViewInputDevice.cpp | 30 virtual status_t Start(const char *device, void *cookie); 31 virtual status_t Stop(const char *device, void *cookie); 65 status_t ViewInputDevice::Start(const char *device, void *cookie) argument 78 status_t ViewInputDevice::Stop(const char *device, void *cookie) argument
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | proto_common.h | 20 void bulk_callback(void *cookie, status_t status, void* data, uint32 actual_len);
|
/haiku/src/add-ons/kernel/drivers/timer/ |
H A D | hpet.cpp | 218 hpet_init_timer(hpet_timer_cookie* cookie) argument 220 struct hpet_timer *timer = cookie->timer; 257 cookie->irq = interrupt = HPET_GET_CONF_TIMER_INT_ROUTE(timer); 258 status_t status = install_io_interrupt_handler(interrupt, &hpet_timer_interrupt, cookie, 0); 425 hpet_open(const char* name, uint32 flags, void** cookie) argument 427 *cookie = NULL; 468 *cookie = hpetCookie; 480 hpet_close(void* cookie) argument 487 hpet_timer_cookie* hpetCookie = (hpet_timer_cookie*)cookie; 498 hpet_free(void* cookie) argument 514 hpet_control(void* cookie, uint32 op, void* arg, size_t length) argument 538 hpet_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument 548 hpet_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument [all...] |
/haiku/src/bin/ |
H A D | listsem.c | 60 int32 cookie = 0; local 64 while (get_next_sem_info(tinfo->team, &cookie, &info) == B_OK) 73 int32 cookie = 0; local 84 while (get_next_team_info( &cookie, &tinfo) == B_OK)
|
/haiku/src/apps/haikudepot/process/ |
H A D | ThreadedProcessNode.cpp | 125 ThreadedProcessNode::_RunProcessThreadEntry(void* cookie) argument 127 static_cast<ThreadedProcessNode*>(cookie)->_RunProcessStart(); 144 ThreadedProcessNode::_RunProcessThreadExit(void* cookie) argument 146 static_cast<ThreadedProcessNode*>(cookie)->_RunProcessExit();
|
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | virtio_balloon.cpp | 47 virtio_balloon_uninit_device(void *cookie) argument 50 VirtioBalloonDevice *device = (VirtioBalloonDevice*)cookie; 107 virtio_balloon_register_child_devices(void *cookie) argument 110 device_node *node = (device_node *)cookie;
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 57 iterative_io_get_vecs_hook(void* cookie, io_request* request, off_t offset, argument 60 Inode* inode = (Inode*)cookie; 69 iterative_io_finished_hook(void* cookie, io_request* request, status_t status, argument 72 Inode* inode = (Inode*)cookie; 89 identify_cookie* cookie = new (std::nothrow)identify_cookie; 90 if (cookie == NULL) 93 memcpy(&cookie->super_block, &superBlock, sizeof(exfat_super_block)); 94 memset(cookie->name, 0, sizeof(cookie->name)); 109 if (get_volume_name(&entry, cookie 133 identify_cookie* cookie = (identify_cookie*)_cookie; local 516 file_cookie* cookie = (file_cookie*)_cookie; local [all...] |
/haiku/headers/private/kernel/boot/ |
H A D | FileMapDisk.h | 51 virtual status_t Close(void *cookie); 54 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, 56 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer,
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | KFileSystem.h | 33 virtual float Identify(KPartition* partition, void** cookie); 34 virtual status_t Scan(KPartition* partition, void* cookie); 36 void* cookie);
|
/haiku/src/add-ons/input_server/devices/wacom/ |
H A D | MasterServerDevice.h | 27 virtual status_t Start(const char* device, void* cookie); 28 virtual status_t Stop(const char* device, void* cookie); 30 void *cookie, 51 // static int32 _ps2_disabler(void* cookie);
|