Lines Matching defs:bdev
64 struct bdev;
67 /* detect whether path is of this bdev type */
70 int (*mount)(struct bdev *bdev);
71 int (*umount)(struct bdev *bdev);
72 int (*destroy)(struct bdev *bdev);
73 int (*create)(struct bdev *bdev, const char *dest, const char *n,
76 int (*clone_paths)(struct bdev *orig, struct bdev *new, const char *oldname,
90 struct bdev {
107 * Instantiate a bdev object. The src is used to determine which blockdev
117 struct bdev *bdev_init(struct lxc_conf *conf, const char *src, const char *dst,
120 struct bdev *bdev_copy(struct lxc_container *c0, const char *cname,
124 struct bdev *bdev_create(const char *dest, const char *type,
126 void bdev_put(struct bdev *bdev);
133 * (bdev_utils.{c,h}) which can be included in bdev.c?
135 int blk_getsize(struct bdev *bdev, uint64_t *size);
136 int detect_fs(struct bdev *bdev, char *type, int len);
138 int is_blktype(struct bdev *b);