Searched refs:open (Results 1 - 25 of 2525) sorted by relevance

1234567891011>>

/linux-master/include/linux/platform_data/
H A Dtda9950.h12 int (*open)(void *); member in struct:tda9950_glue
/linux-master/tools/testing/selftests/efivarfs/
H A DMakefile4 TEST_GEN_FILES := open-unlink create-read
H A Dopen-unlink.c20 fd = open(path, O_RDONLY);
51 fd = open(path, O_RDONLY);
89 fd = open(path, O_WRONLY | O_CREAT, 0600);
91 perror("open(O_WRONLY)");
115 fd = open(path, O_RDONLY);
117 perror("open");
/linux-master/io_uring/
H A Dopenclose.c39 static bool io_openat_force_async(struct io_open *open) argument
42 * Don't bother trying for O_TRUNC, O_CREAT, or O_TMPFILE open,
47 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE);
52 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); local
61 /* open.how should be already initialised */
62 if (!(open->how.flags & O_PATH) && force_o_largefile())
63 open->how.flags |= O_LARGEFILE;
65 open->dfd = READ_ONCE(sqe->fd);
67 open->filename = getname(fname);
68 if (IS_ERR(open
87 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); local
97 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); local
116 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); local
182 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); local
[all...]
/linux-master/fs/ufs/
H A Dfile.c42 .open = generic_file_open,
/linux-master/fs/verity/
H A DMakefile7 open.o \
/linux-master/sound/isa/sb/
H A Dsb8_midi.c41 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) {
60 if (chip->open & ~valid_open_flags) {
64 chip->open |= SB_OPEN_MIDI_INPUT;
66 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) {
87 if (chip->open & ~valid_open_flags) {
91 chip->open |= SB_OPEN_MIDI_OUTPUT;
93 if (!(chip->open & SB_OPEN_MIDI_INPUT)) {
111 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER);
113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) {
130 chip->open
[all...]
/linux-master/samples/watchdog/
H A Dwatchdog-simple.c9 int fd = open("/dev/watchdog", O_WRONLY);
/linux-master/tools/testing/selftests/proc/
H A Dproc-self-wchan.c27 fd = open("/proc/self/wchan", O_RDONLY);
H A Dsetns-dcache.c95 nsfd = open(buf, O_RDONLY);
102 (void)open("/proc/net/unix", O_RDONLY);
116 fd = open("/proc/net/unix", O_RDONLY);
H A Dfd-002-posix-eq.c16 // Test that open(/proc/*/fd/*) opens the same file.
32 fd0 = open("/", O_DIRECTORY|O_RDONLY);
36 fd1 = open(buf, O_RDONLY);
40 fd2 = open(buf, O_RDONLY);
H A Dsetns-sysvipc.c94 nsfd = open(buf, O_RDONLY);
101 (void)open("/proc/sysvipc/shm", O_RDONLY);
115 fd = open("/proc/sysvipc/shm", O_RDONLY);
/linux-master/arch/powerpc/boot/
H A Dofconsole.c41 console_ops.open = of_console_open;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_struct_ops_no_cfi.c11 fd = open("bpf_test_no_cfi.ko", O_RDONLY);
12 if (!ASSERT_GE(fd, 0, "open"))
H A Dfs_kfuncs.c20 fd = open(testfile, O_CREAT | O_RDONLY, 0644);
49 fd = open(testfile, O_RDONLY, 0644);
73 fd = open(testfile, O_CREAT | O_RDWR, 0644);
84 fd = open(testfile, O_RDONLY, 0644);
123 fd = open(testfile, O_RDONLY);
/linux-master/scripts/
H A Djobserver-exec35 reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK)
36 writer = os.open(path, os.O_WRONLY)
41 reader = os.open("/proc/self/fd/%d" % (reader),
/linux-master/arch/um/drivers/
H A Dnull.c27 fd = open(DEV_NULL, O_RDWR);
43 .open = null_open,
/linux-master/tools/tracing/rtla/sample/
H A Dtimerlat_load.py55 timerlat_fd = open(timerlat_path, 'r')
61 data_fd = open("/dev/full", 'r');
/linux-master/tools/usb/usbip/libsrc/
H A Dsysfs_utils.c16 fd = open(attr_path, O_WRONLY);
H A Dusbip_host_common.h25 int (*open)(struct usbip_host_driver *hdriver); member in struct:usbip_host_driver_ops
57 if (!hdriver->ops.open)
59 return hdriver->ops.open(hdriver);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.h10 .open = simple_open, \
34 .open = simple_open, \
42 .open = simple_open, \
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_target_ids_read_before_terminate_race.c22 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR);
23 int monitor_on_fd = open(DBGFS_MONITOR_ON, O_RDWR);
37 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR);
/linux-master/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py29 with open(file, mode='rb') as f:
49 f = open(file, "r")
121 f = open(folder + "provision_cap", "wb", 0)
128 f = open(folder + "provision_akc", "wb", 0)
141 f = open(folder + "registers", "rb")
159 f = open(node, 'wb', 0)
173 f = open(node, 'wb', 0)
174 g = open(node, 'wb', 0)
176 with open(driver_dir + 'unbind', 'w') as k:
211 with open(driver_di
[all...]
/linux-master/tools/testing/selftests/powerpc/papr_sysparm/
H A Dpapr_sysparm.c15 const int devfd = open(DEVPATH, O_RDONLY);
31 const int devfd = open(DEVPATH, O_RDONLY);
50 const int devfd = open(DEVPATH, O_RDONLY);
73 const int devfd = open(DEVPATH, O_RDWR);
104 const int devfd = open(DEVPATH, O_RDWR);
126 const int devfd = open(DEVPATH, O_RDONLY);
139 // the file is open read-only, we expect the driver to prevent
156 .description = "open and close " DEVPATH " without issuing commands",
/linux-master/tools/testing/selftests/thermal/intel/power_floor/
H A Dpower_floor_test.c22 fd = open(POWER_FLOOR_ENABLE_ATTRIBUTE, O_RDWR);
24 perror("Unable to open power floor enable file\n");
52 fd = open(POWER_FLOOR_ENABLE_ATTRIBUTE, O_RDWR);
54 perror("Unable to open power floor enable file\n");
68 fd = open(POWER_FLOOR_STATUS_ATTRIBUTE, O_RDONLY);

Completed in 920 milliseconds

1234567891011>>