Lines Matching full:request
26 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
31 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
38 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
45 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
46 struct request *next) in bio_crypt_ctx_merge_rq()
52 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
58 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
65 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
71 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
77 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
83 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
84 struct request *next) in bio_crypt_ctx_merge_rq()
89 static inline void blk_crypto_rq_set_defaults(struct request *rq) { } in blk_crypto_rq_set_defaults()
91 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
112 static inline void bio_crypt_do_front_merge(struct request *rq, in bio_crypt_do_front_merge()
130 blk_status_t __blk_crypto_init_request(struct request *rq);
131 static inline blk_status_t blk_crypto_init_request(struct request *rq) in blk_crypto_init_request()
138 void __blk_crypto_free_request(struct request *rq);
139 static inline void blk_crypto_free_request(struct request *rq) in blk_crypto_free_request()
145 int __blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio,
148 * blk_crypto_rq_bio_prep - Prepare a request's crypt_ctx when its first bio
150 * @rq: The request to prepare
151 * @bio: The first bio being inserted into the request
157 static inline int blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in blk_crypto_rq_bio_prep()
166 * blk_crypto_insert_cloned_request - Prepare a cloned request to be inserted
167 * into a request queue.
168 * @rq: the request being queued
172 static inline blk_status_t blk_crypto_insert_cloned_request(struct request *rq) in blk_crypto_insert_cloned_request()
199 pr_warn_once("crypto API fallback disabled; failing request.\n"); in blk_crypto_fallback_bio_prep()