Searched refs:blockoff (Results 1 – 2 of 2) sorted by relevance
/linux/net/ceph/ |
H A D | striper.c | 30 u32 blockoff; /* offset into su */ in ceph_calc_file_object_mapping() local 37 blockno = div_u64_rem(off, l->stripe_unit, &blockoff); in ceph_calc_file_object_mapping() 42 *objoff = objsetpos * l->stripe_unit + blockoff; in ceph_calc_file_object_mapping() 43 *xlen = min_t(u64, len, l->stripe_unit - blockoff); in ceph_calc_file_object_mapping() 218 u32 blockoff; /* offset into su */ in ceph_extent_to_file() local 238 div_u64_rem(objoff, l->stripe_unit, &blockoff); in ceph_extent_to_file() 246 off = blockno * l->stripe_unit + blockoff; in ceph_extent_to_file() 247 len = min_t(u64, objlen, l->stripe_unit - blockoff); in ceph_extent_to_file() 252 blockoff = 0; in ceph_extent_to_file()
|
/linux/fs/ceph/ |
H A D | addr.c | 174 u32 blockoff; in ceph_netfs_expand_readahead() local 201 div_u64_rem(rreq->start, lo->stripe_unit, &blockoff); in ceph_netfs_expand_readahead() 202 if (rreq->len + blockoff <= max_len) { in ceph_netfs_expand_readahead() 203 rreq->start -= blockoff; in ceph_netfs_expand_readahead() 204 rreq->len += blockoff; in ceph_netfs_expand_readahead()
|