Home
last modified time | relevance | path

Searched refs:block_num (Results 1 – 8 of 8) sorted by relevance

/external/e2fsprogs/ext2ed/
Dfile_com.c35 file_info.block_num=0; in init_file_info()
78 if (file_info.block_num+block_offset >= file_info.blocks_count) { in type_file___nextblock()
83 file_info.block_num+=block_offset; in type_file___nextblock()
84 file_info.global_block_num=file_block_to_global_block (file_info.block_num,&file_info); in type_file___nextblock()
86 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___nextblock()
179 if (file_info.block_num-block_offset < 0) { in type_file___prevblock()
184 file_info.block_num-=block_offset; in type_file___prevblock()
185 file_info.global_block_num=file_block_to_global_block (file_info.block_num,&file_info); in type_file___prevblock()
187 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___prevblock()
215 file_info.block_num=block_offset; in type_file___block()
[all …]
Dinode_com.c28 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; in type_ext2_inode___prev() local
39 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___prev()
75 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; in type_ext2_inode___next() local
87 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___next()
126 long group_num,group_offset,entry_num,block_num,first_entry,last_entry,inode_num; in type_ext2_inode___show() local
129 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___show()
287 long group_num,group_offset,entry_num,block_num,wanted_entry; in type_ext2_inode___entry() local
295 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___entry()
375 long block_num,group_offset,group_num; in inode_offset_to_group_num() local
377 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_group_num()
[all …]
Dblockbitmap_com.c214 unsigned long block_num,entry_num; in type_ext2_block_bitmap___show() local
252block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_b… in type_ext2_block_bitmap___show()
253 block_num+=file_system_info.super_block.s_first_data_block; in type_ext2_block_bitmap___show()
255 wprintw (show_win,"Status of block %ld - ",block_num); /* and the allocation status */ in type_ext2_block_bitmap___show()
Dext2ed.h139 long block_num,blocks_count; member
333 extern long return_indirect (long table_block,long block_num);
334 extern long return_dindirect (long table_block,long block_num);
335 extern long return_tindirect (long table_block,long block_num);
Dwin.c171 int block_num,block_offset; in show_info() local
173 block_num=device_offset/file_system_info.block_size; in show_info()
177 wprintw (show_win,"Offset %-3ld in block %ld. ",block_offset,block_num); in show_info()
Ddir_com.c62 info_ptr->block_num=0; in init_dir_info()
130 info.block_num++; in search_dir_entries()
131 info.global_block_num=file_block_to_global_block (info.block_num,&info); in search_dir_entries()
133 info.file_offset=info.block_num*file_system_info.block_size; in search_dir_entries()
/external/qemu/block/
Dcloop.c103 static inline int cloop_read_block(BDRVCloopState *s,int block_num) in cloop_read_block() argument
105 if(s->current_block != block_num) { in cloop_read_block()
107 uint32_t bytes = s->offsets[block_num+1]-s->offsets[block_num]; in cloop_read_block()
109 lseek(s->fd, s->offsets[block_num], SEEK_SET); in cloop_read_block()
125 s->current_block = block_num; in cloop_read_block()
138 block_num=(sector_num+i)/s->sectors_per_block; in cloop_read() local
139 if(cloop_read_block(s, block_num) != 0) in cloop_read()
/external/jpeg/
Djdcoefct.c319 JDIMENSION block_num; in decompress_data() local
361 for (block_num = 0; block_num < compptr->width_in_blocks; block_num++) { in decompress_data()
465 JDIMENSION block_num, last_block_column; in decompress_smooth_data() local
561 for (block_num = 0; block_num <= last_block_column; block_num++) { in decompress_smooth_data()
565 if (block_num < last_block_column) { in decompress_smooth_data()