/system/extras/ext4_utils/ |
H A D | backed_block.c | 23 u32 block; member in struct:data_block 47 if (data_blocks->block > new_db->block) { 55 there if the next block number is higher */ 56 if (last_used && new_db->block > last_used->block) 62 for (; db->next && db->next->block < new_db->block; db = db->next) 73 /* Queues a fill block of memory to be written to the specified data blocks */ 74 void queue_fill_block(u32 fill_val, u32 len, u32 block) argument 92 queue_data_block(u8 *data, u32 len, u32 block) argument 109 queue_data_file(const char *filename, off64_t offset, u32 len, u32 block) argument [all...] |
H A D | backed_block.h | 29 void queue_data_block(u8 *data, u32 len, u32 block); 30 void queue_fill_block(u32 fill_val, u32 len, u32 block); 32 u32 block);
|
H A D | allocate.h | 35 u32 get_block(struct block_allocation *alloc, u32 block); 36 u32 get_oob_block(struct block_allocation *alloc, u32 block); 38 void get_region(struct block_allocation *alloc, u32 *block, u32 *len); 53 u32 block, u32 len, int bg);
|
H A D | allocate.c | 38 u32 block; member in struct:region 114 reg->bg * info.blocks_per_group + reg->block, 115 reg->bg * info.blocks_per_group + reg->block + reg->len - 1, 131 u32 block, u32 len, int bg_num) 135 reg->block = block; 148 u32 block = bg->first_block + 2; 151 block += aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks + 1; 158 * info.block_size, block); 164 u32 block; local 130 append_region(struct block_allocation *alloc, u32 block, u32 len, int bg_num) argument 200 u32 block = start; local 235 u32 block = bg->first_free_block - 1; local 287 u32 block = bg->first_block; local 352 u32 block = ext4_allocate_blocks_from_block_group(len, i); local 373 u32 block = ext4_allocate_blocks_from_block_group(1, i); local 390 u32 block; local 503 get_block(struct block_allocation *alloc, u32 block) argument 516 get_oob_block(struct block_allocation *alloc, u32 block) argument 531 get_region(struct block_allocation *alloc, u32 *block, u32 *len) argument [all...] |
H A D | ext2simg.c | 41 fprintf(stderr, "%s [ options ] <image or block device> <output image>\n", path); 43 fprintf(stderr, " -c include CRC block\n"); 73 critical_error_errno("failed to seek to block group descriptors"); 77 critical_error_errno("failed to read block group descriptors"); 79 critical_error("failed to read all of block group descriptors"); 91 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); 113 unsigned int block; local 120 critical_error("failed to allocate block bitmap"); 133 critical_error_errno("failed to seek to block group bitmap %d", i); 137 critical_error_errno("failed to read block grou [all...] |
H A D | sha1.c | 42 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ 43 |(rol(block->l[i],8)&0x00FF00FF)) 45 # define blk0(i) block->l[i] 47 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ 48 ^block->l[(i+2)&15]^block->l[i&15],1)) 83 do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) argument 93 do_R2(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) argument 103 do_R3(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) argument 113 do_R4(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) argument 131 CHAR64LONG16 *block; local [all...] |
H A D | ext4fixup.c | 39 /* The inode block count for a file/directory is in units of 512 byte blocks, 40 * _NOT_ the filesystem block size! 229 critical_error_errno("failed to seek to block group descriptors"); 233 critical_error_errno("failed to read block group descriptors"); 235 critical_error("failed to read all of block group descriptors"); 247 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); 282 static int read_block(int fd, unsigned long long block_num, void *block) argument 290 critical_error_errno("failed to seek to block %lld\n", block_num); 293 len=read(fd, block, info.block_size); 295 critical_error_errno("failed to read block 301 write_block(int fd, unsigned long long block_num, void *block) argument 342 unsigned char block[MAX_EXT4_BLOCK_SIZE]; local 545 unsigned char block[MAX_EXT4_BLOCK_SIZE]; local [all...] |
/system/core/rootdir/etc/ |
H A D | mountd.conf | 5 ## root block device with partition map or raw FAT file system 6 block_device /dev/block/mmcblk0 8 ## mount point for block device 14 ## path to the UMS driver file for specifying the block device path
|
/system/core/init/ |
H A D | signal_handler.c | 44 static int wait_for_one_process(int block) argument 54 while ( (pid = waitpid(-1, &status, block ? 0 : WNOHANG)) == -1 && errno == EINTR );
|
H A D | devices.c | 188 int block, int major, int minor) 198 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR); 462 snprintf(link_path, sizeof(link_path), "/dev/block/platform/%s", device); 495 const char *path, int block, int major, int minor, char **links) 500 make_device(devpath, path, block, major, minor); 555 const char *base = "/dev/block/"; 666 if (!strncmp(uevent->subsystem, "block", 5)) { 918 coldboot("/sys/block"); 186 make_device(const char *path, const char *upath, int block, int major, int minor) argument 494 handle_device(const char *action, const char *devpath, const char *path, int block, int major, int minor, char **links) argument
|
/system/core/sh/ |
H A D | jobs.c | 1042 dowait(int block, struct job *job) argument 1053 TRACE(("dowait(%d) called\n", block)); 1055 pid = waitproc(block, job, &status); 1116 * stopped processes. If block is zero, we return a value of zero 1125 * system call would not block if the two counters were different. 1153 waitproc(int block, struct job *jp, int *status) argument 1162 if (block == 0) 1169 if (block == 0) { 1178 if (block == 0)
|
H A D | output.c | 73 #define BLOCK_OUT -2 /* output to a fixed block of memory */ 109 open_mem(char *block, int length, struct output *file) argument 111 file->nextc = block;
|
/system/core/sdcard/ |
H A D | fuse.h | 495 __u64 block; member in struct:fuse_bmap_in 501 __u64 block; member in struct:fuse_bmap_out
|
/system/core/toolbox/ |
H A D | dd.c | 70 void block(void); 115 uint64_t cbsz; /* conversion block size */ 347 * If doing block operations use spaces. This will 349 * last partial input block which should be padded 391 /* If sync not specified, omit block and continue. */ 406 /* If sync, use the entire block. */ 416 * than noerror, notrunc or sync are specified, the block 449 else if (cfunc == block) 458 * to write out the final block un-sparse 497 * output block i 809 void block(void) { fprintf(stderr, "%s", no_block + 2); exit(1); } function 823 block(void) function [all...] |
/system/extras/tests/fstest/ |
H A D | perm_checker.conf | 82 /dev/block/ 750 775 root root root root 83 /dev/block/* 600 600 root root root root
|
/system/core/gpttool/ |
H A D | gpttool.c | 82 u8 block[512]; member in union:ptable::__anon288 166 fprintf(stderr,"ptn start block end block name\n"); 297 fprintf(stderr,"error: cannot query block device size\n");
|