Searched refs:cookie (Results 51 - 75 of 1016) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/arch/x86/
H A Dpci_irq.h13 status_t pci_x86_irq_read(void *cookie,
17 status_t pci_x86_irq_write(void *cookie,
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dcx23882_i2c.c30 set_scl(void *cookie, int state) argument
32 cx23882_device * device = cookie;
43 set_sda(void *cookie, int state) argument
45 cx23882_device * device = cookie;
56 get_scl(void *cookie) argument
58 cx23882_device * device = cookie;
64 get_sda(void *cookie) argument
66 cx23882_device * device = cookie;
H A Di2c_core.h30 typedef void (*i2c_set_scl)(void *cookie, int state);
31 typedef void (*i2c_set_sda)(void *cookie, int state);
32 typedef int (*i2c_get_scl)(void *cookie);
33 typedef int (*i2c_get_sda)(void *cookie);
38 i2c_bus *i2c_create_bus(void *cookie,
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/
H A Dtimer.h26 // context, and are passed a cookie.
30 typedef void (*timer_function)(void *cookie);
37 timer_id create_timer(timer_function func, void *cookie, bigtime_t interval, uint32 flags);
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl8169/
H A Dtimer.h26 // context, and are passed a cookie.
30 typedef void (*timer_function)(void *cookie);
37 timer_id create_timer(timer_function func, void *cookie, bigtime_t interval, uint32 flags);
/haiku-fatelf/src/add-ons/kernel/drivers/network/usb_asix/
H A DDriver.h30 status_t usb_asix_device_added(usb_device device, void **cookie);
31 status_t usb_asix_device_removed(void *cookie);
/haiku-fatelf/src/add-ons/kernel/drivers/network/usb_davicom/
H A DDriver.h33 status_t usb_davicom_device_added(usb_device device, void **cookie);
34 status_t usb_davicom_device_removed(void *cookie);
/haiku-fatelf/src/system/kernel/device_manager/
H A DAbstractModuleDevice.h34 virtual status_t Read(void* cookie, off_t pos, void* buffer,
36 virtual status_t Write(void* cookie, off_t pos, const void* buffer,
38 virtual status_t IO(void* cookie, io_request* request);
39 virtual status_t Control(void* cookie, int32 op, void* buffer,
41 virtual status_t Select(void* cookie, uint8 event, selectsync* sync);
42 virtual status_t Deselect(void* cookie, uint8 event,
45 virtual status_t Close(void* cookie);
46 virtual status_t Free(void* cookie);
H A DBaseDevice.h36 virtual status_t Read(void* cookie, off_t pos, void* buffer,
38 virtual status_t Write(void* cookie, off_t pos, const void* buffer,
40 virtual status_t IO(void* cookie, io_request* request);
41 virtual status_t Control(void* cookie, int32 op, void* buffer,
43 virtual status_t Select(void* cookie, uint8 event, selectsync* sync);
44 virtual status_t Deselect(void* cookie, uint8 event,
47 virtual status_t Close(void* cookie) = 0;
48 virtual status_t Free(void* cookie) = 0;
H A DFileDevice.h35 virtual status_t Read(void* cookie, off_t pos, void* buffer,
37 virtual status_t Write(void* cookie, off_t pos, const void* buffer,
39 virtual status_t IO(void* cookie, io_request* request);
40 virtual status_t Control(void* cookie, int32 op, void* buffer,
42 virtual status_t Select(void* cookie, uint8 event, selectsync* sync);
43 virtual status_t Deselect(void* cookie, uint8 event,
46 virtual status_t Close(void* cookie);
47 virtual status_t Free(void* cookie);
/haiku-fatelf/src/system/runtime_loader/
H A Dadd_ons.cpp17 runtime_loader_symbol_patcher* _patcher, void* cookie);
19 runtime_loader_symbol_patcher* _patcher, void* cookie);
21 runtime_loader_symbol_patcher* _patcher, void* cookie);
23 runtime_loader_symbol_patcher* _patcher, void* cookie);
41 runtime_loader_symbol_patcher* _patcher, void* cookie)
44 = new(mynothrow) RuntimeLoaderSymbolPatcher(_patcher, cookie);
57 runtime_loader_symbol_patcher* _patcher, void* cookie)
61 if ((*patcher)->patcher == _patcher && (*patcher)->cookie == cookie) {
74 runtime_loader_symbol_patcher* _patcher, void* cookie)
40 register_defined_symbol_patcher(struct image_t* image, runtime_loader_symbol_patcher* _patcher, void* cookie) argument
56 unregister_defined_symbol_patcher(struct image_t* image, runtime_loader_symbol_patcher* _patcher, void* cookie) argument
73 register_undefined_symbol_patcher(struct image_t* image, runtime_loader_symbol_patcher* _patcher, void* cookie) argument
89 unregister_undefined_symbol_patcher(struct image_t* image, runtime_loader_symbol_patcher* _patcher, void* cookie) argument
[all...]
/haiku-fatelf/src/add-ons/accelerants/3dfx/
H A D3dfx_edid.cpp19 GetI2CSignals(void* cookie, int* _clock, int* data) argument
21 (void)cookie; // avoid compiler warning for unused arg
31 SetI2CSignals(void* cookie, int _clock, int data) argument
33 (void)cookie; // avoid compiler warning for unused arg
51 bus.cookie = (void*)NULL;
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/
H A Dasf_reader.cpp151 asf_cookie *cookie = new asf_cookie; local
152 *_cookie = cookie;
154 cookie->stream = streamNumber;
155 cookie->buffer = 0;
156 cookie->buffer_size = 0;
157 cookie->frame_pos = 0;
160 media_format *format = &cookie->format;
184 cookie->audio = false;
185 cookie->line_count = videoFormat.VideoHeight;
186 cookie
396 asf_cookie *cookie = (asf_cookie *)_cookie; local
409 asf_cookie *cookie = (asf_cookie *)_cookie; local
438 Seek(void *cookie, uint32 flags, int64 *frame, bigtime_t *time) argument
466 FindKeyFrame(void* cookie, uint32 flags, int64* frame, bigtime_t* time) argument
516 asf_cookie *cookie = (asf_cookie *)_cookie; local
[all...]
/haiku-fatelf/src/add-ons/media/plugins/musepack/
H A DMusePackReader.h27 status_t AllocateCookie(int32 streamNumber, void **cookie);
28 status_t FreeCookie(void *cookie);
30 status_t GetStreamInfo(void *cookie, int64 *frameCount, bigtime_t *duration,
33 status_t Seek(void *cookie, uint32 seekTo,
36 status_t GetNextChunk(void *cookie, const void **chunkBuffer, size_t *chunkSize,
/haiku-fatelf/src/add-ons/accelerants/s3/
H A Dvirge_edid.cpp23 GetI2CSignals_Alt(void* cookie, int* _clock, int* data) argument
25 uint32 index = (uint32)cookie;
35 SetI2CSignals_Alt(void* cookie, int _clock, int data) argument
37 uint32 index = (uint32)cookie;
52 GetI2CSignals(void* cookie, int* _clock, int* data) argument
54 (void)cookie; // avoid compiler warning for unused arg
65 SetI2CSignals(void* cookie, int _clock, int data) argument
67 (void)cookie; // avoid compiler warning for unused arg
95 bus.cookie = (void*)DDCPort;
108 bus.cookie
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/kernelland_emu/
H A Dslab.cpp15 size_t alignment, size_t maxByteUsage, uint32 flags, void *cookie,
20 cookie(cookie),
27 void* cookie; member in struct:ObjectCache
35 size_t alignment, void *cookie, object_cache_constructor constructor,
39 0, 0, cookie, constructor, destructor, NULL);
46 size_t maxMagazineCount, uint32 flags, void *cookie,
51 maxByteUsage, flags, cookie, constructor, destructor, reclaimer);
77 cache->objectConstructor(cache->cookie, object);
88 cache->objectDestructor(cache->cookie, objec
14 ObjectCache(const char *name, size_t objectSize, size_t alignment, size_t maxByteUsage, uint32 flags, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
34 create_object_cache(const char *name, size_t objectSize, size_t alignment, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor) argument
44 create_object_cache_etc(const char *name, size_t objectSize, size_t alignment, size_t maxByteUsage, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
[all...]
/haiku-fatelf/src/tests/system/kernel/device_manager/playground/
H A Ddriver.cpp66 uninit_driver(void* cookie) argument
72 register_child_devices(void* cookie) argument
74 device_node* node = (device_node*)cookie;
83 driver_device_removed(void* cookie) argument
123 device_close(void* cookie) argument
130 device_free(void* cookie) argument
137 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
144 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
151 device_ioctl(void* cookie, int32 op, void* buffer, size_t length) argument
158 device_io(void* cookie, io_reques argument
[all...]
H A Dspecific_video_driver.cpp57 uninit_driver(void* cookie) argument
63 register_child_devices(void* cookie) argument
65 device_node* node = (device_node*)cookie;
74 device_removed(void* cookie) argument
107 device_close(void* cookie) argument
114 device_free(void* cookie) argument
121 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
128 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
135 device_ioctl(void* cookie, int32 op, void* buffer, size_t length) argument
142 device_io(void* cookie, io_reques argument
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelVolume.cpp161 // cookie yet and cannot use calls into the FS to get the node type.
230 BeOSKernelVolume::IOCtl(void* node, void* cookie, uint32 command, argument
235 return fFSOps->ioctl(fVolumeCookie, node, cookie, (int)command, buffer,
241 BeOSKernelVolume::SetFlags(void* node, void* cookie, int flags) argument
245 return fFSOps->setflags(fVolumeCookie, node, cookie, flags);
250 BeOSKernelVolume::Select(void* node, void* cookie, uint8 event, argument
257 return fFSOps->select(fVolumeCookie, node, cookie, event, 0, sync);
262 BeOSKernelVolume::Deselect(void* node, void* cookie, uint8 event, argument
267 return fFSOps->deselect(fVolumeCookie, node, cookie, event, sync);
370 void** cookie, ino_
369 Create(void* dir, const char* name, int openMode, int mode, void** cookie, ino_t* vnid) argument
380 Open(void* node, int openMode, void** cookie) argument
389 Close(void* node, void* cookie) argument
398 FreeCookie(void* node, void* cookie) argument
407 Read(void* node, void* cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument
418 Write(void* node, void* cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument
453 OpenDir(void* node, void** cookie) argument
462 CloseDir(void* node, void* cookie) argument
471 FreeDirCookie(void* node, void* cookie) argument
480 ReadDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
495 RewindDir(void* node, void* cookie) argument
508 OpenAttrDir(void* node, void** cookie) argument
517 CloseAttrDir(void* node, void* cookie) argument
526 FreeAttrDirCookie(void* node, void* cookie) argument
535 ReadAttrDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
550 RewindAttrDir(void* node, void* cookie) argument
563 CreateAttr(void* node, const char* name, uint32 type, int openMode, void** cookie) argument
571 OpenAttr(void* node, const char* name, int openMode, void** cookie) argument
579 CloseAttr(void* node, void* cookie) argument
588 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
604 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
624 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
644 AttributeCookie* cookie = (AttributeCookie*)_cookie; local
691 OpenIndexDir(void** cookie) argument
700 CloseIndexDir(void* cookie) argument
709 FreeIndexDirCookie(void* cookie) argument
718 ReadIndexDir(void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
733 RewindIndexDir(void* cookie) argument
787 OpenQuery(const char* queryString, uint32 flags, port_id port, uint32 token, void** cookie) argument
798 CloseQuery(void* cookie) argument
807 FreeQueryCookie(void* cookie) argument
816 ReadQuery(void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
865 AttributeCookie* cookie = new(nothrow) AttributeCookie(name, type, local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/input/usb_hid/
H A DDriver.cpp26 uint32 cookie; member in struct:device_cookie
42 usb_hid_device_added(usb_device device, void **cookie) argument
152 *cookie = (void *)(addr_t)parentCookie;
158 usb_hid_device_removed(void *cookie) argument
161 int32 parentCookie = (int32)(addr_t)cookie;
206 device_cookie *cookie = new(std::nothrow) device_cookie(); local
207 if (cookie == NULL)
215 cookie->handler = handler;
216 cookie->cookie
236 device_cookie *cookie = (device_cookie *)_cookie; local
248 device_cookie *cookie = (device_cookie *)_cookie; local
259 device_cookie *cookie = (device_cookie *)_cookie; local
269 device_cookie *cookie = (device_cookie *)_cookie; local
279 device_cookie *cookie = (device_cookie *)_cookie; local
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/server/
H A DKernelUserVolume.h43 void** cookie);
44 virtual status_t Open(void* node, int openMode, void** cookie);
45 virtual status_t Close(void* node, void* cookie);
46 virtual status_t FreeCookie(void* node, void* cookie);
47 virtual status_t Read(void* node, void* cookie, off_t pos,
50 virtual status_t Write(void* node, void* cookie, off_t pos,
53 virtual status_t IOCtl(void* node, void* cookie, int command,
55 virtual status_t SetFlags(void* node, void* cookie, int flags);
56 virtual status_t Select(void* node, void* cookie, uint8 event,
58 virtual status_t Deselect(void* node, void* cookie, uint
[all...]
H A DUserVolume.cpp131 vnode_id* vnid, void** cookie)
138 UserVolume::Open(void* node, int openMode, void** cookie) argument
145 UserVolume::Close(void* node, void* cookie) argument
152 UserVolume::FreeCookie(void* node, void* cookie) argument
159 UserVolume::Read(void* node, void* cookie, off_t pos, void* buffer, argument
167 UserVolume::Write(void* node, void* cookie, off_t pos, const void* buffer, argument
175 UserVolume::IOCtl(void* node, void* cookie, int command, void *buffer, argument
183 UserVolume::SetFlags(void* node, void* cookie, int flags) argument
190 UserVolume::Select(void* node, void* cookie, uint8 event, uint32 ref, argument
198 UserVolume::Deselect(void* node, void* cookie, uint argument
130 Create(void* dir, const char* name, int openMode, int mode, vnode_id* vnid, void** cookie) argument
262 OpenDir(void* node, void** cookie) argument
269 CloseDir(void* node, void* cookie) argument
276 FreeDirCookie(void* node, void* cookie) argument
283 ReadDir(void* node, void* cookie, void* buffer, size_t bufferSize, int32 count, int32* countRead) argument
291 RewindDir(void* node, void* cookie) argument
309 OpenAttrDir(void* node, void** cookie) argument
316 CloseAttrDir(void* node, void* cookie) argument
323 FreeAttrDirCookie(void* node, void* cookie) argument
330 ReadAttrDir(void* node, void* cookie, void* buffer, size_t bufferSize, int32 count, int32* countRead) argument
338 RewindAttrDir(void* node, void* cookie) argument
385 OpenIndexDir(void** cookie) argument
392 CloseIndexDir(void* cookie) argument
399 FreeIndexDirCookie(void* cookie) argument
406 ReadIndexDir(void* cookie, void* buffer, size_t bufferSize, int32 count, int32* countRead) argument
414 RewindIndexDir(void* cookie) argument
452 OpenQuery(const char* queryString, ulong flags, port_id port, long token, void** cookie) argument
460 CloseQuery(void* cookie) argument
467 FreeQueryCookie(void* cookie) argument
474 ReadQuery(void* cookie, void* buffer, size_t bufferSize, int32 count, int32* countRead) argument
[all...]
H A DUserVolume.h47 void** cookie);
48 virtual status_t Open(void* node, int openMode, void** cookie);
49 virtual status_t Close(void* node, void* cookie);
50 virtual status_t FreeCookie(void* node, void* cookie);
51 virtual status_t Read(void* node, void* cookie, off_t pos,
54 virtual status_t Write(void* node, void* cookie, off_t pos,
57 virtual status_t IOCtl(void* node, void* cookie, int command,
59 virtual status_t SetFlags(void* node, void* cookie, int flags);
60 virtual status_t Select(void* node, void* cookie, uint8 event,
62 virtual status_t Deselect(void* node, void* cookie, uint
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_synaptics.cpp86 get_synaptics_movment(synaptics_cookie *cookie, mouse_movement *movement) argument
95 status = acquire_sem_etc(cookie->synaptics_sem, 1, B_CAN_INTERRUPT, 0);
99 if (!cookie->dev->active) {
104 if (packet_buffer_read(cookie->synaptics_ring_buffer, event_buffer,
105 cookie->dev->packet_size) != cookie->dev->packet_size) {
151 status = cookie->movementMaker.EventToMovement(&event, movement);
188 = (synaptics_cookie*)dev->parent_dev->cookie;
319 synaptics_cookie *cookie; local
338 cookie
434 synaptics_cookie *cookie = (synaptics_cookie*)_cookie; local
471 synaptics_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument
479 synaptics_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument
489 synaptics_cookie *cookie = (synaptics_cookie*)_cookie; local
524 synaptics_cookie *cookie = (synaptics_cookie*)dev->cookie; local
589 synaptics_cookie *cookie = (synaptics_cookie*)dev->cookie; local
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/network/
H A Duserland_ipc.c104 static void shutdown_connection(connection_cookie *cookie);
170 on_socket_event(void * socket, uint32 event, void * cookie) argument
172 connection_cookie * cc = (connection_cookie *) cookie;
180 printf("on_socket_event(%p, %ld, %p): socket is higly suspect! Aborting.\n", socket, event, cookie);
184 printf("on_socket_event(%p, %ld, %p)\n", socket, event, cookie);
187 sed.cookie = cc->notify_cookie;
203 connection_cookie *cookie = (connection_cookie *)_cookie; local
213 ssize_t bytes = read_port(cookie->localPort,&index,NULL,0);
221 command = cookie->commands + index;
241 cookie
449 connection_cookie *cookie; local
519 shutdown_connection(connection_cookie *cookie) argument
544 connection_cookie *cookie; local
[all...]

Completed in 208 milliseconds

1234567891011>>