Lines Matching refs:uk
2325 struct xfrm_user_kmaddress *uk; in copy_from_user_migrate() local
2327 uk = nla_data(attrs[XFRMA_KMADDRESS]); in copy_from_user_migrate()
2328 memcpy(&k->local, &uk->local, sizeof(k->local)); in copy_from_user_migrate()
2329 memcpy(&k->remote, &uk->remote, sizeof(k->remote)); in copy_from_user_migrate()
2330 k->family = uk->family; in copy_from_user_migrate()
2331 k->reserved = uk->reserved; in copy_from_user_migrate()
2428 struct xfrm_user_kmaddress uk; in copy_to_user_kmaddress() local
2430 memset(&uk, 0, sizeof(uk)); in copy_to_user_kmaddress()
2431 uk.family = k->family; in copy_to_user_kmaddress()
2432 uk.reserved = k->reserved; in copy_to_user_kmaddress()
2433 memcpy(&uk.local, &k->local, sizeof(uk.local)); in copy_to_user_kmaddress()
2434 memcpy(&uk.remote, &k->remote, sizeof(uk.remote)); in copy_to_user_kmaddress()
2436 return nla_put(skb, XFRMA_KMADDRESS, sizeof(uk), &uk); in copy_to_user_kmaddress()