Home
last modified time | relevance | path

Searched refs:os_open (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/arch/sandbox/cpu/
H A Dos.c59 int os_open(const char *pathname, int os_flags) in os_open() function
105 fd = os_open(fname, OS_O_WRONLY | OS_O_CREAT | OS_O_TRUNC); in os_write_file()
126 fd = os_open(fname, OS_O_RDONLY); in os_read_file()
708 fd = os_open(fname, O_RDONLY); in os_find_u_boot()
718 fd = os_open(fname, O_RDONLY); in os_find_u_boot()
730 fd = os_open(fname, O_RDONLY); in os_find_u_boot()
742 fd = os_open(fname, O_RDONLY); in os_find_u_boot()
H A Dstate.c61 fd = os_open(fname, OS_O_RDONLY); in state_read_file()
283 fd = os_open(fname, OS_O_WRONLY | OS_O_CREAT); in sandbox_write_state()
H A Dcpu.c264 fd = os_open(fname, OS_O_RDONLY); in sandbox_read_fdt_from_file()
/openbmc/u-boot/fs/sandbox/
H A Dsandboxfs.c25 fd = os_open(filename, OS_O_RDONLY); in sandbox_fs_read_at()
62 fd = os_open(filename, OS_O_RDWR | OS_O_CREAT); in sandbox_fs_write_at()
/openbmc/u-boot/drivers/block/
H A Dsandbox.c123 fd = os_open(filename, OS_O_RDWR);
173 host_dev->fd = os_open(host_dev->filename, OS_O_RDWR);
/openbmc/u-boot/include/
H A Dos.h61 int os_open(const char *pathname, int flags);
/openbmc/u-boot/lib/
H A Dfdtdec_test.c111 fd = os_open("/tmp/fdtdec-text.dtb", OS_O_CREAT | OS_O_WRONLY); in make_fdt()
/openbmc/u-boot/test/dm/
H A Dvideo.c286 fd = os_open(fname, OS_O_RDONLY); in read_file()
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_flash.c398 priv->fd = os_open(plat->pathname, OS_O_RDONLY); in sandbox_flash_probe()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsandbox.c175 sbsf->fd = os_open(pdata->filename, 02); in sandbox_sf_probe()