Lines Matching refs:blknr
58 nandfs_daddr_t blknr;
572 nandfs_daddr_t blknr, blkoff;
574 blknr = fs->nf_offset / fs->nf_blocksize;
577 if (blknr != fs->nf_buf_blknr) {
581 if (nandfs_read_inode(fs, fs->nf_opened_node, blknr, 1,
585 fs->nf_buf_blknr = blknr;
769 nandfs_daddr_t blknr, u_int nblks, void *buf, int raw)
779 NANDFS_DEBUG("nandfs_read_inode fs=%p node=%p blknr=%lld nblks=%d\n",
780 fs, node, blknr, nblks);
782 error = nandfs_bmap_lookup(fs, node, blknr + i, &vblks[i], raw);
811 nandfs_read_blk(struct nandfs *fs, nandfs_daddr_t blknr, void *buf, int phys)
815 pblknr = (phys ? blknr : nandfs_vtop(fs, blknr));
851 nandfs_get_map(struct nandfs *fs, struct nandfs_node *node, nandfs_daddr_t blknr,
858 if (bmap->blknr == blknr)
863 if (nandfs_read_blk(fs, blknr, map, phys)) {
869 bmap->blknr = blknr;
986 nandfs_daddr_t blknr;
998 blknr = 1 + desc_block * mdt->blocks_per_desc_block;
1001 blknr += desc_offset * mdt->blocks_per_group;
1004 blknr += 1 + blocknr_in_group;
1006 *blocknr = blknr;