Lines Matching defs:class
63 dladm_check_secobjclass(dladm_secobj_class_t class)
65 return (class >= 0 && class < NSECOBJCLASS);
69 dladm_str2secobjclass(const char *str, dladm_secobj_class_t *class)
77 *class = i;
85 dladm_secobjclass2str(dladm_secobj_class_t class, char *buf)
89 if (!dladm_check_secobjclass(class))
92 s = secobj_class_table[class].sc_name;
99 dladm_convert_secobjclass(dladm_secobj_class_t class,
102 if (!dladm_check_secobjclass(class))
105 *dldclass = secobj_class_table[class].sc_dldclass;
111 dladm_secobj_class_t *class)
119 *class = i;
128 dladm_secobj_class_t class, uint8_t *obj_val, uint_t obj_len, uint_t flags)
137 if (!dladm_check_secobjclass(class) || flags == 0 ||
147 if (!dladm_convert_secobjclass(class, &objp->so_class))
165 status = i_dladm_set_secobj_db(handle, obj_name, class,
424 dladm_secobj_class_t class;
468 * Find the class name.
473 *statusp = dladm_str2secobjclass(str, &class);
484 sinfo.si_classp = &class;
553 dladm_secobj_class_t class, uint8_t *obj_val, uint_t obj_len)
559 state.ss_info.si_classp = &class;