Lines Matching refs:cn_msg
25 struct cn_msg *first_cn; /* fixed once the structure is populated */
26 struct cn_msg *cn; /* advances as cn_msg is appeneded */
31 struct cn_msg request_cn;
117 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
137 w1_reply_make_space(block, sizeof(struct cn_msg) + in w1_netlink_queue_cmd()
164 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); in w1_netlink_queue_status()
192 static void w1_netlink_send_error(struct cn_msg *cn, struct w1_netlink_msg *msg, in w1_netlink_send_error()
196 struct cn_msg cn; in w1_netlink_send_error()
217 struct cn_msg cn; in w1_netlink_send()
397 static int w1_process_command_root(struct cn_msg *req_cn, u32 portid) in w1_process_command_root()
400 struct cn_msg *cn; in w1_process_command_root()
423 if (cn->len + sizeof(*id) > PAGE_SIZE - sizeof(struct cn_msg)) { in w1_process_command_root()
535 static void w1_cn_callback(struct cn_msg *cn, struct netlink_skb_parms *nsp) in w1_cn_callback()
585 reply_size += 2 * cmd_count * (sizeof(struct cn_msg) + in w1_cn_callback()
602 sizeof(struct cn_msg) + reply_size; in w1_cn_callback()
628 block->first_cn = (struct cn_msg *)(node + node_count); in w1_cn_callback()