• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:format_string

685 #define fc_rport_show_function(field, format_string, sz, cast)		\
698 return snprintf(buf, sz, format_string, cast rport->field); \
723 #define fc_rport_rd_attr(field, format_string, sz) \
724 fc_rport_show_function(field, format_string, sz, ) \
728 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \
729 fc_rport_show_function(field, format_string, sz, (cast)) \
733 #define fc_rport_rw_attr(field, format_string, sz) \
734 fc_rport_show_function(field, format_string, sz, ) \
741 #define fc_private_rport_show_function(field, format_string, sz, cast) \
747 return snprintf(buf, sz, format_string, cast rport->field); \
750 #define fc_private_rport_rd_attr(field, format_string, sz) \
751 fc_private_rport_show_function(field, format_string, sz, ) \
755 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \
756 fc_private_rport_show_function(field, format_string, sz, (cast)) \
973 #define fc_starget_show_function(field, format_string, sz, cast) \
986 return snprintf(buf, sz, format_string, \
990 #define fc_starget_rd_attr(field, format_string, sz) \
991 fc_starget_show_function(field, format_string, sz, ) \
995 #define fc_starget_rd_attr_cast(field, format_string, sz, cast) \
996 fc_starget_show_function(field, format_string, sz, (cast)) \
1028 #define fc_vport_show_function(field, format_string, sz, cast) \
1039 return snprintf(buf, sz, format_string, cast vport->field); \
1083 #define fc_vport_rd_attr(field, format_string, sz) \
1084 fc_vport_show_function(field, format_string, sz, ) \
1088 #define fc_vport_rd_attr_cast(field, format_string, sz, cast) \
1089 fc_vport_show_function(field, format_string, sz, (cast)) \
1093 #define fc_vport_rw_attr(field, format_string, sz) \
1094 fc_vport_show_function(field, format_string, sz, ) \
1100 #define fc_private_vport_show_function(field, format_string, sz, cast) \
1106 return snprintf(buf, sz, format_string, cast vport->field); \
1128 #define fc_private_vport_rd_attr(field, format_string, sz) \
1129 fc_private_vport_show_function(field, format_string, sz, ) \
1133 #define fc_private_vport_rd_attr_cast(field, format_string, sz, cast) \
1134 fc_private_vport_show_function(field, format_string, sz, (cast)) \
1138 #define fc_private_vport_rw_u32_attr(field, format_string, sz) \
1139 fc_private_vport_show_function(field, format_string, sz, ) \
1297 #define fc_host_show_function(field, format_string, sz, cast) \
1306 return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
1347 #define fc_host_rd_attr(field, format_string, sz) \
1348 fc_host_show_function(field, format_string, sz, ) \
1352 #define fc_host_rd_attr_cast(field, format_string, sz, cast) \
1353 fc_host_show_function(field, format_string, sz, (cast)) \
1357 #define fc_host_rw_attr(field, format_string, sz) \
1358 fc_host_show_function(field, format_string, sz, ) \
1407 #define fc_private_host_show_function(field, format_string, sz, cast) \
1413 return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
1416 #define fc_private_host_rd_attr(field, format_string, sz) \
1417 fc_private_host_show_function(field, format_string, sz, ) \
1421 #define fc_private_host_rd_attr_cast(field, format_string, sz, cast) \
1422 fc_private_host_show_function(field, format_string, sz, (cast)) \