/fs/udf/ |
D | truncate.c | 31 kernel_lb_addr eloc, int8_t etype, uint32_t elen, in extent_trunc() argument 35 int last_block = (elen + inode->i_sb->s_blocksize - 1) >> in extent_trunc() 50 if (elen != nelen) { in extent_trunc() 72 uint32_t elen, nelen; in udf_truncate_tail_extent() local 93 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) { in udf_truncate_tail_extent() 95 lbcount += elen; in udf_truncate_tail_extent() 106 (unsigned)elen); in udf_truncate_tail_extent() 107 nelen = elen - (lbcount - inode->i_size); in udf_truncate_tail_extent() 109 extent_trunc(inode, &epos, eloc, etype, elen, nelen); in udf_truncate_tail_extent() 111 if (udf_next_aext(inode, &epos, &eloc, &elen, 1) != -1) in udf_truncate_tail_extent() [all …]
|
D | balloc.c | 433 uint32_t elen; in udf_table_free_blocks() local 463 elen = 0; in udf_table_free_blocks() 468 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks() 470 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks() 471 if ((0x3FFFFFFF - elen) < in udf_table_free_blocks() 473 uint32_t tmp = ((0x3FFFFFFF - elen) >> in udf_table_free_blocks() 477 elen = (etype << 30) | in udf_table_free_blocks() 480 elen = (etype << 30) | in udf_table_free_blocks() 481 (elen + in udf_table_free_blocks() 486 udf_write_aext(table, &oepos, eloc, elen, 1); in udf_table_free_blocks() [all …]
|
D | inode.c | 204 uint32_t elen; in udf_expand_dir_adinicb() local 279 elen = inode->i_sb->s_blocksize; in udf_expand_dir_adinicb() 280 iinfo->i_lenExtents = elen; in udf_expand_dir_adinicb() 284 udf_add_aext(inode, &epos, eloc, elen, 0); in udf_expand_dir_adinicb() 479 uint32_t elen = 0, tmpelen; in inode_getblk() local 511 lbcount += elen; in inode_getblk() 519 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk() 525 laarr[c].extLength = (etype << 30) | elen; in inode_getblk() 530 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk() 534 } while (lbcount + elen <= b_off); in inode_getblk() [all …]
|
D | symlink.c | 39 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() 66 elen += sizeof(struct pathComponent) + pc->lengthComponentIdent; in udf_pc_to_char()
|
D | dir.c | 55 uint32_t elen; in do_udf_readdir() local 78 &epos, &eloc, &elen, &offset) in do_udf_readdir() 84 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in do_udf_readdir() 101 if (i + offset > (elen >> dir->i_sb->s_blocksize_bits)) in do_udf_readdir() 102 i = (elen >> dir->i_sb->s_blocksize_bits) - offset; in do_udf_readdir() 123 &elen, &offset); in do_udf_readdir()
|
D | namei.c | 158 uint32_t elen; in udf_find_entry() local 172 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) in udf_find_entry() 175 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_find_entry() 194 &elen, &offset); in udf_find_entry() 317 uint32_t elen = 0; in udf_add_entry() local 352 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_add_entry() 359 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_add_entry() 378 &elen, &offset); in udf_add_entry() 409 if (dinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB && elen) { in udf_add_entry() 410 elen = (elen + sb->s_blocksize - 1) & ~(sb->s_blocksize - 1); in udf_add_entry() [all …]
|
D | directory.c | 78 kernel_lb_addr *eloc, uint32_t *elen, in udf_fileident_read() argument 110 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read() 118 if ((*offset << blocksize_bits) >= *elen) in udf_fileident_read() 131 if (i + *offset > (*elen >> blocksize_bits)) in udf_fileident_read() 132 i = (*elen >> blocksize_bits)-*offset; in udf_fileident_read() 168 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read() 176 if ((*offset << dir->i_sb->s_blocksize_bits) >= *elen) in udf_fileident_read()
|
D | partition.c | 277 uint32_t elen; in udf_try_read_meta() local 282 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
|
D | super.c | 2172 uint32_t elen; in udf_count_free_table() local 2183 while ((etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) in udf_count_free_table() 2184 accum += (elen >> table->i_sb->s_blocksize_bits); in udf_count_free_table()
|
/fs/nfsd/ |
D | nfs3xdr.c | 883 int elen; /* estimated entry length in words */ in encode_entry() local 909 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry() 912 if (cd->buflen < elen) { in encode_entry() 926 if ((caddr_t)(cd->buffer + elen) < (curr_page_addr + PAGE_SIZE)) { in encode_entry()
|
/fs/gfs2/ |
D | rgrp.c | 1258 const unsigned int elen = *n; in rgblk_search() local 1302 while (*n < elen) { in rgblk_search()
|