Searched refs:ns_bdev (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/fs/nilfs2/ |
H A D | recovery.c | 110 bh = __bread(nilfs->ns_bdev, ++start, blocksize); in nilfs_compute_checksum() 139 bh_sr = __bread(nilfs->ns_bdev, sr_block, nilfs->ns_blocksize); in nilfs_read_super_root_block() 186 bh_sum = __bread(nilfs->ns_bdev, start_blocknr, nilfs->ns_blocksize); in nilfs_read_log_header() 253 *pbh = __bread(nilfs->ns_bdev, blocknr + 1, in nilfs_read_summary_info() 292 *pbh = __bread(nilfs->ns_bdev, blocknr + bcnt, in nilfs_skip_summary_info() 321 bh = __bread(nilfs->ns_bdev, start_blocknr, nilfs->ns_blocksize); in nilfs_scan_dsync_log() 481 bh_org = __bread(nilfs->ns_bdev, rb->blocknr, nilfs->ns_blocksize); in nilfs_recovery_copy_block() 700 bh = __getblk(nilfs->ns_bdev, ri->ri_lsegs_start, nilfs->ns_blocksize); in nilfs_finish_roll_forward() 857 __breadahead(nilfs->ns_bdev, b++, nilfs->ns_blocksize); in nilfs_search_super_root() 903 __breadahead(nilfs->ns_bdev, b++, in nilfs_search_super_root()
|
H A D | the_nilfs.c | 65 nilfs->ns_bdev = sb->s_bdev; in alloc_nilfs() 236 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs() 600 u64 sb2off, devsize = bdev_nr_bytes(nilfs->ns_bdev); in nilfs_load_super_block() 778 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_discard_segments() 788 ret = blkdev_issue_discard(nilfs->ns_bdev, in nilfs_discard_segments() 798 ret = blkdev_issue_discard(nilfs->ns_bdev, in nilfs_discard_segments()
|
H A D | the_nilfs.h | 100 struct block_device *ns_bdev; member 380 err = blkdev_issue_flush(nilfs->ns_bdev); in nilfs_flush_device()
|
H A D | sufile.c | 1073 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_sufile_trim_fs() 1145 ret = blkdev_issue_discard(nilfs->ns_bdev, in nilfs_sufile_trim_fs() 1179 ret = blkdev_issue_discard(nilfs->ns_bdev, in nilfs_sufile_trim_fs()
|
H A D | ioctl.c | 1061 if (!bdev_max_discard_sectors(nilfs->ns_bdev)) in nilfs_ioctl_trim_fs() 1068 bdev_discard_granularity(nilfs->ns_bdev)); in nilfs_ioctl_trim_fs()
|
H A D | segbuf.c | 382 wi->bio = bio_alloc(wi->nilfs->ns_bdev, wi->nr_vecs, in nilfs_segbuf_submit_bh()
|
H A D | segment.c | 2871 inode_attach_wb(nilfs->ns_bdev->bd_inode, NULL); in nilfs_attach_log_writer()
|