Home
last modified time | relevance | path

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

/linux-4.19.296/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.c380 uint32_t elen; in udf_table_free_blocks() local
404 elen = 0; in udf_table_free_blocks()
409 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
411 (elen >> sb->s_blocksize_bits)) == start)) { in udf_table_free_blocks()
412 if ((0x3FFFFFFF - elen) < in udf_table_free_blocks()
414 uint32_t tmp = ((0x3FFFFFFF - elen) >> in udf_table_free_blocks()
418 elen = (etype << 30) | in udf_table_free_blocks()
421 elen = (etype << 30) | in udf_table_free_blocks()
422 (elen + in udf_table_free_blocks()
427 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()
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.c57 uint32_t elen; in udf_readdir() local
100 &epos, &eloc, &elen, &offset) in udf_readdir()
106 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_readdir()
123 if (i + offset > (elen >> sb->s_blocksize_bits)) in udf_readdir()
124 i = (elen >> sb->s_blocksize_bits) - offset; in udf_readdir()
152 &elen, &offset); in udf_readdir()
Dnamei.c178 uint32_t elen; in udf_find_entry() local
193 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_find_entry()
199 if ((++offset << sb->s_blocksize_bits) < elen) { in udf_find_entry()
222 &elen, &offset); in udf_find_entry()
359 uint32_t elen = 0; in udf_add_entry() local
395 &eloc, &elen, &offset) != (EXT_RECORDED_ALLOCATED >> 30)) { in udf_add_entry()
402 if ((++offset << dir->i_sb->s_blocksize_bits) < elen) { in udf_add_entry()
421 &elen, &offset); in udf_add_entry()
466 udf_current_aext(dir, &epos, &eloc, &elen, 1); in udf_add_entry()
486 ((elen - 1) >> in udf_add_entry()
[all …]
Dinode.c616 uint32_t elen; in udf_extend_file() local
640 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file()
644 elen > ((loff_t)offset + 1) << inode->i_blkbits); in udf_extend_file()
688 uint32_t elen = 0, tmpelen; in inode_getblk() local
723 lbcount += elen; in inode_getblk()
731 etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1); in inode_getblk()
737 laarr[c].extLength = (etype << 30) | elen; in inode_getblk()
742 ((elen + inode->i_sb->s_blocksize - 1) >> in inode_getblk()
746 } while (lbcount + elen <= b_off); in inode_getblk()
761 if (elen & (inode->i_sb->s_blocksize - 1)) { in inode_getblk()
[all …]
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.h171 struct kernel_lb_addr *eloc, uint32_t elen, int inc);
Dsuper.c2478 uint32_t elen; in udf_count_free_table() local
2488 while ((etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) in udf_count_free_table()
2489 accum += (elen >> table->i_sb->s_blocksize_bits); in udf_count_free_table()
/linux-4.19.296/lib/
Dtest_printf.c33 do_test(int bufsize, const char *expect, int elen, in do_test() argument
46 if (ret != elen) { in do_test()
48 bufsize, fmt, ret, elen); in do_test()
66 written = min(bufsize-1, elen); in do_test()
88 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument
94 if (elen >= BUF_SIZE) { in __test()
96 elen, fmt); in __test()
109 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
110 rand = 1 + prandom_u32_max(elen+1); in __test()
112 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
[all …]
/linux-4.19.296/fs/nfsd/
Dnfs3xdr.c913 int elen; /* estimated entry length in words */ in encode_entry() local
939 elen = slen + NFS3_ENTRY_BAGGAGE in encode_entry()
942 if (cd->buflen < elen) { in encode_entry()
957 if ((caddr_t)(cd->buffer + elen) < (curr_page_addr + PAGE_SIZE)) { in encode_entry()
/linux-4.19.296/fs/gfs2/
Drgrp.c2183 const unsigned int elen = *n; in gfs2_alloc_extent() local
2192 while (*n < elen) { in gfs2_alloc_extent()