Lines Matching refs:vg_t
322 static int lvm_do_le_remap(vg_t *, void *);
324 static int lvm_do_pv_create(pv_t *, vg_t *, ulong);
325 static int lvm_do_pv_remove(vg_t *, ulong);
329 static int lvm_do_lv_rename(vg_t *, lv_req_t *, lv_t *);
330 static int lvm_do_lv_status_byname(vg_t * r, void *);
331 static int lvm_do_lv_status_byindex(vg_t *, void *);
332 static int lvm_do_lv_status_bydev(vg_t *, void *);
334 static int lvm_do_pe_lock_unlock(vg_t * r, void *);
336 static int lvm_do_pv_change(vg_t *, void *);
337 static int lvm_do_pv_status(vg_t *, void *);
341 static int lvm_do_vg_extend(vg_t *, void *);
342 static int lvm_do_vg_reduce(vg_t *, void *);
343 static int lvm_do_vg_rename(vg_t *, void *);
373 vg_t *vg[ABS_MAX_VG + 1];
618 vg_t *vg_ptr = vg[VG_CHR(minor)]; in lvm_chr_ioctl()
725 if (copy_to_user(arg, vg_ptr, sizeof(vg_t)) != 0) in lvm_chr_ioctl()
878 vg_t *vg_ptr = vg[VG_BLK(minor)]; in lvm_blk_open()
983 vg_t *vg_ptr = vg[VG_BLK(minor)]; in lvm_blk_ioctl()
1086 vg_t *vg_ptr = vg[VG_BLK(minor)]; in lvm_blk_close()
1178 ulong pe_start, lv_t * lv, vg_t * vg) in __remap_snapshot()
1194 ulong pe_start, lv_t * lv, vg_t * vg) in _remap_snapshot()
1248 vg_t *vg_this = vg[VG_BLK(minor)]; in lvm_map()
1445 static int lvm_do_pe_lock_unlock(vg_t * vg_ptr, void *arg) in lvm_do_pe_lock_unlock()
1515 static int lvm_do_le_remap(vg_t * vg_ptr, void *arg) in lvm_do_le_remap()
1564 vg_t *vg_ptr; in lvm_do_vg_create()
1567 if ((vg_ptr = kmalloc(sizeof(vg_t), GFP_KERNEL)) == NULL) { in lvm_do_vg_create()
1574 if (copy_from_user(vg_ptr, arg, sizeof(vg_t)) != 0) { in lvm_do_vg_create()
1577 arg, sizeof(vg_t)); in lvm_do_vg_create()
1705 static int lvm_do_vg_extend(vg_t * vg_ptr, void *arg) in lvm_do_vg_extend()
1732 static int lvm_do_vg_reduce(vg_t * vg_ptr, void *arg) in lvm_do_vg_reduce()
1763 static int lvm_do_vg_rename(vg_t * vg_ptr, void *arg) in lvm_do_vg_rename()
1834 vg_t *vg_ptr = vg[VG_CHR(minor)]; in lvm_do_vg_remove()
1895 static int lvm_do_pv_create(pv_t * pvp, vg_t * vg_ptr, ulong p) in lvm_do_pv_create()
1943 static int lvm_do_pv_remove(vg_t * vg_ptr, ulong p) in lvm_do_pv_remove()
2028 vg_t *vg_ptr = vg[VG_CHR(minor)]; in lvm_do_lv_create()
2300 vg_t *vg_ptr = vg[VG_CHR(minor)]; in lvm_do_lv_remove()
2409 static int __extend_reduce_snapshot(vg_t * vg_ptr, lv_t * old_lv, in __extend_reduce_snapshot()
2442 static int __extend_reduce(vg_t * vg_ptr, lv_t * old_lv, lv_t * new_lv) in __extend_reduce()
2533 vg_t *vg_ptr = vg[VG_CHR(minor)]; in lvm_do_lv_extend_reduce()
2643 static int lvm_do_lv_status_byname(vg_t * vg_ptr, void *arg) in lvm_do_lv_status_byname()
2700 static int lvm_do_lv_status_byindex(vg_t * vg_ptr, void *arg) in lvm_do_lv_status_byindex()
2752 static int lvm_do_lv_status_bydev(vg_t * vg_ptr, void *arg) in lvm_do_lv_status_bydev()
2810 static int lvm_do_lv_rename(vg_t * vg_ptr, lv_req_t * lv_req, lv_t * lv) in lvm_do_lv_rename()
2841 static int lvm_do_pv_change(vg_t * vg_ptr, void *arg) in lvm_do_pv_change()
2877 static int lvm_do_pv_status(vg_t * vg_ptr, void *arg) in lvm_do_pv_status()