Home
last modified time | relevance | path

Searched refs:bloc (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/fs/udf/
Dtruncate.c35 static void extent_trunc(struct inode * inode, lb_addr bloc, int extoffset, in extent_trunc() argument
56 udf_write_aext(inode, bloc, &extoffset, neloc, nelen, bh, 0); in extent_trunc()
70 lb_addr bloc, eloc, neloc = { 0, 0 }; in udf_truncate_extents() local
84 etype = inode_bmap(inode, first_block, &bloc, &extoffset, &eloc, &elen, &offset, &bh); in udf_truncate_extents()
89 extent_trunc(inode, bloc, extoffset, eloc, etype, elen, bh, offset); in udf_truncate_extents()
97 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
102 while ((etype = udf_current_aext(inode, &bloc, &extoffset, &eloc, &elen, &bh, 0)) != -1) in udf_truncate_extents()
106 udf_write_aext(inode, bloc, &extoffset, neloc, nelen, bh, 0); in udf_truncate_extents()
110 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
114 udf_free_blocks(inode->i_sb, inode, bloc, 0, lelen); in udf_truncate_extents()
[all …]
Dballoc.c148 struct udf_bitmap *bitmap, lb_addr bloc, uint32_t offset, uint32_t count) in udf_bitmap_free_blocks() argument
159 if (bloc.logicalBlockNum < 0 || in udf_bitmap_free_blocks()
160 (bloc.logicalBlockNum + count) > UDF_SB_PARTLEN(sb, bloc.partitionReferenceNum)) in udf_bitmap_free_blocks()
163 bloc.logicalBlockNum, 0, bloc.logicalBlockNum, count, in udf_bitmap_free_blocks()
164 UDF_SB_PARTLEN(sb, bloc.partitionReferenceNum)); in udf_bitmap_free_blocks()
168 block = bloc.logicalBlockNum + offset + (sizeof(struct spaceBitmapDesc) << 3); in udf_bitmap_free_blocks()
427 struct inode * table, lb_addr bloc, uint32_t offset, uint32_t count) in udf_table_free_blocks() argument
437 if (bloc.logicalBlockNum < 0 || in udf_table_free_blocks()
438 (bloc.logicalBlockNum + count) > UDF_SB_PARTLEN(sb, bloc.partitionReferenceNum)) in udf_table_free_blocks()
441 bloc.logicalBlockNum, 0, bloc.logicalBlockNum, count, in udf_table_free_blocks()
[all …]
Dinode.c222 lb_addr bloc, eloc; in udf_expand_dir_adinicb() local
298 bloc = UDF_I_LOCATION(inode); in udf_expand_dir_adinicb()
304 udf_add_aext(inode, &bloc, &extoffset, eloc, elen, &sbh, 0); in udf_expand_dir_adinicb()
1618 int8_t udf_add_aext(struct inode *inode, lb_addr *bloc, int *extoffset, in udf_add_aext() argument
1630 udf_get_lb_pblock(inode->i_sb, *bloc, 0)))) in udf_add_aext()
1633 udf_get_lb_pblock(inode->i_sb, *bloc, 0)); in udf_add_aext()
1650 lb_addr obloc = *bloc; in udf_add_aext()
1652 if (!(bloc->logicalBlockNum = udf_new_block(inode->i_sb, inode, in udf_add_aext()
1658 *bloc, 0)))) in udf_add_aext()
1701 bloc->logicalBlockNum, sizeof(tag)); in udf_add_aext()
[all …]
Ddir.c113 lb_addr bloc, eloc; in do_udf_readdir() local
126 &bloc, &extoffset, &eloc, &elen, &offset, &bh) == (EXT_RECORDED_ALLOCATED >> 30)) in do_udf_readdir()
178 fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &bloc, &extoffset, &eloc, &elen, &offset, &bh); in do_udf_readdir()
Dnamei.c154 lb_addr bloc, eloc; in udf_find_entry() local
165 &bloc, &extoffset, &eloc, &elen, &offset, &bh) == (EXT_RECORDED_ALLOCATED >> 30)) in udf_find_entry()
193 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &bloc, &extoffset, &eloc, &elen, &offset, &bh); in udf_find_entry()
344 lb_addr bloc, eloc; in udf_add_entry() local
392 &bloc, &extoffset, &eloc, &elen, &offset, &bh) == (EXT_RECORDED_ALLOCATED >> 30)) in udf_add_entry()
417 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &bloc, &extoffset, &eloc, &elen, &offset, &bh); in udf_add_entry()
515 bloc = UDF_I_LOCATION(dir); in udf_add_entry()
566 if (udf_next_aext(dir, &bloc, &extoffset, &eloc, &elen, &bh, 1) == in udf_add_entry()
780 lb_addr bloc, eloc; in empty_dir() local
788 &bloc, &extoffset, &eloc, &elen, &offset, &bh) == (EXT_RECORDED_ALLOCATED >> 30)) in empty_dir()
[all …]
Ddirectory.c77 lb_addr *bloc, uint32_t *extoffset, in udf_fileident_read() argument
91 if (udf_next_aext(dir, bloc, extoffset, eloc, elen, bh, 1) != in udf_fileident_read()
155 if (udf_next_aext(dir, bloc, extoffset, eloc, elen, bh, 1) != in udf_fileident_read()
Dsuper.c1757 lb_addr bloc, eloc; in udf_count_free_table() local
1761 bloc = UDF_I_LOCATION(table); in udf_count_free_table()
1764 while ((etype = udf_next_aext(table, &bloc, &extoffset, &eloc, &elen, &bh, 1)) != -1) in udf_count_free_table()