Lines Matching refs:protect
606 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type,
611 protect ? TARGET_PROT_DOUT_PASS :
613 switch (protect) {
632 pr_err("Unsupported protect field %d\n", protect);
637 protect ? TARGET_PROT_DIN_PASS :
639 switch (protect) {
658 pr_err("Unsupported protect field %d\n", protect);
667 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect,
675 if (unlikely(protect &&
677 pr_err("CDB contains protect bit, but device + fabric does"
690 if (protect)
712 if (!protect)
717 "PROTECT: 0x%02x\n", cmd->t_task_cdb[0], protect);
721 if (sbc_set_prot_op_checks(protect, fabric_prot, pi_prot_type, is_write, cmd))
733 if (protect)