Home
last modified time | relevance | path

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

/linux/include/net/
A Dgenetlink.h196 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr) in genlmsg_nlhdr() argument
198 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr()
250 void *user_hdr) in genl_dump_check_consistent() argument
252 nl_dump_check_consistent(cb, genlmsg_nlhdr(user_hdr)); in genl_dump_check_consistent()
/linux/drivers/infiniband/core/
A Duverbs_ioctl.c608 struct ib_uverbs_ioctl_hdr __user *user_hdr = in ib_uverbs_ioctl() local
617 err = copy_from_user(&hdr, user_hdr, sizeof(hdr)); in ib_uverbs_ioctl()
629 err = ib_uverbs_cmd_verbs(file, &hdr, user_hdr->attrs); in ib_uverbs_ioctl()

Completed in 6 milliseconds