Searched refs:target_type (Results 1 – 3 of 3) sorted by relevance
857 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable() argument864 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()867 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()870 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable() argument878 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()881 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
179 struct target_type { struct296 struct target_type *type;384 int dm_register_target(struct target_type *t);385 void dm_unregister_target(struct target_type *t);
170 char target_type[DM_MAX_TYPE_NAME]; member