Searched refs:lp_type (Results 1 – 9 of 9) sorted by relevance
141 char *lp_type; member169 return (type_map[i].lp_type); in mime_type_to_lp_type()175 lp_type_to_mime_type(char *lp_type) in lp_type_to_mime_type() argument179 if (lp_type == NULL) in lp_type_to_mime_type()182 for (i = 0; type_map[i].lp_type != NULL; i++) in lp_type_to_mime_type()183 if (strcasecmp(type_map[i].lp_type, lp_type) == 0) in lp_type_to_mime_type()186 return (lp_type); in lp_type_to_mime_type()
135 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);
51 dladm_datatype_t lp_type; member
266 attrp->lp_type = type; in linkattr_set()297 *typep = attrp->lp_type; in linkattr_get()
1312 ptr += translators[cur_p->lp_type].write_func(ptr, in generate_link_line()1371 if (attrp->lp_type == DLADM_TYPE_UINT64) { in linkattr_upgrade()1417 attrp->lp_type = DLADM_TYPE_STR; in linkattr_upgrade()
905 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_writeconf()1040 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_openconf()
96 uint32_t lp_type; member953 *ptype = lp->lp_type; in dladm_str2protect()972 if (lp->lp_type == ptype) { in dladm_protect2str()