| /system/uapp/run-vc/ |
| A D | main.c | 23 static zx_status_t dmctl_watch_func(int dirfd, int event, const char* fn, void* cookie) { in dmctl_watch_func() 34 int dirfd = open("/dev/misc", O_RDONLY); in open_dmctl() local
|
| /system/uapp/watch/ |
| A D | watch.c | 11 zx_status_t callback(int dirfd, int event, const char* fn, void* cookie) { in callback()
|
| /system/ulib/fdio/ |
| A D | watcher.c | 25 static zx_status_t fdio_watcher_create(int dirfd, fdio_watcher_t** out) { in fdio_watcher_create() 140 zx_status_t fdio_watch_directory(int dirfd, watchdir_func_t cb, zx_time_t deadline, void *cookie) { in fdio_watch_directory()
|
| A D | unistd.c | 325 static fdio_t* fdio_iodir(const char** path, int dirfd) { in fdio_iodir() 547 static zx_status_t __fdio_opendir_containing_at(fdio_t** io, int dirfd, const char* path, in __fdio_opendir_containing_at() 1036 int unlinkat(int dirfd, const char* path, int flags) { in unlinkat() 1400 static int truncateat(int dirfd, const char* path, off_t len) { in truncateat() 1507 static int vopenat(int dirfd, const char* path, int flags, va_list args) { in vopenat() 1546 int openat(int dirfd, const char* path, int flags, ...) { in openat() 1560 int mkdirat(int dirfd, const char* path, mode_t mode) { in mkdirat() 1613 int fstatat(int dirfd, const char* fn, struct stat* s, int flags) { in fstatat() 1708 int utimensat(int dirfd, const char *fn, in utimensat() 1793 int faccessat(int dirfd, const char* filename, int amode, int flag) { in faccessat() [all …]
|
| /system/uapp/waitfor/ |
| A D | waitfor.c | 58 zx_status_t watchcb(int dirfd, int event, const char* fn, void* cookie) { in watchcb() 194 int dirfd = -1; in main() local
|
| /system/utest/platform-bus/ |
| A D | main.cpp | 73 const int dirfd = devmgr->devfs_root().get(); in enumeration_test() local
|
| /system/core/pwrbtn-monitor/ |
| A D | pwrbtn-monitor.cpp | 122 static zx_status_t InputDeviceAdded(int dirfd, int event, const char* name, void* cookie) { in InputDeviceAdded() 185 fbl::unique_fd dirfd; in main() local
|
| /system/ulib/devmgr-integration-test/ |
| A D | file-wait.cpp | 18 auto watch_func = [](int dirfd, int event, const char* fn, void* cookie) -> zx_status_t { in WaitForFile()
|
| /system/core/devmgr/fshost/ |
| A D | main.cpp | 117 zx_status_t MiscDeviceAdded(int dirfd, int event, const char* fn, void* cookie) { in MiscDeviceAdded() 145 fbl::unique_fd dirfd(open("/dev/misc", O_DIRECTORY | O_RDONLY)); in RamctlWatcher() local
|
| A D | block-watcher.cpp | 525 zx_status_t block_device_added(int dirfd, int event, const char* name, void* cookie) { in block_device_added() 658 fbl::unique_fd dirfd(open("/dev/class/block", O_DIRECTORY | O_RDONLY)); in block_device_watcher() local
|
| /system/ulib/inet6/ |
| A D | netifc.c | 253 static zx_status_t netifc_open_cb(int dirfd, int event, const char* fn, void* cookie) { in netifc_open_cb() 383 int dirfd; in netifc_open() local
|
| /system/ulib/fs-management/ |
| A D | fvm.cpp | 238 auto cb = [](int dirfd, int event, const char* fn, void* cookie) { in open_partition()
|
| A D | ramdisk.cpp | 34 static zx_status_t driver_watcher_cb(int dirfd, int event, const char* fn, void* cookie) { in driver_watcher_cb()
|
| /system/utest/fs/ |
| A D | test-directory.cpp | 178 int dirfd = open("::coalesce_lr", O_RDONLY | O_DIRECTORY); in TestDirectoryCoalesceLargeRecord() local
|
| /system/uapp/hid/ |
| A D | main.cpp | 326 static zx_status_t hid_input_device_added(int dirfd, int event, const char* fn, void* cookie) { in hid_input_device_added() 354 int dirfd = open(DEV_INPUT, O_DIRECTORY|O_RDONLY); in hid_input_devices_poll_thread() local
|
| /system/core/devmgr/devmgr/ |
| A D | main.cpp | 84 auto watch_func = [](int dirfd, int event, const char* fn, void* cookie) -> zx_status_t { in wait_for_file() 95 fbl::unique_fd dirfd(open(dirname, O_RDONLY)); in wait_for_file() local
|
| /system/utest/zxcrypt/ |
| A D | test-device.cpp | 168 zx_status_t TestDevice::RebindWatcher(int dirfd, int event, const char* fn, void* cookie) { in RebindWatcher()
|
| /system/uapp/usb-fwloader/ |
| A D | usb-fwloader.cpp | 77 zx_status_t watch_dir_cb(int dirfd, int event, const char* filename, void* cookie) { in watch_dir_cb()
|
| /system/utest/ethernet/ |
| A D | ethernet.cpp | 95 zx_status_t WatchCb(int dirfd, int event, const char* fn, void* cookie) { in WatchCb()
|
| /system/uapp/disk-pave/ |
| A D | device-partitioner.cpp | 117 auto cb = [](int dirfd, int event, const char* filename, void* cookie) { in OpenPartition()
|
| /system/utest/blobfs/ |
| A D | blobfs.cpp | 1586 fbl::unique_fd dirfd(open(MOUNT_PATH "/.", O_RDONLY)); in RootDirectory() local 2228 fbl::unique_fd dirfd(open(MOUNT_PATH "/.", O_RDONLY | O_ADMIN)); in QueryDevicePath() local
|
| /system/utest/ramdisk/ |
| A D | ramdisk.cpp | 253 auto cb = [](int dirfd, int event, const char* fn, void* cookie) { in RamdiskTestFilesystem()
|