Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libscf/common/
H A Dlowlevel.c298 } scf_type_info[] = { variable
329 #define SCF_TYPE_INFO_COUNT (sizeof (scf_type_info) / sizeof (*scf_type_info))
336 if (scf_type_info[i].ti_type == t) in scf_type_to_protocol_type()
337 return (scf_type_info[i].ti_proto_type); in scf_type_to_protocol_type()
348 if (scf_type_info[i].ti_proto_type == t) in scf_protocol_type_to_type()
349 return (scf_type_info[i].ti_type); in scf_protocol_type_to_type()
360 if (scf_type_info[i].ti_type == ty) in scf_type_to_string()
361 return (scf_type_info[i].ti_name); in scf_type_to_string()
371 for (i = 0; i < sizeof (scf_type_info) / sizeof (*scf_type_info); i++) in scf_string_to_type()
372 if (strcmp(scf_type_info[i].ti_name, name) == 0) in scf_string_to_type()
[all …]