Searched refs:blocks (Results 1 – 13 of 13) sorted by relevance
/system/extras/ext4_utils/ |
D | allocate.h | 50 int reserve_oob_blocks(struct block_allocation *alloc, int blocks); 51 int advance_blocks(struct block_allocation *alloc, int blocks); 52 int advance_oob_blocks(struct block_allocation *alloc, int blocks);
|
D | extent.c | 83 u64 blocks; in do_inode_allocate_extents() local 165 blocks = (u64)block_len * info.block_size / 512; in do_inode_allocate_extents() 170 inode->i_blocks_lo = blocks; in do_inode_allocate_extents() 171 inode->osd2.linux2.l_i_blocks_high = blocks >> 32; in do_inode_allocate_extents()
|
D | allocate.c | 624 int reserve_oob_blocks(struct block_allocation *alloc, int blocks) in reserve_oob_blocks() argument 626 struct region *oob = split_allocation(alloc, blocks); in reserve_oob_blocks() 642 static int advance_list_ptr(struct region_list *list, int blocks) in advance_list_ptr() argument 646 while (reg != NULL && blocks > 0) { in advance_list_ptr() 647 if (reg->len > list->partial_iter + blocks) { in advance_list_ptr() 648 list->partial_iter += blocks; in advance_list_ptr() 652 blocks -= (reg->len - list->partial_iter); in advance_list_ptr() 657 if (blocks > 0) in advance_list_ptr() 664 int advance_blocks(struct block_allocation *alloc, int blocks) in advance_blocks() argument 666 return advance_list_ptr(&alloc->list, blocks); in advance_blocks() [all …]
|
D | indirect.c | 436 u64 blocks; in inode_attach_resize() local 476 blocks = ((u64)block_len + 1) * info.block_size / 512; in inode_attach_resize() 481 inode->i_blocks_lo = blocks; in inode_attach_resize() 482 inode->osd2.linux2.l_i_blocks_high = blocks >> 32; in inode_attach_resize()
|
D | make_ext4fs.c | 329 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); in compute_inodes_per_group() local 330 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_inodes_per_group() 344 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); in compute_bg_desc_reserve_blocks() local 345 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); in compute_bg_desc_reserve_blocks()
|
D | contents.c | 99 u32 blocks; in make_directory() local 107 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); in make_directory() 108 len = blocks * info.block_size; in make_directory()
|
/system/core/libsparse/ |
D | sparse_read.c | 99 int fd, int64_t offset, unsigned int blocks, unsigned int block, in process_raw_chunk() argument 104 unsigned int len = blocks * s->block_size; in process_raw_chunk() 110 if (chunk_size / s->block_size != blocks) { in process_raw_chunk() 137 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_fill_chunk() argument 141 int64_t len = (int64_t)blocks * s->block_size; in process_fill_chunk() 178 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_skip_chunk() argument 182 int64_t len = (int64_t)blocks * s->block_size; in process_skip_chunk()
|
D | sparse.c | 134 unsigned int blocks = backed_block_block(bb) - last_block; in write_all_blocks() local 135 write_skip_chunk(out, (int64_t)blocks * s->block_size); in write_all_blocks()
|
/system/core/toolbox/ |
D | du.c | 233 prstat(const char *fname, int64_t blocks) in prstat() argument 236 (long long)howmany(blocks, (int64_t)blocksize), in prstat()
|
/system/core/gpttool/ |
D | gpttool.c | 95 void init_mbr(u8 *mbr, u32 blocks) in init_mbr() argument 112 memcpy(mbr + 0x1ca, &blocks, sizeof(u32)); in init_mbr()
|
/system/core/sdcard/ |
D | fuse.h | 89 __u64 blocks; member 106 __u64 blocks; member
|
D | sdcard.c | 280 attr->blocks = s->st_blocks; in attr_from_stat() 901 out.st.blocks = stat.f_blocks; in handle_statfs()
|
/system/core/sh/ |
D | TOUR | 105 linked list of blocks.
|