Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/
Dtarget_core_sbc.c644 sbc_set_prot_op_checks(u8 protect, bool fabric_prot, enum target_prot_type prot_type, in sbc_set_prot_op_checks() argument
648 cmd->prot_op = fabric_prot ? TARGET_PROT_DOUT_STRIP : in sbc_set_prot_op_checks()
674 cmd->prot_op = fabric_prot ? TARGET_PROT_DIN_INSERT : in sbc_set_prot_op_checks()
711 bool fabric_prot = false; in sbc_check_prot() local
743 fabric_prot = is_write ? in sbc_check_prot()
747 if (fabric_prot && cmd->se_sess->sess_prot_type) { in sbc_check_prot()
760 if (sbc_set_prot_op_checks(protect, fabric_prot, pi_prot_type, is_write, cmd)) in sbc_check_prot()