Lines Matching refs:bio
131 The data integrity patches add a new field to struct bio when
132 CONFIG_BLK_DEV_INTEGRITY is enabled. bio_integrity(bio) returns a
133 pointer to a struct bip which contains the bio integrity payload.
134 Essentially a bip is a trimmed down struct bio which holds a bio_vec
138 A kernel subsystem can enable data integrity protection on a bio by
139 calling bio_integrity_alloc(bio). This will allocate and attach the
140 bip to the bio.
195 int bio_integrity_prep(bio);
198 filesystem must call bio_integrity_prep(bio).
200 Prior to calling this function, the bio data direction and start
201 sector must be set, and the bio should have all data pages
202 added. It is up to the caller to ensure that the bio does not
216 struct bip * bio_integrity_alloc(bio, gfp_mask, nr_pages);
218 Allocates the bio integrity payload and hangs it off of the bio.
225 int bio_integrity_add_page(bio, page, len, offset);
228 bio. The bio must have an existing bip,