• Home
  • Raw
  • Download

Lines Matching refs:vol_id

66 		ubi_err("%d users for volume %d", users, vol->vol_id);  in get_exclusive()
106 int vol_id = iminor(inode) - 1, mode, ubi_num; in vol_cdev_open() local
118 ubi_num, vol_id, mode); in vol_cdev_open()
120 desc = ubi_open_volume(ubi_num, vol_id, mode); in vol_cdev_open()
134 vol->ubi->ubi_num, vol->vol_id, desc->mode); in vol_cdev_release()
138 vol->vol_id); in vol_cdev_release()
145 vol->vol_id); in vol_cdev_release()
186 vol->vol_id, offset, origin, new_offset); in vol_cdev_llseek()
217 count, *offp, vol->vol_id); in vol_cdev_read()
231 dbg_gen("read from corrupted volume %d", vol->vol_id); in vol_cdev_read()
297 count, *offp, vol->vol_id); in vol_cdev_direct_write()
392 err = ubi_check_volume(ubi, vol->vol_id); in vol_cdev_write()
398 vol->vol_id, ubi->ubi_num); in vol_cdev_write()
513 dbg_gen("erase LEB %d:%d", vol->vol_id, lnum); in vol_cdev_ioctl()
611 if ((req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots) && in verify_mkvol_req()
612 req->vol_id != UBI_VOL_NUM_AUTO) in verify_mkvol_req()
665 if (req->vol_id < 0 || req->vol_id >= ubi->vtbl_slots) in verify_rsvol_req()
696 if (req->ents[i].vol_id < 0 || in rename_volumes()
697 req->ents[i].vol_id >= ubi->vtbl_slots) in rename_volumes()
712 if (req->ents[i].vol_id == req->ents[n].vol_id) { in rename_volumes()
714 req->ents[i].vol_id); in rename_volumes()
728 int vol_id = req->ents[i].vol_id; in rename_volumes() local
738 re->desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_EXCLUSIVE); in rename_volumes()
741 ubi_err("cannot open volume %d, error %d", vol_id, err); in rename_volumes()
758 vol_id, re->desc->vol->name, name); in rename_volumes()
816 re1->desc->vol->vol_id, re1->desc->vol->name); in rename_volumes()
870 err = put_user(req.vol_id, (__user int32_t *)argp); in ubi_cdev_ioctl()
880 int vol_id; in ubi_cdev_ioctl() local
883 err = get_user(vol_id, (__user int32_t *)argp); in ubi_cdev_ioctl()
889 desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_EXCLUSIVE); in ubi_cdev_ioctl()
925 desc = ubi_open_volume(ubi->ubi_num, req.vol_id, UBI_EXCLUSIVE); in ubi_cdev_ioctl()