blk.h (594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2) | blk.h (e9f5f44ad3725335d9c559c3c22cd3726152a7b1) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef BLK_INTERNAL_H 3#define BLK_INTERNAL_H 4 5#include <linux/blk-crypto.h> 6#include <linux/memblock.h> /* for max_pfn/max_low_pfn */ 7#include <linux/sched/sysctl.h> 8#include <linux/timekeeping.h> 9#include <xen/xen.h> 10#include "blk-crypto-internal.h" 11 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef BLK_INTERNAL_H 3#define BLK_INTERNAL_H 4 5#include <linux/blk-crypto.h> 6#include <linux/memblock.h> /* for max_pfn/max_low_pfn */ 7#include <linux/sched/sysctl.h> 8#include <linux/timekeeping.h> 9#include <xen/xen.h> 10#include "blk-crypto-internal.h" 11 |
12struct blk_integrity_iter; |
|
12struct elevator_type; 13 14/* Max future timer expiry for timeouts */ 15#define BLK_MAX_TIMEOUT (5 * HZ) 16 17extern struct dentry *blk_debugfs_root; 18 19struct blk_flush_queue { --- 648 unchanged lines hidden (view full) --- 668 ((u64)size << BIO_ISSUE_SIZE_SHIFT)); 669} 670 671void bdev_release(struct file *bdev_file); 672int bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder, 673 const struct blk_holder_ops *hops, struct file *bdev_file); 674int bdev_permission(dev_t dev, blk_mode_t mode, void *holder); 675 | 13struct elevator_type; 14 15/* Max future timer expiry for timeouts */ 16#define BLK_MAX_TIMEOUT (5 * HZ) 17 18extern struct dentry *blk_debugfs_root; 19 20struct blk_flush_queue { --- 648 unchanged lines hidden (view full) --- 669 ((u64)size << BIO_ISSUE_SIZE_SHIFT)); 670} 671 672void bdev_release(struct file *bdev_file); 673int bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder, 674 const struct blk_holder_ops *hops, struct file *bdev_file); 675int bdev_permission(dev_t dev, blk_mode_t mode, void *holder); 676 |
677void blk_integrity_generate(struct blk_integrity_iter *iter, 678 struct blk_integrity *bi); 679blk_status_t blk_integrity_verify(struct blk_integrity_iter *iter, 680 struct blk_integrity *bi); 681void blk_integrity_prepare(struct request *rq); 682void blk_integrity_complete(struct request *rq, unsigned int nr_bytes); 683 |
|
676#endif /* BLK_INTERNAL_H */ | 684#endif /* BLK_INTERNAL_H */ |