Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Djournal.c68 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument
71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - in getblk()
74 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer"); in getblk()
85 bh->b_ctx = kdev->k_ctx; in getblk()
86 if (kdev->k_dev == K_DEV_FS) in getblk()
87 bh->b_io = kdev->k_ctx->fs->io; in getblk()
89 bh->b_io = kdev->k_ctx->journal_io; in getblk()
96 void sync_blockdev(kdev_t kdev) in sync_blockdev() argument
100 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()
101 io = kdev->k_ctx->fs->io; in sync_blockdev()
[all …]
Djfs_user.h139 void sync_blockdev(kdev_t kdev);