Home
last modified time | relevance | path

Searched refs:snap_count (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/ceph/
Dsnapshot.c27 struct ceph_snap_context *ceph_create_snap_context(u32 snap_count, in ceph_create_snap_context() argument
34 size += snap_count * sizeof (snapc->snaps[0]); in ceph_create_snap_context()
40 snapc->num_snaps = snap_count; in ceph_create_snap_context()
/linux-6.1.9/drivers/block/
Drbd_types.h93 __le32 snap_count; member
Drbd.c938 u32 snap_count; in rbd_dev_ondisk_valid() local
958 snap_count = le32_to_cpu(ondisk->snap_count); in rbd_dev_ondisk_valid()
960 if (snap_count > size / sizeof (__le64)) in rbd_dev_ondisk_valid()
967 size -= snap_count * sizeof (__le64); in rbd_dev_ondisk_valid()
1011 u32 snap_count; in rbd_header_from_disk() local
1027 snap_count = le32_to_cpu(ondisk->snap_count); in rbd_header_from_disk()
1028 snapc = ceph_create_snap_context(snap_count, GFP_KERNEL); in rbd_header_from_disk()
1032 if (snap_count) { in rbd_header_from_disk()
1045 snap_sizes = kmalloc_array(snap_count, in rbd_header_from_disk()
1060 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()
[all …]
/linux-6.1.9/include/linux/ceph/
Dlibceph.h180 extern struct ceph_snap_context *ceph_create_snap_context(u32 snap_count,