Home
last modified time | relevance | path

Searched refs:kdev (Results 1 – 4 of 4) sorted by relevance

/third_party/e2fsprogs/debugfs/
Djournal.c124 struct buffer_head *getblk(kdev_t kdev, unsigned long long blocknr, in getblk() argument
128 int bufsize = sizeof(*bh) + kdev->k_fs->blocksize - in getblk()
141 bh->b_fs = kdev->k_fs; in getblk()
142 if (kdev->k_dev == K_DEV_FS) in getblk()
143 bh->b_io = kdev->k_fs->io; in getblk()
145 bh->b_io = kdev->k_fs->journal_io; in getblk()
152 int sync_blockdev(kdev_t kdev) in sync_blockdev() argument
156 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()
157 io = kdev->k_fs->io; in sync_blockdev()
159 io = kdev->k_fs->journal_io; in sync_blockdev()
/third_party/e2fsprogs/lib/ext2fs/
Djfs_compat.h70 #define blkdev_issue_flush(kdev) sync_blockdev(kdev) argument
/third_party/e2fsprogs/e2fsck/
Djournal.c119 struct buffer_head *getblk(kdev_t kdev, unsigned long long blocknr, in getblk() argument
123 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - in getblk()
126 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer"); in getblk()
135 bh->b_ctx = kdev->k_ctx; in getblk()
136 if (kdev->k_dev == K_DEV_FS) in getblk()
137 bh->b_io = kdev->k_ctx->fs->io; in getblk()
139 bh->b_io = kdev->k_ctx->journal_io; in getblk()
146 int sync_blockdev(kdev_t kdev) in sync_blockdev() argument
150 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()
151 io = kdev->k_ctx->fs->io; in sync_blockdev()
[all …]
Djfs_user.h195 int sync_blockdev(kdev_t kdev);