Lines Matching refs:attrp
842 dlmgmt_linkattr_t *attrp, *next; in dlmgmt_writeconf() local
888 for (attrp = linkp->ll_head; attrp != NULL; attrp = next) { in dlmgmt_writeconf()
889 next = attrp->lp_next; in dlmgmt_writeconf()
890 free(attrp->lp_val); in dlmgmt_writeconf()
891 free(attrp); in dlmgmt_writeconf()
898 for (attrp = dlconfp->ld_head; attrp != NULL; attrp = attrp->lp_next) { in dlmgmt_writeconf()
899 if ((err = linkattr_set(&(linkp->ll_head), attrp->lp_name, in dlmgmt_writeconf()
900 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_writeconf()
999 dlmgmt_linkattr_t *attrp; in dlmgmt_openconf() local
1033 for (attrp = linkp->ll_head; attrp != NULL; attrp = attrp->lp_next) { in dlmgmt_openconf()
1034 if ((err = linkattr_set(&(dlconfp->ld_head), attrp->lp_name, in dlmgmt_openconf()
1035 attrp->lp_val, attrp->lp_sz, attrp->lp_type)) != 0) { in dlmgmt_openconf()
1067 dlmgmt_linkattr_t *attrp; in dlmgmt_getconfsnapshot() local
1098 for (attrp = linkp->ll_head; attrp != NULL; attrp = attrp->lp_next) { in dlmgmt_getconfsnapshot()
1099 if ((err = nvlist_add_byte_array(nvl, attrp->lp_name, in dlmgmt_getconfsnapshot()
1100 attrp->lp_val, attrp->lp_sz)) != 0) { in dlmgmt_getconfsnapshot()