Searched refs:blockoff (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/net/ceph/ |
| 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-v5.15/fs/ceph/ |
| D | addr.c | 185 u32 blockoff; in ceph_netfs_expand_readahead() local 189 blockno = div_u64_rem(rreq->start, lo->stripe_unit, &blockoff); in ceph_netfs_expand_readahead() 191 rreq->len += blockoff; in ceph_netfs_expand_readahead()
|
| /Linux-v5.15/drivers/scsi/lpfc/ |
| D | lpfc_scsi.c | 1019 int blockoff = 0; in lpfc_bg_err_inject() local 1039 blockoff = phba->lpfc_injerr_lba - (u64)lba; in lpfc_bg_err_inject() 1042 if (numblks < blockoff) in lpfc_bg_err_inject() 1043 blockoff = numblks; in lpfc_bg_err_inject() 1070 src += blockoff; in lpfc_bg_err_inject() 1092 (unsigned long)lba, blockoff, in lpfc_bg_err_inject() 1213 (unsigned long)lba, blockoff, in lpfc_bg_err_inject()
|