Lines Matching refs:snap_names
158 char *snap_names; /* format 1 only */ member
1002 kfree(header->snap_names); in rbd_image_header_cleanup()
1017 char *snap_names = NULL; in rbd_header_from_disk() local
1048 snap_names = kmalloc(snap_names_len, GFP_KERNEL); in rbd_header_from_disk()
1049 if (!snap_names) in rbd_header_from_disk()
1068 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()
1087 header->snap_names = snap_names; in rbd_header_from_disk()
1095 kfree(snap_names); in rbd_header_from_disk()
1110 snap_name = rbd_dev->header.snap_names; in _rbd_dev_v1_snap_name()
5920 snap_name = rbd_dev->header.snap_names; in rbd_v1_snap_id_by_name()
6998 kfree(rbd_dev->header.snap_names); in rbd_dev_update_header()
6999 rbd_dev->header.snap_names = header->snap_names; in rbd_dev_update_header()
7000 header->snap_names = NULL; in rbd_dev_update_header()