Home
last modified time | relevance | path

Searched refs:elen (Results 1 – 11 of 11) sorted by relevance

/fs/udf/
Dtruncate.c30 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()
[all …]
Dballoc.c389 uint32_t elen; in udf_table_free_blocks() local
413 elen = 0; in udf_table_free_blocks()
418 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
420 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks()
421 if ((0x3FFFFFFF - elen) < in udf_table_free_blocks()
423 uint32_t tmp = ((0x3FFFFFFF - elen) >> in udf_table_free_blocks()
427 elen = (etype << 30) | in udf_table_free_blocks()
430 elen = (etype << 30) | in udf_table_free_blocks()
431 (elen + in udf_table_free_blocks()
436 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
[all …]
Dsymlink.c36 int elen = 0; in udf_pc_to_char() local
42 while (elen < fromlen) { in udf_pc_to_char()
43 pc = (struct pathComponent *)(from + elen); in udf_pc_to_char()
44 elen += sizeof(struct pathComponent); in udf_pc_to_char()
52 elen += pc->lengthComponentIdent; in udf_pc_to_char()
79 elen += pc->lengthComponentIdent; in udf_pc_to_char()
80 if (elen > fromlen) in udf_pc_to_char()
Dnamei.c177 uint32_t elen; in udf_find_entry() local
192 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_find_entry()
198 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_find_entry()
221 &elen, &offset); in udf_find_entry()
343 uint32_t elen = 0; in udf_add_entry() local
379 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_add_entry()
386 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_add_entry()
405 &elen, &offset); in udf_add_entry()
450 udf_current_aext(dir, &epos, &eloc, &elen, 1); in udf_add_entry()
470 ((elen - 1) >> in udf_add_entry()
[all …]
Dinode.c623 uint32_t elen; in udf_extend_file() local
647 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file()
651 elen > ((loff_t)offset + 1) << inode->i_blkbits); in udf_extend_file()
695 uint32_t elen = 0, tmpelen; in inode_getblk() local
730 lbcount += elen; in inode_getblk()
738 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk()
744 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
749 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk()
753 } while (lbcount + elen <= b_off); in inode_getblk()
768 if (elen & (inode->i_sb->s_blocksize - 1)) { in inode_getblk()
[all …]
Ddirectory.c25 struct kernel_lb_addr *eloc, uint32_t *elen, in udf_fileident_read() argument
58 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read()
66 if ((*offset << blocksize_bits) >= *elen) in udf_fileident_read()
79 if (i + *offset > (*elen >> blocksize_bits)) in udf_fileident_read()
80 i = (*elen >> blocksize_bits)-*offset; in udf_fileident_read()
116 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read()
124 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read()
Ddir.c56 uint32_t elen; in udf_readdir() local
99 &epos, &eloc, &elen, &offset) in udf_readdir()
105 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_readdir()
122 if (i + offset > (elen >> sb->s_blocksize_bits)) in udf_readdir()
123 i = (elen >> sb->s_blocksize_bits) - offset; in udf_readdir()
151 &elen, &offset); in udf_readdir()
Dpartition.c286 uint32_t elen; in udf_try_read_meta() local
291 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
Dudfdecl.h167 struct kernel_lb_addr *eloc, uint32_t elen, int inc);
Dsuper.c2476 uint32_t elen; in udf_count_free_table() local
2485 while (udf_next_aext(table, &epos, &eloc, &elen, 1) != -1) in udf_count_free_table()
2486 accum += (elen >> table->i_sb->s_blocksize_bits); in udf_count_free_table()
/fs/gfs2/
Drgrp.c2233 const unsigned int elen = *n; in gfs2_alloc_extent() local
2242 while (*n < elen) { in gfs2_alloc_extent()