Searched refs:sync (Results 126 - 144 of 144) sorted by path

123456

/haiku/src/system/kernel/device_manager/
H A DAbstractModuleDevice.h41 virtual status_t Select(void* cookie, uint8 event, selectsync* sync);
43 selectsync* sync);
H A DFileDevice.cpp369 FileDevice::Select(void* _cookie, uint8 event, selectsync* sync) argument
377 FileDevice::Deselect(void* cookie, uint8 event, selectsync* sync) argument
H A Ddevfs.cpp1607 uint8 event, selectsync* sync)
1618 return notify_select_event((selectsync*)sync, event);
1624 (selectsync*)sync);
1630 uint8 event, selectsync* sync)
1643 (selectsync*)sync);
1606 devfs_select(fs_volume* _volume, fs_vnode* _vnode, void* _cookie, uint8 event, selectsync* sync) argument
1629 devfs_deselect(fs_volume* _volume, fs_vnode* _vnode, void* _cookie, uint8 event, selectsync* sync) argument
H A Dlegacy_drivers.cpp72 virtual status_t Select(void* cookie, uint8 event, selectsync* sync);
1381 LegacyDevice::Select(void* cookie, uint8 event, selectsync* sync) argument
1383 return Hooks()->select(cookie, event, 0, sync);
/haiku/src/system/kernel/events/
H A Devent_queue.cpp241 event->sync = this;
H A Dselect_ops.h42 select_object(uint32 type, int32 object, struct select_info* sync, bool kernel) argument
46 return kSelectOps[type].select(object, sync, kernel);
51 deselect_object(uint32 type, int32 object, struct select_info* sync, bool kernel) argument
55 return kSelectOps[type].deselect(object, sync, kernel);
H A Dwait_for_objects.cpp55 selectsync *sync; member in struct:select_sync_pool_entry
366 // create sync structure
367 wait_for_objects_sync* sync = new(nothrow) wait_for_objects_sync; local
368 if (sync == NULL)
370 ObjectDeleter<wait_for_objects_sync> syncDeleter(sync);
373 sync->set = new(nothrow) select_info[numFDs];
374 if (sync->set == NULL)
376 ArrayDeleter<select_info> setDeleter(sync->set);
379 sync->sem = create_sem(0, "select");
380 if (sync
399 acquire_select_sync(select_sync* sync) argument
407 put_select_sync(select_sync* sync) argument
460 wait_for_objects_sync* sync; local
573 wait_for_objects_sync* sync; local
666 wait_for_objects_sync* sync; local
759 notify_select_event(struct selectsync *sync, uint8 event) argument
769 find_select_sync_pool_entry(select_sync_pool *pool, selectsync *sync) argument
783 add_select_sync_pool_entry(select_sync_pool *pool, selectsync *sync, uint8 event) argument
806 add_select_sync_pool_entry(select_sync_pool **_pool, selectsync *sync, uint8 event) argument
833 remove_select_sync_pool_entry(select_sync_pool **_pool, selectsync *sync, uint8 event) argument
[all...]
/haiku/src/system/kernel/fs/
H A Dfd.cpp496 select_sync* sync = info->sync; local
514 put_select_sync(sync);
523 info->sync, info->selected_events));
585 // As long as the info is in the list, we keep a reference to the sync
587 acquire_select_sync(info->sync);
602 info->sync, info->selected_events));
639 put_select_sync(info->sync);
H A Dfifo.cpp193 status_t Select(uint8 event, selectsync* sync,
195 status_t Deselect(uint8 event, selectsync* sync,
696 Inode::Select(uint8 event, selectsync* sync, int openMode) argument
710 if (add_select_sync_pool_entry(pool, sync, event) != B_OK)
717 return notify_select_event(sync, event);
722 return notify_select_event(sync, event);
731 Inode::Deselect(uint8 event, selectsync* sync, int openMode) argument
742 remove_select_sync_pool_entry(pool, sync, event);
1138 uint8 event, selectsync* sync)
1148 return inode->Select(event, sync, cooki
1137 fifo_select(fs_volume* _volume, fs_vnode* _node, void* _cookie, uint8 event, selectsync* sync) argument
1153 fifo_deselect(fs_volume* _volume, fs_vnode* _node, void* _cookie, uint8 event, selectsync* sync) argument
[all...]
H A Dsocket.cpp240 struct selectsync *sync)
242 return sStackInterface->select(descriptor->u.socket, event, sync);
248 struct selectsync *sync)
250 return sStackInterface->deselect(descriptor->u.socket, event, sync);
239 socket_select(struct file_descriptor *descriptor, uint8 event, struct selectsync *sync) argument
247 socket_deselect(struct file_descriptor *descriptor, uint8 event, struct selectsync *sync) argument
H A Dvfs.cpp366 struct selectsync* sync);
368 struct selectsync* sync);
5841 struct selectsync* sync)
5843 FUNCTION(("file_select(%p, %u, %p)\n", descriptor, event, sync));
5850 return notify_select_event(sync, event);
5855 return FS_CALL(vnode, select, descriptor->cookie, event, sync);
5861 struct selectsync* sync)
5868 return FS_CALL(vnode, deselect, descriptor->cookie, event, sync);
7896 // Note: That's the easy way. Which is probably OK for sync(),
7951 if (HAS_FS_MOUNT_CALL(mount, sync))
5840 file_select(struct file_descriptor* descriptor, uint8 event, struct selectsync* sync) argument
5860 file_deselect(struct file_descriptor* descriptor, uint8 event, struct selectsync* sync) argument
[all...]
/haiku/src/system/kernel/
H A Dsmp.cpp1091 // if the message is sync after it has removed it from the mailbox
1164 // if the message is sync after it has removed it from the mailbox
1228 // if the message is sync after it has removed it from the mailbox
1295 // if the message is sync after it has removed it from the mailbox
1460 _call_single_cpu(uint32 targetCPU, void (*func)(void*, int), void* cookie, bool sync) argument
1478 0, 0, (void*)func, sync ? SMP_MSG_FLAG_SYNC : SMP_MSG_FLAG_ASYNC);
H A Dthread.cpp2243 select_sync* sync = info->sync;
2247 put_select_sync(sync);
2622 // we need a sync reference
2623 acquire_select_sync(info->sync);
2652 // surrender sync reference
2653 put_select_sync(info->sync);
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileops.c1584 JUMP_INIT(sync, _IO_new_file_sync),
1610 JUMP_INIT(sync, _IO_file_sync_mmap),
1634 JUMP_INIT(sync, _IO_new_file_sync),
/haiku/src/system/libroot/posix/unistd/
H A Dsync.c26 sync(void) function
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c2540 void sync() {} function
H A Dlibroot_stubs_legacy.c2532 void sync() {} function
/haiku/src/tools/fs_shell/
H A Dfd.cpp360 select_fd(int fd, uint8_t event, uint32_t ref, struct select_sync *sync, bool kernel) argument
365 // TRACE(("select_fd(fd = %d, event = %u, ref = %lu, selectsync = %p)\n", fd, event, ref, sync));
372 // status = descriptor->ops->fd_select(descriptor, event, ref, sync);
376 // status = notify_select_event((void *)sync, ref, event);
387 deselect_fd(int fd, uint8_t event, struct select_sync *sync, bool kernel) argument
392 // TRACE(("deselect_fd(fd = %d, event = %u, selectsync = %p)\n", fd, event, sync));
399 // status = descriptor->ops->fd_deselect(descriptor, event, sync);
H A Dvfs.cpp4878 if (HAS_FS_MOUNT_CALL(mount, sync))
4879 status = FS_MOUNT_CALL_NO_PARAMS(mount, sync);
5133 fssh_dprintf("sync: device %d couldn't sync: %s\n", (int)device, fssh_strerror(status));

Completed in 280 milliseconds

123456