Lines Matching defs:space
76 * w1_reply_make_space() - send message if needed to make space
77 * @block: block to make space on
78 * @space: how many bytes requested
80 * Verify there is enough room left for the caller to add "space" bytes to the
83 static void w1_reply_make_space(struct w1_cb_block *block, u16 space)
86 if (len + space >= block->maxlen) {
109 * block->cn->len does not include space for block->msg
138 u32 space;
152 space = sizeof(*cmd) + cmd->len;
154 memcpy(block->cmd, cmd, space);
155 block->cn->len += space;
156 block->msg->len += space;
166 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd);
167 w1_reply_make_space(block, space);
560 * space for one cb_node each.
569 /* count messages for nodes and allocate any additional space
593 /* allocate space for the block, a copy of the original message,
595 * space for replies which is the original message size plus
596 * space for any list slave data and status messages
601 /* space for nodes */
620 /* Sneeky, when not bundling, reply_size is the allocated space
623 * when checking if there is enough space, w1_reply_make_space