Home
last modified time | relevance | path

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

/openbmc/linux/net/ceph/
H A Dstriper.c30 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()
/openbmc/u-boot/fs/ext4/
H A Dext4fs.c77 int blockoff = pos - (blocksize * i); in ext4fs_read_file() local
97 skipfirst = blockoff; in ext4fs_read_file()
/openbmc/linux/fs/ceph/
H A Daddr.c194 u32 blockoff; in ceph_netfs_expand_readahead() local
221 div_u64_rem(rreq->start, lo->stripe_unit, &blockoff); in ceph_netfs_expand_readahead()
222 if (rreq->len + blockoff <= max_len) { in ceph_netfs_expand_readahead()
223 rreq->start -= blockoff; in ceph_netfs_expand_readahead()
224 rreq->len += blockoff; in ceph_netfs_expand_readahead()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c967 int blockoff = 0; in lpfc_bg_err_inject() local
985 blockoff = phba->lpfc_injerr_lba - (u64)lba; in lpfc_bg_err_inject()
988 if (numblks < blockoff) in lpfc_bg_err_inject()
989 blockoff = numblks; in lpfc_bg_err_inject()
1016 src += blockoff; in lpfc_bg_err_inject()
1038 (unsigned long)lba, blockoff, in lpfc_bg_err_inject()
1159 (unsigned long)lba, blockoff, in lpfc_bg_err_inject()