Searched refs:blockoff (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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-6.1.9/fs/ceph/ |
D | addr.c | 190 u32 blockoff; in ceph_netfs_expand_readahead() local 194 blockno = div_u64_rem(rreq->start, lo->stripe_unit, &blockoff); in ceph_netfs_expand_readahead() 196 rreq->len += blockoff; in ceph_netfs_expand_readahead()
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 974 int blockoff = 0; in lpfc_bg_err_inject() local 994 blockoff = phba->lpfc_injerr_lba - (u64)lba; in lpfc_bg_err_inject() 997 if (numblks < blockoff) in lpfc_bg_err_inject() 998 blockoff = numblks; in lpfc_bg_err_inject() 1025 src += blockoff; in lpfc_bg_err_inject() 1047 (unsigned long)lba, blockoff, in lpfc_bg_err_inject() 1168 (unsigned long)lba, blockoff, in lpfc_bg_err_inject()
|