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()
77 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
83 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
89 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
95 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
96 struct request *next) in bio_crypt_ctx_merge_rq()
101 static inline void blk_crypto_rq_set_defaults(struct request *rq) { } in blk_crypto_rq_set_defaults()
103 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
124 static inline void bio_crypt_do_front_merge(struct request *rq, in bio_crypt_do_front_merge()
142 blk_status_t __blk_crypto_init_request(struct request *rq);
143 static inline blk_status_t blk_crypto_init_request(struct request *rq) in blk_crypto_init_request()
150 void __blk_crypto_free_request(struct request *rq);
151 static inline void blk_crypto_free_request(struct request *rq) in blk_crypto_free_request()
157 int __blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio,
160 * blk_crypto_rq_bio_prep - Prepare a request's crypt_ctx when its first bio
162 * @rq: The request to prepare
163 * @bio: The first bio being inserted into the request
169 static inline int blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in blk_crypto_rq_bio_prep()
178 * blk_crypto_insert_cloned_request - Prepare a cloned request to be inserted
179 * into a request queue.
180 * @rq: the request being queued
184 static inline blk_status_t blk_crypto_insert_cloned_request(struct request *rq) in blk_crypto_insert_cloned_request()
211 pr_warn_once("crypto API fallback disabled; failing request.\n"); in blk_crypto_fallback_bio_prep()