ubi_num 59 drivers/mtd/ubi/block.c int ubi_num; ubi_num 77 drivers/mtd/ubi/block.c int ubi_num; ubi_num 136 drivers/mtd/ubi/block.c ret = kstrtoint(tokens[0], 10, ¶m->ubi_num); ubi_num 150 drivers/mtd/ubi/block.c param->ubi_num = -1; ubi_num 174 drivers/mtd/ubi/block.c static struct ubiblock *find_dev_nolock(int ubi_num, int vol_id) ubi_num 179 drivers/mtd/ubi/block.c if (dev->ubi_num == ubi_num && dev->vol_id == vol_id) ubi_num 243 drivers/mtd/ubi/block.c dev->desc = ubi_open_volume(dev->ubi_num, dev->vol_id, UBI_READONLY); ubi_num 246 drivers/mtd/ubi/block.c dev->ubi_num, dev->vol_id); ubi_num 380 drivers/mtd/ubi/block.c if (find_dev_nolock(vi->ubi_num, vi->vol_id)) { ubi_num 393 drivers/mtd/ubi/block.c dev->ubi_num = vi->ubi_num; ubi_num 415 drivers/mtd/ubi/block.c sprintf(gd->disk_name, "ubiblock%d_%d", dev->ubi_num, dev->vol_id); ubi_num 459 drivers/mtd/ubi/block.c dev->ubi_num, dev->vol_id, vi->name); ubi_num 499 drivers/mtd/ubi/block.c dev = find_dev_nolock(vi->ubi_num, vi->vol_id); ubi_num 540 drivers/mtd/ubi/block.c dev = find_dev_nolock(vi->ubi_num, vi->vol_id); ubi_num 606 drivers/mtd/ubi/block.c open_volume_desc(const char *name, int ubi_num, int vol_id) ubi_num 608 drivers/mtd/ubi/block.c if (ubi_num == -1) ubi_num 613 drivers/mtd/ubi/block.c return ubi_open_volume_nm(ubi_num, name, UBI_READONLY); ubi_num 615 drivers/mtd/ubi/block.c return ubi_open_volume(ubi_num, vol_id, UBI_READONLY); ubi_num 634 drivers/mtd/ubi/block.c desc = open_volume_desc(p->name, p->ubi_num, p->vol_id); ubi_num 638 drivers/mtd/ubi/block.c p->ubi_num, p->vol_id, PTR_ERR(desc)); ubi_num 649 drivers/mtd/ubi/block.c vi.name, p->ubi_num, p->vol_id, ret); ubi_num 58 drivers/mtd/ubi/build.c int ubi_num; ubi_num 253 drivers/mtd/ubi/build.c struct ubi_device *ubi_get_device(int ubi_num) ubi_num 258 drivers/mtd/ubi/build.c ubi = ubi_devices[ubi_num]; ubi_num 319 drivers/mtd/ubi/build.c int i, ubi_num = -ENODEV; ubi_num 326 drivers/mtd/ubi/build.c ubi_num = ubi->ubi_num; ubi_num 332 drivers/mtd/ubi/build.c return ubi_num; ubi_num 353 drivers/mtd/ubi/build.c ubi = ubi_get_device(ubi->ubi_num); ubi_num 441 drivers/mtd/ubi/build.c sprintf(ubi->ubi_name, UBI_NAME_STR "%d", ubi->ubi_num); ubi_num 464 drivers/mtd/ubi/build.c dev_set_name(&ubi->dev, UBI_NAME_STR "%d", ubi->ubi_num); ubi_num 804 drivers/mtd/ubi/build.c int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, ubi_num 856 drivers/mtd/ubi/build.c if (ubi_num == UBI_DEV_NUM_AUTO) { ubi_num 858 drivers/mtd/ubi/build.c for (ubi_num = 0; ubi_num < UBI_MAX_DEVICES; ubi_num++) ubi_num 859 drivers/mtd/ubi/build.c if (!ubi_devices[ubi_num]) ubi_num 861 drivers/mtd/ubi/build.c if (ubi_num == UBI_MAX_DEVICES) { ubi_num 867 drivers/mtd/ubi/build.c if (ubi_num >= UBI_MAX_DEVICES) ubi_num 871 drivers/mtd/ubi/build.c if (ubi_devices[ubi_num]) { ubi_num 872 drivers/mtd/ubi/build.c pr_err("ubi: ubi%i already exists\n", ubi_num); ubi_num 887 drivers/mtd/ubi/build.c ubi->ubi_num = ubi_num; ubi_num 960 drivers/mtd/ubi/build.c ubi_devices[ubi_num] = ubi; ubi_num 1007 drivers/mtd/ubi/build.c return ubi_num; ubi_num 1014 drivers/mtd/ubi/build.c ubi_devices[ubi_num] = NULL; ubi_num 1038 drivers/mtd/ubi/build.c int ubi_detach_mtd_dev(int ubi_num, int anyway) ubi_num 1042 drivers/mtd/ubi/build.c if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) ubi_num 1045 drivers/mtd/ubi/build.c ubi = ubi_get_device(ubi_num); ubi_num 1061 drivers/mtd/ubi/build.c ubi_devices[ubi_num] = NULL; ubi_num 1064 drivers/mtd/ubi/build.c ubi_assert(ubi_num == ubi->ubi_num); ubi_num 1228 drivers/mtd/ubi/build.c err = ubi_attach_mtd_dev(mtd, p->ubi_num, ubi_num 1269 drivers/mtd/ubi/build.c ubi_detach_mtd_dev(ubi_devices[k]->ubi_num, 1); ubi_num 1293 drivers/mtd/ubi/build.c ubi_detach_mtd_dev(ubi_devices[i]->ubi_num, 1); ubi_num 1417 drivers/mtd/ubi/build.c int err = kstrtoint(token, 10, &p->ubi_num); ubi_num 1425 drivers/mtd/ubi/build.c p->ubi_num = UBI_DEV_NUM_AUTO; ubi_num 95 drivers/mtd/ubi/cdev.c int vol_id = iminor(inode) - 1, mode, ubi_num; ubi_num 97 drivers/mtd/ubi/cdev.c ubi_num = ubi_major2num(imajor(inode)); ubi_num 98 drivers/mtd/ubi/cdev.c if (ubi_num < 0) ubi_num 99 drivers/mtd/ubi/cdev.c return ubi_num; ubi_num 107 drivers/mtd/ubi/cdev.c ubi_num, vol_id, mode); ubi_num 109 drivers/mtd/ubi/cdev.c desc = ubi_open_volume(ubi_num, vol_id, mode); ubi_num 123 drivers/mtd/ubi/cdev.c vol->ubi->ubi_num, vol->vol_id, desc->mode); ubi_num 133 drivers/mtd/ubi/cdev.c vol->upd_received, vol->upd_bytes, vol->ubi->ubi_num, ubi_num 165 drivers/mtd/ubi/cdev.c err = ubi_sync(ubi->ubi_num); ubi_num 367 drivers/mtd/ubi/cdev.c vol->vol_id, ubi->ubi_num); ubi_num 736 drivers/mtd/ubi/cdev.c re->desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_METAONLY); ubi_num 790 drivers/mtd/ubi/cdev.c desc = ubi_open_volume_nm(ubi->ubi_num, re->new_name, ubi_num 888 drivers/mtd/ubi/cdev.c desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_EXCLUSIVE); ubi_num 924 drivers/mtd/ubi/cdev.c desc = ubi_open_volume(ubi->ubi_num, req.vol_id, UBI_EXCLUSIVE); ubi_num 1027 drivers/mtd/ubi/cdev.c (req.ubi_num < 0 && req.ubi_num != UBI_DEV_NUM_AUTO)) { ubi_num 1043 drivers/mtd/ubi/cdev.c err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, ubi_num 1058 drivers/mtd/ubi/cdev.c int ubi_num; ubi_num 1061 drivers/mtd/ubi/cdev.c err = get_user(ubi_num, (__user int32_t *)argp); ubi_num 1068 drivers/mtd/ubi/cdev.c err = ubi_detach_mtd_dev(ubi_num, 0); ubi_num 250 drivers/mtd/ubi/debug.c unsigned long ubi_num = (unsigned long)file->private_data; ubi_num 257 drivers/mtd/ubi/debug.c ubi = ubi_get_device(ubi_num); ubi_num 313 drivers/mtd/ubi/debug.c unsigned long ubi_num = (unsigned long)file->private_data; ubi_num 321 drivers/mtd/ubi/debug.c ubi = ubi_get_device(ubi_num); ubi_num 505 drivers/mtd/ubi/debug.c unsigned long ubi_num = ubi->ubi_num; ubi_num 514 drivers/mtd/ubi/debug.c ubi->ubi_num); ubi_num 529 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 536 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 543 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 550 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 557 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 564 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 571 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 578 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 585 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, ubi_num 592 drivers/mtd/ubi/debug.c dent = debugfs_create_file(fname, S_IRUSR, d->dfs_dir, (void *)ubi_num, ubi_num 47 drivers/mtd/ubi/gluebi.c int ubi_num; ubi_num 66 drivers/mtd/ubi/gluebi.c static struct gluebi_device *find_gluebi_nolock(int ubi_num, int vol_id) ubi_num 71 drivers/mtd/ubi/gluebi.c if (gluebi->ubi_num == ubi_num && gluebi->vol_id == vol_id) ubi_num 112 drivers/mtd/ubi/gluebi.c gluebi->desc = ubi_open_volume(gluebi->ubi_num, gluebi->vol_id, ubi_num 296 drivers/mtd/ubi/gluebi.c gluebi->ubi_num = vi->ubi_num; ubi_num 321 drivers/mtd/ubi/gluebi.c g = find_gluebi_nolock(vi->ubi_num, vi->vol_id); ubi_num 324 drivers/mtd/ubi/gluebi.c g->mtd.index, vi->ubi_num, vi->vol_id); ubi_num 355 drivers/mtd/ubi/gluebi.c gluebi = find_gluebi_nolock(vi->ubi_num, vi->vol_id); ubi_num 358 drivers/mtd/ubi/gluebi.c vi->ubi_num, vi->vol_id); ubi_num 372 drivers/mtd/ubi/gluebi.c mtd->index, gluebi->ubi_num, gluebi->vol_id, err); ubi_num 399 drivers/mtd/ubi/gluebi.c gluebi = find_gluebi_nolock(vi->ubi_num, vi->vol_id); ubi_num 403 drivers/mtd/ubi/gluebi.c vi->ubi_num, vi->vol_id); ubi_num 426 drivers/mtd/ubi/gluebi.c gluebi = find_gluebi_nolock(vi->ubi_num, vi->vol_id); ubi_num 430 drivers/mtd/ubi/gluebi.c vi->ubi_num, vi->vol_id); ubi_num 488 drivers/mtd/ubi/gluebi.c err, mtd->index, gluebi->ubi_num, ubi_num 28 drivers/mtd/ubi/kapi.c di->ubi_num = ubi->ubi_num; ubi_num 46 drivers/mtd/ubi/kapi.c int ubi_get_device_info(int ubi_num, struct ubi_device_info *di) ubi_num 50 drivers/mtd/ubi/kapi.c if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) ubi_num 52 drivers/mtd/ubi/kapi.c ubi = ubi_get_device(ubi_num); ubi_num 71 drivers/mtd/ubi/kapi.c vi->ubi_num = ubi->ubi_num; ubi_num 114 drivers/mtd/ubi/kapi.c struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) ubi_num 121 drivers/mtd/ubi/kapi.c dbg_gen("open device %d, volume %d, mode %d", ubi_num, vol_id, mode); ubi_num 123 drivers/mtd/ubi/kapi.c if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) ubi_num 133 drivers/mtd/ubi/kapi.c ubi = ubi_get_device(ubi_num); ubi_num 202 drivers/mtd/ubi/kapi.c vol_id, ubi->ubi_num); ubi_num 218 drivers/mtd/ubi/kapi.c ubi_num, vol_id, err); ubi_num 232 drivers/mtd/ubi/kapi.c struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, ubi_num 239 drivers/mtd/ubi/kapi.c dbg_gen("open device %d, volume %s, mode %d", ubi_num, name, mode); ubi_num 248 drivers/mtd/ubi/kapi.c if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) ubi_num 251 drivers/mtd/ubi/kapi.c ubi = ubi_get_device(ubi_num); ubi_num 268 drivers/mtd/ubi/kapi.c ret = ubi_open_volume(ubi_num, vol_id, mode); ubi_num 291 drivers/mtd/ubi/kapi.c int error, ubi_num, vol_id; ubi_num 312 drivers/mtd/ubi/kapi.c ubi_num = ubi_major2num(MAJOR(stat.rdev)); ubi_num 315 drivers/mtd/ubi/kapi.c if (vol_id >= 0 && ubi_num >= 0) ubi_num 316 drivers/mtd/ubi/kapi.c return ubi_open_volume(ubi_num, vol_id, mode); ubi_num 331 drivers/mtd/ubi/kapi.c ubi->ubi_num, vol->vol_id, desc->mode); ubi_num 759 drivers/mtd/ubi/kapi.c int ubi_sync(int ubi_num) ubi_num 763 drivers/mtd/ubi/kapi.c ubi = ubi_get_device(ubi_num); ubi_num 785 drivers/mtd/ubi/kapi.c int ubi_flush(int ubi_num, int vol_id, int lnum) ubi_num 790 drivers/mtd/ubi/kapi.c ubi = ubi_get_device(ubi_num); ubi_num 155 drivers/mtd/ubi/misc.c pr_notice(UBI_NAME_STR "%d: %pV\n", ubi->ubi_num, &vaf); ubi_num 172 drivers/mtd/ubi/misc.c ubi->ubi_num, __builtin_return_address(0), &vaf); ubi_num 189 drivers/mtd/ubi/misc.c ubi->ubi_num, __builtin_return_address(0), &vaf); ubi_num 560 drivers/mtd/ubi/ubi.h int ubi_num; ubi_num 939 drivers/mtd/ubi/ubi.h int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, ubi_num 941 drivers/mtd/ubi/ubi.h int ubi_detach_mtd_dev(int ubi_num, int anyway); ubi_num 942 drivers/mtd/ubi/ubi.h struct ubi_device *ubi_get_device(int ubi_num); ubi_num 61 drivers/mtd/ubi/vmt.c ubi = ubi_get_device(vol->ubi->ubi_num); ubi_num 186 drivers/mtd/ubi/vmt.c ubi->ubi_num, vol_id, (unsigned long long)req->bytes, ubi_num 346 drivers/mtd/ubi/vmt.c dbg_gen("remove device %d, volume %d", ubi->ubi_num, vol_id); ubi_num 424 drivers/mtd/ubi/vmt.c ubi->ubi_num, vol_id, vol->reserved_pebs, reserved_pebs); ubi_num 1750 drivers/mtd/ubi/wl.c sprintf(ubi->bgt_name, UBI_BGT_NAME_PATTERN, ubi->ubi_num); ubi_num 2817 fs/ubifs/debug.c c->vi.ubi_num, c->vi.vol_id); ubi_num 17 fs/ubifs/misc.c c->vi.ubi_num, c->vi.vol_id, &vaf); ubi_num 34 fs/ubifs/misc.c c->vi.ubi_num, c->vi.vol_id, current->pid, ubi_num 53 fs/ubifs/misc.c c->vi.ubi_num, c->vi.vol_id, current->pid, ubi_num 443 fs/ubifs/super.c seq_printf(s, ",ubi=%d,vol=%d", c->vi.ubi_num, c->vi.vol_id); ubi_num 482 fs/ubifs/super.c return ubi_sync(c->vi.ubi_num); ubi_num 1328 fs/ubifs/super.c sprintf(c->bgt_name, BGT_NAME_PATTERN, c->vi.ubi_num, c->vi.vol_id); ubi_num 1510 fs/ubifs/super.c c->vi.ubi_num, c->vi.vol_id, c->vi.name, ubi_num 1618 fs/ubifs/super.c dbg_gen("un-mounting UBI device %d, volume %d", c->vi.ubi_num, ubi_num 1881 fs/ubifs/super.c ubifs_msg(c, "un-mount UBI device %d", c->vi.ubi_num); ubi_num 2125 fs/ubifs/super.c ubi_get_device_info(c->vi.ubi_num, &c->di); ubi_num 2138 fs/ubifs/super.c c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READWRITE); ubi_num 2158 fs/ubifs/super.c err = super_setup_bdi_name(sb, "ubifs_%d_%d", c->vi.ubi_num, ubi_num 2252 fs/ubifs/super.c dbg_gen("opened ubi%d_%d", c->vi.ubi_num, c->vi.vol_id); ubi_num 100 include/linux/mtd/ubi.h int ubi_num; ubi_num 177 include/linux/mtd/ubi.h int ubi_num; ubi_num 224 include/linux/mtd/ubi.h int ubi_get_device_info(int ubi_num, struct ubi_device_info *di); ubi_num 227 include/linux/mtd/ubi.h struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode); ubi_num 228 include/linux/mtd/ubi.h struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, ubi_num 249 include/linux/mtd/ubi.h int ubi_sync(int ubi_num); ubi_num 250 include/linux/mtd/ubi.h int ubi_flush(int ubi_num, int vol_id, int lnum); ubi_num 286 include/uapi/mtd/ubi-user.h __s32 ubi_num;