Searched refs:dev_current (Results 1 – 1 of 1) sorted by relevance
75 static int dev_current; variable85 #define CUR_ENVSIZE ENVSIZE(dev_current)1197 off_t offset = DEVOFFSET(dev_current) + in flash_write()1202 DEVOFFSET(dev_current), DEVNAME(dev_current)); in flash_write()1204 flash_flag_obsolete(dev_current, fd_current, offset); in flash_write()1214 if (IS_UBI(dev_current)) { in flash_read()1215 DEVTYPE(dev_current) = MTD_ABSENT; in flash_read()1220 rc = flash_read_buf(dev_current, fd, environment.image, CUR_ENVSIZE, in flash_read()1221 DEVOFFSET(dev_current)); in flash_read()1230 char *dup_name = strdup(DEVNAME(dev_current)); in flash_open_tempfile()[all …]