Searched refs:kdev (Results 1 – 4 of 4) sorted by relevance
124 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument127 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() argument157 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()
119 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument122 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() argument151 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()152 io = kdev->k_ctx->fs->io; in sync_blockdev()[all …]
185 int sync_blockdev(kdev_t kdev);
61 #define blkdev_issue_flush(kdev, a, b) sync_blockdev(kdev) argument