Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/block/
Drbd_types.h95 __le64 snap_names_len; member
Drbd.c968 if ((u64) size < le64_to_cpu(ondisk->snap_names_len)) in rbd_dev_ondisk_valid()
1034 u64 snap_names_len = le64_to_cpu(ondisk->snap_names_len); in rbd_header_from_disk() local
1038 if (snap_names_len > (u64)SIZE_MAX) in rbd_header_from_disk()
1040 snap_names = kmalloc(snap_names_len, GFP_KERNEL); in rbd_header_from_disk()
1060 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()
4829 names_size = le64_to_cpu(ondisk->snap_names_len); in rbd_dev_v1_header_info()