Searched refs:user_hdr (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
H A D | genetlink.h | 194 * @user_hdr: user header as returned from genlmsg_put() 198 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr) in genlmsg_nlhdr() argument 200 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr() 246 * @user_hdr: user header as returned from genlmsg_put() 252 void *user_hdr) in genl_dump_check_consistent() 254 nl_dump_check_consistent(cb, genlmsg_nlhdr(user_hdr)); in genl_dump_check_consistent() 251 genl_dump_check_consistent(struct netlink_callback *cb, void *user_hdr) genl_dump_check_consistent() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | genetlink.h | 337 * @user_hdr: user header as returned from genlmsg_put() 341 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr) in genlmsg_nlhdr() argument 343 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr() 389 * @user_hdr: user header as returned from genlmsg_put() 395 void *user_hdr) in genl_dump_check_consistent() 397 nl_dump_check_consistent(cb, genlmsg_nlhdr(user_hdr)); in genl_dump_check_consistent() 394 genl_dump_check_consistent(struct netlink_callback *cb, void *user_hdr) genl_dump_check_consistent() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_ioctl.c | 608 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_ioctl.c | 616 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()
|
Completed in 4 milliseconds