Lines Matching refs:off
10 static int get_part(const char *partname, int *idx, loff_t *off, loff_t *size,
32 *off = part->offset;
44 int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size,
47 if (!str2off(arg, off))
48 return get_part(arg, idx, off, size, maxsize, devtype);
50 if (*off >= chipsize) {
55 *maxsize = chipsize - *off;
60 int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off,
67 *off = 0;
73 ret = mtd_arg_off(argv[0], idx, off, size, maxsize, devtype,
102 (unsigned long long)*off, (unsigned long long)*size);