Searched refs:cookie (Results 276 - 300 of 989) sorted by relevance

<<11121314151617181920>>

/haiku/headers/os/drivers/bus/
H A DSCSI.h356 // cookie for dpc
387 status_t (*schedule_dpc)(scsi_bus cookie, scsi_dpc_cookie dpc, /*int flags,*/
429 void (*set_scsi_bus)(scsi_sim_cookie cookie, scsi_bus bus);
432 void (*scsi_io)(scsi_sim_cookie cookie, scsi_ccb *ccb);
434 uchar (*abort)(scsi_sim_cookie cookie, scsi_ccb *ccb_to_abort);
436 uchar (*reset_device)(scsi_sim_cookie cookie, uchar target_id, uchar target_lun);
438 uchar (*term_io)(scsi_sim_cookie cookie, scsi_ccb *ccb_to_terminate);
441 uchar (*path_inquiry)(scsi_sim_cookie cookie, scsi_path_inquiry *inquiry_data);
444 uchar (*scan_bus)(scsi_sim_cookie cookie);
446 uchar (*reset_bus)(scsi_sim_cookie cookie);
[all...]
/haiku/headers/private/kernel/boot/
H A Dvfs.h32 virtual status_t Close(void *cookie);
34 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer,
36 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer,
64 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
65 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
72 virtual status_t GetNextEntry(void *cookie, char *nameBuffer, size_t bufferSize) = 0;
73 virtual status_t GetNextNode(void *cookie, Node **_node) = 0;
74 virtual status_t Rewind(void *cookie) = 0;
106 virtual ssize_t ReadAt(void* cookie, off_t pos, void* buffer,
108 virtual ssize_t WriteAt(void* cookie, off_
[all...]
/haiku/src/add-ons/kernel/drivers/sensor/acpi_als/
H A Dacpi_als.cpp96 acpi_als_init_device(void *driverCookie, void **cookie) argument
98 *cookie = driverCookie;
111 acpi_als_open(void *initCookie, const char *path, int flags, void** cookie) argument
121 *cookie = device;
128 acpi_als_close(void* cookie) argument
162 acpi_als_write(void* cookie, off_t position, const void* buffer, argument
179 acpi_als_free(void* cookie) argument
181 als_device_cookie* device = (als_device_cookie*)cookie;
298 acpi_als_register_child_devices(void *cookie) argument
300 als_driver_cookie *device = (als_driver_cookie*)cookie;
[all...]
/haiku/src/add-ons/kernel/bus_managers/random/
H A Ddriver.cpp75 random_open(void *deviceCookie, const char *name, int flags, void **cookie) argument
83 random_read(void *cookie, off_t position, void *_buffer, size_t *_numBytes) argument
93 random_write(void *cookie, off_t position, const void *buffer, size_t *_numBytes) argument
102 random_control(void *cookie, uint32 op, void *arg, size_t length) argument
137 random_close(void *cookie) argument
145 random_free(void *cookie) argument
153 random_select(void *cookie, uint8 event, selectsync *sync) argument
169 random_deselect(void *cookie, uint8 event, selectsync *sync) argument
214 random_init_driver(device_node *node, void **cookie) argument
232 *cookie
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp291 ramfs_ioctl(fs_volume* _volume, fs_vnode* /*node*/, void* /*cookie*/,
341 ramfs_set_flags(fs_volume* /*fs*/, fs_vnode* /*node*/, void* /*cookie*/,
809 // create the file cookie
810 FileCookie *cookie = NULL; local
812 cookie = new(nothrow) FileCookie(openMode);
813 if (!cookie)
861 *_cookie = cookie;
862 else if (cookie)
863 delete cookie;
899 // create the cookie
900 FileCookie *cookie = NULL; local
946 FileCookie *cookie = (FileCookie*)_cookie; local
960 FileCookie *cookie = (FileCookie*)_cookie; local
998 FileCookie *cookie = (FileCookie*)_cookie; local
1248 DirectoryCookie *cookie = new(nothrow) DirectoryCookie(dir); local
1271 DirectoryCookie *cookie = (DirectoryCookie*)_cookie; local
1282 DirectoryCookie *cookie = (DirectoryCookie*)_cookie; local
1298 DirectoryCookie *cookie = (DirectoryCookie*)_cookie; local
1341 DirectoryCookie *cookie = (DirectoryCookie*)_cookie; local
1537 AttributeCookie *cookie = new(nothrow) AttributeCookie(); local
1607 AttributeCookie *cookie = NULL; local
1664 AttributeCookie *cookie = (AttributeCookie*)_cookie; local
1679 AttributeCookie *cookie = (AttributeCookie*)_cookie; local
1710 AttributeCookie *cookie = (AttributeCookie*)_cookie; local
1759 AttributeCookie *cookie = (AttributeCookie*)_cookie; local
1852 IndexDirCookie *cookie = new(nothrow) IndexDirCookie; local
1879 IndexDirCookie *cookie = (IndexDirCookie*)_cookie; local
1892 IndexDirCookie *cookie = (IndexDirCookie*)_cookie; local
1929 IndexDirCookie *cookie = (IndexDirCookie*)_cookie; local
[all...]
/haiku/src/add-ons/kernel/busses/ata/it8211/
H A Dit8211.c125 init_controller(device_node *node, void **cookie) argument
128 (ata_adapter_controller_info **)cookie,
134 uninit_controller(void *cookie) argument
136 sATAAdapter->uninit_controller((ata_adapter_controller_info *)cookie);
141 controller_removed(void *cookie) argument
143 sATAAdapter->controller_removed((ata_adapter_controller_info *)cookie);
/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.h171 status_t (*device_close)(void *cookie);
172 status_t (*device_free)(void *cookie);
173 status_t (*device_read)(void *cookie, off_t pos, void *buffer,
175 status_t (*device_write)(void *cookie, off_t pos, const void *buffer,
177 status_t (*device_ioctl)(void *cookie, int32 op, void *buffer,
179 status_t (*device_io)(void *cookie, io_request *request);
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerNodeConsumer.cpp45 int32 *cookie,
48 fprintf(stderr,"VideoMixerNode(BBufferConsumer)::GetNextInput (%ld)\n",*cookie);
51 if (uint32(*cookie) == fConnectedInputs.size()) {
54 out_input = GetInput(*cookie);
63 (*cookie)++;
69 int32 cookie)
44 GetNextInput( int32 *cookie, media_input *out_input) argument
68 DisposeInputCookie( int32 cookie) argument
/haiku/headers/private/fs_shell/
H A Dfssh_os.h81 int32_t *cookie, struct fssh_sem_info *info,
87 #define fssh_get_next_sem_info(team, cookie, info) \
88 _fssh_get_next_sem_info((team), (cookie), (info), sizeof(*(info)))
185 int32_t *cookie, fssh_thread_info *info,
191 #define fssh_get_next_thread_info(team, cookie, info) \
192 _fssh_get_next_thread_info((team), (cookie), (info), sizeof(*(info)))
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A Dfile_cache.cpp151 file_cache_read(void *cacheRef, void *cookie, off_t offset, void *bufferBase, argument
155 cacheRef, cookie, offset, bufferBase, *_size));
160 fileCache->vnodeID, cookie, offset, bufferBase, _size);
165 file_cache_write(void *cacheRef, void *cookie, off_t offset, const void *buffer, argument
169 cacheRef, cookie, offset, buffer, *_size));
174 fileCache->vnodeID, cookie, offset, buffer, _size);
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DProtocolHandler.cpp119 ProtocolHandler::Open(uint32 flags, uint32 *cookie) argument
126 ProtocolHandler::Close(uint32 *cookie) argument
128 *cookie |= PROTOCOL_HANDLER_COOKIE_FLAG_CLOSED;
136 ProtocolHandler::Read(uint32 *cookie, off_t position, void *buffer, argument
146 ProtocolHandler::Write(uint32 *cookie, off_t position, const void *buffer, argument
156 ProtocolHandler::Control(uint32 *cookie, uint32 op, void *buffer, size_t length) argument
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp55 iterative_io_get_vecs_hook(void *cookie, io_request *request, off_t offset, argument
58 Icb *icb = (Icb *)cookie;
65 iterative_io_finished_hook(void *cookie, io_request *request, status_t status, argument
95 identify_cookie *cookie = new(std::nothrow) identify_cookie;
96 if (cookie == NULL)
99 cookie->logical_volume_descriptor = logicalVolumeDescriptor;
100 *_cookie = cookie;
109 identify_cookie *cookie = (identify_cookie *)_cookie; local
111 = cookie->logical_volume_descriptor;
129 udf_free_identify_partition_cookie(partition_data *partition, void *cookie) argument
345 udf_read(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, void *buffer, size_t *length) argument
367 udf_io(fs_volume *volume, fs_vnode *vnode, void *cookie, io_request *request) argument
395 udf_open_dir(fs_volume *volume, fs_vnode *vnode, void **cookie) argument
443 udf_read_dir(fs_volume *_volume, fs_vnode *vnode, void *cookie, struct dirent *dirent, size_t bufferSize, uint32 *_num) argument
487 udf_rewind_dir(fs_volume *volume, fs_vnode *vnode, void *cookie) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dkernel_interface.cpp31 int cookie; member in struct:identify_cookie
44 identify_cookie* cookie = new identify_cookie;
45 memcpy(&cookie->super_block, &superBlock, sizeof(ufs2_super_block));
46 *_cookie = cookie;
55 identify_cookie* cookie = (identify_cookie*)_cookie; local
59 partition->block_size = cookie->super_block.fs_bsize;
60 partition->content_size = cookie->super_block.fs_fsize
61 * cookie->super_block.fs_size;
62 partition->content_name = strdup(cookie->super_block.fs_volname);
73 identify_cookie* cookie local
314 file_cookie* cookie = (file_cookie*)_cookie; local
455 ufs2_close_attr_dir(fs_volume *_volume, fs_vnode *_node, void *cookie) argument
501 ufs2_close_attr(fs_volume *_volume, fs_vnode *_node, void *cookie) argument
509 ufs2_free_attr_cookie(fs_volume *_volume, fs_vnode *_node, void *cookie) argument
525 ufs2_write_attr(fs_volume *_volume, fs_vnode *_node, void *cookie, off_t pos, const void *buffer, size_t *length) argument
541 ufs2_write_attr_stat(fs_volume *_volume, fs_vnode *_node, void *cookie, const struct stat *stat, int statMask) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp371 DirCookie* cookie; member in struct:FUSEVolume::ReadDirBuffer
379 ReadDirBuffer(FUSEVolume* volume, FUSENode* directory, DirCookie* cookie, argument
384 cookie(cookie),
847 fuse_file_info cookie; local
848 fuseError = fuse_ll_open(fOps, node->id, &cookie);
850 fuse_ll_fsync(fOps, node->id, 0, &cookie);
852 fuse_ll_flush(fOps, node->id, &cookie);
853 fuse_ll_release(fOps, node->id, &cookie);
864 FileCookie cookie(O_RDONL
1023 FileCookie* cookie = (FileCookie*)_cookie; local
1103 FileCookie* cookie = (FileCookie*)_cookie; local
1136 fuse_file_info cookie; local
1646 FileCookie* cookie = new(std::nothrow) FileCookie(openMode); local
1654 fuse_file_info cookie; local
1735 FileCookie* cookie = new(std::nothrow) FileCookie(openMode); local
1853 FileCookie* cookie = (FileCookie*)_cookie; local
1899 FileCookie* cookie = (FileCookie*)_cookie; local
1941 FileCookie* cookie = (FileCookie*)_cookie; local
1971 FileCookie* cookie = (FileCookie*)_cookie; local
2128 DirCookie* cookie = new(std::nothrow) DirCookie; local
2179 DirCookie* cookie = (DirCookie*)_cookie; local
2226 DirCookie* cookie = (DirCookie*)_cookie; local
2333 DirCookie* cookie = (DirCookie*)_cookie; local
2357 AttrDirCookie* cookie = new(std::nothrow) AttrDirCookie; local
2369 CloseAttrDir(void* node, void* cookie) argument
2390 AttrDirCookie* cookie = (AttrDirCookie*)_cookie; local
2471 AttrDirCookie* cookie = (AttrDirCookie*)_cookie; local
2534 AttrCookie* cookie = new(std::nothrow)AttrCookie(name); local
2579 AttrCookie* cookie = (AttrCookie*)_cookie; local
2595 AttrCookie* cookie = (AttrCookie*)_cookie; local
3611 _InternalIO(FUSENode* node, FileCookie* cookie, const char* path, off_t pos, char* buffer, size_t& length, bool write) argument
[all...]
/haiku/headers/private/kernel/disk_device_manager/
H A DKPartitionListener.h31 virtual void MountCookieChanged(KPartition *partition, void *cookie);
42 virtual void CookieChanged(KPartition *partition, void *cookie);
43 virtual void ContentCookieChanged(KPartition *partition, void *cookie);
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.h25 Attribute(Inode* inode, attr_cookie* cookie);
43 status_t Read(attr_cookie* cookie, off_t pos, uint8* buffer,
45 status_t Write(Transaction& transaction, attr_cookie* cookie,
/haiku/src/add-ons/network_settings/ftpd/
H A DFTPServiceAddOn.cpp32 CreateNextItem(uint32& cookie);
148 FTPServiceAddOn::CreateNextItem(uint32& cookie) argument
150 if (cookie++ == 0)
/haiku/src/add-ons/network_settings/ipv4/
H A DIPv4InterfaceAddOn.cpp31 CreateNextInterfaceItem(uint32& cookie,
139 IPv4InterfaceAddOn::CreateNextInterfaceItem(uint32& cookie, argument
142 if (cookie++ == 0)
/haiku/src/add-ons/network_settings/ipv6/
H A DIPv6InterfaceAddOn.cpp31 CreateNextInterfaceItem(uint32& cookie,
139 IPv6InterfaceAddOn::CreateNextInterfaceItem(uint32& cookie, argument
142 if (cookie++ == 0)
/haiku/src/add-ons/network_settings/telnetd/
H A DTelnetServiceAddOn.cpp32 CreateNextItem(uint32& cookie);
150 TelnetServiceAddOn::CreateNextItem(uint32& cookie) argument
152 if (cookie++ == 0)
/haiku/src/add-ons/network_settings/dialup/
H A DAddOn.cpp40 CreateNextItem(uint32& cookie);
140 AddOn::CreateNextItem(uint32& cookie) argument
142 if (cookie++ == 0)
/haiku/headers/os/media/
H A DMediaRecorder.h28 typedef void (*ProcessFunc)(void* cookie,
32 typedef void (*NotifyFunc)(void* cookie,
46 void* cookie = NULL);
/haiku/src/add-ons/network_settings/vpn/
H A DVPNInterfaceAddOn.cpp48 CreateNextItem(uint32& cookie);
172 VPNInterfaceAddOn::CreateNextItem(uint32& cookie) argument
174 if (cookie++ == 0)
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeyboardInputDevice.h81 virtual status_t Start(const char* name, void* cookie);
82 virtual status_t Stop(const char* name, void* cookie);
84 virtual status_t Control(const char* name, void* cookie,
/haiku/headers/os/kernel/
H A Dimage.h91 #define get_next_image_info(team, cookie, info) \
92 _get_next_image_info((team), (cookie), (info), sizeof(*(info)))
96 status_t _get_next_image_info(team_id team, int32 *cookie, image_info *info,

Completed in 181 milliseconds

<<11121314151617181920>>