Searched refs:O_RDWR (Results 101 - 125 of 266) sorted by relevance

1234567891011

/linux-master/tools/testing/selftests/core/
H A Dclose_range_test.c369 fd1 = open("/dev/null", O_RDWR);
461 fd1 = open("/dev/null", O_RDWR);
/linux-master/drivers/char/tpm/
H A Dtpm_vtpm_proxy.c550 fd = get_unused_fd_flags(O_RDWR);
557 O_RDWR);
/linux-master/tools/testing/selftests/exec/
H A Dexecveat.c157 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755);
406 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755);
/linux-master/arch/powerpc/boot/
H A Daddnote.c125 fd = open(av[1], O_RDWR);
/linux-master/tools/hv/
H A Dhv_vss_daemon.c259 vss_fd = open("/dev/vmbus/hv_vss", O_RDWR);
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzip_vas.c57 fd = open(devname, O_RDWR);
/linux-master/init/
H A Ddo_mounts_rd.c198 out_file = filp_open("/dev/ram", O_RDWR, 0);
/linux-master/arch/mips/vdso/
H A Dgenvdso.c115 fd = open(path, O_RDWR);
/linux-master/arch/um/drivers/
H A Dslip_user.c140 err = open(ptsname(mfd), O_RDWR, 0);
/linux-master/tools/pci/
H A Dpcitest.c47 fd = open(test->device, O_RDWR);
/linux-master/tools/testing/selftests/net/
H A Dtun.c47 fd = open("/dev/net/tun", O_RDWR);
/linux-master/tools/testing/selftests/wireguard/qemu/
H A Dinit.c219 int fd = open("/dev/console", O_RDWR);
/linux-master/drivers/usb/gadget/function/
H A Du_uac1_legacy.c211 snd->filp = filp_open(fn_cntl, O_RDWR, 0);
/linux-master/scripts/
H A Dsorttable.c87 fd = open(fname, O_RDWR);
/linux-master/fs/pstore/
H A Dblk.c212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0);
/linux-master/tools/testing/selftests/mm/
H A Dmkdirty.c345 mem_fd = open("/proc/self/mem", O_RDWR);
H A Dgup_longterm.c450 gup_fd = open("/sys/kernel/debug/gup_test", O_RDWR);
/linux-master/mm/
H A Dsecretmem.c212 O_RDWR, &secretmem_fops);
/linux-master/fs/coda/
H A Dcoda_linux.c51 if ((flags & O_ACCMODE) == O_RDWR)
/linux-master/tools/counter/
H A Dcounter_watch_events.c348 fd = open(device_name, O_RDWR);
/linux-master/arch/um/os-Linux/
H A Dstart_up.c316 fd = open(file, O_RDWR, 0);
H A Dumid.c223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
/linux-master/kernel/bpf/
H A Dtoken.c185 file = alloc_file_pseudo(inode, path.mnt, BPF_TOKEN_INODE_NAME, O_RDWR, &bpf_token_fops);
/linux-master/tools/lib/subcmd/
H A Drun-command.c24 int fd = open("/dev/null", O_RDWR);
/linux-master/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c228 fd = open(cipath, O_RDWR);
312 fd = open(cipath, O_RDWR);

Completed in 233 milliseconds

1234567891011