Home
last modified time | relevance | path

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

/linux/drivers/platform/chrome/
H A Dcros_usbpd_logger.c52 static int append_str(char *buf, int pos, const char *fmt, ...) in append_str() function
102 len += append_str(buf, len, "override "); in cros_usbpd_print_log_entry()
105 len += append_str(buf, len, "pending_override "); in cros_usbpd_print_log_entry()
119 len += append_str(buf, len, "%s", role); in cros_usbpd_print_log_entry()
124 len += append_str(buf, len, "%s %s %s %dmV max %dmV / %dmA", in cros_usbpd_print_log_entry()
131 len += append_str(buf, len, "RW signature check failed"); in cros_usbpd_print_log_entry()
136 len += append_str(buf, len, "Power supply fault: %s", fault); in cros_usbpd_print_log_entry()
139 len += append_str(buf, len, "DP mode %s", in cros_usbpd_print_log_entry()
144 len += append_str(buf, len, "HDMI info: family:%04x chipid:%04x ", in cros_usbpd_print_log_entry()
147 len += append_str(buf, len, "irom:%d.%d.%d fw:%d.%d.%d", in cros_usbpd_print_log_entry()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c1258 static void append_str(char *dst, const char *src, size_t dst_cap) in append_str() function
1276 append_str(options, "pass,", OPTSTRING); in test_options()
1278 append_str(options, "redir,", OPTSTRING); in test_options()
1280 append_str(options, "drop,", OPTSTRING); in test_options()
1283 append_str(options, tstr, OPTSTRING); in test_options()
1287 append_str(options, tstr, OPTSTRING); in test_options()
1291 append_str(options, tstr, OPTSTRING); in test_options()
1295 append_str(options, tstr, OPTSTRING); in test_options()
1300 append_str(options, tstr, OPTSTRING); in test_options()
1303 append_str(options, "ingress,", OPTSTRING); in test_options()
[all …]