Lines Matching refs:format_string

986 #define fc_rport_show_function(field, format_string, sz, cast)		\
999 return snprintf(buf, sz, format_string, cast rport->field); \
1024 #define fc_rport_rd_attr(field, format_string, sz) \
1025 fc_rport_show_function(field, format_string, sz, ) \
1029 #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \
1030 fc_rport_show_function(field, format_string, sz, (cast)) \
1034 #define fc_rport_rw_attr(field, format_string, sz) \
1035 fc_rport_show_function(field, format_string, sz, ) \
1042 #define fc_private_rport_show_function(field, format_string, sz, cast) \
1048 return snprintf(buf, sz, format_string, cast rport->field); \
1051 #define fc_private_rport_rd_attr(field, format_string, sz) \
1052 fc_private_rport_show_function(field, format_string, sz, ) \
1056 #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \
1057 fc_private_rport_show_function(field, format_string, sz, (cast)) \
1414 #define fc_starget_show_function(field, format_string, sz, cast) \
1427 return snprintf(buf, sz, format_string, \
1431 #define fc_starget_rd_attr(field, format_string, sz) \
1432 fc_starget_show_function(field, format_string, sz, ) \
1436 #define fc_starget_rd_attr_cast(field, format_string, sz, cast) \
1437 fc_starget_show_function(field, format_string, sz, (cast)) \
1469 #define fc_vport_show_function(field, format_string, sz, cast) \
1480 return snprintf(buf, sz, format_string, cast vport->field); \
1524 #define fc_vport_rd_attr(field, format_string, sz) \
1525 fc_vport_show_function(field, format_string, sz, ) \
1529 #define fc_vport_rd_attr_cast(field, format_string, sz, cast) \
1530 fc_vport_show_function(field, format_string, sz, (cast)) \
1534 #define fc_vport_rw_attr(field, format_string, sz) \
1535 fc_vport_show_function(field, format_string, sz, ) \
1541 #define fc_private_vport_show_function(field, format_string, sz, cast) \
1547 return snprintf(buf, sz, format_string, cast vport->field); \
1569 #define fc_private_vport_rd_attr(field, format_string, sz) \
1570 fc_private_vport_show_function(field, format_string, sz, ) \
1574 #define fc_private_vport_rd_attr_cast(field, format_string, sz, cast) \
1575 fc_private_vport_show_function(field, format_string, sz, (cast)) \
1579 #define fc_private_vport_rw_u32_attr(field, format_string, sz) \
1580 fc_private_vport_show_function(field, format_string, sz, ) \
1738 #define fc_host_show_function(field, format_string, sz, cast) \
1747 return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
1788 #define fc_host_rd_attr(field, format_string, sz) \
1789 fc_host_show_function(field, format_string, sz, ) \
1793 #define fc_host_rd_attr_cast(field, format_string, sz, cast) \
1794 fc_host_show_function(field, format_string, sz, (cast)) \
1798 #define fc_host_rw_attr(field, format_string, sz) \
1799 fc_host_show_function(field, format_string, sz, ) \
1848 #define fc_private_host_show_function(field, format_string, sz, cast) \
1854 return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
1857 #define fc_private_host_rd_attr(field, format_string, sz) \
1858 fc_private_host_show_function(field, format_string, sz, ) \
1862 #define fc_private_host_rd_attr_cast(field, format_string, sz, cast) \
1863 fc_private_host_show_function(field, format_string, sz, (cast)) \