Searched refs:blockno (Results 1 – 6 of 6) sorted by relevance
/external/toybox/toys/pending/ |
D | tftp.c | 108 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 …]
|
D | tftpd.c | 92 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/e2fsprogs/lib/ext2fs/ |
D | read_bb_file.c | 42 blk64_t blockno; in ext2fs_read_bb_FILE2() local 58 count = sscanf(buf, "%llu", &blockno); in ext2fs_read_bb_FILE2() 62 if (blockno >> 32) in ext2fs_read_bb_FILE2() 65 ((blockno < fs->super->s_first_data_block) || in ext2fs_read_bb_FILE2() 66 (blockno >= ext2fs_blocks_count(fs->super)))) { in ext2fs_read_bb_FILE2() 68 (invalid)(fs, blockno, buf, priv_data); in ext2fs_read_bb_FILE2() 71 retval = ext2fs_badblocks_list_add(*bb_list, blockno); in ext2fs_read_bb_FILE2()
|
D | fileio.c | 30 blk64_t blockno; member 145 0, file->blockno, &ret_flags, &dontcare); in ext2fs_file_flush() 151 file->blockno, 0, in ext2fs_file_flush() 165 file->blockno, 0, &file->physblock); in ext2fs_file_flush() 189 if (b != file->blockno) { in sync_buffer_position() 195 file->blockno = b; in sync_buffer_position() 216 BMAP_BUFFER, 0, file->blockno, &ret_flags, in load_buffer() 468 file->blockno, 0, in ext2fs_file_write()
|
/external/u-boot/fs/ext4/ |
D | ext4_common.h | 66 void ext4fs_reset_block_bmap(long int blockno, unsigned char *buffer, 68 int ext4fs_set_block_bmap(long int blockno, unsigned char *buffer, int index);
|
D | ext4_common.c | 305 int ext4fs_set_block_bmap(long int blockno, unsigned char *buffer, int index) in ext4fs_set_block_bmap() argument 310 i = blockno / 8; in ext4fs_set_block_bmap() 311 remainder = blockno % 8; in ext4fs_set_block_bmap() 341 void ext4fs_reset_block_bmap(long int blockno, unsigned char *buffer, int index) in ext4fs_reset_block_bmap() argument 346 i = blockno / 8; in ext4fs_reset_block_bmap() 347 remainder = blockno % 8; in ext4fs_reset_block_bmap()
|