Lines Matching defs:attrsz
229 size_t attrsz, dladm_datatype_t type)
240 if (linkattr_equal(headp, attr, attrval, attrsz))
254 if ((newval = calloc(1, attrsz)) == NULL) {
263 bcopy(attrval, attrp->lp_val, attrsz);
264 attrp->lp_sz = attrsz;
302 size_t attrsz)
310 return ((saved_attrsz == attrsz) &&
311 (memcmp(saved_attrval, attrval, attrsz) == 0));
533 size_t attrsz;
536 err = linkattr_get(headp, attr, &attrval, &attrsz, &attrtype);
540 assert(attrsz > 0);
541 if (attrsz > MAXLINKATTRVALLEN)
545 retvalp->lr_attrsz = attrsz;
546 bcopy(attrval, retvalp->lr_attrval, attrsz);