Home
last modified time | relevance | path

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

/external/e2fsprogs/debugfs/
Djournal.c124 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument
127 int bufsize = sizeof(*bh) + kdev->k_fs->blocksize - in getblk()
142 bh->b_fs = kdev->k_fs; in getblk()
143 if (kdev->k_dev == K_DEV_FS) in getblk()
144 bh->b_io = kdev->k_fs->io; in getblk()
146 bh->b_io = kdev->k_fs->journal_io; in getblk()
153 int sync_blockdev(kdev_t kdev) in sync_blockdev() argument
157 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()
158 io = kdev->k_fs->io; in sync_blockdev()
160 io = kdev->k_fs->journal_io; in sync_blockdev()
/external/e2fsprogs/e2fsck/
Djournal.c119 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument
122 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - in getblk()
125 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer"); in getblk()
136 bh->b_ctx = kdev->k_ctx; in getblk()
137 if (kdev->k_dev == K_DEV_FS) in getblk()
138 bh->b_io = kdev->k_ctx->fs->io; in getblk()
140 bh->b_io = kdev->k_ctx->journal_io; in getblk()
147 int sync_blockdev(kdev_t kdev) in sync_blockdev() argument
151 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()
152 io = kdev->k_ctx->fs->io; in sync_blockdev()
[all …]
Djfs_user.h185 int sync_blockdev(kdev_t kdev);
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h61 #define blkdev_issue_flush(kdev, a, b) sync_blockdev(kdev) argument