Lines Matching refs:elen

30 			 struct kernel_lb_addr *eloc, int8_t etype, uint32_t elen,  in extent_trunc()  argument
34 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> in extent_trunc()
49 if (elen != nelen) { in extent_trunc()
71 uint32_t elen, nelen; in udf_truncate_tail_extent() local
92 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) { in udf_truncate_tail_extent()
94 lbcount += elen; in udf_truncate_tail_extent()
103 (unsigned)elen); in udf_truncate_tail_extent()
104 nelen = elen - (lbcount - inode->i_size); in udf_truncate_tail_extent()
106 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent()
108 if (udf_next_aext(inode, &epos, &eloc, &elen, 1) != -1) in udf_truncate_tail_extent()
126 uint32_t elen; in udf_discard_prealloc() local
139 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 0)) != -1) { in udf_discard_prealloc()
145 etype = udf_next_aext(inode, &epos, &eloc, &elen, 1); in udf_discard_prealloc()
146 lbcount += elen; in udf_discard_prealloc()
149 lbcount -= elen; in udf_discard_prealloc()
152 DIV_ROUND_UP(elen, 1 << inode->i_blkbits)); in udf_discard_prealloc()
188 uint32_t elen, nelen = 0, indirect_ext_len = 0, lenalloc; in udf_truncate_extents() local
203 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_truncate_extents()
212 extent_trunc(inode, &epos, &eloc, etype, elen, byte_offset); in udf_truncate_extents()
225 &elen, 0)) != -1) { in udf_truncate_extents()
248 if (elen) in udf_truncate_extents()
250 (elen + sb->s_blocksize - 1) >> in udf_truncate_extents()
255 extent_trunc(inode, &epos, &eloc, etype, elen, 0); in udf_truncate_extents()