Lines Matching defs:attrsz
1030 const char *attr, zoneid_t zoneid, void *attrval, size_t attrsz)
1038 attrsz == 0 || attr == NULL)
1049 if (retval.lr_attrsz > attrsz)
1065 void *attrval, size_t attrsz)
1069 if (attrval == NULL || attrsz == 0 || attr == NULL)
1081 if (oattrsz > attrsz)
1102 if (retval.lr_attrsz > attrsz)
1117 const char *last_attr, char *attr, void *attrval, size_t attrsz,
1126 if (nvl == NULL || attrval == NULL || attrsz == 0 || attr == NULL ||
1147 if (oattrsz > attrsz)
1285 size_t attrsz, sz = sizeof (retval);
1291 attrsz = strlen(attrval) + 1;
1293 attrsz = dladm_datatype_size[type];
1295 if (attrsz > MAXOBJATTRVALLEN)
1301 setattr.ld_attrsz = attrsz;
1303 bcopy(attrval, &setattr.ld_attrval, attrsz);
1318 size_t attrsz;
1328 attrsz = strlen(attrval) + 1;
1330 attrsz = dladm_datatype_size[type];
1332 if (attrsz > MAXOBJATTRVALLEN)
1338 setattr.ld_attrsz = attrsz;
1340 bcopy(attrval, &setattr.ld_attrval, attrsz);