Lines Matching refs:ubi_num
52 * @ubi_num: UBI device number this gluebi device works on
60 int ubi_num;
71 * @ubi_num: UBI device number
75 * @ubi_num and UBI volume @vol_id. Returns the gluebi device description
79 static struct gluebi_device *find_gluebi_nolock(int ubi_num, int vol_id)
84 if (gluebi->ubi_num == ubi_num && gluebi->vol_id == vol_id)
128 gluebi->desc = ubi_open_volume(gluebi->ubi_num, gluebi->vol_id,
336 gluebi->ubi_num = vi->ubi_num;
361 g = find_gluebi_nolock(vi->ubi_num, vi->vol_id);
364 "already exists", g->mtd.index, vi->ubi_num,
396 gluebi = find_gluebi_nolock(vi->ubi_num, vi->vol_id);
399 "volume %d", vi->ubi_num, vi->vol_id);
413 "volume %d, error %d", mtd->index, gluebi->ubi_num,
441 gluebi = find_gluebi_nolock(vi->ubi_num, vi->vol_id);
445 "volume %d", vi->ubi_num, vi->vol_id);
468 gluebi = find_gluebi_nolock(vi->ubi_num, vi->vol_id);
472 "volume %d", vi->ubi_num, vi->vol_id);
531 mtd->index, gluebi->ubi_num, gluebi->vol_id);