Lines Matching refs:uk
2776 struct xfrm_user_kmaddress *uk; in copy_from_user_migrate() local
2778 uk = nla_data(attrs[XFRMA_KMADDRESS]); in copy_from_user_migrate()
2779 memcpy(&k->local, &uk->local, sizeof(k->local)); in copy_from_user_migrate()
2780 memcpy(&k->remote, &uk->remote, sizeof(k->remote)); in copy_from_user_migrate()
2781 k->family = uk->family; in copy_from_user_migrate()
2782 k->reserved = uk->reserved; in copy_from_user_migrate()
2888 struct xfrm_user_kmaddress uk; in copy_to_user_kmaddress() local
2890 memset(&uk, 0, sizeof(uk)); in copy_to_user_kmaddress()
2891 uk.family = k->family; in copy_to_user_kmaddress()
2892 uk.reserved = k->reserved; in copy_to_user_kmaddress()
2893 memcpy(&uk.local, &k->local, sizeof(uk.local)); in copy_to_user_kmaddress()
2894 memcpy(&uk.remote, &k->remote, sizeof(uk.remote)); in copy_to_user_kmaddress()
2896 return nla_put(skb, XFRMA_KMADDRESS, sizeof(uk), &uk); in copy_to_user_kmaddress()