Lines Matching refs:parent_spec

434 	struct rbd_spec		*parent_spec;  member
1513 rbd_spec_put(rbd_dev->parent_spec); in rbd_dev_unparent()
1514 rbd_dev->parent_spec = NULL; in rbd_dev_unparent()
1528 if (!rbd_dev->parent_spec) in rbd_dev_parent_put()
1555 if (!rbd_dev->parent_spec) in rbd_dev_parent_get()
5125 struct rbd_spec *spec = rbd_dev->parent_spec; in rbd_parent_show()
5707 struct rbd_spec *parent_spec; in rbd_dev_v2_parent_info() local
5711 parent_spec = rbd_spec_alloc(); in rbd_dev_v2_parent_info()
5712 if (!parent_spec) in rbd_dev_v2_parent_info()
5761 if (!rbd_dev->parent_spec) { in rbd_dev_v2_parent_info()
5762 parent_spec->pool_id = pii.pool_id; in rbd_dev_v2_parent_info()
5764 parent_spec->pool_ns = pii.pool_ns; in rbd_dev_v2_parent_info()
5767 parent_spec->image_id = pii.image_id; in rbd_dev_v2_parent_info()
5769 parent_spec->snap_id = pii.snap_id; in rbd_dev_v2_parent_info()
5771 rbd_dev->parent_spec = parent_spec; in rbd_dev_v2_parent_info()
5772 parent_spec = NULL; /* rbd_dev now owns this */ in rbd_dev_v2_parent_info()
5780 if (parent_spec) { in rbd_dev_v2_parent_info()
5797 rbd_spec_put(parent_spec); in rbd_dev_v2_parent_info()
6730 if (!rbd_dev->parent_spec) in rbd_dev_probe_parent()
6739 parent = __rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec); in rbd_dev_probe_parent()
6750 rbd_spec_get(rbd_dev->parent_spec); in rbd_dev_probe_parent()
7122 rbd_assert(first->parent_spec); in rbd_dev_remove_parent()
7123 rbd_spec_put(first->parent_spec); in rbd_dev_remove_parent()
7124 first->parent_spec = NULL; in rbd_dev_remove_parent()