Searched refs:kdev (Results 1 – 2 of 2) sorted by relevance
68 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument71 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() argument100 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()101 io = kdev->k_ctx->fs->io; in sync_blockdev()[all …]
139 void sync_blockdev(kdev_t kdev);