Home
last modified time | relevance | path

Searched refs:snap_names_len (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/block/
Drbd_types.h95 __le64 snap_names_len; member
Drbd.c967 if ((u64) size < le64_to_cpu(ondisk->snap_names_len)) in rbd_dev_ondisk_valid()
1042 u64 snap_names_len = le64_to_cpu(ondisk->snap_names_len); in rbd_header_from_disk() local
1046 if (snap_names_len > (u64)SIZE_MAX) in rbd_header_from_disk()
1048 snap_names = kmalloc(snap_names_len, GFP_KERNEL); in rbd_header_from_disk()
1068 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()
4910 names_size = le64_to_cpu(ondisk->snap_names_len); in rbd_dev_v1_header_info()