Searched refs:_cookie (Results 1 - 25 of 206) sorted by relevance

123456789

/haiku/src/add-ons/kernel/file_systems/fat/
H A Dattr.h12 status_t dosfs_open_attrdir(fs_volume *_vol, fs_vnode *_node, void **_cookie);
13 status_t dosfs_close_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie);
15 void *_cookie);
16 status_t dosfs_rewind_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie);
17 status_t dosfs_read_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie,
20 int openMode, void **_cookie);
23 status_t dosfs_read_attr_stat(fs_volume *_vol, fs_vnode *_node, void *_cookie,
25 status_t dosfs_read_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie,
27 status_t dosfs_write_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie,
H A Dattr.c37 dosfs_open_attrdir(fs_volume *_vol, fs_vnode *_node, void **_cookie) argument
47 if ((*_cookie = malloc(sizeof(uint32))) == NULL) {
51 *(int32 *)(*_cookie) = 0;
60 dosfs_close_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie) argument
70 *(int32 *)_cookie = 1;
79 dosfs_free_attrdir_cookie(fs_volume *_vol, fs_vnode *_node, void *_cookie) argument
85 if (_cookie == NULL) {
90 *(int32 *)_cookie = 0x87654321;
91 free(_cookie);
98 dosfs_rewind_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie) argument
115 dosfs_read_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct dirent *entry, size_t bufsize, uint32 *num) argument
148 dosfs_open_attr(fs_volume *_vol, fs_vnode *_node, const char *name, int openMode, void **_cookie) argument
186 dosfs_read_attr_stat(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct stat *stat) argument
213 dosfs_read_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie, off_t pos, void *buffer, size_t *_length) argument
253 dosfs_write_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie, off_t pos, const void *buffer, size_t *_length) argument
[all...]
/haiku/src/add-ons/kernel/drivers/tty/
H A Dmaster.cpp59 master_open(const char *name, uint32 flags, void **_cookie) argument
105 *_cookie = cookie;
112 master_close(void *_cookie) argument
114 master_cookie *cookie = (master_cookie *)_cookie;
116 TRACE(("master_close: cookie %p\n", _cookie));
132 master_free_cookie(void *_cookie) argument
135 master_cookie *cookie = (master_cookie *)_cookie;
148 master_ioctl(void *_cookie, uint32 op, void *buffer, size_t length) argument
150 master_cookie *cookie = (master_cookie *)_cookie;
153 "\n", _cookie, o
160 master_read(void *_cookie, off_t offset, void *buffer, size_t *_length) argument
177 master_write(void *_cookie, off_t offset, const void *buffer, size_t *_length) argument
194 master_select(void *_cookie, uint8 event, uint32 ref, selectsync *sync) argument
203 master_deselect(void *_cookie, uint8 event, selectsync *sync) argument
[all...]
H A Dslave.cpp33 slave_open(const char *name, uint32 flags, void **_cookie) argument
120 *_cookie = cookie;
127 slave_close(void *_cookie) argument
129 slave_cookie *cookie = (slave_cookie *)_cookie;
131 TRACE(("slave_close: cookie %p\n", _cookie));
143 slave_free_cookie(void *_cookie) argument
146 slave_cookie *cookie = (slave_cookie *)_cookie;
148 TRACE(("slave_free_cookie: cookie %p\n", _cookie));
161 slave_ioctl(void *_cookie, uint32 op, void *buffer, size_t length) argument
163 slave_cookie *cookie = (slave_cookie *)_cookie;
173 slave_read(void *_cookie, off_t offset, void *buffer, size_t *_length) argument
190 slave_write(void *_cookie, off_t offset, const void *buffer, size_t *_length) argument
207 slave_select(void *_cookie, uint8 event, uint32 ref, selectsync *sync) argument
216 slave_deselect(void *_cookie, uint8 event, selectsync *sync) argument
[all...]
/haiku/src/add-ons/kernel/drivers/display/
H A Ddisplay.cpp30 display_open(void *_cookie, const char* path, int flags, void** cookie) argument
32 display_device_info *device = (display_device_info *)_cookie;
39 display_read(void *_cookie, off_t position, void *buf, size_t* num_bytes) argument
80 display_init(void *_cookie, void **cookie) argument
82 device_node *node = (device_node *)_cookie;
107 display_uninit(void *_cookie) argument
109 display_device_info *device = (display_device_info *)_cookie;
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dattributes.h18 uint32 type, int openMode, void** _cookie);
19 status_t fs_open_attrib_dir(fs_volume *_vol, fs_vnode *_node, void **_cookie);
20 status_t fs_close_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie);
22 void *_cookie);
23 status_t fs_rewind_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie);
24 status_t fs_read_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie,
27 int openMode, void **_cookie);
H A Dfake_attributes.h18 void **_cookie);
20 void *_cookie);
22 void *_cookie);
24 void *_cookie);
25 status_t fake_read_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie,
28 uint32 type, int openMode, void** _cookie);
30 int openMode, void **_cookie);
H A Dfake_attributes.c37 fake_open_attrib_dir(fs_volume *_vol, fs_vnode *_node, void **_cookie) argument
47 if ((*_cookie = malloc(sizeof(uint32))) == NULL) {
52 *(int32 *)(*_cookie) = kOpenTypeCookie;
65 fake_close_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie) argument
73 *(int32 *)_cookie = kCloseTypeCookie;
84 fake_free_attrib_dir_cookie(fs_volume *_vol, fs_vnode *_node, void *_cookie) argument
94 if (_cookie == NULL) {
100 *(int32 *)_cookie = kFreeTypeCookie;
101 free(_cookie);
115 fake_rewind_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie) argument
145 fake_read_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct dirent *entry, size_t bufsize, uint32 *num) argument
178 fake_create_attrib(fs_volume *_vol, fs_vnode *_node, const char* name, uint32 type, int openMode, void** _cookie) argument
198 fake_open_attrib(fs_volume *_vol, fs_vnode *_node, const char *name, int openMode, void **_cookie) argument
236 fake_read_attrib_stat(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct stat *stat) argument
270 fake_read_attrib(fs_volume *_vol, fs_vnode *_node, void *_cookie, off_t pos,void *buffer, size_t *_length) argument
317 fake_write_attrib(fs_volume *_vol, fs_vnode *_node, void *_cookie, off_t pos, const void *buffer, size_t *_length) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_alps.h38 status_t alps_open(const char *name, uint32 flags, void **_cookie);
39 status_t alps_close(void *_cookie);
40 status_t alps_freecookie(void *_cookie);
41 status_t alps_ioctl(void *_cookie, uint32 op, void *buffer, size_t length);
H A Dps2_standard_mouse.h45 status_t standard_mouse_open(const char* name, uint32 flags, void** _cookie);
46 status_t standard_mouse_close(void* _cookie);
47 status_t standard_mouse_freecookie(void* _cookie);
48 status_t standard_mouse_ioctl(void* _cookie, uint32 op, void* buffer,
H A Dps2_elantech.h57 status_t elantech_open(const char *name, uint32 flags, void **_cookie);
58 status_t elantech_close(void *_cookie);
59 status_t elantech_freecookie(void *_cookie);
60 status_t elantech_ioctl(void *_cookie, uint32 op, void *buffer, size_t length);
H A Dps2_synaptics.h80 status_t synaptics_open(const char *name, uint32 flags, void **_cookie);
81 status_t synaptics_close(void *_cookie);
82 status_t synaptics_freecookie(void *_cookie);
83 status_t synaptics_ioctl(void *_cookie, uint32 op, void *buffer, size_t length);
/haiku/headers/private/kernel/platform/openfirmware/
H A Ddevices.h15 status_t of_get_next_device(intptr_t *_cookie, intptr_t root, const char *type,
/haiku/src/add-ons/kernel/debugger/demangle/
H A Ddemangle.h14 status_t get_next_argument(uint32* _cookie, const char* mangledName, char* name,
20 status_t get_next_argument_gcc2(uint32* _cookie, const char* symbol,
28 status_t get_next_argument_gcc3(uint32* _cookie, const char* symbol,
/haiku/src/add-ons/kernel/drivers/audio/ac97/ichaudio/
H A Dio.h41 uint16 ich_codec_read(void *_cookie, int regno);
42 void ich_codec_write(void *_cookie, int regno, uint16 value);
/haiku/src/system/libroot/os/
H A Dfs_info.c31 next_dev(int32 *_cookie) argument
33 return _kern_next_device(_cookie);
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dsim_interface.cpp67 scsi_controller_init(device_node *node, void **_cookie) argument
69 *_cookie = node;
75 scsi_controller_register_raw_device(void *_cookie) argument
77 device_node *node = (device_node *)_cookie;
H A Dbus_raw.cpp29 scsi_bus_raw_init(void *driverCookie, void **_cookie) argument
46 *_cookie = bus;
82 scsi_bus_raw_control(void *_cookie, uint32 op, void *data, size_t length) argument
84 bus_raw_info *bus = (bus_raw_info*)_cookie;
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp53 nor_init_device(void *_info, void **_cookie) argument
69 *_cookie = info;
75 nor_uninit_device(void *_cookie) argument
78 nor_driver_info *info = (nor_driver_info*)_cookie;
86 void **_cookie)
89 *_cookie = deviceCookie;
95 nor_close(void *_cookie) argument
103 nor_free(void *_cookie) argument
143 nor_read(void *_cookie, off_t position, void *data, size_t *numbytes) argument
145 nor_driver_info *info = (nor_driver_info*)_cookie;
85 nor_open(void *deviceCookie, const char *path, int openMode, void **_cookie) argument
160 nor_write(void *_cookie, off_t position, const void *data, size_t *numbytes) argument
217 nor_uninit_driver(void *_cookie) argument
226 nor_register_child_devices(void *_cookie) argument
[all...]
/haiku/src/add-ons/kernel/drivers/power/acpi_button/
H A Dacpi_button.cpp83 acpi_button_init_device(void *_cookie, void **cookie) argument
85 device_node *node = (device_node *)_cookie;
143 acpi_button_uninit_device(void *_cookie) argument
145 acpi_button_device_info *device = (acpi_button_device_info *)_cookie;
158 acpi_button_open(void *_cookie, const char *path, int flags, void** cookie) argument
160 acpi_button_device_info *device = (acpi_button_device_info *)_cookie;
171 acpi_button_read(void* _cookie, off_t position, void *buffer, size_t* num_bytes) argument
173 acpi_button_device_info* device = (acpi_button_device_info*)_cookie;
195 acpi_button_control(void* _cookie, uint32 op, void* arg, size_t len) argument
202 acpi_button_select(void *_cookie, uint argument
225 acpi_button_deselect(void *_cookie, uint8 event, selectsync *sync) argument
315 acpi_button_register_child_devices(void *_cookie) argument
[all...]
/haiku/src/add-ons/kernel/drivers/power/acpi_thermal/
H A Dacpi_thermal.c41 status_t acpi_thermal_control(void* _cookie, uint32 op, void* arg, size_t len);
45 acpi_thermal_open(void *_cookie, const char *path, int flags, void** cookie) argument
47 acpi_thermal_device_info *device = (acpi_thermal_device_info *)_cookie;
54 acpi_thermal_read(void* _cookie, off_t position, void *buf, size_t* num_bytes) argument
56 acpi_thermal_device_info* device = (acpi_thermal_device_info*)_cookie;
116 acpi_thermal_control(void* _cookie, uint32 op, void* arg, size_t len) argument
118 acpi_thermal_device_info* device = (acpi_thermal_device_info*)_cookie;
227 acpi_thermal_register_child_devices(void *_cookie) argument
229 device_node *node = _cookie;
246 acpi_thermal_init_device(void *_cookie, voi argument
269 acpi_thermal_uninit_device(void *_cookie) argument
[all...]
/haiku/src/system/boot/loader/
H A DRootFileSystem.cpp32 RootFileSystem::Open(void **_cookie, int mode) argument
38 *_cookie = iterator;
87 RootFileSystem::GetNextEntry(void *_cookie, char *name, size_t size) argument
89 EntryIterator *iterator = (EntryIterator *)_cookie;
101 RootFileSystem::GetNextNode(void *_cookie, Node **_node) argument
103 EntryIterator *iterator = (EntryIterator *)_cookie;
116 RootFileSystem::Rewind(void *_cookie) argument
118 EntryIterator *iterator = (EntryIterator *)_cookie;
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DUnpackingAttributeDirectoryCookie.cpp36 AttributeDirectoryCookie*& _cookie)
43 _cookie = cookie;
35 Open(PackageNode* packageNode, AttributeDirectoryCookie*& _cookie) argument
/haiku/src/add-ons/kernel/file_systems/packagefs/package_links/
H A DPackageLinkSymlink.h44 AttributeDirectoryCookie*& _cookie);
46 int openMode, AttributeCookie*& _cookie);
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.h32 int openMode, attr_cookie** _cookie);
34 attr_cookie** _cookie);

Completed in 306 milliseconds

123456789