Lines Matching refs:bio
136 The data integrity patches add a new field to struct bio when
137 CONFIG_BLK_DEV_INTEGRITY is enabled. bio_integrity(bio) returns a
138 pointer to a struct bip which contains the bio integrity payload.
139 Essentially a bip is a trimmed down struct bio which holds a bio_vec
143 A kernel subsystem can enable data integrity protection on a bio by
144 calling bio_integrity_alloc(bio). This will allocate and attach the
145 bip to the bio.
203 `bool bio_integrity_prep(bio);`
206 filesystem must call bio_integrity_prep(bio).
208 Prior to calling this function, the bio data direction and start
209 sector must be set, and the bio should have all data pages
210 added. It is up to the caller to ensure that the bio does not
212 Complete bio with error if prepare failed for some reason.
223 `struct bip * bio_integrity_alloc(bio, gfp_mask, nr_pages);`
225 Allocates the bio integrity payload and hangs it off of the bio.
232 `int bio_integrity_add_page(bio, page, len, offset);`
235 bio. The bio must have an existing bip,