Searched refs:old_attrp (Results 1 – 4 of 4) sorted by relevance
403 kernel_copy_extra_attr(CK_ATTRIBUTE_INFO_PTR old_attrp, in kernel_copy_extra_attr() argument414 attrp->attr.type = old_attrp->attr.type; in kernel_copy_extra_attr()415 attrp->attr.ulValueLen = old_attrp->attr.ulValueLen; in kernel_copy_extra_attr()417 if ((old_attrp->attr.pValue != NULL) && in kernel_copy_extra_attr()418 (old_attrp->attr.ulValueLen > 0)) { in kernel_copy_extra_attr()419 attrp->attr.pValue = malloc(old_attrp->attr.ulValueLen); in kernel_copy_extra_attr()425 (void) memcpy(attrp->attr.pValue, old_attrp->attr.pValue, in kernel_copy_extra_attr()426 old_attrp->attr.ulValueLen); in kernel_copy_extra_attr()
536 CK_RV kernel_copy_extra_attr(CK_ATTRIBUTE_INFO_PTR old_attrp,
537 soft_copy_extra_attr(CK_ATTRIBUTE_INFO_PTR old_attrp, soft_object_t *object_p) in soft_copy_extra_attr() argument547 attrp->attr.type = old_attrp->attr.type; in soft_copy_extra_attr()548 attrp->attr.ulValueLen = old_attrp->attr.ulValueLen; in soft_copy_extra_attr()550 if ((old_attrp->attr.pValue != NULL) && in soft_copy_extra_attr()551 (old_attrp->attr.ulValueLen > 0)) { in soft_copy_extra_attr()552 attrp->attr.pValue = malloc(old_attrp->attr.ulValueLen); in soft_copy_extra_attr()558 (void) memcpy(attrp->attr.pValue, old_attrp->attr.pValue, in soft_copy_extra_attr()559 old_attrp->attr.ulValueLen); in soft_copy_extra_attr()
790 CK_RV soft_copy_extra_attr(CK_ATTRIBUTE_INFO_PTR old_attrp,