Home
last modified time | relevance | path

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

/Linux-v5.10/net/ceph/
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()
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_scsi.c997 int blockoff = 0; in lpfc_bg_err_inject() local
1015 blockoff = phba->lpfc_injerr_lba - lba; in lpfc_bg_err_inject()
1018 if (numblks < blockoff) in lpfc_bg_err_inject()
1019 blockoff = numblks; in lpfc_bg_err_inject()
1046 src += blockoff; in lpfc_bg_err_inject()
1068 (unsigned long)lba, blockoff, in lpfc_bg_err_inject()
1189 (unsigned long)lba, blockoff, in lpfc_bg_err_inject()