HomeSort by relevance Sort by last modified time
    Searched refs:blockno (Results 1 - 6 of 6) sorted by null

  /external/e2fsprogs/lib/ext2fs/
read_bb_file.c 42 blk64_t blockno; local
58 count = sscanf(buf, "%llu", &blockno);
62 if (blockno >> 32)
65 ((blockno < fs->super->s_first_data_block) ||
66 (blockno >= ext2fs_blocks_count(fs->super)))) {
68 (invalid)(fs, blockno, buf, priv_data);
71 retval = ext2fs_badblocks_list_add(*bb_list, blockno);
fileio.c 30 blk64_t blockno; member in struct:ext2_file
145 0, file->blockno, &ret_flags, &dontcare);
151 file->blockno, 0,
165 file->blockno, 0, &file->physblock);
189 if (b != file->blockno) {
195 file->blockno = b;
216 BMAP_BUFFER, 0, file->blockno, &ret_flags,
468 file->blockno, 0,
  /external/toybox/toys/pending/
tftp.c 108 static int mkpkt_ack(uint8_t *buffer, uint16_t blockno)
112 buffer[2] = blockno >> 8;
113 buffer[3] = blockno & 0xff;
182 uint16_t *blockno)
186 *blockno = (uint16_t) packet[2] << 8 | (uint16_t) packet[3];
192 // Makes data packet through FD from file OFFSET in buffer PACKET of BLOCKNO
193 static int mkpkt_data(int fd, off_t offset, uint8_t *packet, uint16_t blockno)
200 packet[2] = blockno >> 8;
201 packet[3] = blockno & 0xff;
212 // Receives ACK responses from server and updates blockno
271 uint16_t blockno = 0, opcode, rblockno = 0; local
387 uint16_t blockno = 1, rblockno, port = 0; local
    [all...]
tftpd.c 92 uint16_t blockno = 1, pktopcode, rblockno; local
112 // For download -> blockno will be 1.
113 // 1st ACK will be from dst,which will have blockno-=1
134 // upload -> ACK 1st packet with filename, as it has blockno 0.
135 if (opcode == TFTPD_OP_WRQ) blockno = 0;
143 *((uint16_t*)ptr) = htons(blockno);
144 blockno++;
157 // 1st ACK will be from dst, which will have blockno-=1
206 if (rblockno == (uint16_t) (blockno - 1)) {
214 if (rblockno == blockno) {
    [all...]
  /external/u-boot/fs/ext4/
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);
ext4_common.c 305 int ext4fs_set_block_bmap(long int blockno, unsigned char *buffer, int index)
310 i = blockno / 8;
311 remainder = blockno % 8;
341 void ext4fs_reset_block_bmap(long int blockno, unsigned char *buffer, int index)
346 i = blockno / 8;
347 remainder = blockno % 8;
1017 /* get the blockbitmap index respective to blockno */
1151 /* get the blockbitmap index respective to blockno */
    [all...]

Completed in 695 milliseconds