Searched refs:cookie (Results 1 - 25 of 1016) sorted by last modified time

1234567891011>>

/haiku-fatelf/src/add-ons/kernel/partitioning_systems/gpt/
H A Defi_gpt.cpp93 TRACE(("efi_gpt_scan_partition(cookie = %p)\n", _cookie));
131 child->cookie = (void*)i;
418 efi_gpt_get_next_supported_type(partition_data* partition, int32* cookie, argument
495 uint32 entryIndex = (uint32)child->cookie;
556 uint32 entryIndex = (uint32)child->cookie;
617 uint32 entryIndex = (uint32)child->cookie;
663 uint32 entryIndex = (uint32)child->cookie;
780 child->cookie = (void*)entryIndex;
816 uint32 entryIndex = (uint32)child->cookie;
/haiku-fatelf/src/add-ons/kernel/network/stack/
H A Dstack.cpp400 uint32 cookie = 0; local
402 struct chain* chain = (struct chain*)hash_remove_first(chains, &cookie);
743 void* cookie = open_module_list(path); local
744 if (cookie == NULL)
750 if (read_next_module_name(cookie, name, &length) != B_OK)
763 close_module_list(cookie);
894 uint32 cookie = 0; local
897 &cookie);
/haiku-fatelf/src/apps/debugger/debugger_interface/
H A DDebuggerInterface.cpp469 int32 cookie = 0; local
470 while (get_next_thread_info(fTeamID, &cookie, &threadInfo) == B_OK) {
488 int32 cookie = 0; local
489 while (get_next_image_info(fTeamID, &cookie, &imageInfo) == B_OK) {
501 cookie = 0;
502 while (get_next_image_info(B_SYSTEM_TEAM, &cookie, &imageInfo) == B_OK) {
/haiku-fatelf/src/bin/network/arp/
H A Darp.cpp212 control.cookie = 0;
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp288 void* cookie, struct dirent* buffer, size_t bufferSize, uint32* _count);
547 PagesIOTraceEntry(struct vnode* vnode, void* cookie, off_t pos, argument
554 fCookie(cookie),
568 out.Print("vfs pages io %5s: vnode: %p (%ld, %lld), cookie: %p, "
601 ReadPages(struct vnode* vnode, void* cookie, off_t pos, argument
605 PagesIOTraceEntry(vnode, cookie, pos, vecs, count, flags,
620 WritePages(struct vnode* vnode, void* cookie, off_t pos, argument
624 PagesIOTraceEntry(vnode, cookie, pos, vecs, count, flags,
2488 void* cookie; local
2490 status_t status = FS_CALL(parent, open_dir, &cookie);
2795 get_new_fd(int type, struct fs_mount* mount, struct vnode* vnode, void* cookie, int openMode, bool kernel) argument
3438 common_file_io_vec_pages(struct vnode* vnode, void* cookie, const file_io_vec* fileVecs, size_t fileVecCount, const iovec* vecs, size_t vecCount, uint32* _vecIndex, size_t* _vecOffset, size_t* _numBytes, bool doWrite) argument
4499 vfs_can_page(struct vnode* vnode, void* cookie) argument
4510 vfs_read_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, uint32 flags, generic_size_t* _numBytes) argument
4538 vfs_write_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, uint32 flags, generic_size_t* _numBytes) argument
5184 void* cookie; local
5209 void* cookie; local
5315 void* cookie; local
5342 void* cookie; local
5822 dir_read(struct io_context* ioContext, struct vnode* vnode, void* cookie, struct dirent* buffer, size_t bufferSize, uint32* _count) argument
6511 void* cookie; local
6557 void* cookie; local
6786 void* cookie; local
6987 void* cookie; local
7931 int32 cookie = 0; local
8632 int32 cookie; local
8663 uint32 cookie; local
[all...]
/haiku-fatelf/src/system/kernel/
H A Dteam.cpp3736 _get_next_team_info(int32* cookie, team_info* info, size_t size) argument
3738 int32 slot = *cookie;
3760 *cookie = ++slot;
4248 int32 cookie; local
4252 || user_memcpy(&cookie, userCookie, sizeof(int32)) < B_OK)
4255 status = _get_next_team_info(&cookie, &info, sizeof(team_info));
4259 if (user_memcpy(userCookie, &cookie, sizeof(int32)) < B_OK
H A Dthread.cpp3542 int32 cookie;
3545 || user_memcpy(&cookie, userCookie, sizeof(int32)) < B_OK)
3548 status = _get_next_thread_info(team, &cookie, &info, sizeof(thread_info));
3552 if (user_memcpy(userCookie, &cookie, sizeof(int32)) < B_OK
H A Dsem.cpp1334 int32 cookie; local
1339 || user_memcpy(&cookie, userCookie, sizeof(int32)) < B_OK)
1342 status = _get_next_sem_info(team, &cookie, &info, size);
1346 || user_memcpy(userCookie, &cookie, sizeof(int32)) < B_OK)
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_alps.cpp35 FireEvent(alps_cookie* cookie, uint8* package) argument
37 fCookie = cookie;
196 get_alps_movment(alps_cookie *cookie, mouse_movement *movement) argument
202 status = acquire_sem_etc(cookie->sem, 1, B_CAN_INTERRUPT, 0);
206 if (!cookie->dev->active) {
211 if (packet_buffer_read(cookie->ring_buffer, event_buffer,
212 cookie->dev->packet_size) != cookie->dev->packet_size) {
234 if (cookie->previousZ == 0 && event.wValue == 4 && event.zPressure == 16)
237 cookie
488 alps_cookie *cookie = (alps_cookie*)_cookie; local
524 alps_cookie *cookie = (alps_cookie*)_cookie; local
557 alps_read(void* cookie, off_t pos, void* buffer, size_t* _length) argument
565 alps_write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument
575 alps_cookie* cookie = (alps_cookie*)dev->cookie; local
620 alps_cookie *cookie = (alps_cookie*)dev->cookie; local
[all...]
/haiku-fatelf/src/kits/storage/disk_device/
H A DPartition.cpp1076 BPartition::GetNextSupportedType(int32* cookie, BString* type) const argument
1078 TRACE("%p->BPartition::GetNextSupportedType(%ld)\n", this, *cookie);
1087 return parent->fDelegate->GetNextSupportedChildType(fDelegate, cookie,
1093 BPartition::GetNextSupportedChildType(int32* cookie, BString* type) const argument
1095 TRACE("%p->BPartition::GetNextSupportedChildType(%ld)\n", this, *cookie);
1102 return fDelegate->GetNextSupportedChildType(NULL, cookie, type);
/haiku-fatelf/src/kits/tracker/
H A DTracker.cpp194 int32 cookie = 0; local
196 while ((device = next_dev(&cookie)) >= B_OK) {
H A DPose.cpp303 BPose::_PeriodicUpdateCallback(BPose* pose, void* cookie) argument
305 return pose->UpdateVolumeSpaceBar((BVolume*)cookie);
/haiku-fatelf/src/system/kernel/vm/
H A Dvm.cpp1017 vm_prepare_kernel_area_debug_protection(area_id id, void** cookie) argument
1031 *cookie = (void*)area;
1045 supplied with a \a cookie retrieved from a successful call to
1049 vm_set_kernel_area_debug_protection(void* cookie, void* _address, size_t size, argument
1071 VMArea* area = (VMArea*)cookie;
5753 _get_next_area_info(team_id team, ssize_t* cookie, area_info* info, size_t size) argument
5755 addr_t nextBase = *(addr_t*)cookie;
5782 *cookie = (ssize_t)(area->Base());
5991 ssize_t cookie; local
5995 || user_memcpy(&cookie, userCooki
[all...]
H A DVMAnonymousCache.cpp91 void* cookie; member in struct:swap_file
614 status_t status = vfs_read_pages(swapFile->vnode, swapFile->cookie, pos,
683 status_t status = vfs_write_pages(swapFile->vnode, swapFile->cookie,
765 return vfs_asynchronous_write_pages(swapFile->vnode, swapFile->cookie, pos,
1300 // get file descriptor, vnode, and cookie
1319 swap->cookie = descriptor->cookie;
1527 int32 cookie = 0; local
1528 while ((device = manager->NextDevice(&cookie)) != NULL) {
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c38 status_t device_added(const usb_device device, void **cookie);
40 status_t device_removed(void *cookie);
353 \param cookie:??
358 status_t device_added(const usb_device device, void **cookie){
440 *cookie = udi;
466 \param cookie:???
471 status_t device_removed(void *cookie)
474 usb_device_info *udi = (usb_device_info *)cookie;
1019 uninit_module(void *cookie) argument
1031 device_removed(device_node_handle node, void *cookie) argument
1064 scsi_io( scsi_sim_cookie cookie, scsi_ccb *ccb ) argument
1076 abort( scsi_sim_cookie cookie, scsi_ccb *ccb_to_abort ) argument
1089 reset_device( scsi_sim_cookie cookie, uchar target_id, uchar target_lun ) argument
1102 term_io( scsi_sim_cookie cookie, scsi_ccb *ccb_to_terminate ) argument
1115 path_inquiry( scsi_sim_cookie cookie, scsi_path_inquiry *inquiry_data ) argument
1153 get_restrictions(scsi_sim_cookie cookie, uchar target_id, bool *is_atapi, bool *no_autosense, uint32 *max_blocks ) argument
1165 module_ioctl(scsi_sim_cookie cookie, uint8 targetID, uint32 op, void *buffer, size_t length) argument
[all...]
/haiku-fatelf/src/kits/interface/
H A DWindow.cpp3088 unpack_cookie cookie; local
3089 while (_UnpackMessage(cookie, &fLastMessage, &handler, &usePreferred)) {
3379 BWindow::_UnpackMessage(unpack_cookie& cookie, BMessage** _message, argument
3382 if (cookie.message == NULL)
3385 if (cookie.index == 0 && !cookie.tokens_scanned) {
3390 cookie.message = NULL;
3394 // initialize our cookie
3395 cookie.message = *_message;
3396 cookie
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp126 static void usb_disk_callback(void *cookie, status_t status, void *data,
672 usb_disk_callback(void *cookie, status_t status, void *data, argument
676 disk_device *device = (disk_device *)cookie;
684 usb_disk_device_added(usb_device newDevice, void **cookie) argument
851 *cookie = (void *)device;
857 usb_disk_device_removed(void *cookie) argument
859 TRACE("device_removed(0x%08lx)\n", (uint32)cookie);
860 disk_device *device = (disk_device *)cookie;
968 usb_disk_open(const char *name, uint32 flags, void **cookie) argument
1002 *cookie
1017 usb_disk_close(void *cookie) argument
1033 usb_disk_free(void *cookie) argument
1074 usb_disk_ioctl(void *cookie, uint32 op, void *buffer, size_t length) argument
1199 usb_disk_read(void *cookie, off_t position, void *buffer, size_t *length) argument
1246 usb_disk_write(void *cookie, off_t position, const void *buffer, size_t *length) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/disk/usb/usb_floppy/
H A Dusb_disk.cpp105 static void usb_disk_callback(void *cookie, status_t status, void *data,
197 usb_disk_interrupt(void* cookie, int32 status, void* data, uint32 length) argument
199 disk_device* dev = (disk_device*)cookie;
215 usb_disk_interrupt, cookie);
578 usb_disk_callback(void *cookie, status_t status, void *data, argument
582 disk_device *device = (disk_device *)cookie;
590 usb_disk_device_added(usb_device newDevice, void **cookie) argument
766 *cookie = (void *)device;
772 usb_disk_device_removed(void *cookie) argument
774 TRACE("device_removed(0x%08lx)\n", (uint32)cookie);
927 usb_disk_open(const char *name, uint32 flags, void **cookie) argument
976 usb_disk_close(void *cookie) argument
992 usb_disk_free(void *cookie) argument
1033 usb_disk_ioctl(void *cookie, uint32 op, void *buffer, size_t length) argument
1185 usb_disk_read(void *cookie, off_t position, void *buffer, size_t *length) argument
1232 usb_disk_write(void *cookie, off_t position, const void *buffer, size_t *length) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/display/
H A Ddisplay_controls.cpp45 displaycontrols_init_device(void *_cookie, void **cookie) argument
78 *cookie = device;
92 displaycontrols_open(void *_cookie, const char *path, int flags, void** cookie) argument
95 *cookie = device;
108 displaycontrols_write(void* cookie, off_t position, const void* buffer, size_t* num_bytes) argument
124 displaycontrols_close(void* cookie) argument
131 displaycontrols_free(void* cookie) argument
/haiku-fatelf/src/add-ons/media/media-add-ons/multi_audio/
H A DMultiAudioNode.cpp471 FrameRateChangeCookie* cookie
473 if (cookie == NULL)
476 BReference<FrameRateChangeCookie> cookieReference(cookie, true);
480 if (cookie->id == PARAMETER_ID_INPUT_FREQUENCY) {
481 _SetNodeInputFrameRate(cookie->oldFrameRate);
483 _SetNodeOutputFrameRate(cookie->oldFrameRate);
484 } else if (cookie->id == PARAMETER_ID_OUTPUT_FREQUENCY)
485 _SetNodeOutputFrameRate(cookie->oldFrameRate);
560 MultiAudioNode::GetNextInput(int32* cookie, media_input* _input) argument
566 if (*cookie >
578 DisposeInputCookie(int32 cookie) argument
813 GetNextOutput(int32* cookie, media_output* out_output) argument
828 DisposeOutputCookie(int32 cookie) argument
[all...]
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatWriter.cpp367 // and hook functions, pass ourself as cookie.
500 StreamCookie* cookie = new(std::nothrow) StreamCookie(fContext,
503 status_t ret = cookie->Init(format, codecInfo);
505 delete cookie;
509 *_cookie = cookie;
519 StreamCookie* cookie = reinterpret_cast<StreamCookie*>(_cookie); local
520 delete cookie;
530 AVFormatWriter::SetCopyright(void* cookie, const char* copyright) argument
532 TRACE("AVFormatWriter::SetCopyright(%p, %s)\n", cookie, copyright);
545 StreamCookie* cookie local
557 StreamCookie* cookie = reinterpret_cast<StreamCookie*>(_cookie); local
566 _Write(void* cookie, uint8* buffer, int bufferSize) argument
582 _Seek(void* cookie, off_t offset, int whence) argument
[all...]
/haiku-fatelf/src/apps/poorman/libhttpd/
H A Dlibhttpd.c1745 hc->cookie = "";
2161 hc->cookie = cp;
/haiku-fatelf/src/apps/soundrecorder/
H A DRecorderWindow.cpp1242 RecorderWindow::RecordFile(void* cookie, bigtime_t timestamp,
1246 RecorderWindow * window = (RecorderWindow *)cookie;
1259 RecorderWindow::NotifyRecordFile(void * cookie, int32 code, ...)
1262 RecorderWindow * window = (RecorderWindow *)cookie;
1271 RecorderWindow::PlayFile(void * cookie, void * data, size_t size,
1275 RecorderWindow * window = (RecorderWindow *)cookie;
1298 RecorderWindow::NotifyPlayFile(void * cookie,
1302 RecorderWindow * window = (RecorderWindow *)cookie;
/haiku-fatelf/src/apps/processcontroller/
H A DProcessController.cpp798 int32 cookie = 0; local
800 while (get_next_image_info(B_CURRENT_TEAM, &cookie, &info) == B_OK) {
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/
H A Dpci.cpp32 pci_controller_add(pci_controller *controller, void *cookie) argument
34 return gPCI->AddController(controller, cookie);

Completed in 286 milliseconds

1234567891011>>