Lines Matching refs:lv_dev

545 	pe_lock_req.data.lv_dev = 0;  in lvm_init_vars()
1037 set_device_ro(lv_ptr->lv_dev, 0); in lvm_blk_ioctl()
1039 set_device_ro(lv_ptr->lv_dev, 1); in lvm_blk_ioctl()
1167 return put_user(kdev_t_to_nr(bh.b_rdev), &user_result->lv_dev) || in lvm_user_bmap()
1473 fsync_dev(pe_lock_req.data.lv_dev); in lvm_do_pe_lock_unlock()
1483 pe_lock_req.data.lv_dev = new_lock.data.lv_dev; in lvm_do_pe_lock_unlock()
1495 pe_lock_req.data.lv_dev = 0; in lvm_do_pe_lock_unlock()
1820 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = in lvm_do_vg_rename()
2016 kdevname(lv->lv_dev), max_hardsectsize); in __update_hardsectsize()
2017 lvm_hardsectsizes[MINOR(lv->lv_dev)] = max_hardsectsize; in __update_hardsectsize()
2235 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].start_sect = 0; in lvm_do_lv_create()
2236 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].nr_sects = lv_ptr->lv_size; in lvm_do_lv_create()
2237 lvm_size[MINOR(lv_ptr->lv_dev)] = lv_ptr->lv_size >> 1; in lvm_do_lv_create()
2238 vg_lv_map[MINOR(lv_ptr->lv_dev)].vg_number = vg_ptr->vg_number; in lvm_do_lv_create()
2239 vg_lv_map[MINOR(lv_ptr->lv_dev)].lv_number = lv_ptr->lv_number; in lvm_do_lv_create()
2252 fsync_dev(org->lv_dev); in lvm_do_lv_create()
2255 fsync_dev_lockfs(org->lv_dev); in lvm_do_lv_create()
2278 set_device_ro(lv_ptr->lv_dev, 0); in lvm_do_lv_create()
2280 set_device_ro(lv_ptr->lv_dev, 1); in lvm_do_lv_create()
2285 unlockfs(lv_ptr->lv_snapshot_org->lv_dev); in lvm_do_lv_create()
2288 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = in lvm_do_lv_create()
2364 fsync_dev(lv_ptr->lv_dev); in lvm_do_lv_remove()
2369 invalidate_buffers(lv_ptr->lv_dev); in lvm_do_lv_remove()
2372 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].start_sect = -1; in lvm_do_lv_remove()
2373 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].nr_sects = 0; in lvm_do_lv_remove()
2374 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = 0; in lvm_do_lv_remove()
2375 lvm_size[MINOR(lv_ptr->lv_dev)] = 0; in lvm_do_lv_remove()
2378 vg_lv_map[MINOR(lv_ptr->lv_dev)].vg_number = ABS_MAX_VG; in lvm_do_lv_remove()
2379 vg_lv_map[MINOR(lv_ptr->lv_dev)].lv_number = -1; in lvm_do_lv_remove()
2606 lvm_gendisk.part[MINOR(old_lv->lv_dev)].nr_sects = in lvm_do_lv_extend_reduce()
2608 lvm_size[MINOR(old_lv->lv_dev)] = old_lv->lv_size >> 1; in lvm_do_lv_extend_reduce()
2623 lvm_gendisk.part[MINOR(snap->lv_dev)]. in lvm_do_lv_extend_reduce()
2625 lvm_size[MINOR(snap->lv_dev)] = in lvm_do_lv_extend_reduce()
2769 if (vg_ptr->lv[l]->lv_dev == lv_status_bydev_req.dev) in lvm_do_lv_status_bydev()
2822 if (lv_ptr->lv_dev == lv->lv_dev) { in lvm_do_lv_rename()
2826 lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = in lvm_do_lv_rename()