Lines Matching defs:msg
180 void *msg;
189 * allocate msg
191 msg = c2_mq_alloc(&c2dev->req_vq);
194 * If we cannot get a msg, then we'll wait
198 while (msg == NULL) {
199 pr_debug("%s:%d no available msg in VQ, waiting...\n",
220 msg = c2_mq_alloc(&c2dev->req_vq);
224 * copy wr into adapter msg
226 memcpy(msg, wr, c2dev->req_vq.msg_size);
229 * post msg