Lines Matching defs:buf
69 struct ice_str_buf buf = { .str = "" };
166 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
168 snprintf(buf.str, ICE_STR_BUF_LEN, "%d", aq_err);
170 return buf;
184 struct ice_str_buf buf = { .str = "" };
281 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
283 snprintf(buf.str, ICE_STR_BUF_LEN, "%d", status);
285 return buf;
300 struct ice_str_buf buf = { .str = "" };
600 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
602 snprintf(buf.str, ICE_STR_BUF_LEN, "%d", err);
604 return buf;
678 struct ice_str_buf buf = { .str = "" };
696 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
698 snprintf(buf.str, ICE_STR_BUF_LEN, "%u", flag);
700 return buf;
713 struct ice_str_buf buf = { .str = "" };
737 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
739 snprintf(buf.str, ICE_STR_BUF_LEN, "%u", log_level);
741 return buf;
788 struct ice_str_buf buf = { .str = "" };
860 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
862 snprintf(buf.str, ICE_STR_BUF_LEN, "Unknown Tx TCLAN event %u", event);
864 return buf;
877 struct ice_str_buf buf = { .str = "" };
962 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
964 snprintf(buf.str, ICE_STR_BUF_LEN, "Unknown Tx PQM event %u", event);
966 return buf;
979 struct ice_str_buf buf = { .str = "" };
991 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
993 snprintf(buf.str, ICE_STR_BUF_LEN, "Unknown Rx event %u", event);
995 return buf;
1158 struct ice_str_buf buf = { .str = "" };
1181 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str);
1183 snprintf(buf.str, ICE_STR_BUF_LEN, "Unknown LLDP status %u", lldp_status);
1185 return buf;