• Home
  • Raw
  • Download

Lines Matching refs:DEVNAME

77 #define DEVNAME(i)    envdevices[(i)].devname  macro
246 char *devname = (char *)DEVNAME(dev_id); in ubi_check_dev()
251 if (!is_ubi_devname(DEVNAME(dev_id))) in ubi_check_dev()
274 DEVNAME(dev_id) = volume_devname; in ubi_check_dev()
947 DEVNAME(dev), strerror(errno)); in flash_read_buf()
953 DEVNAME(dev)); in flash_read_buf()
1098 DEVNAME(dev), strerror(errno)); in flash_write_buf()
1106 DEVNAME(dev), strerror(errno)); in flash_write_buf()
1116 DEVNAME(dev), strerror(errno)); in flash_write_buf()
1148 DEVNAME(dev)); in flash_flag_obsolete()
1181 DEVOFFSET(dev_target), DEVNAME(dev_target)); in flash_write()
1202 DEVOFFSET(dev_current), DEVNAME(dev_current)); in flash_write()
1230 char *dup_name = strdup(DEVNAME(dev_current)); in flash_open_tempfile()
1275 fd_target = open(DEVNAME(dev_target), O_RDWR); in flash_io_write()
1279 DEVNAME(dev_target), strerror(errno)); in flash_io_write()
1302 DEVNAME(dev_current), strerror(errno)); in flash_io_write()
1310 DEVNAME(dev_current), strerror(errno)); in flash_io_write()
1316 DEVNAME(dev_target), strerror(errno)); in flash_io_write()
1329 if (rename(target_temp, DEVNAME(dev_target))) { in flash_io_write()
1332 target_temp, DEVNAME(dev_target), in flash_io_write()
1357 fd_current = open(DEVNAME(dev_current), mode); in flash_io()
1361 DEVNAME(dev_current), strerror(errno)); in flash_io()
1374 DEVNAME(dev_current), strerror(errno)); in flash_io()
1559 fprintf(stderr, "Selected env in %s\n", DEVNAME(dev_current)); in fw_env_open()
1596 fd = open(DEVNAME(dev), O_RDONLY); in check_device_config()
1599 "Cannot open %s: %s\n", DEVNAME(dev), strerror(errno)); in check_device_config()
1605 fprintf(stderr, "Cannot stat the file %s\n", DEVNAME(dev)); in check_device_config()
1613 DEVNAME(dev)); in check_device_config()
1621 DEVNAME(dev)); in check_device_config()
1629 mtdinfo.type, DEVNAME(dev)); in check_device_config()
1652 DEVNAME(dev)); in check_device_config()
1660 DEVOFFSET(dev), DEVNAME(dev)); in check_device_config()
1703 DEVNAME(0) = DEVICE1_NAME; in parse_config()
1718 DEVNAME(1) = DEVICE2_NAME; in parse_config()
1784 DEVNAME(i) = devname; in get_config()