Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/env/
H A Dfw_env.c1001 static int flash_write (int fd_current, int fd_target, int dev_target) in flash_write() argument
1025 rc = flash_write_buf(dev_target, fd_target, environment.image, in flash_write()
1059 int fd_current, fd_target, rc, dev_target; in flash_io() local
1075 fd_target = open (DEVNAME (dev_target), mode); in flash_io()
1076 if (fd_target < 0) { in flash_io()
1086 fd_target = fd_current; in flash_io()
1089 rc = flash_write (fd_current, fd_target, dev_target); in flash_io()
1099 if (fsync(fd_target) && in flash_io()
1106 if (close (fd_target)) { in flash_io()