Lines Matching refs:bi
32 struct blk_integrity bi;
45 memset(&bi, 0, sizeof(bi));
50 bi.profile = &t10_pi_type3_ip;
52 bi.profile = &t10_pi_type1_ip;
54 bi.flags |= BLK_INTEGRITY_IP_CHECKSUM;
57 bi.profile = &t10_pi_type3_crc;
59 bi.profile = &t10_pi_type1_crc;
61 bi.tuple_size = sizeof(struct t10_pi_tuple);
63 "Enabling DIX %s protection\n", bi.profile->name);
66 bi.flags |= BLK_INTEGRITY_DEVICE_CAPABLE;
72 bi.tag_size = sizeof(u16) + sizeof(u32);
74 bi.tag_size = sizeof(u16);
77 bi.tag_size);
81 blk_integrity_register(disk, &bi);