Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 18 of 18) sorted by relevance

/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyportenv.h105 #ifndef O_RDWR
106 #define O_RDWR 02 macro
H A Dyaffs_uboot_glue.c287 O_CREAT | O_RDWR | O_TRUNC, in make_a_file()
316 h = yaffs_open(fn, O_RDWR, 0); in read_a_file()
370 h = yaffs_open(fn, O_RDWR, 0); in cmd_yaffs_mread_file()
387 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in cmd_yaffs_mwrite_file()
H A Dyaffsfs.c783 int rwflags = oflag & (O_RDWR | O_RDONLY | O_WRONLY); in yaffs_open_sharing()
817 readRequested = (rwflags == O_RDWR || rwflags == O_RDONLY) ? 1 : 0; in yaffs_open_sharing()
818 writeRequested = (rwflags == O_RDWR || rwflags == O_WRONLY) ? 1 : 0; in yaffs_open_sharing()
/rk3399_rockchip-uboot/test/py/
H A Dmake_test_disk.py12 fd = os.open("testdisk.raw", os.O_RDWR|os.O_CREAT )
/rk3399_rockchip-uboot/tools/
H A Dubsha1.c34 ifd = open (imagefile, O_RDWR|O_BINARY); in main()
H A Dfit_common.c48 fd = open(fname, O_RDWR | O_BINARY); in mmap_fdt()
H A Dimagetool.c76 dfd = open(file_name, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, in imagetool_save_subimage()
H A Dfit_image.c182 fd = open(fname, O_RDWR | O_BINARY); in fdt_property_file()
432 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_build()
649 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0666); in fit_import_data()
H A Dmips-relocs.c215 fd = open(argv[1], O_RDWR); in main()
H A Dkwboot.c255 fd = open(path, O_RDWR|O_NOCTTY|O_NDELAY); in kwboot_open_tty()
H A Dmkimage.c378 O_RDWR|O_CREAT|O_TRUNC|O_BINARY, 0666); in main()
H A Difdtool.c1011 bios_fd = open(filename, outfile ? O_RDONLY : O_RDWR); in main()
/rk3399_rockchip-uboot/tools/gdb/
H A Dserial.c72 if ((fd = open(device, O_RDWR)) < 0) in serialopen()
/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.c332 if (flash_io(O_RDWR)) { in fw_env_flush()
1070 if (mode == O_RDWR) { in flash_io()
/rk3399_rockchip-uboot/arch/sandbox/cpu/
H A Dos.c81 flags = O_RDWR; in os_open()
/rk3399_rockchip-uboot/common/
H A Ddlmalloc.c957 fd = open("/dev/zero", O_RDWR);
H A Dcli_hush.c155 { O_RDWR, 1, "<>" }
H A Ddlmalloc.src1822 fd = open("/dev/zero", O_RDWR);