Searched refs:total_len (Results 1 - 25 of 74) sorted by relevance

123

/drivers/staging/rtl8188eu/os_dep/
H A Drtw_android.c65 int total_len; member in struct:android_wifi_priv_cmd
89 int total_len)
97 bytes_written += snprintf(&command[bytes_written], total_len,
106 int total_len)
112 return snprintf(command, total_len, "LinkSpeed %d",
117 int total_len)
119 return snprintf(command, total_len, "Macaddr = %pM",
124 int total_len)
135 int total_len)
143 int total_len)
88 rtw_android_get_rssi(struct net_device *net, char *command, int total_len) argument
105 rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) argument
116 rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) argument
123 android_set_cntry(struct net_device *net, char *command, int total_len) argument
134 android_get_p2p_addr(struct net_device *net, char *command, int total_len) argument
142 rtw_android_set_block(struct net_device *net, char *command, int total_len) argument
[all...]
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_ioctl.h86 unsigned short total_len; member in struct:IOCTL_DPRAM_BLK
H A Dft1000_debug.c536 u16 total_len; local
638 total_len = msgsz+2;
639 if (total_len & 0x1) {
640 total_len++;
655 result = card_send_command(ft1000dev,(unsigned short*)dpram_data,total_len+2);
710 result = get_user(msglen, &pioctl_dpram->total_len);
/drivers/gpu/drm/udl/
H A Dudl_main.c34 u8 total_len = 0; local
41 total_len = usb_get_descriptor(usbdev, 0x5f, /* vendor specific */
43 if (total_len > 5) {
45 total_len, desc);
47 if ((desc[0] != total_len) || /* descriptor length */
51 (desc[4] != total_len - 2)) /* length after type */
54 desc_end = desc + total_len;
/drivers/net/wireless/ath/ath6kl/
H A Dtrace.h120 TP_PROTO(unsigned int addr, int flags, unsigned int total_len,
123 TP_ARGS(addr, flags, total_len, entries, list),
130 __field(size_t, total_len)
132 __dynamic_array(u8, data, total_len)
143 __entry->total_len = total_len;
164 "%s addr 0x%x flags 0x%x entries %d total_len %zd\n",
169 __entry->total_len
/drivers/spi/
H A Dspi-bcm63xx.c229 unsigned int n_transfers = 0, total_len = 0; local
243 total_len += t->len;
253 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) ||
254 (!can_use_prepend && total_len > bs->fifo_size)) {
256 total_len, bs->fifo_size);
285 m->actual_length += total_len;
289 total_len = 0;
H A Dspi-octeon.c154 unsigned int total_len = 0; local
166 total_len += r;
170 msg->actual_length = total_len;
/drivers/net/ppp/
H A Dpppoe.c824 struct msghdr *m, size_t total_len)
849 if (total_len > (dev->mtu + dev->hard_header_len))
853 skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32,
869 ph = (struct pppoe_hdr *)skb_put(skb, total_len + sizeof(struct pppoe_hdr));
872 error = memcpy_fromiovec(start, m->msg_iov, total_len);
878 error = total_len;
880 po->pppoe_pa.remote, NULL, total_len);
884 ph->length = htons(total_len);
966 struct msghdr *m, size_t total_len, int flags)
983 total_len
823 pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument
965 pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument
[all...]
/drivers/net/wireless/orinoco/
H A Dhermes_dld.c257 int total_len = 0; local
267 total_len += sizeof(*blk) + len;
271 return total_len;
/drivers/scsi/pm8001/
H A Dpm8001_init.c154 (pm8001_ha->memoryMap.region[i].total_len +
267 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE;
273 pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE;
280 pm8001_ha->memoryMap.region[CI+i].total_len = 4;
288 pm8001_ha->memoryMap.region[IB+i].total_len =
295 pm8001_ha->memoryMap.region[IB+i].total_len =
305 pm8001_ha->memoryMap.region[PI+i].total_len = 4;
313 pm8001_ha->memoryMap.region[OB+i].total_len =
321 pm8001_ha->memoryMap.region[OB+i].total_len =
330 pm8001_ha->memoryMap.region[NVMD].total_len
[all...]
/drivers/usb/renesas_usbhs/
H A Dfifo.c509 int total_len; local
536 total_len = len;
537 is_short = total_len < maxp;
547 buf += total_len - len;
557 pkt->actual += total_len;
657 int total_len = 0; local
672 total_len = len;
679 pkt->actual += total_len;
682 (total_len < maxp)) { /* short packet */
709 buf += total_len
[all...]
/drivers/usb/musb/
H A Dmusb_cppi41.c37 u32 total_len; member in struct:cppi41_dma_channel
158 remain_bytes = cppi41_channel->total_len;
243 cppi41_channel->total_len);
247 if (cppi41_channel->transferred == cppi41_channel->total_len ||
290 unsigned long usecs = cppi41_channel->total_len / 10;
376 cppi41_channel->total_len = len;
/drivers/vhost/
H A Dtest.c43 size_t len, total_len = 0; local
83 total_len += len;
84 if (unlikely(total_len >= VHOST_TEST_WEIGHT)) {
H A Dnet.c348 size_t len, total_len = 0; local
451 total_len += len;
453 if (unlikely(total_len >= VHOST_NET_WEIGHT)) {
572 size_t total_len = 0; local
661 total_len += vhost_len;
662 if (unlikely(total_len >= VHOST_NET_WEIGHT)) {
/drivers/net/
H A Dmacvtap.c642 const struct iovec *iv, unsigned long total_len,
648 unsigned long len = total_len;
751 return total_len;
1105 struct msghdr *m, size_t total_len)
1108 return macvtap_get_user(q, m, m->msg_iov, total_len, m->msg_iovlen,
1113 struct msghdr *m, size_t total_len,
1120 ret = macvtap_do_read(q, m->msg_iov, total_len,
1122 if (ret > total_len) {
1124 ret = flags & MSG_TRUNC ? ret : total_len;
641 macvtap_get_user(struct macvtap_queue *q, struct msghdr *m, const struct iovec *iv, unsigned long total_len, size_t count, int noblock) argument
1104 macvtap_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument
1112 macvtap_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument
/drivers/net/wireless/b43/
H A Dpio.c506 unsigned int hdrlen, total_len; local
524 total_len = roundup(skb->len + hdrlen, 4);
526 if (unlikely(total_len > q->buffer_size)) {
538 if (total_len > (q->buffer_size - q->buffer_used)) {
581 unsigned int total_len; local
593 total_len = pack->skb->len + b43_txhdr_size(dev);
594 total_len = roundup(total_len, 4);
595 q->buffer_used -= total_len;
/drivers/usb/core/
H A Dconfig.c784 int length, total_len, num, i; local
802 total_len = le16_to_cpu(bos->wTotalLength);
805 if (total_len < length)
813 buffer = kzalloc(total_len, GFP_KERNEL);
820 ret = usb_get_descriptor(dev, USB_DT_BOS, 0, buffer, total_len);
821 if (ret < total_len) {
827 total_len -= length;
834 if (total_len < length)
836 total_len -= length;
/drivers/media/common/siano/
H A Dsmscoreapi.c1953 u32 total_len; local
1973 total_len = sizeof(struct sms_msg_hdr) + (sizeof(u32) * 6);
1975 buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT,
1985 p_msg->x_msg_header.msg_length = (u16) total_len;
2014 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len,
2032 u32 total_len; local
2044 total_len = sizeof(struct sms_msg_hdr) +
2047 buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT,
2058 p_msg->x_msg_header.msg_length = (u16) total_len;
2063 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len,
2080 u32 total_len; local
[all...]
/drivers/acpi/
H A Dacpi_extlog.c37 u64 total_len; /* entire L1 Directory length including this header */ member in struct:extlog_l1_head
249 l1_size = l1_head->total_len;
/drivers/scsi/qla4xxx/
H A Dql4_bsg.c208 uint32_t total_len = 0; local
230 total_len = offset + len;
233 if ((is_qla4010(ha) && total_len > QL4010_NVRAM_SIZE) ||
235 total_len > QL40X2_NVRAM_SIZE)) {
280 uint32_t total_len = 0; local
301 total_len = offset + len;
304 if ((is_qla4010(ha) && total_len > QL4010_NVRAM_SIZE) ||
306 total_len > QL40X2_NVRAM_SIZE)) {
/drivers/staging/gdm724x/
H A Dgdm_mux.c365 int total_len; local
379 total_len = len + MUX_HEADER_SIZE + dummy_cnt;
381 t = alloc_mux_tx(total_len);
397 t->len = total_len;
405 total_len,
/drivers/net/wireless/ti/wlcore/
H A Dtx.c208 u32 total_len = skb->len + sizeof(struct wl1271_tx_hw_descr) + extra; local
213 if (buf_offset + total_len > wl->aggr_buf_size)
223 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks);
227 skb, total_len - skb->len);
256 total_len, total_blocks, id);
382 u32 total_len; local
443 total_len = wlcore_calc_packet_alignment(wl, skb->len);
446 memset(wl->aggr_buf + buf_offset + skb->len, 0, total_len - skb->len);
452 return total_len;
/drivers/infiniband/ulp/srp/
H A Dib_srp.h253 * @total_len: Total number of bytes in the sg-list being mapped.
270 u32 total_len; member in struct:srp_map_state
/drivers/ata/
H A Dsata_sx4.c318 unsigned int total_len)
329 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT);
339 unsigned int total_len)
350 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT);
461 unsigned int i, si, idx, total_len = 0, sgt_len; local
478 total_len += sg_dma_len(sg);
486 pdc20621_host_sg(&pp->dimm_buf[0], portno, total_len);
489 pdc20621_ata_sg(&pp->dimm_buf[0], portno, total_len);
317 pdc20621_ata_sg(u8 *buf, unsigned int portno, unsigned int total_len) argument
338 pdc20621_host_sg(u8 *buf, unsigned int portno, unsigned int total_len) argument
/drivers/mtd/
H A Dmtdconcat.c164 size_t total_len = 0; local
170 total_len += vecs[i].iov_len;
175 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize))
194 size = min_t(uint64_t, total_len, subdev->size - to);
219 total_len -= wsize;
221 if (total_len == 0)

Completed in 1991 milliseconds

123