Home
last modified time | relevance | path

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

/openbmc/linux/fs/udf/
H A Ddirectory.c127 unsigned int ralen = 16 >> (iter->dir->i_blkbits - 9); in udf_readahead_dir() local
132 if (iter->loffset & (ralen - 1)) in udf_readahead_dir()
135 if (iter->loffset + ralen > (iter->elen >> iter->dir->i_blkbits)) in udf_readahead_dir()
136 ralen = (iter->elen >> iter->dir->i_blkbits) - iter->loffset; in udf_readahead_dir()
138 for (i = 0; i < ralen; i++) { in udf_readahead_dir()
/openbmc/linux/fs/xfs/
H A Dxfs_bmap_util.c81 xfs_extlen_t ralen = 0; /* realtime allocation length */ in xfs_bmap_rtalloc() local
120 ralen = ap->length / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()
128 if (ralen * mp->m_sb.sb_rextsize >= XFS_MAX_BMBT_EXTLEN) in xfs_bmap_rtalloc()
129 ralen = XFS_MAX_BMBT_EXTLEN / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()
149 error = xfs_rtpick_extent(mp, ap->tp, ralen, &rtx); in xfs_bmap_rtalloc()
167 ap->length = ralen; in xfs_bmap_rtalloc()
170 &ralen, ap->wasdel, prod, &rtb); in xfs_bmap_rtalloc()
176 ap->length = ralen * mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()