Searched refs:block (Results 1 - 18 of 18) sorted by relevance

/system/extras/ext4_utils/
H A Dbacked_block.c23 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 Dbacked_block.h29 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 Dallocate.h35 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 Dallocate.c38 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 Dext2simg.c37 fprintf(stderr, "%s [ options ] <image or block device> <output image>\n", path);
39 fprintf(stderr, " -c include CRC block\n");
69 critical_error_errno("failed to seek to block group descriptors");
73 critical_error_errno("failed to read block group descriptors");
75 critical_error("failed to read all of block group descriptors");
87 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks);
109 unsigned int block; local
116 critical_error("failed to allocate block bitmap");
129 critical_error_errno("failed to seek to block group bitmap %d", i);
133 critical_error_errno("failed to read block grou
[all...]
H A Dsha1.c40 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
41 |(rol(block->l[i],8)&0x00FF00FF))
43 # define blk0(i) block->l[i]
45 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
46 ^block->l[(i+2)&15]^block->l[i&15],1))
81 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
91 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
101 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
111 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
129 CHAR64LONG16 *block; local
[all...]
H A Dext4fixup.c36 /* The inode block count for a file/directory is in units of 512 byte blocks,
37 * _NOT_ the filesystem block size!
226 critical_error_errno("failed to seek to block group descriptors");
230 critical_error_errno("failed to read block group descriptors");
232 critical_error("failed to read all of block group descriptors");
244 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks);
279 static int read_block(int fd, unsigned long long block_num, void *block) argument
287 critical_error_errno("failed to seek to block %lld\n", block_num);
290 len=read(fd, block, info.block_size);
292 critical_error_errno("failed to read block
298 write_block(int fd, unsigned long long block_num, void *block) argument
339 unsigned char block[MAX_EXT4_BLOCK_SIZE]; local
542 unsigned char block[MAX_EXT4_BLOCK_SIZE]; local
[all...]
/system/core/rootdir/etc/
H A Dmountd.conf5 ## 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 Dsignal_handler.c44 static int wait_for_one_process(int block) argument
54 while ( (pid = waitpid(-1, &status, block ? 0 : WNOHANG)) == -1 && errno == EINTR );
H A Ddevices.c177 int block, int major, int minor)
184 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR);
406 snprintf(link_path, sizeof(link_path), "/dev/block/platform/%s", device);
439 const char *path, int block, int major, int minor, char **links)
444 make_device(devpath, path, block, major, minor);
499 const char *base = "/dev/block/";
589 if (!strncmp(uevent->subsystem, "block", 5)) {
834 coldboot("/sys/block");
175 make_device(const char *path, const char *upath, int block, int major, int minor) argument
438 handle_device(const char *action, const char *devpath, const char *path, int block, int major, int minor, char **links) argument
/system/media/mca/filterpacks/videosrc/java/
H A DSurfaceTextureSource.java199 gotNewFrame = mNewFrameAvailable.block(mWaitTimeout);
210 mNewFrameAvailable.block();
/system/core/sh/
H A Djobs.c1042 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 Doutput.c73 #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/media/mca/filterfw/java/android/filterfw/core/
H A DSyncRunner.java159 mWakeCondition.block();
/system/core/sdcard/
H A Dfuse.h495 __u64 block; member in struct:fuse_bmap_in
501 __u64 block; member in struct:fuse_bmap_out
/system/core/toolbox/
H A Ddd.c70 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 Dperm_checker.conf82 /dev/block/ 750 775 root root root root
83 /dev/block/* 600 600 root root root root
/system/core/gpttool/
H A Dgpttool.c82 u8 block[512]; member in union:ptable::__anon292
166 fprintf(stderr,"ptn start block end block name\n");
297 fprintf(stderr,"error: cannot query block device size\n");

Completed in 165 milliseconds