Searched refs:sev_str (Results 1 – 1 of 1) sorted by relevance
| /freebsd-14.2/sys/dev/ice/ |
| H A D | ice_fw_logging.c | 282 char sev_str[16]; in ice_sysctl_fwlog_module_log_severity() local 286 sbuf = sbuf_new(NULL, sev_str, sizeof(sev_str), SBUF_FIXEDLEN); in ice_sysctl_fwlog_module_log_severity() 291 error = sysctl_handle_string(oidp, sev_str, sizeof(sev_str), req); in ice_sysctl_fwlog_module_log_severity() 295 if (strcasecmp(ice_log_sev_str(ICE_FWLOG_LEVEL_VERBOSE), sev_str) == 0) { in ice_sysctl_fwlog_module_log_severity() 298 } else if (strcasecmp(ice_log_sev_str(ICE_FWLOG_LEVEL_NORMAL), sev_str) == 0) { in ice_sysctl_fwlog_module_log_severity() 301 } else if (strcasecmp(ice_log_sev_str(ICE_FWLOG_LEVEL_WARNING), sev_str) == 0) { in ice_sysctl_fwlog_module_log_severity() 304 } else if (strcasecmp(ice_log_sev_str(ICE_FWLOG_LEVEL_ERROR), sev_str) == 0) { in ice_sysctl_fwlog_module_log_severity() 307 } else if (strcasecmp(ice_log_sev_str(ICE_FWLOG_LEVEL_NONE), sev_str) == 0) { in ice_sysctl_fwlog_module_log_severity() 313 ll_num = strtol(sev_str, &sev_str_end, 0); in ice_sysctl_fwlog_module_log_severity() 314 if (sev_str_end == sev_str) in ice_sysctl_fwlog_module_log_severity() [all …]
|