Lines Matching full:request
32 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
37 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
44 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
51 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
52 struct request *next) in bio_crypt_ctx_merge_rq()
58 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
64 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
69 static inline bool blk_crypto_rq_has_keyslot(struct request *rq) in blk_crypto_rq_has_keyslot()
100 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
106 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
112 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
118 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
119 struct request *next) in bio_crypt_ctx_merge_rq()
124 static inline void blk_crypto_rq_set_defaults(struct request *rq) { } in blk_crypto_rq_set_defaults()
126 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
131 static inline bool blk_crypto_rq_has_keyslot(struct request *rq) in blk_crypto_rq_has_keyslot()
158 static inline void bio_crypt_do_front_merge(struct request *rq, in bio_crypt_do_front_merge()
176 blk_status_t __blk_crypto_rq_get_keyslot(struct request *rq);
177 static inline blk_status_t blk_crypto_rq_get_keyslot(struct request *rq) in blk_crypto_rq_get_keyslot()
184 void __blk_crypto_rq_put_keyslot(struct request *rq);
185 static inline void blk_crypto_rq_put_keyslot(struct request *rq) in blk_crypto_rq_put_keyslot()
191 void __blk_crypto_free_request(struct request *rq);
192 static inline void blk_crypto_free_request(struct request *rq) in blk_crypto_free_request()
198 int __blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio,
201 * blk_crypto_rq_bio_prep - Prepare a request's crypt_ctx when its first bio
203 * @rq: The request to prepare
204 * @bio: The first bio being inserted into the request
210 static inline int blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in blk_crypto_rq_bio_prep()
237 pr_warn_once("crypto API fallback disabled; failing request.\n"); in blk_crypto_fallback_bio_prep()