Searched refs:open (Results 176 - 200 of 2525) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/cgroup/
H A Dwait_inotify.c49 fd = open(file, O_RDONLY);
/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent-ctl.c36 ctl_fd = open(ctl_path, O_RDONLY);
38 pr_err("Cannot open ctl_fd\n");
/linux-master/Documentation/sphinx/
H A Dload_config.py51 with open(config_file, 'rb') as f:
/linux-master/tools/cgroup/
H A Dmemcg_shrinker.py29 with open(count_path) as f:
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixmap.c70 fd = open(SYSTEM_MEMORY, O_RDONLY | O_BINARY);
72 fprintf(stderr, "Cannot open %s\n", SYSTEM_MEMORY);
/linux-master/tools/testing/selftests/proc/
H A Dproc-uptime-002.c62 fd = open("/proc/uptime", O_RDONLY);
/linux-master/samples/user_events/
H A Dexample.c45 data_fd = open(data_file, O_RDWR);
/linux-master/tools/perf/scripts/python/
H A Dnet_dropmonitor.py23 f = open("/proc/kallsyms", "r")
/linux-master/tools/perf/util/
H A Dtracepoint.c18 fd = open(evt_path, O_RDONLY);
/linux-master/include/sound/
H A Dhwdep.h23 int (*open)(struct snd_hwdep *hw, struct file * file); member in struct:snd_hwdep_ops
/linux-master/tools/testing/selftests/mm/
H A Dmadv_populate.c137 int fd = open("/proc/self/pagemap", O_RDONLY);
151 int fd = open("/proc/self/pagemap", O_RDONLY);
209 int fd = open("/proc/self/pagemap", O_RDONLY);
223 int fd = open("/proc/self/pagemap", O_RDONLY);
/linux-master/include/linux/
H A Dposix-clock.h33 * @open: Optional character device open method
57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode); member in struct:posix_clock_operations
103 * Drivers can store a private data structure during the open operation
/linux-master/tools/testing/selftests/bpf/
H A Durandom_read.c61 int fd = open("/dev/urandom", O_RDONLY);
/linux-master/drivers/infiniband/hw/hfi1/
H A Ddebugfs.h35 .open = _##name##_open, \
/linux-master/scripts/
H A Dshow_delta95 lines = open(filein,"r").readlines()
/linux-master/scripts/dtc/
H A Ddt-extract-compatibles50 with open(file, 'r', encoding='utf-8') as f:
67 with open(file, 'r', encoding='utf-8') as f:
/linux-master/fs/debugfs/
H A Dfile.c44 .open = simple_open,
288 if (real_fops->open)
289 r = real_fops->open(inode, filp);
297 .open = open_proxy_open,
432 if (real_fops->open) {
433 r = real_fops->open(inode, filp);
455 .open = full_proxy_open,
922 .open = simple_open,
928 .open = simple_open,
934 .open
[all...]
/linux-master/tools/testing/selftests/lsm/
H A Dcommon.c32 fd = open(path, O_RDONLY);
/linux-master/drivers/usb/mon/
H A Dmon_stat.c64 .open = mon_stat_open,
/linux-master/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
324 ret = open("/proc/self/ns/user", O_RDONLY);
329 ret = open("/proc/self/ns/mnt", O_RDONLY);
334 ret = open(SET_GROUP_A, O_RDONLY);
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_target_ids_pid_leak.c22 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat_dbgfs.c40 .open = simple_open,
71 .open = simple_open,
153 .open = simple_open,
192 .open = simple_open,
/linux-master/drivers/bus/mhi/host/
H A Ddebugfs.c332 .open = mhi_debugfs_states_open,
338 .open = mhi_debugfs_events_open,
344 .open = mhi_debugfs_channels_open,
350 .open = mhi_debugfs_devices_open,
356 .open = mhi_debugfs_regdump_open,
362 .open = mhi_debugfs_device_wake_open,
369 .open = mhi_debugfs_timeout_ms_open,
/linux-master/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c91 fd = open(device_path, O_RDONLY | O_CLOEXEC);
93 TH_LOG("%s - Failed to open binder-control device",
114 fd = open(device_path, O_CLOEXEC | O_RDONLY);
116 TH_LOG("%s - Failed to open my-binder device",
126 TH_LOG("%s - Failed to open perform BINDER_VERSION request",
161 fd = open(device_path, O_CLOEXEC | O_RDONLY);
163 TH_LOG("%s - Failed to open binder feature: %s",
257 setgroups_fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW);
282 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW);
367 TH_LOG("%s - Failed to open perfor
[all...]
/linux-master/tools/testing/selftests/core/
H A Dclose_range_test.c34 fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
98 fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
187 fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
226 fd = open("/dev/null", O_RDONLY);
294 fd = open("/dev/null", O_RDONLY);
369 fd1 = open("/dev/null", O_RDWR);
385 * our open fds should still be open but made
461 fd1 = open("/dev/null", O_RDWR);
480 * our open fd
[all...]

Completed in 725 milliseconds

1234567891011>>