Lines Matching refs:elen
604 uint32_t elen; in udf_extend_file() local
620 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file()
662 uint32_t elen = 0, tmpelen; in inode_getblk() local
697 lbcount += elen; in inode_getblk()
705 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk()
711 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
716 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk()
720 } while (lbcount + elen <= b_off); in inode_getblk()
735 if (elen & (inode->i_sb->s_blocksize - 1)) { in inode_getblk()
736 elen = EXT_RECORDED_ALLOCATED | in inode_getblk()
737 ((elen + inode->i_sb->s_blocksize - 1) & in inode_getblk()
739 udf_write_aext(inode, &cur_epos, &eloc, elen, 1); in inode_getblk()
802 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 0); in inode_getblk()
804 laarr[c + 1].extLength = (etype << 30) | elen; in inode_getblk()
1014 int elen = ((laarr[i].extLength & in udf_prealloc_extents() local
1019 if (elen > numalloc) { in udf_prealloc_extents()
1025 numalloc -= elen; in udf_prealloc_extents()
1922 struct kernel_lb_addr *eloc, uint32_t elen, int inc) in __udf_add_aext() argument
1945 udf_write_aext(inode, epos, eloc, elen, inc); in __udf_add_aext()
1971 struct kernel_lb_addr *eloc, uint32_t elen, int inc) in udf_add_aext() argument
1998 return __udf_add_aext(inode, epos, eloc, elen, inc); in udf_add_aext()
2002 struct kernel_lb_addr *eloc, uint32_t elen, int inc) in udf_write_aext() argument
2020 sad->extLength = cpu_to_le32(elen); in udf_write_aext()
2026 lad->extLength = cpu_to_le32(elen); in udf_write_aext()
2060 struct kernel_lb_addr *eloc, uint32_t *elen, int inc) in udf_next_aext() argument
2065 while ((etype = udf_current_aext(inode, epos, eloc, elen, inc)) == in udf_next_aext()
2091 struct kernel_lb_addr *eloc, uint32_t *elen, int inc) in udf_current_aext() argument
2126 *elen = le32_to_cpu(sad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2134 *elen = le32_to_cpu(lad->extLength) & UDF_EXTENT_LENGTH_MASK; in udf_current_aext()
2173 uint32_t elen; in udf_delete_aext() local
2189 if (udf_next_aext(inode, &epos, &eloc, &elen, 1) == -1) in udf_delete_aext()
2192 while ((etype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) { in udf_delete_aext()
2193 udf_write_aext(inode, &oepos, &eloc, (etype << 30) | elen, 1); in udf_delete_aext()
2203 elen = 0; in udf_delete_aext()
2207 udf_write_aext(inode, &oepos, &eloc, elen, 1); in udf_delete_aext()
2208 udf_write_aext(inode, &oepos, &eloc, elen, 1); in udf_delete_aext()
2225 udf_write_aext(inode, &oepos, &eloc, elen, 1); in udf_delete_aext()
2246 return (elen >> 30); in udf_delete_aext()
2251 uint32_t *elen, sector_t *offset) in inode_bmap() argument
2264 *elen = 0; in inode_bmap()
2266 etype = udf_next_aext(inode, pos, eloc, elen, 1); in inode_bmap()
2272 lbcount += *elen; in inode_bmap()
2275 udf_update_extent_cache(inode, lbcount - *elen, pos); in inode_bmap()
2276 *offset = (bcount + *elen - lbcount) >> blocksize_bits; in inode_bmap()
2284 uint32_t elen; in udf_block_map() local
2291 if (inode_bmap(inode, block, &epos, &eloc, &elen, &offset) == in udf_block_map()