Home
last modified time | relevance | path

Searched refs:xopen (Results 1 - 25 of 28) sorted by relevance

12

/third_party/f2fs-tools/tools/f2fs_io/
H A Df2fs_io.c108 static int xopen(const char *pathname, int flags, mode_t mode) in xopen() function
173 fd = xopen(argv[1], O_WRONLY, 0); in do_fsync()
235 fd = xopen(argv[1], O_RDONLY, 0); in do_getflags()
312 fd = xopen(argv[2], O_RDONLY, 0); in do_setflags()
361 fd = xopen(argv[2], O_RDONLY, 0); in do_shutdown()
387 fd = xopen(argv[2], O_RDONLY, 0); in do_pinfile()
439 fd = xopen(argv[4], O_RDWR, 0); in do_fallocate()
480 fd = xopen(argv[1], O_WRONLY, 0); in do_erase()
576 fd = xopen(argv[6], O_CREAT | O_WRONLY | flags, 0755); in do_write()
693 fd = xopen(arg in do_read()
[all...]
/third_party/toybox/toys/other/
H A Dfreeramdisk.c24 fd = xopen(toys.optargs[0], O_RDWR); in freeramdisk_main()
H A Deject.c59 int fd = xopen(*toys.optargs ? : "/dev/cdrom", O_RDONLY | O_NONBLOCK); in eject_main()
H A Dmkswap.c25 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE); in mkswap_main()
H A Ddevmem.c39 fd = xopen("/dev/mem", (writing ? O_RDWR : O_RDONLY) | O_SYNC); in devmem_main()
H A Dmix.c37 fd = xopen(TT.d, O_RDWR|O_NONBLOCK); in mix_main()
H A Dnbd_client.c49 nbd = xopen(device, O_RDWR); in nbd_client_main()
H A Dhwclock.c87 if (fd == -1) fd = xopen(TT.f, flag); in hwclock_main()
H A Dnsenter.c85 int fd = xopen(map, O_WRONLY); in write_ugid_map()
H A Dlosetup.c60 if (file) ffd = xopen(file, TT.openflags); in loopback_setup()
H A Dhexedit.c122 fd = xopen(*toys.optargs, ro ? O_RDONLY : O_RDWR); in hexedit_main()
H A Di2ctools.c94 fd = xopen(toybuf, O_RDONLY); in i2c_open()
H A Dbzcat.c687 if (toys.optflags&FLAG_t) outfd = xopen("/dev/null", O_WRONLY); in do_bunzip2()
/third_party/toybox/toys/android/
H A Dsendevent.c24 int fd = xopen(*toys.optargs, O_RDWR); in sendevent_main()
/third_party/toybox/toys/net/
H A Dtunctl.c42 int fd = xopen("/dev/net/tun", O_RDWR); in tunctl_main()
H A Dmicrocom.c45 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
H A Drfkill.c60 fd = xopen("/dev/rfkill", (tvar ? O_RDWR : O_RDONLY)|O_NONBLOCK); in rfkill_main()
H A Dnetcat.c117 if (TT.f) in1 = out2 = xopen(TT.f, O_RDWR); in netcat_main()
H A Difconfig.c464 fd = xopen(toybuf, O_RDWR); in ifconfig_main()
/third_party/toybox/toys/posix/
H A Dpatch.c426 if (FLAG(dry_run)) TT.fileout = xopen("/dev/null", O_RDWR); in patch_main()
/third_party/toybox/lib/
H A Dxwrap.c444 int xopen(char *path, int flags) in xopen() function
454 return xopen(path, flags^WARN_ONLY); in openro()
H A Dportability.c41 fd = xopen(flags ? "/dev/random" : "/dev/urandom",O_RDONLY|(flags&WARN_ONLY)); in xgetrandom()
H A Dlib.h111 // Tell xopen and friends to print warnings but return -1 as necessary
155 int xopen(char *path, int flags);
/third_party/toybox/toys/pending/
H A Dstty.c454 else TT.fd=xopen(TT.device, (O_RDWR*!!*toys.optargs)|O_NOCTTY|O_NONBLOCK); in stty_main()
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h113 // Tell xopen and friends to print warnings but return -1 as necessary
150 int xopen(char *path, int flags);

Completed in 16 milliseconds

12