Home
last modified time | relevance | path

Searched refs:start_block (Results 1 – 25 of 69) sorted by relevance

123

/external/autotest/client/tests/disktest/src/
Ddisktest.c34 unsigned int start_block = 0; variable
120 block, start_block, start_block+blocks, in verify_block()
126 block, start_block, start_block+blocks, in verify_block()
155 block = start_block + (unsigned int)(random() % blocks); in write_file()
160 for (block = start_block; block < start_block + blocks; block++) in write_file()
199 block = start_block + (unsigned int)(random() % blocks); in verify_file()
206 for (block = start_block; block < start_block + blocks; block++) in verify_file()
234 for (block = start_block; block < start_block + blocks; block++) { in double_verify()
294 start_block = skip_mb * (1024 * 1024 / blocksize); in main()
334 …printf("Ininitializing block %d to %d in file %s (signature %08x)\n", start_block, start_block+blo… in main()
[all …]
/external/squashfs-tools/squashfs-tools/
Dsquashfs_compat.h69 unsigned int start_block; member
123 squashfs_block start_block; member
138 squashfs_block start_block; member
155 unsigned int start_block; member
169 unsigned int start_block; member
196 unsigned int start_block; member
201 long long start_block; member
307 SQUASHFS_SWAP((s)->start_block, d, 96, 64);\
318 SQUASHFS_SWAP((s)->start_block, d, 128, 64);\
331 SQUASHFS_SWAP((s)->start_block, d, 160, 32);\
[all …]
Dunsquash-4.c85 void read_fragment_4(unsigned int fragment, long long *start_block, int *size) in read_fragment_4() argument
92 *start_block = fragment_entry->start_block; in read_fragment_4()
97 struct inode *read_inode_4(unsigned int start_block, unsigned int offset) in read_inode_4() argument
100 long long start = sBlk.s.inode_table_start + start_block; in read_inode_4()
105 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset); in read_inode_4()
128 i.start = inode->start_block; in read_inode_4()
139 i.start = inode->start_block; in read_inode_4()
157 i.start = inode->start_block; in read_inode_4()
177 i.start = inode->start_block; in read_inode_4()
326 dirh.start_block, dire->offset, dire->type); in squashfs_opendir_4()
[all …]
Dunsquash-3.c105 void read_fragment_3(unsigned int fragment, long long *start_block, int *size) in read_fragment_3() argument
110 *start_block = fragment_entry->start_block; in read_fragment_3()
115 struct inode *read_inode_3(unsigned int start_block, unsigned int offset) in read_inode_3() argument
118 long long start = sBlk.s.inode_table_start + start_block; in read_inode_3()
123 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset); in read_inode_3()
161 i.start = inode->start_block; in read_inode_3()
178 i.start = inode->start_block; in read_inode_3()
201 i.start = inode->start_block; in read_inode_3()
226 i.start = inode->start_block; in read_inode_3()
368 dirh.start_block, dire->offset, dire->type); in squashfs_opendir_3()
[all …]
Dunsquash-2.c118 void read_fragment_2(unsigned int fragment, long long *start_block, int *size) in read_fragment_2() argument
123 *start_block = fragment_entry->start_block; in read_fragment_2()
128 struct inode *read_inode_2(unsigned int start_block, unsigned int offset) in read_inode_2() argument
131 long long start = sBlk.s.inode_table_start + start_block; in read_inode_2()
136 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset); in read_inode_2()
174 i.start = inode->start_block; in read_inode_2()
192 i.start = inode->start_block; in read_inode_2()
217 i.start = inode->start_block; in read_inode_2()
Dsquashfs_fs.h305 unsigned int start_block; member
382 unsigned int start_block; member
396 squashfs_block start_block; member
413 unsigned int start_block; member
429 unsigned int start_block; member
460 unsigned int start_block; member
465 long long start_block; member
Dunsquash-1.c57 struct inode *read_inode_1(unsigned int start_block, unsigned int offset) in read_inode_1() argument
60 long long start = sBlk.s.inode_table_start + start_block; in read_inode_1()
65 TRACE("read_inode: reading inode [%d:%d]\n", start_block, offset); in read_inode_1()
125 i.start = inode->start_block; in read_inode_1()
144 i.start = inode->start_block; in read_inode_1()
290 dirh.start_block, dire->offset, dire->type); in squashfs_opendir_1()
300 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_1()
301 dirh.start_block; in squashfs_opendir_1()
Dprocess_fragments.c105 long long start_block; in get_fragment() local
174 start_block = disk_fragment->start_block; in get_fragment()
184 res = read_filesystem(fd, start_block, size, data_buffer); in get_fragment()
201 res = read_filesystem(fd, start_block, size, buffer->data); in get_fragment()
Dread_fs.c205 directory_start_block = dir_inode->dir.start_block; in scan_inode_table()
212 directory_start_block = dir_inode->ldir.start_block; in scan_inode_table()
259 start = inode.start_block; in scan_inode_table()
314 start = inode.start_block; in scan_inode_table()
388 if(dir_inode.start_block < directory_start_block) in scan_inode_table()
405 if(dir_inode.start_block < directory_start_block) in scan_inode_table()
683 dirh.start_block, dire->offset, dire->type); in squashfs_readdir()
685 SQUASHFS_MKINODE(dirh.start_block, in squashfs_readdir()
910 *inode_dir_start_block = inode.dir.start_block; in read_filesystem()
916 *inode_dir_start_block = inode.ldir.start_block; in read_filesystem()
Dunsquashfs.h107 void (*read_fragment)(unsigned int fragment, long long *start_block,
112 struct inode *(*read_inode)(unsigned int start_block,
176 unsigned int start_block; member
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs.h247 unsigned int start_block; member
284 squashfs_block_t start_block; member
294 squashfs_block_t start_block; member
306 unsigned int start_block; member
315 unsigned int start_block; member
342 unsigned int start_block; member
347 long long start_block; member
442 SQUASHFS_SWAP((s)->start_block, d, 96, 64);\
453 SQUASHFS_SWAP((s)->start_block, d, 128, 64);\
466 SQUASHFS_SWAP((s)->start_block, d, 160, 32);\
[all …]
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c102 long long start_block = in get_fragment_location_2() local
111 start_block, offset, in get_fragment_location_2()
112 sizeof(sfragment_entry), &start_block, in get_fragment_location_2()
118 start_block, offset, in get_fragment_location_2()
119 sizeof(fragment_entry), &start_block, in get_fragment_location_2()
123 *fragment_start_block = fragment_entry.start_block; in get_fragment_location_2()
231 SQUASHFS_I(i)->start_block = inodep->start_block; in squashfs_iget_2()
242 inodep->start_block, next_block, in squashfs_iget_2()
274 SQUASHFS_I(i)->start_block = inodep->start_block; in squashfs_iget_2()
281 offset, inodep->start_block, in squashfs_iget_2()
[all …]
Dinode.c379 long long start_block = in get_fragment_location() local
388 start_block, offset, in get_fragment_location()
389 sizeof(sfragment_entry), &start_block, in get_fragment_location()
395 start_block, offset, in get_fragment_location()
396 sizeof(fragment_entry), &start_block, in get_fragment_location()
400 *fragment_start_block = fragment_entry.start_block; in get_fragment_location()
421 *s, long long start_block, in get_cached_fragment() argument
431 msblk->fragment[i].block != start_block; i++); in get_cached_fragment()
471 start_block, length, NULL))) { in get_cached_fragment()
473 "[%llx]\n", start_block); in get_cached_fragment()
[all …]
/external/u-boot/fs/yaffs2/
Dyaffs_uboot_glue.c161 int start_block, int end_block) in cmd_yaffs_devconfig() argument
192 if (end_block < start_block) { in cmd_yaffs_devconfig()
211 chk->param.start_block, chk->param.end_block, in cmd_yaffs_devconfig()
212 start_block, end_block)) { in cmd_yaffs_devconfig()
224 dev->param.start_block = start_block; in cmd_yaffs_devconfig()
244 mp, flash_dev, start_block, end_block, in cmd_yaffs_devconfig()
268 dev->param.start_block, dev->param.end_block, in cmd_yaffs_dev_ls()
/external/squashfs-tools/kernel/fs/squashfs/
Dsquashfs_fs.h241 __le32 start_block; member
295 __le32 start_block; member
309 __le64 start_block; member
326 __le32 start_block; member
342 __le32 start_block; member
371 __le32 start_block; member
376 __le64 start_block; member
Dfragment.c56 u64 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup() local
60 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, in squashfs_frag_lookup()
65 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
Did.c53 u64 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id() local
57 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id()
Dcache.c371 u64 start_block, int length) in squashfs_get_fragment() argument
375 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
386 u64 start_block, int length) in squashfs_get_datablock() argument
390 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
Dinode.c167 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
211 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
234 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
258 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs.h240 __le32 start_block; member
294 __le32 start_block; member
308 __le64 start_block; member
325 __le32 start_block; member
341 __le32 start_block; member
370 __le32 start_block; member
375 __le64 start_block; member
/external/u-boot/cmd/
Dyaffs2.c30 int start_block, int end_block);
69 int start_block; in do_ydevconfig() local
80 start_block = simple_strtol(argv[3], NULL, 16); in do_ydevconfig()
83 cmd_yaffs_devconfig(mtpoint, mtd_dev, start_block, end_block); in do_ydevconfig()
Donenand.c230 int start_block, end_block; in onenand_block_test() local
248 start_block = start >> this->erase_shift; in onenand_block_test()
252 if (start_block < 2) in onenand_block_test()
253 start_block = 2; in onenand_block_test()
258 blocks = start_block; in onenand_block_test()
/external/mesa3d/src/compiler/nir/
Dnir_dominance.c189 nir_block *start_block = nir_start_block(impl); in nir_calc_dominance_impl() local
190 start_block->imm_dom = NULL; in nir_calc_dominance_impl()
195 calc_dfs_indicies(start_block, &dfs_index); in nir_calc_dominance_impl()
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddead_branch_elim_pass.cpp452 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge() local
453 Instruction* branch = start_block->terminator(); in FindFirstExitFromSelectionMerge()
457 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
481 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
528 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddead_branch_elim_pass.cpp452 BasicBlock* start_block = context()->get_instr_block(start_block_id); in FindFirstExitFromSelectionMerge() local
453 Instruction* branch = start_block->terminator(); in FindFirstExitFromSelectionMerge()
457 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
481 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()
528 next_block_id = start_block->MergeBlockIdIfAny(); in FindFirstExitFromSelectionMerge()

123