Searched refs:cookie (Results 251 - 275 of 1016) sorted by relevance

<<11121314151617181920>>

/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/
H A Dudf.cpp65 static int udf_ioctl(void *ns, void *node, void *cookie, int cmd, void *buf,size_t len);
66 static int udf_setflags(void *ns, void *node, void *cookie, int flags);
68 static int udf_select(void *ns, void *node, void *cookie, uint8 event,
70 static int udf_deselect(void *ns, void *node, void *cookie, uint8 event,
76 int perms, int omode, vnode_id *vnid, void **cookie);
87 static int udf_open(void *_ns, void *_node, int omode, void **cookie);
88 static int udf_read(void *_ns, void *_node, void *cookie, off_t pos,
90 static int udf_write(void *ns, void *node, void *cookie, off_t pos,
92 static int udf_free_cookie(void *ns, void *node, void *cookie);
93 static int udf_close(void *ns, void *node, void *cookie);
[all...]
/haiku-fatelf/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-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/
H A DShareVolume.h76 void** cookie);
78 void** cookie);
79 virtual status_t Close(Node* node, void* cookie);
80 virtual status_t FreeCookie(Node* node, void* cookie);
81 virtual status_t Read(Node* node, void* cookie, off_t pos,
84 virtual status_t Write(Node* node, void* cookie, off_t pos,
103 virtual status_t OpenDir(Node* node, void** cookie);
104 virtual status_t CloseDir(Node* node, void* cookie);
105 virtual status_t FreeDirCookie(Node* node, void* cookie);
106 virtual status_t ReadDir(Node* node, void* cookie,
[all...]
/haiku-fatelf/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-fatelf/src/add-ons/kernel/drivers/network/sis19x/
H A DDriver.cpp196 SiS19X_open(const char* name, uint32 flags, void** cookie) argument
199 *cookie = NULL;
203 *cookie = gDevices[i];
212 SiS19X_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument
214 Device* device = (Device*)cookie;
220 SiS19X_write(void* cookie, off_t position, argument
223 Device* device = (Device*)cookie;
229 SiS19X_control(void* cookie, uint32 op, void* buffer, size_t length) argument
231 Device* device = (Device*) cookie;
237 SiS19X_close(void* cookie) argument
245 SiS19X_free(void* cookie) argument
[all...]
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/headers/os/drivers/
H A Ddevice_manager.h175 status_t (*close)(void *cookie);
176 status_t (*free)(void *cookie);
177 status_t (*read)(void *cookie, off_t pos, void *buffer, size_t *_length);
178 status_t (*write)(void *cookie, off_t pos, const void *buffer,
180 status_t (*io)(void *cookie, io_request *request);
181 status_t (*control)(void *cookie, uint32 op, void *buffer, size_t length);
182 status_t (*select)(void *cookie, uint8 event, selectsync *sync);
183 status_t (*deselect)(void *cookie, uint8 event, selectsync *sync);
/haiku-fatelf/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-fatelf/headers/os/net/
H A DNetworkRoster.h23 status_t GetNextInterface(uint32* cookie,
34 status_t GetNextPersistentNetwork(uint32* cookie,
/haiku-fatelf/headers/private/media/
H A DSoundUtils.h33 typedef void (*SoundProcessFunc)(void * cookie,
36 typedef void (*SoundNotifyFunc)(void * cookie,
/haiku-fatelf/src/add-ons/kernel/drivers/ports/usb_serial/
H A DDriver.h44 status_t usb_serial_device_added(usb_device device, void **cookie);
45 status_t usb_serial_device_removed(void *cookie);
/haiku-fatelf/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h25 Attribute(Inode* inode, attr_cookie* cookie);
37 status_t Read(attr_cookie* cookie, off_t pos,
H A Dkernel_interface.cpp46 iterative_io_get_vecs_hook(void* cookie, io_request* request, off_t offset, argument
49 Inode* inode = (Inode*)cookie;
58 iterative_io_finished_hook(void* cookie, io_request* request, status_t status, argument
61 Inode* inode = (Inode*)cookie;
78 identify_cookie *cookie = new identify_cookie;
79 memcpy(&cookie->super_block, &superBlock, sizeof(btrfs_super_block));
81 *_cookie = cookie;
89 identify_cookie *cookie = (identify_cookie *)_cookie; local
93 partition->content_size = cookie->super_block.TotalSize();
94 partition->block_size = cookie
464 file_cookie* cookie = (file_cookie*)_cookie; local
589 btrfs_close_attr_dir(fs_volume* _volume, fs_vnode* _node, void* cookie) argument
661 btrfs_close_attr(fs_volume* _volume, fs_vnode* _node, void* cookie) argument
669 btrfs_free_attr_cookie(fs_volume* _volume, fs_vnode* _node, void* cookie) argument
683 attr_cookie* cookie = (attr_cookie*)_cookie; local
693 btrfs_write_attr(fs_volume* _volume, fs_vnode* _node, void* cookie, off_t pos, const void* buffer, size_t* length) argument
705 attr_cookie* cookie = (attr_cookie*)_cookie; local
715 btrfs_write_attr_stat(fs_volume* _volume, fs_vnode* _node, void* cookie, const struct stat* stat, int statMask) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/amiga/
H A Damiga_rdb.cpp78 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-fatelf/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.cpp57 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-fatelf/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-fatelf/src/apps/cortex/addons/common/
H A DSoundUtils.h63 typedef void (*SoundProcessFunc)(void * cookie,
66 typedef void (*SoundNotifyFunc)(void * cookie,
/haiku-fatelf/src/apps/cortex/support/
H A DSoundUtils.h63 typedef void (*SoundProcessFunc)(void * cookie,
66 typedef void (*SoundNotifyFunc)(void * cookie,
/haiku-fatelf/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-fatelf/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-fatelf/src/bin/listdev/
H A Ddm_wrapper.c36 get_root(device_node_cookie *cookie) argument
39 cookie, sizeof(device_node_cookie));
/haiku-fatelf/src/kits/media/
H A DChunkCache.h45 chunk_buffer* NextChunk(Reader* reader, void* cookie);
47 bool ReadNextChunk(Reader* reader, void* cookie);
/haiku-fatelf/src/system/boot/loader/file_systems/bfs/
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);

Completed in 231 milliseconds

<<11121314151617181920>>