Lines Matching refs:oa
2267 STRUCT_DECL(crypto_object_attribute, oa); in copyin_attributes()
2282 STRUCT_INIT(oa, mode); in copyin_attributes()
2295 len = count * STRUCT_SIZE(oa); in copyin_attributes()
2307 bcopy(ap, STRUCT_BUF(oa), STRUCT_SIZE(oa)); in copyin_attributes()
2308 tmp_len = roundup(STRUCT_FGET(oa, oa_value_len), in copyin_attributes()
2317 if (STRUCT_FGETP(oa, oa_value) != NULL) in copyin_attributes()
2319 ap += STRUCT_SIZE(oa); in copyin_attributes()
2338 bcopy(ap, STRUCT_BUF(oa), STRUCT_SIZE(oa)); in copyin_attributes()
2339 k_attrs[i].oa_type = STRUCT_FGET(oa, oa_type); in copyin_attributes()
2340 value = STRUCT_FGETP(oa, oa_value); in copyin_attributes()
2341 value_len = STRUCT_FGET(oa, oa_value_len); in copyin_attributes()
2358 ap += STRUCT_SIZE(oa); in copyin_attributes()
4566 STRUCT_DECL(crypto_object_attribute, oa); in copyout_attributes()
4576 STRUCT_INIT(oa, mode); in copyout_attributes()
4578 len = count * STRUCT_SIZE(oa); in copyout_attributes()
4584 bcopy(p, STRUCT_BUF(oa), STRUCT_SIZE(oa)); in copyout_attributes()
4586 STRUCT_FSET(oa, oa_type, k_attrs[i].oa_type); in copyout_attributes()
4587 STRUCT_FSET(oa, oa_value_len, (ssize_t)value_len); in copyout_attributes()
4588 valuep = STRUCT_FGETP(oa, oa_value); in copyout_attributes()
4596 bcopy(STRUCT_BUF(oa), p, STRUCT_SIZE(oa)); in copyout_attributes()
4597 p += STRUCT_SIZE(oa); in copyout_attributes()
4869 STRUCT_DECL(crypto_object_attribute, oa); in object_get_attribute_value()
4872 STRUCT_DECL(crypto_object_attribute, oa); in object_get_attribute_value()
4891 STRUCT_INIT(oa, mode); in object_get_attribute_value()
4952 kmem_free(u_attrs, count * STRUCT_SIZE(oa)); in object_get_attribute_value()
5515 STRUCT_DECL(crypto_object_attribute, oa); in nostore_generate_key()
5518 STRUCT_DECL(crypto_object_attribute, oa); in nostore_generate_key()
5546 STRUCT_INIT(oa, mode); in nostore_generate_key()
5630 kmem_free(u_attrs, out_count * STRUCT_SIZE(oa)); in nostore_generate_key()
5810 STRUCT_DECL(crypto_object_attribute, oa); in nostore_generate_key_pair()
5813 STRUCT_DECL(crypto_object_attribute, oa); in nostore_generate_key_pair()
5854 STRUCT_INIT(oa, mode); in nostore_generate_key_pair()
5977 kmem_free(u_pub_attrs, out_pub_count * STRUCT_SIZE(oa)); in nostore_generate_key_pair()
5980 kmem_free(u_pri_attrs, out_pri_count * STRUCT_SIZE(oa)); in nostore_generate_key_pair()
6485 STRUCT_DECL(crypto_object_attribute, oa); in nostore_derive_key()
6488 STRUCT_DECL(crypto_object_attribute, oa); in nostore_derive_key()
6516 STRUCT_INIT(oa, mode); in nostore_derive_key()
6620 kmem_free(u_attrs, out_count * STRUCT_SIZE(oa)); in nostore_derive_key()