Searched refs:bip (Results 1 – 3 of 3) sorted by relevance
/block/ |
D | bio-integrity.c | 28 struct bio_integrity_payload *bip) in __bio_integrity_free() argument 31 if (bip->bip_vec) in __bio_integrity_free() 32 bvec_free(&bs->bvec_integrity_pool, bip->bip_vec, in __bio_integrity_free() 33 bip->bip_slab); in __bio_integrity_free() 34 mempool_free(bip, &bs->bio_integrity_pool); in __bio_integrity_free() 36 kfree(bip); in __bio_integrity_free() 54 struct bio_integrity_payload *bip; in bio_integrity_alloc() local 62 bip = kmalloc(struct_size(bip, bip_inline_vecs, nr_vecs), gfp_mask); in bio_integrity_alloc() 65 bip = mempool_alloc(&bs->bio_integrity_pool, gfp_mask); in bio_integrity_alloc() 69 if (unlikely(!bip)) in bio_integrity_alloc() [all …]
|
D | t10-pi.c | 140 struct bio_integrity_payload *bip = bio_integrity(bio); in t10_pi_type1_prepare() local 141 u32 virt = bip_get_seed(bip) & 0xffffffff; in t10_pi_type1_prepare() 146 if (bip->bip_flags & BIP_MAPPED_INTEGRITY) in t10_pi_type1_prepare() 149 bip_for_each_vec(iv, bip, iter) { in t10_pi_type1_prepare() 168 bip->bip_flags |= BIP_MAPPED_INTEGRITY; in t10_pi_type1_prepare() 192 struct bio_integrity_payload *bip = bio_integrity(bio); in t10_pi_type1_complete() local 193 u32 virt = bip_get_seed(bip) & 0xffffffff; in t10_pi_type1_complete() 197 bip_for_each_vec(iv, bip, iter) { in t10_pi_type1_complete()
|
D | blk.h | 121 struct bio_integrity_payload *bip = bio_integrity(req->bio); in integrity_req_gap_back_merge() local 124 return bvec_gap_to_prev(req->q, &bip->bip_vec[bip->bip_vcnt - 1], in integrity_req_gap_back_merge() 131 struct bio_integrity_payload *bip = bio_integrity(bio); in integrity_req_gap_front_merge() local 134 return bvec_gap_to_prev(req->q, &bip->bip_vec[bip->bip_vcnt - 1], in integrity_req_gap_front_merge()
|