Home
last modified time | relevance | path

Searched refs:inotify (Results 1 - 25 of 38) sorted by relevance

12

/third_party/glfw/src/
H A Dlinux_joystick.c34 #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 Dlinux_joystick.h50 int inotify; member
/third_party/littlefs/scripts/
H A Dwatch.py45 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 Dlinux_inotify_init_test.cpp2 #include <sys/inotify.h>
13 * @tc.desc: This test verifies inotify the init function can successfully create an inotify instance and make
H A Dlinux_inotify_add_watch_test.cpp2 #include <sys/inotify.h>
/third_party/musl/src/linux/
H A Dinotify.c1 #include <sys/inotify.h>
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dinotify_init1.c16 #include <sys/inotify.h>
H A Dinotify.c18 #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 Dinotify09.c8 * 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 Dinotify11.c29 #include "inotify.h"
32 #include <sys/inotify.h>
132 TST_TEST_TCONF("system doesn't have required inotify support");
H A Dinotify06.c7 * 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 Dinotify12.c10 * 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 Dinotify08.c7 * 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 Dinotify03.c7 * 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 Dinotify04.c14 * 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 Dinotify01.c7 * 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 Dinotify05.c7 * 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 Dinotify10.c20 # include <sys/inotify.h>
25 #include "inotify.h"
218 TST_TEST_TCONF("system doesn't have required inotify support");
H A Dinotify07.c7 * 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 Dudevadm-test-builtin.c29 #include <sys/inotify.h>
H A Dudev-watch.c29 #include <sys/inotify.h>
35 /* inotify descriptor, will be shared with rules directory;
/third_party/toybox/toys/other/
H A Dinotifyd.c1 /* inotifyd.c - inotify daemon.
35 #include <sys/inotify.h>
/third_party/eudev/src/libudev/
H A Dlibudev-queue.c29 #include <sys/inotify.h>
/third_party/rust/crates/nix/src/sys/
H A Dmod.rs205 #![feature = "inotify"]
206 pub mod inotify; modules
/third_party/rust/crates/nix/test/sys/
H A Dtest_inotify.rs2 use nix::sys::inotify::{AddWatchFlags, InitFlags, Inotify};

Completed in 7 milliseconds

12