Searched refs:cookie (Results 201 - 225 of 989) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/nfs4/
H A Dkernel_interface.cpp367 TRACE("volume = %p, vnode = %" B_PRIi64 ", cookie = %p, pos = %" B_PRIi64 \
376 OpenFileCookie* cookie = reinterpret_cast<OpenFileCookie*>(_cookie);
387 result = inode->ReadDirect(cookie, pos, buffer, &bytesRead, &eof);
411 TRACE("volume = %p, vnode = %" B_PRIi64 ", cookie = %p, pos = %" B_PRIi64 \
420 OpenFileCookie* cookie = reinterpret_cast<OpenFileCookie*>(_cookie);
433 result = inode->WriteDirect(cookie, pos, buffer, &bytesWritten);
448 nfs4_io(fs_volume* volume, fs_vnode* vnode, void* cookie, io_request* request) argument
451 TRACE("volume = %p, vnode = %" B_PRIi64 ", cookie = %p\n", volume,
452 vti->ID(), cookie);
486 TRACE("volume = %p, vnode = %" B_PRIi64 ", cookie
490 OpenFileCookie* cookie = reinterpret_cast<OpenFileCookie*>(_cookie); local
767 OpenFileCookie* cookie = new OpenFileCookie(fs); local
842 OpenFileCookie* cookie = new OpenFileCookie(fs); local
1020 OpenDirCookie* cookie = new(std::nothrow) OpenDirCookie(fs); local
1049 Cookie* cookie = reinterpret_cast<Cookie*>(_cookie); local
1055 nfs4_free_dir_cookie(fs_volume* volume, fs_vnode* vnode, void* cookie) argument
1069 OpenDirCookie* cookie = reinterpret_cast<OpenDirCookie*>(_cookie); local
1089 OpenDirCookie* cookie = reinterpret_cast<OpenDirCookie*>(_cookie); local
1105 OpenDirCookie* cookie = new(std::nothrow) OpenDirCookie(fs); local
1127 nfs4_close_attr_dir(fs_volume* volume, fs_vnode* vnode, void* cookie) argument
1134 nfs4_free_attr_dir_cookie(fs_volume* volume, fs_vnode* vnode, void* cookie) argument
1141 nfs4_read_attr_dir(fs_volume* volume, fs_vnode* vnode, void* cookie, struct dirent* buffer, size_t bufferSize, uint32* _num) argument
1149 nfs4_rewind_attr_dir(fs_volume* volume, fs_vnode* vnode, void* cookie) argument
1167 OpenAttrCookie* cookie = new OpenAttrCookie(fs); local
1192 OpenAttrCookie* cookie = new OpenAttrCookie(fs); local
1208 Cookie* cookie = reinterpret_cast<Cookie*>(_cookie); local
1236 OpenAttrCookie* cookie = reinterpret_cast<OpenAttrCookie*>(_cookie); local
1253 OpenAttrCookie* cookie = reinterpret_cast<OpenAttrCookie*>(_cookie); local
1269 OpenAttrCookie* cookie = reinterpret_cast<OpenAttrCookie*>(_cookie); local
1285 OpenAttrCookie* cookie = reinterpret_cast<OpenAttrCookie*>(_cookie); local
1335 OpenFileCookie* cookie = reinterpret_cast<OpenFileCookie*>(_cookie); local
1353 OpenFileCookie* cookie = reinterpret_cast<OpenFileCookie*>(_cookie); local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DShareVolume.h77 void** cookie);
79 void** cookie);
80 virtual status_t Close(Node* node, void* cookie);
81 virtual status_t FreeCookie(Node* node, void* cookie);
82 virtual status_t Read(Node* node, void* cookie, off_t pos,
85 virtual status_t Write(Node* node, void* cookie, off_t pos,
104 virtual status_t OpenDir(Node* node, void** cookie);
105 virtual status_t CloseDir(Node* node, void* cookie);
106 virtual status_t FreeDirCookie(Node* node, void* cookie);
107 virtual status_t ReadDir(Node* node, void* cookie,
[all...]
/haiku/src/add-ons/kernel/drivers/joystick/emuxkigameport/
H A Ddriver.cpp202 device_open(const char* name, uint32 flags, void** cookie) argument
207 *cookie = NULL;
219 return (*gameport->open_hook)(cards[ix].joy.driver, flags, cookie);
224 device_close(void * cookie) argument
226 return (*gameport->close_hook)(cookie);
231 device_free(void * cookie) argument
233 return (*gameport->free_hook)(cookie);
238 device_control(void * cookie, uint32 iop, void * data, size_t len) argument
240 return (*gameport->control_hook)(cookie, iop, data, len);
245 device_read(void * cookie, off_ argument
252 device_write(void * cookie, off_t pos, const void * data, size_t * nwritten) argument
[all...]
/haiku/src/tests/kits/app/broster/
H A DLaunchTesterHelper.h59 BMessage *NextMessageFrom(team_id team, int32 &cookie,
61 bool CheckNextMessage(LaunchCaller &caller, team_id team, int32 &cookie,
64 int32 &cookie, const entry_ref *appRef,
67 int32 &cookie, const entry_ref *appRef,
70 bool CheckArgvMessage(LaunchCaller &caller, team_id team, int32 &cookie,
72 bool CheckArgvMessage(LaunchCaller &caller, team_id team, int32 &cookie,
75 bool CheckArgvMessage(LaunchCaller &caller, team_id team, int32 &cookie,
78 bool CheckArgsMessage(LaunchCaller &caller, team_id team, int32 &cookie,
82 int32 &cookie);
83 bool CheckMessageMessage(LaunchCaller &caller, team_id team, int32 &cookie,
[all...]
/haiku/src/tests/system/kernel/device_manager/
H A Dconfig.c42 driver_cookie *cookie = malloc(sizeof(driver_cookie)); local
43 if (cookie == NULL)
45 *_cookie = cookie;
46 cookie->child = gDeviceManager->get_root();
47 cookie->parent = NULL;
48 cookie->attr = NULL;
54 config_close(void *cookie) argument
61 config_free_cookie(void *cookie) argument
63 driver_cookie *cook = (driver_cookie *)cookie;
72 config_ioctl(void *cookie, uint3 argument
158 config_read(void * cookie, off_t pos, void *buf, size_t *_length) argument
166 config_write(void * cookie, off_t pos, const void *buf, size_t *_length) argument
[all...]
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2transactions.cpp28 void acl_tx_complete(void* cookie, status_t status, void* data, size_t actual_len);
29 void acl_rx_complete(void* cookie, status_t status, void* data, size_t actual_len);
30 void command_complete(void* cookie, status_t status, void* data, size_t actual_len);
31 void event_complete(void* cookie, status_t status, void* data, size_t actual_len);
49 event_complete(void* cookie, status_t status, void* data, size_t actual_len) argument
51 bt_usb_dev* bdev = (bt_usb_dev*)cookie;
52 // bt_usb_dev* bdev = fetch_device(cookie, 0); -> safer / slower option
55 TRACE("%s: cookie@%p status=%s len=%" B_PRIuSIZE "\n", __func__, cookie,
91 acl_rx_complete(void* cookie, status_ argument
194 command_complete(void* cookie, status_t status, void* data, size_t actual_len) argument
219 acl_tx_complete(void* cookie, status_t status, void* data, size_t actual_len) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/generic/
H A Dmulti.c12 multi_audio_control_generic(cookie_type* cookie, uint32 op, void* arg, size_t len) argument
31 status = get_description(cookie, &description);
57 status = get_enabled_channels(cookie, &enable);
79 status = get_global_format(cookie, &info);
90 status = set_global_format(cookie, &info);
96 return list_mix_channels(cookie, (multi_mix_channel_info*)arg);
120 status = list_mix_controls(cookie, &info);
136 return list_mix_connections(cookie,
161 status = get_mix(cookie, &info);
199 status = set_mix(cookie,
[all...]
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A Dvirtio_mmio.cpp247 virtio_device_init_device(device_node* node, void** cookie) argument
343 *cookie = dev.Detach();
349 virtio_device_uninit_device(void* cookie) argument
351 TRACE("uninit_device(%p)\n", cookie);
352 ObjectDeleter<VirtioDevice> dev((VirtioDevice*)cookie);
357 virtio_device_register_child_devices(void* cookie) argument
359 TRACE("register_child_devices(%p)\n", cookie);
368 virtio_device_negotiate_features(virtio_device cookie, uint64 supported, argument
371 TRACE("virtio_device_negotiate_features(%p)\n", cookie);
372 VirtioDevice* dev = (VirtioDevice*)cookie;
398 virtio_device_clear_feature(virtio_device cookie, uint64 feature) argument
406 virtio_device_read_device_config(virtio_device cookie, uint8 offset, void* buffer, size_t bufferSize) argument
437 virtio_device_write_device_config(virtio_device cookie, uint8 offset, const void* buffer, size_t bufferSize) argument
468 virtio_device_alloc_queues(virtio_device cookie, size_t count, virtio_queue* queues) argument
502 virtio_device_free_queues(virtio_device cookie) argument
513 virtio_device_setup_interrupt(virtio_device cookie, virtio_intr_func config_handler, void* driverCookie) argument
530 virtio_device_free_interrupts(virtio_device cookie) argument
551 virtio_device_queue_setup_interrupt(virtio_queue aQueue, virtio_callback_func handler, void* cookie) argument
568 virtio_device_queue_request_v(virtio_queue aQueue, const physical_entry* vector, size_t readVectorCount, size_t writtenVectorCount, void* cookie) argument
582 virtio_device_queue_request(virtio_queue aQueue, const physical_entry* readEntry, const physical_entry* writtenEntry, void* cookie) argument
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A Dchecksumfs.cpp66 mutex_init(&lock, "checksumfs file cookie");
516 that) and creates a file cookie.
567 FileCookie* cookie = new(std::nothrow) FileCookie(openMode);
568 if (cookie == NULL)
570 ObjectDeleter<FileCookie> cookieDeleter(cookie);
673 FileCookie* cookie;
675 false, cookie);
678 ObjectDeleter<FileCookie> cookieDeleter(cookie);
818 checksumfs_scan_partition(int fd, partition_data* partition, void* cookie) argument
820 SuperBlock* superBlock = (SuperBlock*)cookie;
835 checksumfs_free_identify_partition_cookie(partition_data* partition, void* cookie) argument
1050 iterative_io_get_vecs_hook(void* cookie, io_request* request, off_t offset, size_t size, file_io_vec* vecs, size_t* _count) argument
1061 iterative_io_finished_hook(void* cookie, io_request* request, status_t status, bool partialTransfer, size_t bytesTransferred) argument
1071 checksumfs_io(fs_volume* fsVolume, fs_vnode* vnode, void* cookie, io_request* request) argument
1127 FileCookie* cookie = (FileCookie*)_cookie; local
1550 FileCookie* cookie; local
1577 FileCookie* cookie; local
1589 checksumfs_close(fs_volume* fsVolume, fs_vnode* vnode, void* cookie) argument
1598 FileCookie* cookie = (FileCookie*)_cookie; local
1612 FileCookie* cookie = (FileCookie*)_cookie; local
1632 FileCookie* cookie = (FileCookie*)_cookie; local
1753 checksumfs_close_dir(fs_volume* fsVolume, fs_vnode* vnode, void* cookie) argument
1762 DirCookie* cookie = (DirCookie*)_cookie; local
1786 DirCookie* cookie = (DirCookie*)_cookie; local
1819 checksumfs_close_attr_dir(fs_volume* volume, fs_vnode* vnode, void* cookie) argument
1829 AttrDirCookie* cookie = (AttrDirCookie*)_cookie; local
1843 AttrDirCookie* cookie = (AttrDirCookie*)_cookie; local
1855 AttrDirCookie* cookie = (AttrDirCookie*)_cookie; local
1947 AttributeCookie* cookie = new(std::nothrow) AttributeCookie(name); local
2012 checksumfs_close_attr(fs_volume* fsVolume, fs_vnode* vnode, void* cookie) argument
2021 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
2031 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
2052 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
2108 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
[all...]
/haiku/headers/os/drivers/pcmcia/
H A Dcb_enabler.h65 status_t (*device_added)(pci_info *pci, void **cookie);
66 void (*device_removed)(void *cookie);
/haiku/src/apps/cortex/addons/common/
H A DSoundUtils.h63 typedef void (*SoundProcessFunc)(void * cookie,
66 typedef void (*SoundNotifyFunc)(void * cookie,
/haiku/src/apps/cortex/support/
H A DSoundUtils.h63 typedef void (*SoundProcessFunc)(void * cookie,
66 typedef void (*SoundNotifyFunc)(void * cookie,
/haiku/src/apps/devices/
H A Ddm_wrapper.c41 get_root(device_node_cookie *cookie) argument
43 return _kern_generic_syscall(DEVICE_MANAGER_SYSCALLS, DM_GET_ROOT, cookie,
/haiku/src/bin/listdev/
H A Ddm_wrapper.c36 get_root(device_node_cookie *cookie) argument
39 cookie, sizeof(device_node_cookie));
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfmemopen.c93 fmemopen_read (void *cookie, char *b, size_t s) argument
97 c = (fmemopen_cookie_t *) cookie;
117 fmemopen_write (void *cookie, const char *b, size_t s) argument
122 c = (fmemopen_cookie_t *) cookie;
151 fmemopen_seek (void *cookie, _IO_off64_t *p, int w) argument
156 c = (fmemopen_cookie_t *) cookie;
186 fmemopen_close (void *cookie) argument
190 c = (fmemopen_cookie_t *) cookie;
/haiku/src/tests/system/kernel/device_manager/playground/
H A Dbus.cpp77 uninit_driver(void* cookie) argument
83 register_child_devices(void* cookie) argument
85 device_node* node = (device_node*)cookie;
139 rescan_child_devices(void* cookie) argument
146 device_removed(void* cookie) argument
155 get_bus_info(void* cookie, bus_info* info) argument
157 gDeviceManager->get_attr_uint16((device_node*)cookie, B_DEVICE_VENDOR_ID,
159 gDeviceManager->get_attr_uint16((device_node*)cookie, B_DEVICE_ID,
/haiku/src/system/boot/loader/file_systems/bfs/
H A DLink.cpp46 Link::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
53 Link::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
H A DFile.h26 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
27 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DMediaStreamDecoder.cpp3 MediaStreamDecoder::MediaStreamDecoder(get_next_chunk_func next_chunk, void *cookie) argument
5 , fCookie(cookie)
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DDriver.h42 status_t usb_serial_device_added(usb_device device, void **cookie);
43 status_t usb_serial_device_removed(void *cookie);
/haiku/headers/os/net/
H A DNetworkRoster.h23 status_t GetNextInterface(uint32* cookie,
34 status_t GetNextPersistentNetwork(uint32* cookie,
/haiku/src/bin/
H A Dfdinfo.cpp51 uint32 cookie = 0; local
54 while (_kern_get_next_fd_info(teamInfo.team, &cookie, &info, sizeof(fd_info)) == B_OK) {
64 uint32 cookie = 0; local
67 while (_kern_get_next_fd_info(teamInfo.team, &cookie, &info, sizeof(fd_info)) == B_OK) {
86 uint32 cookie = 0; local
89 while (_kern_get_next_fd_info(teamInfo.team, &cookie, &info, sizeof(fd_info)) == B_OK) {
171 int32 cookie = 0; local
173 while (get_next_team_info(&cookie, &info) == B_OK) {
/haiku/src/servers/input/
H A DMethodMenuItem.h27 MethodMenuItem(int32 cookie, const char *label, const uchar *icon, BMenu *subMenu, BMessenger &messenger);
28 MethodMenuItem(int32 cookie, const char *label, const uchar *icon);
/haiku/src/kits/media/
H A DChunkCache.h45 chunk_buffer* NextChunk(Reader* reader, void* cookie);
47 bool ReadNextChunk(Reader* reader, void* cookie);
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h35 Attribute(Inode* inode, attr_cookie* cookie);
43 //! Loads file attributes into cookie
51 status_t Read(attr_cookie* cookie, off_t pos,

Completed in 224 milliseconds

1234567891011>>