Searched refs:os_open (Results 1 – 10 of 10) sorted by relevance
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | os.c | 59 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 D | state.c | 61 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 D | cpu.c | 264 fd = os_open(fname, OS_O_RDONLY); in sandbox_read_fdt_from_file()
|
/openbmc/u-boot/fs/sandbox/ |
H A D | sandboxfs.c | 25 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 D | sandbox.c | 123 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 D | os.h | 61 int os_open(const char *pathname, int flags);
|
/openbmc/u-boot/lib/ |
H A D | fdtdec_test.c | 111 fd = os_open("/tmp/fdtdec-text.dtb", OS_O_CREAT | OS_O_WRONLY); in make_fdt()
|
/openbmc/u-boot/test/dm/ |
H A D | video.c | 286 fd = os_open(fname, OS_O_RDONLY); in read_file()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_flash.c | 398 priv->fd = os_open(plat->pathname, OS_O_RDONLY); in sandbox_flash_probe()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sandbox.c | 175 sbsf->fd = os_open(pdata->filename, 02); in sandbox_sf_probe()
|