Lines Matching refs:msg
61 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 __group, in cn_netlink_send_mult() argument
81 if (cn_cb_equal(&__cbq->id.id, &msg->id)) { in cn_netlink_send_mult()
96 size = sizeof(*msg) + len; in cn_netlink_send_mult()
102 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0); in cn_netlink_send_mult()
110 memcpy(data, msg, size); in cn_netlink_send_mult()
124 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, in cn_netlink_send() argument
127 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask, in cn_netlink_send()
140 struct cn_msg *msg = nlmsg_data(nlmsg_hdr(skb)); in cn_call_callback() local
146 if (nlh->nlmsg_len < NLMSG_HDRLEN + sizeof(struct cn_msg) + msg->len) in cn_call_callback()
151 if (cn_cb_equal(&i->id.id, &msg->id)) { in cn_call_callback()
160 cbq->callback(msg, nsp); in cn_call_callback()