Home
last modified time | relevance | path

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

/Linux-v6.1/include/net/
Dgenetlink.h216 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr) in genlmsg_nlhdr() argument
218 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr()
270 void *user_hdr) in genl_dump_check_consistent() argument
272 nl_dump_check_consistent(cb, genlmsg_nlhdr(user_hdr)); in genl_dump_check_consistent()
/Linux-v6.1/drivers/infiniband/core/
Duverbs_ioctl.c616 struct ib_uverbs_ioctl_hdr __user *user_hdr = in ib_uverbs_ioctl() local
625 err = copy_from_user(&hdr, user_hdr, sizeof(hdr)); in ib_uverbs_ioctl()
637 err = ib_uverbs_cmd_verbs(file, &hdr, user_hdr->attrs); in ib_uverbs_ioctl()