Lines Matching full:request
31 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
36 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
43 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
50 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
51 struct request *next) in bio_crypt_ctx_merge_rq()
57 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
63 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
68 static inline bool blk_crypto_rq_has_keyslot(struct request *rq) in blk_crypto_rq_has_keyslot()
96 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
102 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
108 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
114 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
115 struct request *next) in bio_crypt_ctx_merge_rq()
120 static inline void blk_crypto_rq_set_defaults(struct request *rq) { } in blk_crypto_rq_set_defaults()
122 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
127 static inline bool blk_crypto_rq_has_keyslot(struct request *rq) in blk_crypto_rq_has_keyslot()
148 static inline void bio_crypt_do_front_merge(struct request *rq, in bio_crypt_do_front_merge()
166 blk_status_t __blk_crypto_rq_get_keyslot(struct request *rq);
167 static inline blk_status_t blk_crypto_rq_get_keyslot(struct request *rq) in blk_crypto_rq_get_keyslot()
174 void __blk_crypto_rq_put_keyslot(struct request *rq);
175 static inline void blk_crypto_rq_put_keyslot(struct request *rq) in blk_crypto_rq_put_keyslot()
181 void __blk_crypto_free_request(struct request *rq);
182 static inline void blk_crypto_free_request(struct request *rq) in blk_crypto_free_request()
188 int __blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio,
191 * blk_crypto_rq_bio_prep - Prepare a request's crypt_ctx when its first bio
193 * @rq: The request to prepare
194 * @bio: The first bio being inserted into the request
200 static inline int blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in blk_crypto_rq_bio_prep()
227 pr_warn_once("crypto API fallback disabled; failing request.\n"); in blk_crypto_fallback_bio_prep()