Searched refs:lp_type (Results 1 – 9 of 9) sorted by relevance
143 char *lp_type; member171 return (type_map[i].lp_type); in mime_type_to_lp_type()177 lp_type_to_mime_type(char *lp_type) in lp_type_to_mime_type() argument181 if (lp_type == NULL) in lp_type_to_mime_type()184 for (i = 0; type_map[i].lp_type != NULL; i++) in lp_type_to_mime_type()185 if (strcasecmp(type_map[i].lp_type, lp_type) == 0) in lp_type_to_mime_type()188 return (lp_type); in lp_type_to_mime_type()
137 extern char *lp_type_to_mime_type(char *lp_type);
100 char *lp_type; member119 lp_type_to_mime_type(char *lp_type) in lp_type_to_mime_type() argument123 if (lp_type == NULL) in lp_type_to_mime_type()126 for (i = 0; type_map[i].lp_type != NULL; i++) in lp_type_to_mime_type()127 if (strcasecmp(type_map[i].lp_type, lp_type) == 0) in lp_type_to_mime_type()130 return (lp_type); in lp_type_to_mime_type()
58 extern char *lp_type_to_mime_type(char *lp_type);
49 dladm_datatype_t lp_type; member
265 attrp->lp_type = type; in linkattr_set()296 *typep = attrp->lp_type; in linkattr_get()
1244 ptr += translators[cur_p->lp_type].write_func(ptr, in generate_link_line()1303 if (attrp->lp_type == DLADM_TYPE_UINT64) { in linkattr_upgrade()1349 attrp->lp_type = DLADM_TYPE_STR; in linkattr_upgrade()
900 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_writeconf()1035 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_openconf()
86 uint32_t lp_type; member909 *ptype = lp->lp_type; in dladm_str2protect()928 if (lp->lp_type == ptype) { in dladm_protect2str()