Searched refs:sync (Results 1 - 25 of 144) sorted by last modified time

123456

/haiku/src/servers/app/
H A DServerApp.cpp1085 // 3) port_id port to receive a reply. Only exists if the sync flag
1087 bool sync; local
1090 link.Read<bool>(&sync);
1104 if (sync) {
1152 if (info.sync) {
1153 // sync the client (it can now delete the cursor)
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_socket.cpp810 socket_request_notification(net_socket* _socket, uint8 event, selectsync* sync) argument
816 status_t status = add_select_sync_pool_entry(&socket->select_pool, sync,
833 notify_select_event(sync, event);
844 notify_select_event(sync, event);
849 notify_select_event(sync, event);
858 socket_cancel_notification(net_socket* _socket, uint8 event, selectsync* sync) argument
863 return remove_select_sync_pool_entry(&socket->select_pool, sync, event);
/haiku/src/tools/fs_shell/
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));
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);
/haiku/src/system/kernel/fs/
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...]
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 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
/haiku/src/add-ons/kernel/drivers/power/acpi_lid/
H A Dacpi_lid.cpp150 acpi_lid_select(void *_cookie, uint8 event, selectsync *sync) argument
158 status_t error = add_select_sync_pool_entry(&device->select_pool, sync,
166 notify_select_event(sync, event);
173 acpi_lid_deselect(void *_cookie, uint8 event, selectsync *sync) argument
180 return remove_select_sync_pool_entry(&device->select_pool, sync, event);
/haiku/src/add-ons/kernel/network/devices/tunnel/
H A Dtunnel.cpp230 tunnel_select(void* _cookie, uint8 event, uint32 ref, selectsync* sync) argument
238 status_t status = add_select_sync_pool_entry(&cookie->device->select_pool, sync, event);
245 notify_select_event(sync, event);
247 notify_select_event(sync, event);
254 tunnel_deselect(void* _cookie, uint8 event, selectsync* sync) argument
261 return remove_select_sync_pool_entry(&cookie->device->select_pool, sync, event);
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant.cpp73 sync();
H A DPorts.cpp1320 // Set LVDS sync polarity
2643 if (timing.sync == 3) {
/haiku/src/add-ons/kernel/generic/tty/
H A Dtty.cpp1991 tty_select(tty_cookie* cookie, uint8 event, uint32 ref, selectsync* sync) argument
1995 TRACE(("tty_select(cookie = %p, event = %u, ref = %" B_PRIu32 ", sync = "
1996 "%p)\n", cookie, event, ref, sync));
2007 notify_select_event(sync, event);
2021 status_t error = add_select_sync_pool_entry(&tty->select_pool, sync, event);
2037 notify_select_event(sync, event);
2044 notify_select_event(sync, event);
2058 notify_select_event(sync, event);
2074 tty_deselect(tty_cookie* cookie, uint8 event, selectsync* sync) argument
2078 TRACE(("tty_deselect(cookie = %p, event = %u, sync
[all...]
/haiku/src/system/kernel/events/
H A Devent_queue.cpp241 event->sync = this;
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...]
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);
/haiku/headers/private/net/
H A Dnet_socket.h88 struct selectsync* sync);
90 struct selectsync* sync);
/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/add-ons/kernel/bus_managers/random/
H A Ddriver.cpp153 random_select(void *cookie, uint8 event, selectsync *sync) argument
159 notify_select_event(sync, event);
162 notify_select_event(sync, event);
169 random_deselect(void *cookie, uint8 event, selectsync *sync) argument
/haiku/build/scripts/
H A Dbuild_haiku_image408 $fsShellCommand sync
/haiku/src/apps/cortex/NodeManager/
H A DNodeRef.cpp614 // kill off sync thread
2079 // play in sync with other nodes in the group, if the transport is
2243 err = m_positionThread->sync(when, position, B_INFINITE_TIMEOUT);
2247 "! NodeRef::_schedulePositionUpdate(): m_positionThread->sync() failed:\n"
/haiku/headers/private/kernel/
H A Dwait_for_objects.h19 struct select_sync* sync; member in struct:select_info
39 extern void acquire_select_sync(select_sync* sync);
40 extern void put_select_sync(select_sync* sync);
/haiku/headers/private/kernel/fs/
H A Dfd.h35 struct selectsync *sync);
37 struct selectsync *sync);
/haiku/src/system/kernel/device_manager/
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
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DVolume.cpp644 // sync
1506 Volume::Select(void* _node, void* cookie, uint8 event, selectsync* sync) argument
1512 notify_select_event(sync, event);
1533 request->sync = sync;
1536 error = fFileSystem->AddSelectSyncEntry(sync);
1545 fFileSystem->RemoveSelectSyncEntry(sync);
1552 fFileSystem->RemoveSelectSyncEntry(sync);
1560 Volume::Deselect(void* _node, void* cookie, uint8 event, selectsync* sync) argument
1569 SyncRemover(FileSystem* fs, selectsync* sync) argument
1574 selectsync* sync; member in struct:SyncRemover
[all...]

Completed in 192 milliseconds

123456