/system/core/gpttool/ |
H A D | gpttool.c | 95 void init_mbr(u8 *mbr, u32 blocks) argument 112 memcpy(mbr + 0x1ca, &blocks, sizeof(u32)); 301 fprintf(stderr,"blocks %lld\n", sz);
|
/system/core/libsparse/ |
H A D | sparse.c | 134 unsigned int blocks = backed_block_block(bb) - last_block; local 135 write_skip_chunk(out, (int64_t)blocks * s->block_size);
|
H A D | sparse_read.c | 99 int fd, int64_t offset, unsigned int blocks, unsigned int block, 104 unsigned int len = blocks * s->block_size; 110 if (chunk_size / s->block_size != blocks) { 137 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) 141 int64_t len = (int64_t)blocks * s->block_size; 178 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) 182 int64_t len = (int64_t)blocks * s->block_size; 98 process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, int64_t offset, unsigned int blocks, unsigned int block, uint32_t *crc32) argument 136 process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) argument 177 process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) argument
|
/system/core/sdcard/ |
H A D | fuse.h | 89 __u64 blocks; member in struct:fuse_attr 106 __u64 blocks; member in struct:fuse_kstatfs
|
H A D | sdcard.c | 278 attr->blocks = s->st_blocks; 899 out.st.blocks = stat.f_blocks;
|
/system/core/toolbox/ |
H A D | du.c | 144 * the blocks actually used by symbolic links. We rationalize this by 233 prstat(const char *fname, int64_t blocks) argument 236 (long long)howmany(blocks, (int64_t)blocksize),
|
/system/extras/ext4_utils/ |
H A D | allocate.c | 196 /* Marks a the first num_blocks blocks in a block group as used, and accounts 244 /* Reduces an existing allocation by len blocks by return the last blocks 245 to the free pool in their block group. Assumes that the blocks being 302 error("failed to reserve %u blocks in block group %u\n", bg->header_blocks, i); 340 error("failed to reserve %u blocks in block group %u\n", len, bg_num); 405 error("failed to allocate %d blocks in block group %d", bg_len, i); 459 /* Allocate len blocks. The blocks may be spread across multiple block groups, 460 and are returned in a linked list of the blocks i 613 reserve_oob_blocks(struct block_allocation *alloc, int blocks) argument 631 advance_list_ptr(struct region_list *list, int blocks) argument 653 advance_blocks(struct block_allocation *alloc, int blocks) argument 658 advance_oob_blocks(struct block_allocation *alloc, int blocks) argument [all...] |
H A D | allocate.h | 47 int reserve_oob_blocks(struct block_allocation *alloc, int blocks); 48 int advance_blocks(struct block_allocation *alloc, int blocks); 49 int advance_oob_blocks(struct block_allocation *alloc, int blocks);
|
H A D | contents.c | 95 u32 blocks; local 103 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); 104 len = blocks * info.block_size;
|
H A D | extent.c | 83 u64 blocks; local 86 error("Failed to allocate %d blocks\n", block_len + 1); 165 blocks = (u64)block_len * info.block_size / 512; 170 inode->i_blocks_lo = blocks; 171 inode->osd2.linux2.l_i_blocks_high = blocks >> 32; 178 /* Allocates enough blocks to hold len bytes, with backing_len bytes in a data 204 /* Allocates enough blocks to hold len bytes, queues them to be written 222 /* Allocates enough blocks to hold len bytes and connects them to an inode */
|
H A D | indirect.c | 34 critical_error("indirect backing larger than %d blocks", EXT4_NDIR_BLOCKS); 65 error("failed to advance %d blocks", len); 133 error("failed to advance %d blocks", ind_block_len); 166 /* Given an allocation, attach as many blocks as possible to direct inode 167 blocks, and return the rest */ 179 error("failed to advance %d blocks", len); 187 /* Given an allocation, attach as many blocks as possible to indirect blocks, 189 Assumes that the blocks necessary to hold the indirect blocks wer 436 u64 blocks; local [all...] |
H A D | make_ext4fs.c | 67 Allocating blocks in the same block group as the file inode 262 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); local 263 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); 277 u32 blocks = DIV_ROUND_UP(info.len, info.block_size); local 278 u32 block_groups = DIV_ROUND_UP(blocks, info.blocks_per_group); 391 printf(" Journal blocks: %d\n", info.journal_blocks); 460 printf("Created filesystem with %d/%d inodes and %d/%d blocks\n",
|