/linux-master/include/linux/platform_data/ |
H A D | tda9950.h | 12 int (*open)(void *); member in struct:tda9950_glue
|
/linux-master/tools/testing/selftests/efivarfs/ |
H A D | Makefile | 4 TEST_GEN_FILES := open-unlink create-read
|
H A D | open-unlink.c | 20 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 D | openclose.c | 39 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 D | file.c | 42 .open = generic_file_open,
|
/linux-master/fs/verity/ |
H A D | Makefile | 7 open.o \
|
/linux-master/sound/isa/sb/ |
H A D | sb8_midi.c | 41 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 D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY);
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-self-wchan.c | 27 fd = open("/proc/self/wchan", O_RDONLY);
|
H A D | setns-dcache.c | 95 nsfd = open(buf, O_RDONLY); 102 (void)open("/proc/net/unix", O_RDONLY); 116 fd = open("/proc/net/unix", O_RDONLY);
|
H A D | fd-002-posix-eq.c | 16 // 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 D | setns-sysvipc.c | 94 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 D | ofconsole.c | 41 console_ops.open = of_console_open;
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_struct_ops_no_cfi.c | 11 fd = open("bpf_test_no_cfi.ko", O_RDONLY); 12 if (!ASSERT_GE(fd, 0, "open"))
|
H A D | fs_kfuncs.c | 20 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 D | jobserver-exec | 35 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 D | null.c | 27 fd = open(DEV_NULL, O_RDWR); 43 .open = null_open,
|
/linux-master/tools/tracing/rtla/sample/ |
H A D | timerlat_load.py | 55 timerlat_fd = open(timerlat_path, 'r') 61 data_fd = open("/dev/full", 'r');
|
/linux-master/tools/usb/usbip/libsrc/ |
H A D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY);
|
H A D | usbip_host_common.h | 25 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 D | debugfs.h | 10 .open = simple_open, \ 34 .open = simple_open, \ 42 .open = simple_open, \
|
/linux-master/tools/testing/selftests/damon/ |
H A D | debugfs_target_ids_read_before_terminate_race.c | 22 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 D | sdsi_test.py | 29 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 D | papr_sysparm.c | 15 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 D | power_floor_test.c | 22 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);
|