Home
last modified time | relevance | path

Searched refs:kcmsg_base (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/net/
Dcompat.c143 struct cmsghdr *kcmsg, *kcmsg_base; in cmsghdr_from_user_compat_to_kern() local
152 kcmsg_base = kcmsg = (struct cmsghdr *)stackbuf; in cmsghdr_from_user_compat_to_kern()
176 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
190 if ((char *)kcmsg_base + kcmlen - (char *)kcmsg < CMSG_ALIGN(tmp)) in cmsghdr_from_user_compat_to_kern()
210 if ((char *)kcmsg - (char *)kcmsg_base != kcmlen) in cmsghdr_from_user_compat_to_kern()
215 kmsg->msg_control = kcmsg_base; in cmsghdr_from_user_compat_to_kern()
222 if (kcmsg_base != (struct cmsghdr *)stackbuf) in cmsghdr_from_user_compat_to_kern()
223 sock_kfree_s(sk, kcmsg_base, kcmlen); in cmsghdr_from_user_compat_to_kern()