Searched refs:cmhdr (Results 1 – 2 of 2) sorted by relevance
217 struct cmsghdr cmhdr; in put_cmsg() local232 cmhdr.cmsg_level = level; in put_cmsg()233 cmhdr.cmsg_type = type; in put_cmsg()234 cmhdr.cmsg_len = cmlen; in put_cmsg()237 if (copy_to_user(cm, &cmhdr, sizeof cmhdr)) in put_cmsg()
213 struct compat_cmsghdr cmhdr; in put_cmsg_compat() local250 cmhdr.cmsg_level = level; in put_cmsg_compat()251 cmhdr.cmsg_type = type; in put_cmsg_compat()252 cmhdr.cmsg_len = cmlen; in put_cmsg_compat()254 if (copy_to_user(cm, &cmhdr, sizeof cmhdr)) in put_cmsg_compat()