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