Searched defs:attrval (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libadm/common/
H A Dlistdev.c134 struct attrval *attrval; /* Ptr to attr val pair */ local
158 if ((attrval = devtabent->attrlist) != NULL) {
161 while ((attrval = attrval->next) != NULL);
189 if (noerror && (attrval = devtabent->attrlist)) {
191 if (*pp = malloc(strlen(attrval->attr)+1))
193 (void) strcpy(*pp++, attrval->attr);
195 } while (noerror && (attrval = attrval
[all...]
H A Dputdev.c431 struct attrval *prevattrval; /* * to prev attr/val struct */
432 struct attrval *attrval; /* * to current struct */ local
548 if ((attrval = devtabent->attrlist) != NULL)
550 if (strcmp(attrval->attr,
559 (attrval = attrval->next));
564 if (attrval =
565 malloc(sizeof (struct attrval))) {
568 attrval
641 struct attrval *attrval; /* Ptr to attr/val pair */ local
769 _adddevtabrec( char *alias, char **attrval) argument
848 _moddevtabrec( char *device, char **attrval) argument
1096 struct attrval *attrval; /* Ptr to attr/val desc */ local
[all...]
/illumos-gate/usr/src/lib/libadm/inc/
H A Ddevtab.h95 * attrval Describes an attribute/value pair
123 struct attrval *attrlist; /* Addr of 1st attribute description */
127 * struct attrval
133 * struct attrval *next Pointer to the next item in the list
136 struct attrval { struct
139 struct attrval *next; /* Next attrval in list */
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_confmgr.c828 char **attrval; local
900 attrval = attr->attrvalue;
911 attrval[m], &error);
923 if (__print2buf(&buffer, attrval[m], sepstr))
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlmgmt.c440 void *attrval, size_t attrsz)
444 if (attrval == NULL || attrsz == 0 || attr == NULL)
459 bcopy(oattrval, attrval, oattrsz);
480 bcopy(retval.lr_attrval, attrval, retval.lr_attrsz);
492 const char *last_attr, char *attr, void *attrval, size_t attrsz,
501 if (nvl == NULL || attrval == NULL || attrsz == 0 || attr == NULL ||
526 bcopy(oattrval, attrval, oattrsz);
633 * Set the given attr with the given attrval for the given link.
637 dladm_datatype_t type, const void *attrval)
644 if (attr == NULL || attrval
439 dladm_get_conf_field(dladm_handle_t handle, dladm_conf_t conf, const char *attr, void *attrval, size_t attrsz) argument
491 dladm_getnext_conf_linkprop(dladm_handle_t handle, dladm_conf_t conf, const char *last_attr, char *attr, void *attrval, size_t attrsz, size_t *attrszp) argument
636 dladm_set_conf_field(dladm_handle_t handle, dladm_conf_t conf, const char *attr, dladm_datatype_t type, const void *attrval) argument
[all...]
H A Dlinkprop.c3647 char attrval[MAXLINKATTRVALLEN]; local
3659 attr, attrval, MAXLINKATTRVALLEN, &attrsz)) == DLADM_STATUS_OK) {
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_util.c228 linkattr_set(dlmgmt_linkattr_t **headp, const char *attr, void *attrval, argument
240 if (linkattr_equal(headp, attr, attrval, attrsz))
263 bcopy(attrval, attrp->lp_val, attrsz);
301 linkattr_equal(dlmgmt_linkattr_t **headp, const char *attr, void *attrval, argument
311 (memcmp(saved_attrval, attrval, attrsz) == 0));
532 void *attrval; local
536 err = linkattr_get(headp, attr, &attrval, &attrsz, &attrtype);
546 bcopy(attrval, retvalp->lr_attrval, attrsz);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_ldap.c426 char *attrval; local
430 attrval = tounix_str(attr->attrvalue[0]);
432 attrval = attr->attrvalue[0];
433 *ldap_len = strlen(key) + strlen(attrval);
454 (void) sprintf(*ldap_line, "%s", attrval);
/illumos-gate/usr/src/cmd/auditd/
H A Ddoorway.c420 open_return(plugin_t *p, char *attrval) argument
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c560 void *attrval, size_t *attrszp)
575 bcopy(retval.lr_attrval, attrval, retval.lr_attrsz);
559 i_dls_mgmt_get_linkattr(const datalink_id_t linkid, const char *attr, void *attrval, size_t *attrszp) argument

Completed in 96 milliseconds