Lines Matching defs:k
3050 struct xfrm_kmaddress *k,
3058 if (k != NULL) {
3062 memcpy(&k->local, &uk->local, sizeof(k->local));
3063 memcpy(&k->remote, &uk->remote, sizeof(k->remote));
3064 k->family = uk->family;
3065 k->reserved = uk->reserved;
3178 static int copy_to_user_kmaddress(const struct xfrm_kmaddress *k, struct sk_buff *skb)
3183 uk.family = k->family;
3184 uk.reserved = k->reserved;
3185 memcpy(&uk.local, &k->local, sizeof(uk.local));
3186 memcpy(&uk.remote, &k->remote, sizeof(uk.remote));
3202 int num_migrate, const struct xfrm_kmaddress *k,
3221 if (k != NULL) {
3222 err = copy_to_user_kmaddress(k, skb);
3250 const struct xfrm_kmaddress *k,
3257 skb = nlmsg_new(xfrm_migrate_msgsize(num_migrate, !!k, !!encap),
3263 err = build_migrate(skb, m, num_migrate, k, sel, encap, dir, type);
3271 const struct xfrm_kmaddress *k,