Lines Matching refs:bi
32 struct blk_integrity bi;
47 memset(&bi, 0, sizeof(bi));
52 bi.profile = &t10_pi_type3_ip;
54 bi.profile = &t10_pi_type1_ip;
56 bi.flags |= BLK_INTEGRITY_IP_CHECKSUM;
59 bi.profile = &t10_pi_type3_crc;
61 bi.profile = &t10_pi_type1_crc;
63 bi.tuple_size = sizeof(struct t10_pi_tuple);
66 bi.flags |= BLK_INTEGRITY_DEVICE_CAPABLE;
72 bi.tag_size = sizeof(u16) + sizeof(u32);
74 bi.tag_size = sizeof(u16);
79 bi.profile->name, bi.tag_size);
81 blk_integrity_register(disk, &bi);