snap_count 1041 drivers/block/rbd.c u32 snap_count; snap_count 1061 drivers/block/rbd.c snap_count = le32_to_cpu(ondisk->snap_count); snap_count 1063 drivers/block/rbd.c if (snap_count > size / sizeof (__le64)) snap_count 1070 drivers/block/rbd.c size -= snap_count * sizeof (__le64); snap_count 1114 drivers/block/rbd.c u32 snap_count; snap_count 1130 drivers/block/rbd.c snap_count = le32_to_cpu(ondisk->snap_count); snap_count 1131 drivers/block/rbd.c snapc = ceph_create_snap_context(snap_count, GFP_KERNEL); snap_count 1135 drivers/block/rbd.c if (snap_count) { snap_count 1148 drivers/block/rbd.c snap_sizes = kmalloc_array(snap_count, snap_count 1163 drivers/block/rbd.c memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); snap_count 1165 drivers/block/rbd.c for (i = 0; i < snap_count; i++) { snap_count 4980 drivers/block/rbd.c u32 snap_count = 0; snap_count 4998 drivers/block/rbd.c size += snap_count * sizeof (struct rbd_image_snap_ondisk); snap_count 5021 drivers/block/rbd.c want_count = snap_count; snap_count 5022 drivers/block/rbd.c snap_count = le32_to_cpu(ondisk->snap_count); snap_count 5023 drivers/block/rbd.c } while (snap_count != want_count); snap_count 6272 drivers/block/rbd.c u32 snap_count; snap_count 6299 drivers/block/rbd.c ceph_decode_32_safe(&p, end, snap_count, out); snap_count 6307 drivers/block/rbd.c if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) snap_count 6312 drivers/block/rbd.c if (!ceph_has_room(&p, end, snap_count * sizeof (__le64))) snap_count 6316 drivers/block/rbd.c snapc = ceph_create_snap_context(snap_count, GFP_KERNEL); snap_count 6322 drivers/block/rbd.c for (i = 0; i < snap_count; i++) snap_count 6329 drivers/block/rbd.c (unsigned long long)seq, (unsigned int)snap_count); snap_count 93 drivers/block/rbd_types.h __le32 snap_count; snap_count 170 include/linux/ceph/libceph.h extern struct ceph_snap_context *ceph_create_snap_context(u32 snap_count, snap_count 27 net/ceph/snapshot.c struct ceph_snap_context *ceph_create_snap_context(u32 snap_count, snap_count 34 net/ceph/snapshot.c size += snap_count * sizeof (snapc->snaps[0]); snap_count 40 net/ceph/snapshot.c snapc->num_snaps = snap_count;