Lines Matching defs:name

39  * poolname must be the name of an existing rados pool.
41 * devicename is the name of the rbd image.
181 error_setg(errp, "File name must start with 'rbd:'");
190 error_setg(errp, "Pool name is required");
222 char *name, *value;
223 name = qemu_rbd_next_tok(p, '=', &p);
225 error_setg(errp, "conf option %s has no value", name);
229 qemu_rbd_unescape(name);
234 if (!strcmp(name, "conf")) {
236 } else if (!strcmp(name, "id")) {
250 qlist_append_str(keypairs, name);
311 QString *name;
326 name = qobject_to(QString, qlist_pop(keypairs));
328 assert(name && value);
329 key = qstring_get_str(name);
335 qobject_unref(name);
339 qobject_unref(name);
740 error_setg(errp, "Can't use snapshot name for image creation");
1674 if (sn_info->name[0] == '\0') {
1675 return -EINVAL; /* we need a name for rbd snapshots */
1679 * rbd snapshots are using the name as the user controlled unique identifier
1683 strcmp(sn_info->id_str, sn_info->name) != 0) {
1687 if (strlen(sn_info->name) >= sizeof(sn_info->id_str)) {
1691 r = rbd_snap_create(s->image, sn_info->name);
1709 error_setg(errp, "rbd need a valid snapshot name");
1713 /* If snapshot_id is specified, it must be equal to name, see
1718 "equal to snapshot name");
1761 const char *snap_name = snaps[i].name;
1765 pstrcpy(sn_info->name, sizeof(sn_info->name), snap_name);
1791 .name = "rbd-create-opts",
1795 .name = BLOCK_OPT_SIZE,
1800 .name = BLOCK_OPT_CLUSTER_SIZE,
1805 .name = "password-secret",
1810 .name = "encrypt.format",
1815 .name = "encrypt.cipher-alg",
1821 .name = "encrypt.key-secret",