/titanic_41/usr/src/lib/libadm/common/ |
H A D | putdev.c | 431 struct attrval *prevattrval; /* * to prev attr/val struct */ in mkdevtabent() 432 struct attrval *attrval; /* * to current struct */ in mkdevtabent() local 548 if ((attrval = devtabent->attrlist) != NULL) in mkdevtabent() 550 if (strcmp(attrval->attr, in mkdevtabent() 559 (attrval = attrval->next)); in mkdevtabent() 564 if (attrval = in mkdevtabent() 565 malloc(sizeof (struct attrval))) { in mkdevtabent() 568 attrval->attr = name; in mkdevtabent() 569 attrval->val = val; in mkdevtabent() 570 attrval->next = NULL; in mkdevtabent() [all …]
|
H A D | listdev.c | 134 struct attrval *attrval; /* Ptr to attr val pair */ in listdev() local 158 if ((attrval = devtabent->attrlist) != NULL) { in listdev() 161 while ((attrval = attrval->next) != NULL); in listdev() 189 if (noerror && (attrval = devtabent->attrlist)) { in listdev() 191 if (*pp = malloc(strlen(attrval->attr)+1)) in listdev() 193 (void) strcpy(*pp++, attrval->attr); in listdev() 195 } while (noerror && (attrval = attrval->next)); in listdev()
|
H A D | devtab.c | 312 static struct attrval * 316 struct attrval *rtn; /* Ptr to struct to return */ in getattrval() 333 if (rtn = malloc(sizeof (struct attrval))) { in getattrval() 681 struct attrval *attr; /* Ptr to struct for attr/val pair */ in _getdevtabent() 682 struct attrval *t; /* Tmp ptr to attr/val struct */ in _getdevtabent() 842 struct attrval *p; /* Structure being freed */ in _freedevtabent() 843 struct attrval *q; /* Next structure to free */ in _freedevtabent()
|
H A D | devattr.c | 105 struct attrval *p; /* attr/val records */ in devattr()
|
H A D | getdev.c | 860 struct attrval *q; /* Pointer to current attr/val pair */ in matchallcriteria() 960 struct attrval *q; /* Pointer to current attr/val pair */ in matchanycriteria()
|
/titanic_41/usr/src/lib/libadm/inc/ |
H A D | devtab.h | 123 struct attrval *attrlist; /* Addr of 1st attribute description */ 136 struct attrval { struct 139 struct attrval *next; /* Next attrval in list */ argument
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | libdlmgmt.c | 440 void *attrval, size_t attrsz) in dladm_get_conf_field() argument 444 if (attrval == NULL || attrsz == 0 || attr == NULL) in dladm_get_conf_field() 459 bcopy(oattrval, attrval, oattrsz); in dladm_get_conf_field() 480 bcopy(retval.lr_attrval, attrval, retval.lr_attrsz); in dladm_get_conf_field() 492 const char *last_attr, char *attr, void *attrval, size_t attrsz, in dladm_getnext_conf_linkprop() argument 501 if (nvl == NULL || attrval == NULL || attrsz == 0 || attr == NULL || in dladm_getnext_conf_linkprop() 526 bcopy(oattrval, attrval, oattrsz); in dladm_getnext_conf_linkprop() 637 dladm_datatype_t type, const void *attrval) in dladm_set_conf_field() argument 644 if (attr == NULL || attrval == NULL) in dladm_set_conf_field() 651 attrsz = strlen(attrval) + 1; in dladm_set_conf_field() [all …]
|
H A D | linkprop.c | 3697 char attrval[MAXLINKATTRVALLEN]; in i_dladm_walk_linkprop_priv_db() local 3709 attr, attrval, MAXLINKATTRVALLEN, &attrsz)) == DLADM_STATUS_OK) { in i_dladm_walk_linkprop_priv_db()
|
/titanic_41/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_util.c | 228 linkattr_set(dlmgmt_linkattr_t **headp, const char *attr, void *attrval, in linkattr_set() argument 240 if (linkattr_equal(headp, attr, attrval, attrsz)) in linkattr_set() 263 bcopy(attrval, attrp->lp_val, attrsz); in linkattr_set() 301 linkattr_equal(dlmgmt_linkattr_t **headp, const char *attr, void *attrval, in linkattr_equal() argument 311 (memcmp(saved_attrval, attrval, attrsz) == 0)); in linkattr_equal() 532 void *attrval; in dlmgmt_getattr_common() local 536 err = linkattr_get(headp, attr, &attrval, &attrsz, &attrtype); in dlmgmt_getattr_common() 546 bcopy(attrval, retvalp->lr_attrval, attrsz); in dlmgmt_getattr_common()
|
/titanic_41/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 426 char *attrval; in ldap_match() local 430 attrval = tounix_str(attr->attrvalue[0]); in ldap_match() 432 attrval = attr->attrvalue[0]; in ldap_match() 433 *ldap_len = strlen(key) + strlen(attrval); in ldap_match() 454 (void) sprintf(*ldap_line, "%s", attrval); in ldap_match()
|
/titanic_41/usr/src/cmd/svr4pkg/hdrs/ |
H A D | libadm.h | 273 extern int _adddevtabrec __P((char *alias, char **attrval)); 274 extern int _moddevtabrec __P((char *device, char **attrval));
|
/titanic_41/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 828 char **attrval; in __ns_ldap_make_config() local 900 attrval = attr->attrvalue; in __ns_ldap_make_config() 911 attrval[m], &error); in __ns_ldap_make_config() 923 if (__print2buf(&buffer, attrval[m], sepstr)) in __ns_ldap_make_config()
|
/titanic_41/usr/src/uts/common/io/dls/ |
H A D | dls_mgmt.c | 560 void *attrval, size_t *attrszp) in i_dls_mgmt_get_linkattr() argument 575 bcopy(retval.lr_attrval, attrval, retval.lr_attrsz); in i_dls_mgmt_get_linkattr()
|
/titanic_41/usr/src/cmd/auditd/ |
H A D | doorway.c | 420 open_return(plugin_t *p, char *attrval) in open_return() argument
|