Lines Matching refs:fragment
375 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result,… in ufs_getfrag_block() argument
381 int depth = ufs_block_to_path(inode, fragment >> uspi->s_fpbshift, offsets); in ufs_getfrag_block()
383 unsigned frag = fragment & uspi->s_fpbmask; in ufs_getfrag_block()
390 if (fragment >= UFS_NDIR_FRAGMENT) in ufs_getfrag_block()
393 if (fragment < UFS_I(inode)->i_lastfrag) { in ufs_getfrag_block()
403 UFSD("ENTER, ino %lu, fragment %llu\n", inode->i_ino, (unsigned long long)fragment); in ufs_getfrag_block()
413 if (tailfrags && fragment >= lastfrag) { in ufs_getfrag_block()
414 if (!ufs_extend_tail(inode, fragment, in ufs_getfrag_block()
421 phys64 = ufs_inode_getfrag(inode, offsets[0], fragment, in ufs_getfrag_block()
425 phys64 = ufs_inode_getfrag(inode, offsets[0], fragment, in ufs_getfrag_block()
429 fragment, &err, NULL, NULL); in ufs_getfrag_block()
431 fragment, &err, &new, bh_result->b_folio); in ufs_getfrag_block()