Searched refs:nilfsdev (Results 1 – 5 of 5) sorted by relevance
| /netbsd-src/sys/fs/nilfs/ |
| H A D | nilfs_vfsops.c | 298 nilfs_create_system_nodes(struct nilfs_device *nilfsdev) in nilfs_create_system_nodes() argument 302 error = nilfs_get_node_raw(nilfsdev, NULL, NILFS_DAT_INO, in nilfs_create_system_nodes() 303 &nilfsdev->super_root.sr_dat, &nilfsdev->dat_node); in nilfs_create_system_nodes() 307 error = nilfs_get_node_raw(nilfsdev, NULL, NILFS_CPFILE_INO, in nilfs_create_system_nodes() 308 &nilfsdev->super_root.sr_cpfile, &nilfsdev->cp_node); in nilfs_create_system_nodes() 312 error = nilfs_get_node_raw(nilfsdev, NULL, NILFS_SUFILE_INO, in nilfs_create_system_nodes() 313 &nilfsdev->super_root.sr_sufile, &nilfsdev->su_node); in nilfs_create_system_nodes() 319 nilfs_dispose_node(&nilfsdev->dat_node); in nilfs_create_system_nodes() 320 nilfs_dispose_node(&nilfsdev->cp_node); in nilfs_create_system_nodes() 321 nilfs_dispose_node(&nilfsdev->su_node); in nilfs_create_system_nodes() [all …]
|
| H A D | nilfs_subr.c | 68 uint64_t nilfs_get_segnum_of_block(struct nilfs_device *nilfsdev, in nilfs_get_segnum_of_block() argument 71 return blocknr / nilfs_rw32(nilfsdev->super.s_blocks_per_segment); in nilfs_get_segnum_of_block() 76 nilfs_get_segment_range(struct nilfs_device *nilfsdev, uint64_t segnum, in nilfs_get_segment_range() argument 81 blks_per_seg = nilfs_rw64(nilfsdev->super.s_blocks_per_segment); in nilfs_get_segment_range() 85 *seg_start = nilfs_rw64(nilfsdev->super.s_first_data_block); in nilfs_get_segment_range() 89 void nilfs_calc_mdt_consts(struct nilfs_device *nilfsdev, in nilfs_calc_mdt_consts() argument 92 uint32_t blocksize = nilfsdev->blocksize; in nilfs_calc_mdt_consts() 130 nilfs_dev_bread(struct nilfs_device *nilfsdev, uint64_t blocknr, in nilfs_dev_bread() argument 133 int blk2dev = nilfsdev->blocksize / DEV_BSIZE; in nilfs_dev_bread() 135 return bread(nilfsdev->devvp, blocknr * blk2dev, nilfsdev->blocksize, in nilfs_dev_bread() [all …]
|
| H A D | nilfs_subr.h | 36 uint64_t nilfs_get_segnum_of_block(struct nilfs_device *nilfsdev, uint64_t blocknr); 37 void nilfs_get_segment_range(struct nilfs_device *nilfsdev, uint64_t segnum, 39 void nilfs_calc_mdt_consts(struct nilfs_device *nilfsdev, 44 int nilfs_get_segment_log(struct nilfs_device *nilfsdev, uint64_t *blocknr, 46 void nilfs_search_super_root(struct nilfs_device *nilfsdev); 60 int nilfs_get_node_raw(struct nilfs_device *nilfsdev, struct nilfs_mount *ump, uint64_t ino, struct…
|
| H A D | nilfs.h | 169 struct nilfs_device *nilfsdev; member 189 struct nilfs_device *nilfsdev; member
|
| H A D | nilfs_vnops.c | 341 blocksize = node->nilfsdev->blocksize; in nilfs_trivial_bmap() 388 struct nilfs_device *nilfsdev = node->nilfsdev; in nilfs_read_filebuf() local 394 int blk2dev = nilfsdev->blocksize / DEV_BSIZE; in nilfs_read_filebuf() 403 blocksize = nilfsdev->blocksize; in nilfs_read_filebuf() 454 VOP_STRATEGY(nilfsdev->devvp, nbp); in nilfs_read_filebuf() 527 uint32_t blocksize = node->nilfsdev->blocksize; in nilfs_readdir() 799 vap->va_blocksize = node->nilfsdev->blocksize; in nilfs_getattr()
|