Home
last modified time | relevance | path

Searched refs:bip_flags (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/include/linux/
H A Dbio-integrity.h7 enum bip_flags { enum
23 unsigned short bip_flags; /* control flags */ member
49 static inline bool bio_integrity_flagged(struct bio *bio, enum bip_flags flag) in bio_integrity_flagged()
54 return bip->bip_flags & flag; in bio_integrity_flagged()
125 static inline bool bio_integrity_flagged(struct bio *bio, enum bip_flags flag) in bio_integrity_flagged()
/linux-6.15/block/
H A Dbio-integrity-auto.c50 return bip->bip_flags & BIP_CHECK_FLAGS; in bip_should_check()
167 bid->bip.bip_flags |= BIP_BLOCK_INTEGRITY; in bio_integrity_prep()
172 bid->bip.bip_flags |= BIP_IP_CHECKSUM; in bio_integrity_prep()
174 bid->bip.bip_flags |= BIP_CHECK_GUARD; in bio_integrity_prep()
176 bid->bip.bip_flags |= BIP_CHECK_REFTAG; in bio_integrity_prep()
H A Dbio-integrity.c103 if (bip->bip_flags & BIP_COPY_USER) { in bio_integrity_unmap_user()
207 bip->bip_flags |= BIP_COPY_USER; in bio_integrity_copy_user()
329 bip->bip_flags |= BIP_CHECK_GUARD; in bio_uio_meta_to_bip()
331 bip->bip_flags |= BIP_CHECK_APPTAG; in bio_uio_meta_to_bip()
333 bip->bip_flags |= BIP_CHECK_REFTAG; in bio_uio_meta_to_bip()
429 bip->bip_flags = bip_src->bip_flags & BIP_CLONE_FLAGS; in bio_integrity_clone()
H A Dblk-integrity.c146 if (bio_integrity(req->bio)->bip_flags != in blk_integrity_merge_rq()
147 bio_integrity(next->bio)->bip_flags) in blk_integrity_merge_rq()
171 if (bio_integrity(req->bio)->bip_flags != bio_integrity(bio)->bip_flags) in blk_integrity_merge_bio()
H A Dt10-pi.c140 if (bip->bip_flags & BIP_MAPPED_INTEGRITY) in t10_pi_type1_prepare()
160 bip->bip_flags |= BIP_MAPPED_INTEGRITY; in t10_pi_type1_prepare()
314 if (bip->bip_flags & BIP_MAPPED_INTEGRITY) in ext_pi_type1_prepare()
335 bip->bip_flags |= BIP_MAPPED_INTEGRITY; in ext_pi_type1_prepare()
H A Dblk.h229 if (bip && (bip->bip_flags & BIP_BLOCK_INTEGRITY)) in bio_integrity_endio()