Lines Matching refs:cn_msg
34 struct cn_msg *first_cn; /* fixed once the structure is populated */
35 struct cn_msg *cn; /* advances as cn_msg is appeneded */
40 struct cn_msg request_cn;
126 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
146 w1_reply_make_space(block, sizeof(struct cn_msg) + in w1_netlink_queue_cmd()
173 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
201 static void w1_netlink_send_error(struct cn_msg *cn, struct w1_netlink_msg *msg, in w1_netlink_send_error()
205 struct cn_msg cn; in w1_netlink_send_error()
226 struct cn_msg cn; in w1_netlink_send()
406 static int w1_process_command_root(struct cn_msg *req_cn, u32 portid) in w1_process_command_root()
409 struct cn_msg *cn; in w1_process_command_root()
432 if (cn->len + sizeof(*id) > PAGE_SIZE - sizeof(struct cn_msg)) { in w1_process_command_root()
544 static void w1_cn_callback(struct cn_msg *cn, struct netlink_skb_parms *nsp) in w1_cn_callback()
594 reply_size += 2 * cmd_count * (sizeof(struct cn_msg) + in w1_cn_callback()
611 sizeof(struct cn_msg) + reply_size; in w1_cn_callback()
636 block->first_cn = (struct cn_msg *)(node + node_count); in w1_cn_callback()