/third_party/glfw/src/ |
H A D | linux_joystick.c | 34 #include <sys/inotify.h> 269 if (_glfw.linjs.inotify <= 0) in _glfwDetectJoystickConnectionLinux() 274 const ssize_t size = read(_glfw.linjs.inotify, buffer, sizeof(buffer)); in _glfwDetectJoystickConnectionLinux() 314 _glfw.linjs.inotify = inotify_init1(IN_NONBLOCK | IN_CLOEXEC); in _glfwInitJoysticksLinux() 315 if (_glfw.linjs.inotify > 0) in _glfwInitJoysticksLinux() 320 _glfw.linjs.watch = inotify_add_watch(_glfw.linjs.inotify, in _glfwInitJoysticksLinux() 325 // Continue without device connection notifications if inotify fails in _glfwInitJoysticksLinux() 374 if (_glfw.linjs.inotify > 0) in _glfwTerminateJoysticksLinux() 377 inotify_rm_watch(_glfw.linjs.inotify, _glfw.linjs.watch); in _glfwTerminateJoysticksLinux() 379 close(_glfw.linjs.inotify); in _glfwTerminateJoysticksLinux() [all...] |
H A D | linux_joystick.h | 50 int inotify; member
|
/third_party/littlefs/scripts/ |
H A D | watch.py | 45 inotify = inotify_simple.INotify() 59 inotify.add_watch(dir, flags) 61 inotify.add_watch(os.path.join(dir, f), flags) 63 inotify.add_watch(path, flags) 66 inotify.read() 200 # guess inotify paths from command 253 help="Try to use inotify to wait for changes.") 258 help="Use this path for inotify. Defaults to guessing.")
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_inotify_init_test.cpp | 2 #include <sys/inotify.h> 13 * @tc.desc: This test verifies inotify the init function can successfully create an inotify instance and make
|
H A D | linux_inotify_add_watch_test.cpp | 2 #include <sys/inotify.h>
|
/third_party/musl/src/linux/ |
H A D | inotify.c | 1 #include <sys/inotify.h>
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | inotify_init1.c | 16 #include <sys/inotify.h>
|
H A D | inotify.c | 18 #include <sys/inotify.h> 87 * @tc.desc : initialize an inotify instance 100 * @tc.desc : add some watches to an initialized inotify instance 110 * @tc.desc : Using the wrong fd, add some monitoring events to the inotify instance 135 * @tc.desc : Remove some monitoring events from the inotify instance 145 * @tc.desc : Provide exception parameter to remove monitoring event from inotify instance
|
/third_party/ltp/testcases/kernel/syscalls/inotify/ |
H A D | inotify09.c | 8 * Test for inotify mark connector destruction race. 33 #include "inotify.h" 38 #include <sys/inotify.h> 89 tst_res(TPASS, "kernel survived inotify beating"); in verify_inotify() 105 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify11.c | 29 #include "inotify.h" 32 #include <sys/inotify.h> 132 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify06.c | 7 * Test for inotify mark destruction race. 10 * inotify group watching that inode is being torn down. When the race is 30 #include "inotify.h" 33 #include <sys/inotify.h> 41 #define PROCFILE "/proc/sys/fs/inotify/max_user_instances" 97 tst_res(TPASS, "kernel survived inotify beating"); in verify_inotify() 126 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify12.c | 10 * Test special inotify mask flags. 13 * a32e697cda27 ("inotify: show inotify mask flags in proc fdinfo") 26 #include "inotify.h" 29 #include <sys/inotify.h> 81 if (FILE_LINES_SCANF(procfdinfo, "inotify wd:%*d ino:%*x sdev:%*x mask:%x", in verify_inotify() 83 tst_res(TFAIL, "Could not parse inotify fdinfo"); in verify_inotify() 85 tst_res(TFAIL, "Incorrect mask %x in inotify fdinfo (expected %x)", in verify_inotify() 88 tst_res(TPASS, "Correct mask in inotify fdinfo"); in verify_inotify() 167 TST_TEST_TCONF("system doesn't have required inotify suppor [all...] |
H A D | inotify08.c | 7 * Check that inotify work for an overlayfs file after copy up and 10 * An inotify watch pins the file inode in cache, but not the dentry. 26 # include <sys/inotify.h> 39 #include "inotify.h" 185 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify03.c | 7 * Check that inotify get IN_UNMOUNT event and 26 #include "inotify.h" 29 #include <sys/inotify.h> 178 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify04.c | 14 * Because of how the inotify(7) API is designed, we also need to catch the 21 # include <sys/inotify.h> 26 #include "inotify.h" 105 * This isn't well documented in inotify(7), but it's intuitive if you in verify_inotify() 174 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify01.c | 7 * Check that inotify work for a file 22 #include "inotify.h" 25 #include <sys/inotify.h> 170 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify05.c | 7 * Check that inotify overflow event is properly generated 23 #include "inotify.h" 26 #include <sys/inotify.h> 135 SAFE_FILE_SCANF("/proc/sys/fs/inotify/max_queued_events", in setup() 158 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify10.c | 20 # include <sys/inotify.h> 25 #include "inotify.h" 218 TST_TEST_TCONF("system doesn't have required inotify support");
|
H A D | inotify07.c | 7 * Check that inotify work for an overlayfs directory after copy up and 10 * An inotify watch pins the directory inode in cache, but not the dentry. 26 # include <sys/inotify.h> 38 #include "inotify.h" 191 TST_TEST_TCONF("system doesn't have required inotify support");
|
/third_party/eudev/src/udev/ |
H A D | udevadm-test-builtin.c | 29 #include <sys/inotify.h>
|
H A D | udev-watch.c | 29 #include <sys/inotify.h> 35 /* inotify descriptor, will be shared with rules directory;
|
/third_party/toybox/toys/other/ |
H A D | inotifyd.c | 1 /* inotifyd.c - inotify daemon. 35 #include <sys/inotify.h>
|
/third_party/eudev/src/libudev/ |
H A D | libudev-queue.c | 29 #include <sys/inotify.h>
|
/third_party/rust/crates/nix/src/sys/ |
H A D | mod.rs | 205 #![feature = "inotify"] 206 pub mod inotify; modules
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_inotify.rs | 2 use nix::sys::inotify::{AddWatchFlags, InitFlags, Inotify};
|