Searched refs:kdev (Results 1 – 4 of 4) sorted by relevance
124 struct buffer_head *getblk(kdev_t kdev, unsigned long long blocknr, in getblk() argument128 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() argument156 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()
70 #define blkdev_issue_flush(kdev) sync_blockdev(kdev) argument
119 struct buffer_head *getblk(kdev_t kdev, unsigned long long blocknr, in getblk() argument123 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() argument150 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()151 io = kdev->k_ctx->fs->io; in sync_blockdev()[all …]
195 int sync_blockdev(kdev_t kdev);