Lines Matching defs:uuid
42 vbdev_get_lvol_store_by_uuid_xor_name(const char *uuid, const char *lvs_name,
45 if ((uuid == NULL && lvs_name == NULL)) {
48 } else if ((uuid && lvs_name)) {
49 SPDK_INFOLOG(lvol_rpc, "both lvs UUID '%s' and lvs name '%s' specified\n", uuid,
52 } else if (uuid) {
53 *lvs = vbdev_get_lvol_store_by_uuid(uuid);
56 SPDK_INFOLOG(lvol_rpc, "blobstore with UUID '%s' not found\n", uuid);
99 spdk_json_write_uuid(w, &lvol_store->uuid);
221 char *uuid;
228 free(req->uuid);
233 {"uuid", offsetof(struct rpc_bdev_lvol_delete_lvstore, uuid), spdk_json_decode_string, true},
271 rc = vbdev_get_lvol_store_by_uuid_xor_name(req.uuid, req.lvs_name, &lvs);
285 char *uuid;
296 free(req->uuid);
303 {"uuid", offsetof(struct rpc_bdev_lvol_create, uuid), spdk_json_decode_string, true},
351 rc = vbdev_get_lvol_store_by_uuid_xor_name(req.uuid, req.lvs_name, &lvs);
1001 struct spdk_uuid uuid;
1023 if (spdk_uuid_parse(&uuid, req.name) == 0) {
1024 lvol = spdk_lvol_get_by_uuid(&uuid);
1056 char *uuid;
1063 free(req->uuid);
1068 {"uuid", offsetof(struct rpc_bdev_lvol_get_lvstores, uuid), spdk_json_decode_string, true},
1083 spdk_json_write_named_uuid(w, "uuid", &lvs_bdev->lvs->uuid);
1114 rc = vbdev_get_lvol_store_by_uuid_xor_name(req.uuid, req.lvs_name, &lvs);
1174 spdk_json_write_named_string(w, "uuid", lvol->uuid_str);
1186 spdk_json_write_named_uuid(w, "uuid", &lvs->uuid);
1260 char *uuid;
1267 free(req->uuid);
1272 {"uuid", offsetof(struct rpc_bdev_lvol_grow_lvstore, uuid), spdk_json_decode_string, true},
1310 rc = vbdev_get_lvol_store_by_uuid_xor_name(req.uuid, req.lvs_name, &lvs);