Searched defs:reply_len (Results 1 - 8 of 8) sorted by relevance

/drivers/net/usb/
H A Drndis_host.c226 * specified by @in_len. If @reply_len is not set to -1 then the reply
240 void **reply, int *reply_len)
272 if (*reply_len != -1 && len != *reply_len)
276 *reply_len = len;
316 int reply_len; local
397 reply_len = sizeof *phym;
399 0, (void **) &phym, &reply_len);
421 reply_len = ETH_ALEN;
423 48, (void **) &bp, &reply_len);
238 rndis_query(struct usbnet *dev, struct usb_interface *intf, void *buf, __le32 oid, u32 in_len, void **reply, int *reply_len) argument
[all...]
/drivers/net/wireless/iwlwifi/
H A Diwl-testmode.c265 u32 reply_len; local
304 reply_len = le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK;
305 skb = cfg80211_testmode_alloc_reply_skb(hw->wiphy, reply_len + 20);
306 reply_buf = kmalloc(reply_len, GFP_KERNEL);
314 memcpy(reply_buf, &(pkt->hdr), reply_len);
318 NLA_PUT(skb, IWL_TM_ATTR_UCODE_RX_PKT, reply_len, reply_buf);
/drivers/s390/crypto/
H A Dzcrypt_pcicc.c357 unsigned int reply_len, pad_len; local
381 reply_len = le16_to_cpu(msg->length) - 2;
382 if (reply_len > outputdatalength)
385 * For all encipher requests, the length of the ciphertext (reply_len)
394 pad_len = outputdatalength - reply_len;
405 if (copy_to_user(outputdata + pad_len, data, reply_len))
H A Dzcrypt_pcixcc.c442 unsigned int reply_len, pad_len; local
466 reply_len = msg->length - 2;
467 if (reply_len > outputdatalength)
470 * For all encipher requests, the length of the ciphertext (reply_len)
479 pad_len = outputdatalength - reply_len;
490 if (copy_to_user(outputdata + pad_len, data, reply_len))
/drivers/macintosh/
H A Dvia-macii.c115 static int reply_len; /* number of bytes received in reply_buf or req->reply */ variable
222 req.reply_len = 0;
266 req->reply_len = 0;
420 reply_len = 0;
426 reply_len = 1;
493 reply_len = 0;
504 BUG_ON(reply_len > 15);
507 reply_len++;
520 req->reply_len = reply_len;
[all...]
H A Dvia-maciisi.c70 static int reply_len; variable
330 req->reply_len = 0;
479 reply_len = 0;
503 reply_len = 0;
552 if (reply_len++ > 16) {
585 req->reply_len = reply_ptr - req->reply;
588 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) {
590 req->reply_len = 0;
593 req->reply_len -= 2;
594 memmove(req->reply, req->reply + 2, req->reply_len);
[all...]
H A Dsmu.c191 int reply_len; local
209 reply_len = rc == 0 ? smu->cmd_buf->length : 0;
210 DPRINTK("SMU: reply len: %d\n", reply_len);
211 if (reply_len > cmd->reply_len) {
214 reply_len, cmd->reply_len);
215 reply_len = cmd->reply_len;
217 cmd->reply_len
[all...]
/drivers/media/video/gspca/
H A Dkinect.c130 unsigned int cmd_len, void *replybuf, unsigned int reply_len)
192 if (actual_len > reply_len) {
194 reply_len, actual_len);
195 memcpy(replybuf, ibuf+sizeof(*rhdr), reply_len);
129 send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, unsigned int cmd_len, void *replybuf, unsigned int reply_len) argument

Completed in 430 milliseconds