snap_name         196 drivers/block/rbd.c 	const char	*snap_name;
snap_name        1204 drivers/block/rbd.c 	const char *snap_name;
snap_name        1210 drivers/block/rbd.c 	snap_name = rbd_dev->header.snap_names;
snap_name        1212 drivers/block/rbd.c 		snap_name += strlen(snap_name) + 1;
snap_name        1214 drivers/block/rbd.c 	return kstrdup(snap_name, GFP_KERNEL);
snap_name        1256 drivers/block/rbd.c 	const char *snap_name;
snap_name        1262 drivers/block/rbd.c 	snap_name = _rbd_dev_v1_snap_name(rbd_dev, which);
snap_name        1263 drivers/block/rbd.c 	return snap_name ? snap_name : ERR_PTR(-ENOMEM);
snap_name        5340 drivers/block/rbd.c 	return sprintf(buf, "%s\n", rbd_dev->spec->snap_name);
snap_name        5379 drivers/block/rbd.c 			    spec->snap_id, spec->snap_name,
snap_name        5494 drivers/block/rbd.c 	kfree(spec->snap_name);
snap_name        6130 drivers/block/rbd.c 	const char *snap_name;
snap_name        6135 drivers/block/rbd.c 	snap_name = rbd_dev->header.snap_names;
snap_name        6137 drivers/block/rbd.c 		if (!strcmp(name, snap_name))
snap_name        6139 drivers/block/rbd.c 		snap_name += strlen(snap_name) + 1;
snap_name        6153 drivers/block/rbd.c 		const char *snap_name;
snap_name        6156 drivers/block/rbd.c 		snap_name = rbd_dev_v2_snap_name(rbd_dev, snap_id);
snap_name        6157 drivers/block/rbd.c 		if (IS_ERR(snap_name)) {
snap_name        6159 drivers/block/rbd.c 			if (PTR_ERR(snap_name) == -ENOENT)
snap_name        6164 drivers/block/rbd.c 		found = !strcmp(name, snap_name);
snap_name        6165 drivers/block/rbd.c 		kfree(snap_name);
snap_name        6191 drivers/block/rbd.c 	rbd_assert(spec->snap_name);
snap_name        6193 drivers/block/rbd.c 	if (strcmp(spec->snap_name, RBD_SNAP_HEAD_NAME)) {
snap_name        6196 drivers/block/rbd.c 		snap_id = rbd_snap_id_by_name(rbd_dev, spec->snap_name);
snap_name        6220 drivers/block/rbd.c 	const char *snap_name;
snap_name        6246 drivers/block/rbd.c 	snap_name = rbd_snap_name(rbd_dev, spec->snap_id);
snap_name        6247 drivers/block/rbd.c 	if (IS_ERR(snap_name)) {
snap_name        6248 drivers/block/rbd.c 		ret = PTR_ERR(snap_name);
snap_name        6254 drivers/block/rbd.c 	spec->snap_name = snap_name;
snap_name        6345 drivers/block/rbd.c 	char *snap_name;
snap_name        6358 drivers/block/rbd.c 		snap_name = ERR_PTR(ret);
snap_name        6364 drivers/block/rbd.c 	snap_name = ceph_extract_encoded_string(&p, end, NULL, GFP_KERNEL);
snap_name        6365 drivers/block/rbd.c 	if (IS_ERR(snap_name))
snap_name        6369 drivers/block/rbd.c 		(unsigned long long)snap_id, snap_name);
snap_name        6373 drivers/block/rbd.c 	return snap_name;
snap_name        6512 drivers/block/rbd.c 	char *snap_name;
snap_name        6570 drivers/block/rbd.c 	snap_name = kmemdup(buf, len + 1, GFP_KERNEL);
snap_name        6571 drivers/block/rbd.c 	if (!snap_name)
snap_name        6573 drivers/block/rbd.c 	*(snap_name + len) = '\0';
snap_name        6574 drivers/block/rbd.c 	pctx.spec->snap_name = snap_name;
snap_name        7009 drivers/block/rbd.c 				rbd_dev->spec->snap_name);