Home
last modified time | relevance | path

Searched refs:blockno (Results 1 – 5 of 5) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dread_bb_file.c41 blk64_t blockno; in ext2fs_read_bb_FILE2() local
57 count = sscanf(buf, "%llu", &blockno); in ext2fs_read_bb_FILE2()
61 if (blockno >> 32) in ext2fs_read_bb_FILE2()
64 ((blockno < fs->super->s_first_data_block) || in ext2fs_read_bb_FILE2()
65 (blockno >= ext2fs_blocks_count(fs->super)))) { in ext2fs_read_bb_FILE2()
67 (invalid)(fs, blockno, buf, priv_data); in ext2fs_read_bb_FILE2()
70 retval = ext2fs_badblocks_list_add(*bb_list, blockno); in ext2fs_read_bb_FILE2()
Dfileio.c29 blk64_t blockno; member
140 file->blockno, 0, &file->physblock); in ext2fs_file_flush()
164 if (b != file->blockno) { in sync_buffer_position()
170 file->blockno = b; in sync_buffer_position()
190 BMAP_BUFFER, 0, file->blockno, 0, in load_buffer()
308 file->blockno, 0, in ext2fs_file_write()
/external/toybox/toys/pending/
Dtftp.c108 static int mkpkt_ack(uint8_t *buffer, uint16_t blockno) in mkpkt_ack() argument
112 buffer[2] = blockno >> 8; in mkpkt_ack()
113 buffer[3] = blockno & 0xff; in mkpkt_ack()
182 uint16_t *blockno) in check_data() argument
186 *blockno = (uint16_t) packet[2] << 8 | (uint16_t) packet[3]; in check_data()
193 static int mkpkt_data(int fd, off_t offset, uint8_t *packet, uint16_t blockno) in mkpkt_data() argument
200 packet[2] = blockno >> 8; in mkpkt_data()
201 packet[3] = blockno & 0xff; in mkpkt_data()
214 uint16_t *port, uint16_t *blockno) in read_ack() argument
257 if (blockno) *blockno = rblockno; in read_ack()
[all …]
Dtftpd.c92 uint16_t blockno = 1, pktopcode, rblockno; in do_action() local
135 if (opcode == TFTPD_OP_WRQ) blockno = 0; in do_action()
143 *((uint16_t*)ptr) = htons(blockno); in do_action()
144 blockno++; in do_action()
206 if (rblockno == (uint16_t) (blockno - 1)) { in do_action()
214 if (rblockno == blockno) { in do_action()
/external/valgrind/coregrind/
Dm_mallocfree.c1216 UInt i, j, blockno = 1; in ppSuperblocks() local
1224 blockno++, sb, (sb->unsplittable ? "unsplittable" : ""), in ppSuperblocks()