Home
last modified time | relevance | path

Searched refs:sec_buf (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/fs/
Dfs_internal.c18 ALLOC_CACHE_ALIGN_BUFFER(char, sec_buf, (blk ? blk->blksz : 0)); in fs_devread()
43 (void *)sec_buf) != 1) { in fs_devread()
49 memcpy(buf, sec_buf + byte_offset, readlen); in fs_devread()
85 (void *)sec_buf) != 1) { in fs_devread()
89 memcpy(buf, sec_buf, byte_len); in fs_devread()
/external/toybox/toys/pending/
Dfdisk.c237 char *sec_buf = NULL; in read_ebr() local
253 sec_buf = xzalloc(g_sect_size); in read_ebr()
254 partitions[num_parts].part = part_offset(sec_buf, 0); in read_ebr()
255 partitions[num_parts].sec_buffer = sec_buf; in read_ebr()
262 if (g_sect_size != readall(dev_fd, sec_buf, g_sect_size)) { in read_ebr()
267 q = part_offset(sec_buf, 1); in read_ebr()
/external/u-boot/fs/ext4/
Dext4_common.c201 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, sec_buf, fs->dev_desc->blksz); in put_ext4()
219 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
220 temp_ptr = sec_buf; in put_ext4()
222 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
228 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
229 temp_ptr = sec_buf; in put_ext4()
232 (unsigned long *)sec_buf); in put_ext4()