Lines Matching refs:src
50 static int nbd_get_partition(const char *src);
53 bool attach_nbd(char *src, struct lxc_conf *conf)
55 char *orig = alloca(strlen(src)+1), *p, path[50];
58 strcpy(orig, src);
122 if (!bdev->src || !bdev->dest)
128 partition = nbd_get_partition(bdev->src);
146 ERROR("Error mounting %s", bdev->src);
157 if (!bdev->src || !bdev->dest)
286 static int nbd_get_partition(const char *src)
288 char *p = strchr(src, ':');