Lines Matching refs:STRUCT_BUF

932 	if (copyin(arg, STRUCT_BUF(get_number), STRUCT_SIZE(get_number)) != 0)
966 if (copyout(STRUCT_BUF(get_number), arg,
991 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) {
1009 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) {
1025 offset -= (ulong_t)STRUCT_BUF(get_list);
1062 bcopy(STRUCT_BUF(mi), p, STRUCT_SIZE(mi));
1099 if (copyin(arg, STRUCT_BUF(get_all_mech),
1134 if (copyout(STRUCT_BUF(get_all_mech), arg,
1151 offset -= (ulong_t)STRUCT_BUF(get_all_mech);
1245 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) {
1254 if (copyout(STRUCT_BUF(get_list), arg,
1272 if (copyout(STRUCT_BUF(get_list), arg,
1285 if (copyout(STRUCT_BUF(get_list), arg,
1298 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) {
1310 offset -= (ulong_t)STRUCT_BUF(get_list);
1358 bcopy(STRUCT_BUF(version), STRUCT_FADDR(pd, pd_hardware_version),
1362 bcopy(STRUCT_BUF(version), STRUCT_FADDR(pd, pd_firmware_version),
1365 bcopy(STRUCT_BUF(pd), out, STRUCT_SIZE(pd));
1429 if (copyin(arg, STRUCT_BUF(get_info), STRUCT_SIZE(get_info)) != 0) {
1500 if (copyout(STRUCT_BUF(get_info), arg, STRUCT_SIZE(get_info)) != 0) {
1532 if (copyin(arg, STRUCT_BUF(get_mechanisms),
1544 if (copyout(STRUCT_BUF(get_mechanisms), arg,
1560 if (copyout(STRUCT_BUF(get_mechanisms), arg,
1573 if (copyout(STRUCT_BUF(get_mechanisms), arg,
1586 if (copyout(STRUCT_BUF(get_mechanisms), arg,
1598 offset -= (ulong_t)STRUCT_BUF(get_mechanisms);
2117 bcopy(in_mech, STRUCT_BUF(mech), STRUCT_SIZE(mech));
2271 bcopy(ap, STRUCT_BUF(oa), STRUCT_SIZE(oa));
2302 bcopy(ap, STRUCT_BUF(oa), STRUCT_SIZE(oa));
2368 bcopy(in_key, STRUCT_BUF(key), STRUCT_SIZE(key));
2631 if (copyin(arg, STRUCT_BUF(encrypt_init),
2714 if (copyout(STRUCT_BUF(encrypt_init), arg,
2765 if (copyin(arg, STRUCT_BUF(encrypt), STRUCT_SIZE(encrypt)) != 0) {
2875 if (copyout(STRUCT_BUF(encrypt), arg, STRUCT_SIZE(encrypt)) != 0) {
2924 if (copyin(arg, STRUCT_BUF(encrypt_update),
3032 if (copyout(STRUCT_BUF(encrypt_update), arg,
3080 if (copyin(arg, STRUCT_BUF(encrypt_final),
3177 if (copyout(STRUCT_BUF(encrypt_final), arg,
3207 if (copyin(arg, STRUCT_BUF(digest_init),
3257 if (copyout(STRUCT_BUF(digest_init), arg,
3285 if (copyin(arg, STRUCT_BUF(digest_update),
3342 if (copyout(STRUCT_BUF(digest_update), arg,
3370 if (copyin(arg, STRUCT_BUF(digest_key), STRUCT_SIZE(digest_key)) != 0) {
3402 if (copyout(STRUCT_BUF(digest_key), arg,
3451 if (copyin(arg, STRUCT_BUF(crypto_digest),
3559 if (copyout(STRUCT_BUF(crypto_digest), arg,
3621 if (copyin(arg, STRUCT_BUF(set_pin),
3680 if (copyout(STRUCT_BUF(set_pin), arg, STRUCT_SIZE(set_pin)) != 0) {
3708 if (copyin(arg, STRUCT_BUF(login), STRUCT_SIZE(login)) != 0) {
3754 if (copyout(STRUCT_BUF(login), arg, STRUCT_SIZE(login)) != 0) {
3880 if (copyin(arg, STRUCT_BUF(sign_init), STRUCT_SIZE(sign_init)) != 0) {
3971 if (copyout(STRUCT_BUF(sign_init), arg, STRUCT_SIZE(sign_init)) != 0) {
4012 if (copyin(arg, STRUCT_BUF(verify), STRUCT_SIZE(verify)) != 0) {
4077 if (copyout(STRUCT_BUF(verify), arg, STRUCT_SIZE(verify)) != 0) {
4130 if (copyin(arg, STRUCT_BUF(sign_update),
4185 if (copyout(STRUCT_BUF(sign_update), arg,
4224 if (copyin(arg, STRUCT_BUF(verify_final),
4276 if (copyout(STRUCT_BUF(verify_final), arg,
4307 if (copyin(arg, STRUCT_BUF(seed_random),
4367 if (copyout(STRUCT_BUF(seed_random), arg,
4398 if (copyin(arg, STRUCT_BUF(generate_random),
4462 if (copyout(STRUCT_BUF(generate_random), arg,
4497 bcopy(p, STRUCT_BUF(oa), STRUCT_SIZE(oa));
4509 bcopy(STRUCT_BUF(oa), p, STRUCT_SIZE(oa));
4547 if (copyin(arg, STRUCT_BUF(object_create),
4592 if (copyout(STRUCT_BUF(object_create), arg,
4641 if (copyin(arg, STRUCT_BUF(object_copy),
4688 if (copyout(STRUCT_BUF(object_copy), arg,
4731 if (copyin(arg, STRUCT_BUF(object_destroy),
4769 if (copyout(STRUCT_BUF(object_destroy), arg,
4812 if (copyin(arg, STRUCT_BUF(get_attribute_value),
4871 if (copyout(STRUCT_BUF(get_attribute_value), arg,
4900 if (copyin(arg, STRUCT_BUF(object_get_size),
4939 if (copyout(STRUCT_BUF(object_get_size), arg,
4974 if (copyin(arg, STRUCT_BUF(set_attribute_value),
5021 if (copyout(STRUCT_BUF(set_attribute_value), arg,
5055 if (copyin(arg, STRUCT_BUF(find_init), STRUCT_SIZE(find_init)) != 0) {
5119 if (copyout(STRUCT_BUF(find_init), arg, STRUCT_SIZE(find_init)) != 0) {
5148 if (copyin(arg, STRUCT_BUF(find_update),
5217 if (copyout(STRUCT_BUF(find_update), arg,
5269 if (copyin(arg, STRUCT_BUF(object_find_final),
5295 if (copyout(STRUCT_BUF(object_find_final), arg,
5332 if (copyin(arg, STRUCT_BUF(generate_key),
5396 if (copyout(STRUCT_BUF(generate_key), arg,
5465 if (copyin(arg, STRUCT_BUF(generate_key),
5548 if (copyout(STRUCT_BUF(generate_key), arg,
5602 if (copyin(arg, STRUCT_BUF(generate_key_pair),
5682 if (copyout(STRUCT_BUF(generate_key_pair), arg,
5772 if (copyin(arg, STRUCT_BUF(generate_key_pair),
5896 if (copyout(STRUCT_BUF(generate_key_pair), arg,
5944 if (copyin(arg, STRUCT_BUF(wrap_key), STRUCT_SIZE(wrap_key)) != 0) {
6065 if (copyout(STRUCT_BUF(wrap_key), arg, STRUCT_SIZE(wrap_key)) != 0) {
6107 if (copyin(arg, STRUCT_BUF(unwrap_key), STRUCT_SIZE(unwrap_key)) != 0) {
6211 if (copyout(STRUCT_BUF(unwrap_key), arg,
6272 if (copyin(arg, STRUCT_BUF(derive_key), STRUCT_SIZE(derive_key)) != 0) {
6361 if (copyout(STRUCT_BUF(derive_key), arg,
6432 if (copyin(arg, STRUCT_BUF(derive_key), STRUCT_SIZE(derive_key)) != 0) {
6537 if (copyout(STRUCT_BUF(derive_key), arg,