Searched refs:v2pmap (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/fs/nilfs/ |
H A D | nilfs_vnops.c | 390 uint64_t *l2vmap, *v2pmap; in nilfs_read_filebuf() local 416 v2pmap = malloc(sizeof(uint64_t) * blks, M_TEMP, M_WAITOK); in nilfs_read_filebuf() 423 error = nilfs_nvtop(node, blks, l2vmap, v2pmap); in nilfs_read_filebuf() 432 node->ino, i, l2vmap[i], v2pmap[i])); in nilfs_read_filebuf() 451 nbp->b_blkno = v2pmap[i] * blk2dev; /* in DEV_BSIZE */ in nilfs_read_filebuf() 462 free(v2pmap, M_TEMP); in nilfs_read_filebuf()
|
H A D | nilfs_subr.h | 57 int nilfs_nvtop(struct nilfs_node *node, uint64_t blks, uint64_t *l2vmap, uint64_t *v2pmap);
|
H A D | nilfs_subr.c | 418 uint64_t *v2pmap) in nilfs_nvtop() argument 425 memcpy(v2pmap, l2vmap, blks * sizeof(uint64_t)); in nilfs_nvtop() 433 pblocknr = v2pmap + i; in nilfs_nvtop()
|