Searched refs:open (Results 251 - 275 of 2525) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/perf/scripts/python/
H A Dmem-phys-addr.py32 f = open('/proc/iomem', 'r')
/linux-master/tools/build/
H A Dfixdep.c127 fd = open(depfile, O_RDONLY);
/linux-master/tools/testing/selftests/nsfs/
H A Downer.c56 ns = open(path, O_RDONLY);
58 return pr_err("Unable to open %s", path);
H A Dpidns.c56 ns = open(path, O_RDONLY);
58 return pr_err("Unable to open %s", path);
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_mnt.c104 .open = memfd_open,
/linux-master/drivers/parisc/
H A Deisa_eeprom.c72 .open = eisa_eeprom_open,
/linux-master/arch/powerpc/boot/
H A Dhack-coff.c41 if ((fd = open(av[1], 2)) == -1) {
/linux-master/include/media/drv-intf/
H A Dexynos-fimc.h130 int (*open)(struct exynos_media_pipeline *p, struct media_entity *me, member in struct:exynos_media_pipeline_ops
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_debugfs.c60 .open = simple_open,
/linux-master/drivers/platform/chrome/
H A Dchromeos_tbmc.c83 idev->open = chromeos_tbmc_open;
/linux-master/arch/um/drivers/
H A Dfd.c87 .open = fd_open,
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_generic.c85 .open = dal_hw_gpio_open,
H A Dhw_hpd.c106 .open = dal_hw_gpio_open,
/linux-master/tools/testing/selftests/ptrace/
H A Dvmaccess.c39 f = open(mm, O_RDONLY);
/linux-master/samples/binderfs/
H A Dbinderfs_example.c53 fd = open("/dev/binderfs/binder-control", O_RDONLY | O_CLOEXEC);
55 fprintf(stderr, "%s - Failed to open binder-control device\n",
/linux-master/drivers/media/usb/uvc/
H A Duvc_debugfs.c61 .open = uvc_debugfs_stats_open,
/linux-master/tools/testing/selftests/timens/
H A Dfutex.c80 fd = open("/proc/self/timens_offsets", O_WRONLY);
H A Dgettime_perf.c84 nsfd = open("/proc/self/ns/time_for_children", O_RDONLY);
86 return pr_perror("Can't open a time namespace");
/linux-master/tools/gpio/
H A Dgpio-watch.c35 fd = open(argv[1], O_RDWR | O_CLOEXEC);
37 perror("unable to open gpiochip");
/linux-master/tools/testing/selftests/proc/
H A Dproc-subset-pid.c117 int fd = open("/proc/cpuinfo", O_RDONLY);
/linux-master/tools/bootconfig/
H A Dmain.c156 fd = open(path, O_RDONLY);
294 fd = open(path, O_RDONLY);
297 pr_err("Failed to open initrd %s: %d\n", path, ret);
334 fd = open(path, O_RDWR);
337 pr_err("Failed to open initrd %s: %d\n", path, ret);
413 fd = open(path, O_RDWR | O_APPEND);
416 pr_err("Failed to open %s: %d\n", path, ret);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_test_run.c35 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
36 if (!ASSERT_GE(comm_fd, 0, "open /proc/self/comm"))
/linux-master/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c101 fd = open("/sys/kernel/debug/dma_map_benchmark", O_RDWR);
103 perror("open");
/linux-master/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c70 fd = open(filename, O_WRONLY);
118 die("couldn't open file\n");
147 die("couldn't open group file\n");
165 int fd = open(add_uid_whitelist_policy_file, O_WRONLY);
189 fd = open(add_uid_whitelist_policy_file, O_WRONLY);
191 die("can't open add_uid_whitelist_policy file\n");
213 fd = open(add_gid_whitelist_policy_file, O_WRONLY);
215 die("can't open add_gid_whitelist_policy file\n");
/linux-master/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c33 devfd = open("/dev/udmabuf", O_RDWR);

Completed in 349 milliseconds

<<11121314151617181920>>