/linux-master/tools/testing/selftests/cgroup/ |
H A D | wait_inotify.c | 49 fd = open(file, O_RDONLY);
|
/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent-ctl.c | 36 ctl_fd = open(ctl_path, O_RDONLY); 38 pr_err("Cannot open ctl_fd\n");
|
/linux-master/Documentation/sphinx/ |
H A D | load_config.py | 51 with open(config_file, 'rb') as f:
|
/linux-master/tools/cgroup/ |
H A D | memcg_shrinker.py | 29 with open(count_path) as f:
|
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 70 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 D | proc-uptime-002.c | 62 fd = open("/proc/uptime", O_RDONLY);
|
/linux-master/samples/user_events/ |
H A D | example.c | 45 data_fd = open(data_file, O_RDWR);
|
/linux-master/tools/perf/scripts/python/ |
H A D | net_dropmonitor.py | 23 f = open("/proc/kallsyms", "r")
|
/linux-master/tools/perf/util/ |
H A D | tracepoint.c | 18 fd = open(evt_path, O_RDONLY);
|
/linux-master/include/sound/ |
H A D | hwdep.h | 23 int (*open)(struct snd_hwdep *hw, struct file * file); member in struct:snd_hwdep_ops
|
/linux-master/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 137 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 D | posix-clock.h | 33 * @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 D | urandom_read.c | 61 int fd = open("/dev/urandom", O_RDONLY);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.h | 35 .open = _##name##_open, \
|
/linux-master/scripts/ |
H A D | show_delta | 95 lines = open(filein,"r").readlines()
|
/linux-master/scripts/dtc/ |
H A D | dt-extract-compatibles | 50 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 D | file.c | 44 .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 D | common.c | 32 fd = open(path, O_RDONLY);
|
/linux-master/drivers/usb/mon/ |
H A D | mon_stat.c | 64 .open = mon_stat_open,
|
/linux-master/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 64 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 D | debugfs_target_ids_pid_leak.c | 22 int target_ids_fd = open(DBGFS_TARGET_IDS, O_RDWR);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_heartbeat_dbgfs.c | 40 .open = simple_open, 71 .open = simple_open, 153 .open = simple_open, 192 .open = simple_open,
|
/linux-master/drivers/bus/mhi/host/ |
H A D | debugfs.c | 332 .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 D | binderfs_test.c | 91 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 D | close_range_test.c | 34 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...] |