/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 65 int total_len; member 89 int total_len) in rtw_android_get_rssi() argument 97 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi() 106 int total_len) in rtw_android_get_link_speed() argument 112 return snprintf(command, total_len, "LinkSpeed %d", in rtw_android_get_link_speed() 117 int total_len) in rtw_android_get_macaddr() argument 119 return snprintf(command, total_len, "Macaddr = %pM", in rtw_android_get_macaddr() 124 int total_len) in android_set_cntry() argument 135 int total_len) in android_get_p2p_addr() argument 143 int total_len) in rtw_android_set_block() argument [all …]
|
/linux-4.1.27/fs/pstore/ |
D | platform.c | 249 size_t total_len; in copy_kmsg_to_buffer() local 252 total_len = hsize + len; in copy_kmsg_to_buffer() 254 if (total_len > psinfo->bufsize) { in copy_kmsg_to_buffer() 255 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 259 total_len = psinfo->bufsize; in copy_kmsg_to_buffer() 261 memcpy(psinfo->buf, big_oops_buf, total_len); in copy_kmsg_to_buffer() 263 return total_len; in copy_kmsg_to_buffer() 300 size_t total_len; in pstore_dump() local 317 total_len = zipped_len; in pstore_dump() 320 total_len = copy_kmsg_to_buffer(hsize, len); in pstore_dump() [all …]
|
/linux-4.1.27/net/nfc/nci/ |
D | data.c | 97 int total_len = skb->len; in nci_queue_tx_data_frags() local 105 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags() 115 while (total_len) { in nci_queue_tx_data_frags() 117 min_t(int, total_len, conn_info->max_pkt_payload_len); in nci_queue_tx_data_frags() 133 ((total_len == frag_len) ? in nci_queue_tx_data_frags() 139 total_len -= frag_len; in nci_queue_tx_data_frags() 142 frag_len, total_len); in nci_queue_tx_data_frags()
|
/linux-4.1.27/fs/ext2/ |
D | xattr_trusted.c | 16 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() local 21 if (list && total_len <= list_size) { in ext2_xattr_trusted_list() 26 return total_len; in ext2_xattr_trusted_list()
|
D | xattr_user.c | 18 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() local 23 if (list && total_len <= list_size) { in ext2_xattr_user_list() 28 return total_len; in ext2_xattr_user_list()
|
D | xattr_security.c | 15 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_security_list() local 17 if (list && total_len <= list_size) { in ext2_xattr_security_list() 22 return total_len; in ext2_xattr_security_list()
|
/linux-4.1.27/fs/ext4/ |
D | xattr_trusted.c | 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() local 25 if (list && total_len <= list_size) { in ext4_xattr_trusted_list() 30 return total_len; in ext4_xattr_trusted_list()
|
D | xattr_user.c | 19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() local 24 if (list && total_len <= list_size) { in ext4_xattr_user_list() 29 return total_len; in ext4_xattr_user_list()
|
D | xattr_security.c | 19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_security_list() local 22 if (list && total_len <= list_size) { in ext4_xattr_security_list() 27 return total_len; in ext4_xattr_security_list()
|
/linux-4.1.27/fs/ext3/ |
D | xattr_trusted.c | 16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_trusted_list() local 21 if (list && total_len <= list_size) { in ext3_xattr_trusted_list() 26 return total_len; in ext3_xattr_trusted_list()
|
D | xattr_user.c | 16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_user_list() local 21 if (list && total_len <= list_size) { in ext3_xattr_user_list() 26 return total_len; in ext3_xattr_user_list()
|
D | xattr_security.c | 15 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_security_list() local 18 if (list && total_len <= list_size) { in ext3_xattr_security_list() 23 return total_len; in ext3_xattr_security_list()
|
/linux-4.1.27/net/mac80211/ |
D | aes_cmac.c | 44 size_t i, e, left, total_len; in aes_cmac_vector() local 48 total_len = 0; in aes_cmac_vector() 50 total_len += len[e]; in aes_cmac_vector() 51 left = total_len; in aes_cmac_vector() 75 if (left || total_len == 0) { in aes_cmac_vector()
|
D | mesh_sync.c | 104 elems->total_len + in mesh_sync_offset_rx_bcn_presp()
|
D | mesh_plink.c | 458 elems->total_len, in mesh_sta_info_alloc()
|
D | ieee80211_i.h | 1398 size_t total_len; member
|
D | util.c | 821 elems->total_len = len; in ieee802_11_parse_elems_crc()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
D | udl_main.c | 34 u8 total_len = 0; in udl_parse_vendor_descriptor() local 41 total_len = usb_get_descriptor(usbdev, 0x5f, /* vendor specific */ in udl_parse_vendor_descriptor() 43 if (total_len > 5) { in udl_parse_vendor_descriptor() 45 total_len, desc); in udl_parse_vendor_descriptor() 47 if ((desc[0] != total_len) || /* descriptor length */ in udl_parse_vendor_descriptor() 51 (desc[4] != total_len - 2)) /* length after type */ in udl_parse_vendor_descriptor() 54 desc_end = desc + total_len; in udl_parse_vendor_descriptor()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | trace.h | 120 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; 169 __entry->total_len
|
/linux-4.1.27/Documentation/networking/timestamping/ |
D | txtimestamp.c | 273 int fd, i, val = 1, total_len; in do_test() local 281 total_len = cfg_payload_len; in do_test() 283 total_len += sizeof(struct udphdr); in do_test() 285 total_len += sizeof(struct iphdr); in do_test() 288 buf = malloc(total_len); in do_test() 334 memset(buf, 'a' + i, total_len); in do_test() 364 val = sendto(fd, buf, total_len, 0, (void *) &daddr, sizeof(daddr)); in do_test() 366 val = sendto(fd, buf, total_len, 0, (void *) &daddr6, sizeof(daddr6)); in do_test() 370 if (val != total_len) in do_test()
|
/linux-4.1.27/drivers/spi/ |
D | spi-bcm63xx.c | 225 unsigned int n_transfers = 0, total_len = 0; in bcm63xx_spi_transfer_one() local 239 total_len += t->len; in bcm63xx_spi_transfer_one() 249 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || in bcm63xx_spi_transfer_one() 250 (!can_use_prepend && total_len > bs->fifo_size)) { in bcm63xx_spi_transfer_one() 252 total_len, bs->fifo_size); in bcm63xx_spi_transfer_one() 281 m->actual_length += total_len; in bcm63xx_spi_transfer_one() 285 total_len = 0; in bcm63xx_spi_transfer_one()
|
D | spi-octeon.c | 154 unsigned int total_len = 0; in octeon_spi_transfer_one_message() local 166 total_len += r; in octeon_spi_transfer_one_message() 170 msg->actual_length = total_len; in octeon_spi_transfer_one_message()
|
D | spi-fsl-espi.c | 362 unsigned int total_len = espi_trans->len; in fsl_espi_rw_trans() local 379 for (pos = 0, loop = 0; pos < total_len; pos += trans_len, loop++) { in fsl_espi_rw_trans() 380 trans_len = total_len - pos; in fsl_espi_rw_trans()
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_mux.c | 161 int total_len; in up_to_host() local 179 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); in up_to_host() 182 total_len) { in up_to_host() 205 packet_size_sum += total_len; in up_to_host() 364 int total_len; in gdm_mux_send() local 376 total_len = ALIGN(MUX_HEADER_SIZE + len, 4); in gdm_mux_send() 378 t = alloc_mux_tx(total_len); in gdm_mux_send() 392 memset(t->buf+MUX_HEADER_SIZE+len, 0, total_len - MUX_HEADER_SIZE - in gdm_mux_send() 395 t->len = total_len; in gdm_mux_send() 403 total_len, in gdm_mux_send()
|
/linux-4.1.27/drivers/net/ppp/ |
D | pppoe.c | 853 size_t total_len) in pppoe_sendmsg() argument 878 if (total_len > (dev->mtu + dev->hard_header_len)) in pppoe_sendmsg() 882 skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32, in pppoe_sendmsg() 898 ph = (struct pppoe_hdr *)skb_put(skb, total_len + sizeof(struct pppoe_hdr)); in pppoe_sendmsg() 901 error = memcpy_from_msg(start, m, total_len); in pppoe_sendmsg() 907 error = total_len; in pppoe_sendmsg() 909 po->pppoe_pa.remote, NULL, total_len); in pppoe_sendmsg() 913 ph->length = htons(total_len); in pppoe_sendmsg() 995 size_t total_len, int flags) in pppoe_recvmsg() argument 1012 total_len = min_t(size_t, total_len, skb->len); in pppoe_recvmsg() [all …]
|
/linux-4.1.27/drivers/scsi/pm8001/ |
D | pm8001_init.c | 155 (pm8001_ha->memoryMap.region[i].total_len + in pm8001_free() 268 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 274 pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 281 pm8001_ha->memoryMap.region[CI+i].total_len = 4; in pm8001_alloc() 289 pm8001_ha->memoryMap.region[IB+i].total_len = in pm8001_alloc() 296 pm8001_ha->memoryMap.region[IB+i].total_len = in pm8001_alloc() 306 pm8001_ha->memoryMap.region[PI+i].total_len = 4; in pm8001_alloc() 314 pm8001_ha->memoryMap.region[OB+i].total_len = in pm8001_alloc() 322 pm8001_ha->memoryMap.region[OB+i].total_len = in pm8001_alloc() 331 pm8001_ha->memoryMap.region[NVMD].total_len = 4096; in pm8001_alloc() [all …]
|
D | pm8001_sas.h | 306 u32 total_len; member
|
D | pm80xx_hwi.c | 501 pm8001_ha->memoryMap.region[IB + i].total_len; in init_default_table_values() 527 pm8001_ha->memoryMap.region[OB + i].total_len; in init_default_table_values()
|
D | pm8001_hwi.c | 232 pm8001_ha->memoryMap.region[IB + i].total_len; in init_default_table_values() 258 pm8001_ha->memoryMap.region[OB + i].total_len; in init_default_table_values()
|
/linux-4.1.27/fs/ |
D | pipe.c | 231 size_t total_len = iov_iter_count(to); in pipe_read() local 238 if (unlikely(total_len == 0)) in pipe_read() 254 if (chars > total_len) in pipe_read() 255 chars = total_len; in pipe_read() 276 total_len = chars; in pipe_read() 288 total_len -= chars; in pipe_read() 289 if (!total_len) in pipe_read() 344 size_t total_len = iov_iter_count(from); in pipe_write() local 348 if (unlikely(total_len == 0)) in pipe_write() 360 chars = total_len & (PAGE_SIZE-1); /* size of the last buffer */ in pipe_write()
|
D | splice.c | 719 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage() 764 if (sd->len > sd->total_len) in splice_from_pipe_feed() 765 sd->len = sd->total_len; in splice_from_pipe_feed() 784 sd->total_len -= ret; in splice_from_pipe_feed() 795 if (!sd->total_len) in splice_from_pipe_feed() 919 .total_len = len, in splice_from_pipe() 951 .total_len = len, in iter_file_splice_write() 967 while (sd.total_len) { in iter_file_splice_write() 988 left = sd.total_len; in iter_file_splice_write() 1013 sd.total_len - left); in iter_file_splice_write() [all …]
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | pio.c | 506 unsigned int hdrlen, total_len; in b43_pio_tx() local 524 total_len = roundup(skb->len + hdrlen, 4); in b43_pio_tx() 526 if (unlikely(total_len > q->buffer_size)) { in b43_pio_tx() 538 if (total_len > (q->buffer_size - q->buffer_used)) { in b43_pio_tx() 581 unsigned int total_len; in b43_pio_handle_txstatus() local 593 total_len = pack->skb->len + b43_txhdr_size(dev); in b43_pio_handle_txstatus() 594 total_len = roundup(total_len, 4); in b43_pio_handle_txstatus() 595 q->buffer_used -= total_len; in b43_pio_handle_txstatus()
|
/linux-4.1.27/drivers/usb/core/ |
D | config.c | 786 int length, total_len, num, i; in usb_get_bos_descriptor() local 804 total_len = le16_to_cpu(bos->wTotalLength); in usb_get_bos_descriptor() 807 if (total_len < length) in usb_get_bos_descriptor() 815 buffer = kzalloc(total_len, GFP_KERNEL); in usb_get_bos_descriptor() 822 ret = usb_get_descriptor(dev, USB_DT_BOS, 0, buffer, total_len); in usb_get_bos_descriptor() 823 if (ret < total_len) { in usb_get_bos_descriptor() 829 total_len -= length; in usb_get_bos_descriptor() 836 if (total_len < length) in usb_get_bos_descriptor() 838 total_len -= length; in usb_get_bos_descriptor()
|
/linux-4.1.27/mm/ |
D | process_vm_access.c | 155 size_t total_len = iov_iter_count(iter); in process_vm_rw_core() local 215 total_len -= iov_iter_count(iter); in process_vm_rw_core() 220 if (total_len) in process_vm_rw_core() 221 rc = total_len; in process_vm_rw_core()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | opal.c | 415 int opal_put_chars(uint32_t vtermno, const char *data, int total_len) in opal_put_chars() argument 438 if (rc || len < total_len) { in opal_put_chars() 442 return total_len; in opal_put_chars() 452 while(total_len > 0 && (rc == OPAL_BUSY || in opal_put_chars() 454 olen = cpu_to_be64(total_len); in opal_put_chars() 461 written = total_len; in opal_put_chars() 465 total_len -= len; in opal_put_chars()
|
/linux-4.1.27/net/rds/ |
D | message.c | 238 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len) in rds_message_map_pages() argument 242 int num_sgs = ceil(total_len, PAGE_SIZE); in rds_message_map_pages() 250 rm->m_inc.i_hdr.h_len = cpu_to_be32(total_len); in rds_message_map_pages() 251 rm->data.op_nents = ceil(total_len, PAGE_SIZE); in rds_message_map_pages()
|
D | rds.h | 661 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len);
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/ |
D | ft1000_debug.c | 531 u16 total_len; in ft1000_ioctl() local 629 total_len = msgsz+2; in ft1000_ioctl() 630 if (total_len & 0x1) in ft1000_ioctl() 631 total_len++; in ft1000_ioctl() 645 result = card_send_command(ft1000dev, dpram_data, total_len+2); in ft1000_ioctl() 699 result = get_user(msglen, &pioctl_dpram->total_len); in ft1000_ioctl()
|
D | ft1000_ioctl.h | 86 unsigned short total_len; member
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | hermes_dld.c | 257 int total_len = 0; in hermes_blocks_length() local 267 total_len += sizeof(*blk) + len; in hermes_blocks_length() 271 return total_len; in hermes_blocks_length()
|
/linux-4.1.27/drivers/media/common/siano/ |
D | smscoreapi.c | 1951 u32 total_len; in smscore_gpio_configure() local 1971 total_len = sizeof(struct sms_msg_hdr) + (sizeof(u32) * 6); in smscore_gpio_configure() 1973 buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, in smscore_gpio_configure() 1983 p_msg->x_msg_header.msg_length = (u16) total_len; in smscore_gpio_configure() 2012 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, in smscore_gpio_configure() 2030 u32 total_len; in smscore_gpio_set_level() local 2042 total_len = sizeof(struct sms_msg_hdr) + in smscore_gpio_set_level() 2045 buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, in smscore_gpio_set_level() 2056 p_msg->x_msg_header.msg_length = (u16) total_len; in smscore_gpio_set_level() 2061 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, in smscore_gpio_set_level() [all …]
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 208 uint32_t total_len = 0; in qla4xxx_read_nvram() local 230 total_len = offset + len; in qla4xxx_read_nvram() 233 if ((is_qla4010(ha) && total_len > QL4010_NVRAM_SIZE) || in qla4xxx_read_nvram() 235 total_len > QL40X2_NVRAM_SIZE)) { in qla4xxx_read_nvram() 280 uint32_t total_len = 0; in qla4xxx_update_nvram() local 301 total_len = offset + len; in qla4xxx_update_nvram() 304 if ((is_qla4010(ha) && total_len > QL4010_NVRAM_SIZE) || in qla4xxx_update_nvram() 306 total_len > QL40X2_NVRAM_SIZE)) { in qla4xxx_update_nvram()
|
/linux-4.1.27/drivers/usb/renesas_usbhs/ |
D | fifo.c | 508 int total_len; in usbhsf_pio_try_push() local 535 total_len = len; in usbhsf_pio_try_push() 536 is_short = total_len < maxp; in usbhsf_pio_try_push() 546 buf += total_len - len; in usbhsf_pio_try_push() 556 pkt->actual += total_len; in usbhsf_pio_try_push() 653 int total_len = 0; in usbhsf_pio_try_pop() local 668 total_len = len; in usbhsf_pio_try_pop() 675 pkt->actual += total_len; in usbhsf_pio_try_pop() 678 (total_len < maxp)) { /* short packet */ in usbhsf_pio_try_pop() 712 buf += total_len - len; in usbhsf_pio_try_pop()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_cppi41.c | 37 u32 total_len; member 158 remain_bytes = cppi41_channel->total_len; in cppi41_trans_done() 245 cppi41_channel->total_len); in cppi41_dma_callback() 249 if (cppi41_channel->transferred == cppi41_channel->total_len || in cppi41_dma_callback() 298 unsigned long usecs = cppi41_channel->total_len / 10; in cppi41_dma_callback() 384 cppi41_channel->total_len = len; in cppi41_configure_channel()
|
/linux-4.1.27/drivers/dma/ |
D | at_hdmac.c | 330 return desc->total_len; in atc_get_bytes_left() 333 ret = desc_first->total_len; in atc_get_bytes_left() 703 first->total_len = len; in atc_prep_dma_memcpy() 748 size_t total_len = 0; in atc_prep_slave_sg() local 802 total_len += len; in atc_prep_slave_sg() 843 total_len += len; in atc_prep_slave_sg() 855 first->total_len = total_len; in atc_prep_slave_sg() 899 size_t len = 0, total_len = 0; in atc_prep_dma_sg() local 992 total_len += len; in atc_prep_dma_sg() 997 first->total_len = total_len; in atc_prep_dma_sg() [all …]
|
D | dmatest.c | 421 unsigned long long total_len = 0; in dmatest_func() local 514 total_len += len; in dmatest_func() 707 dmatest_KBs(runtime, total_len), ret); in dmatest_func()
|
D | at_hdmac_regs.h | 198 size_t total_len; member
|
/linux-4.1.27/drivers/vhost/ |
D | test.c | 43 size_t len, total_len = 0; in handle_vq() local 83 total_len += len; in handle_vq() 84 if (unlikely(total_len >= VHOST_TEST_WEIGHT)) { in handle_vq()
|
D | net.c | 306 size_t len, total_len = 0; in handle_tx() local 410 total_len += len; in handle_tx() 412 if (unlikely(total_len >= VHOST_NET_WEIGHT)) { in handle_tx() 535 size_t total_len = 0; in handle_rx() local 634 total_len += vhost_len; in handle_rx() 635 if (unlikely(total_len >= VHOST_NET_WEIGHT)) { in handle_rx()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 208 u32 total_len = skb->len + sizeof(struct wl1271_tx_hw_descr) + extra; in wl1271_tx_allocate() local 213 if (buf_offset + total_len > wl->aggr_buf_size) in wl1271_tx_allocate() 223 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); in wl1271_tx_allocate() 227 skb, total_len - skb->len); in wl1271_tx_allocate() 256 total_len, total_blocks, id); in wl1271_tx_allocate() 382 u32 total_len; in wl1271_prepare_tx_frame() local 443 total_len = wlcore_calc_packet_alignment(wl, skb->len); in wl1271_prepare_tx_frame() 446 memset(wl->aggr_buf + buf_offset + skb->len, 0, total_len - skb->len); in wl1271_prepare_tx_frame() 452 return total_len; in wl1271_prepare_tx_frame()
|
/linux-4.1.27/fs/btrfs/ |
D | props.c | 178 u32 total_len, cur, this_len; in iterate_object_props() local 206 total_len = btrfs_item_size_nr(leaf, slot); in iterate_object_props() 208 while (cur < total_len) { in iterate_object_props()
|
D | dir-item.c | 388 u32 total_len; in btrfs_match_dir_item_name() local 398 total_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_match_dir_item_name() 399 while (cur < total_len) { in btrfs_match_dir_item_name()
|
D | ioctl.c | 2196 int total_len = 0; in btrfs_search_path_in_tree() local 2248 total_len += len + 1; in btrfs_search_path_in_tree() 2265 memmove(name, ptr, total_len); in btrfs_search_path_in_tree() 2266 name[total_len] = '\0'; in btrfs_search_path_in_tree()
|
D | send.c | 544 int total_len = sizeof(*hdr) + len; in tlv_put() local 547 if (unlikely(left < total_len)) in tlv_put() 554 sctx->send_size += total_len; in tlv_put()
|
/linux-4.1.27/drivers/mtd/ |
D | mtdconcat.c | 164 size_t total_len = 0; in concat_writev() local 170 total_len += vecs[i].iov_len; in concat_writev() 175 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) in concat_writev() 194 size = min_t(uint64_t, total_len, subdev->size - to); in concat_writev() 219 total_len -= wsize; in concat_writev() 221 if (total_len == 0) in concat_writev()
|
/linux-4.1.27/include/linux/ |
D | splice.h | 27 size_t total_len; /* remaining length */ member
|
D | net.h | 165 size_t total_len); 175 size_t total_len, int flags);
|
/linux-4.1.27/fs/f2fs/ |
D | xattr.c | 32 int total_len, prefix_len = 0; in f2fs_xattr_generic_list() local 56 total_len = prefix_len + len + 1; in f2fs_xattr_generic_list() 57 if (list && total_len <= list_size) { in f2fs_xattr_generic_list() 62 return total_len; in f2fs_xattr_generic_list()
|
/linux-4.1.27/drivers/ata/ |
D | sata_sx4.c | 318 unsigned int total_len) in pdc20621_ata_sg() argument 329 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_ata_sg() 339 unsigned int total_len) in pdc20621_host_sg() argument 350 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); in pdc20621_host_sg() 461 unsigned int i, si, idx, total_len = 0, sgt_len; in pdc20621_dma_prep() local 478 total_len += sg_dma_len(sg); in pdc20621_dma_prep() 486 pdc20621_host_sg(&pp->dimm_buf[0], portno, total_len); in pdc20621_dma_prep() 489 pdc20621_ata_sg(&pp->dimm_buf[0], portno, total_len); in pdc20621_dma_prep()
|
/linux-4.1.27/net/atm/ |
D | common.h | 18 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
|
/linux-4.1.27/fs/cifs/ |
D | transport.c | 302 size_t total_len = 0, sent; in smb_send_rqst() local 328 total_len += sent; in smb_send_rqst() 340 total_len += sent; in smb_send_rqst() 349 if ((total_len > 0) && (total_len != smb_buf_length + 4)) { in smb_send_rqst() 351 smb_buf_length + 4, total_len); in smb_send_rqst()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | udlfb.c | 1509 int total_len = 0; in dlfb_parse_vendor_descriptor() local 1516 total_len = usb_get_descriptor(interface_to_usbdev(interface), in dlfb_parse_vendor_descriptor() 1521 if (total_len < 0) { in dlfb_parse_vendor_descriptor() 1524 total_len = (int) desc[0]; in dlfb_parse_vendor_descriptor() 1527 if (total_len > 5) { in dlfb_parse_vendor_descriptor() 1528 pr_info("vendor descriptor length:%x data:%11ph\n", total_len, in dlfb_parse_vendor_descriptor() 1531 if ((desc[0] != total_len) || /* descriptor length */ in dlfb_parse_vendor_descriptor() 1535 (desc[4] != total_len - 2)) /* length after type */ in dlfb_parse_vendor_descriptor() 1538 desc_end = desc + total_len; in dlfb_parse_vendor_descriptor() 1565 pr_info("vendor descriptor not available (%d)\n", total_len); in dlfb_parse_vendor_descriptor()
|
/linux-4.1.27/drivers/net/ |
D | macvtap.c | 667 unsigned long total_len = iov_iter_count(from); in macvtap_get_user() local 668 unsigned long len = total_len; in macvtap_get_user() 774 return total_len; in macvtap_get_user() 1132 size_t total_len) in macvtap_sendmsg() argument 1139 size_t total_len, int flags) in macvtap_recvmsg() argument 1146 if (ret > total_len) { in macvtap_recvmsg() 1148 ret = flags & MSG_TRUNC ? ret : total_len; in macvtap_recvmsg()
|
D | tun.c | 1036 size_t total_len = iov_iter_count(from); in tun_get_user() local 1037 size_t len = total_len, align = NET_SKB_PAD, linear; in tun_get_user() 1215 return total_len; in tun_get_user() 1451 static int tun_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in tun_sendmsg() argument 1466 static int tun_recvmsg(struct socket *sock, struct msghdr *m, size_t total_len, in tun_recvmsg() argument 1481 ret = sock_recv_errqueue(sock->sk, m, total_len, in tun_recvmsg() 1486 if (ret > (ssize_t)total_len) { in tun_recvmsg() 1488 ret = flags & MSG_TRUNC ? ret : total_len; in tun_recvmsg()
|
/linux-4.1.27/drivers/acpi/ |
D | acpi_extlog.c | 37 u64 total_len; /* entire L1 Directory length including this header */ member 249 l1_size = l1_head->total_len; in extlog_init()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_mbx.c | 316 u16 total_len = 0, msg_len; in fm10k_mbx_validate_msg_size() local 324 msg = fifo->buffer + fm10k_fifo_tail_offset(fifo, total_len); in fm10k_mbx_validate_msg_size() 326 total_len += msg_len; in fm10k_mbx_validate_msg_size() 327 } while (total_len < len); in fm10k_mbx_validate_msg_size() 330 if ((len < total_len) && (msg_len <= mbx->max_size)) in fm10k_mbx_validate_msg_size() 334 return (len < total_len) ? len : (len - total_len); in fm10k_mbx_validate_msg_size()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 338 u32 total_len; in c2_reg_phys_mr() local 342 total_len = 0; in c2_reg_phys_mr() 365 total_len += buffer_list[i].size; in c2_reg_phys_mr() 398 __func__, page_shift, pbl_depth, total_len, in c2_reg_phys_mr() 404 total_len, 0, iova_start, in c2_reg_phys_mr()
|
/linux-4.1.27/net/core/ |
D | netpoll.c | 375 int total_len, ip_len, udp_len; in netpoll_send_udp() local 389 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 391 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp() 392 total_len - len); in netpoll_send_udp()
|
D | ethtool.c | 1003 u32 total_len) in ethtool_get_any_eeprom() argument 1019 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | xattr.c | 601 const size_t total_len = prefix_len + name_len + 1; in ll_listxattr() local 603 if (((rc + total_len) > size) && (buffer != NULL)) { in ll_listxattr() 614 rc2 = total_len; in ll_listxattr()
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 570 unsigned int i, total_len; in rpcrdma_count_chunks() local 578 total_len = 0; in rpcrdma_count_chunks() 590 total_len += be32_to_cpu(seg->rs_length); in rpcrdma_count_chunks() 604 return total_len; in rpcrdma_count_chunks()
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
D | sha1_mb.c | 116 uint32_t total_len) in sha1_pad() argument 118 uint32_t i = total_len & (SHA1_BLOCK_SIZE - 1); in sha1_pad() 124 (0 - (total_len + SHA1_PADLENGTHFIELD_SIZE + 1))) in sha1_pad() 131 *((uint64_t *) &padblock[i - 8]) = cpu_to_be64(total_len << 3); in sha1_pad()
|
/linux-4.1.27/drivers/dma/dw/ |
D | core.c | 240 dwc->residue = first->total_len; in dwc_dostart() 414 dwc->residue = desc->total_len; in dwc_scan_descriptors() 751 first->total_len = len; in dwc_prep_dma_memcpy() 777 size_t total_len = 0; in dwc_prep_slave_sg() local 840 total_len += dlen; in dwc_prep_slave_sg() 896 total_len += dlen; in dwc_prep_slave_sg() 911 first->total_len = total_len; in dwc_prep_slave_sg()
|
D | regs.h | 336 size_t total_len; member
|
/linux-4.1.27/kernel/ |
D | relay.c | 1218 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local 1256 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor() 1258 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor() 1278 total_len += this_len; in subbuf_splice_actor() 1293 if (ret < 0 || ret < total_len) in subbuf_splice_actor()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 293 u32 total_len; member
|
D | ib_srp.c | 1268 state->total_len += dma_len; in srp_map_desc() 1610 indirect_hdr->len = cpu_to_be32(state.total_len); in srp_map_data()
|
/linux-4.1.27/fs/ubifs/ |
D | xattr.c | 589 const size_t total_len = prefix_len + name_len + 1; in security_listxattr() local 591 if (list && total_len <= list_size) { in security_listxattr() 597 return total_len; in security_listxattr()
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-pcmcia/ |
D | ft1000_hw.c | 1190 u16 total_len; in ft1000_parse_dpram_msg() local 1243 total_len = in ft1000_parse_dpram_msg() 1246 total_len = in ft1000_parse_dpram_msg() 1251 pr_debug("total length = %d\n", total_len); in ft1000_parse_dpram_msg() 1252 if ((total_len < MAX_CMD_SQSIZE) in ft1000_parse_dpram_msg() 1253 && (total_len > sizeof(struct pseudo_hdr))) { in ft1000_parse_dpram_msg() 1254 total_len += nxtph; in ft1000_parse_dpram_msg()
|
/linux-4.1.27/net/bluetooth/ |
D | a2mp.c | 52 u16 total_len = len + sizeof(*cmd); in a2mp_send() local 61 iv.iov_len = total_len; in a2mp_send() 65 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, &iv, 1, total_len); in a2mp_send() 67 l2cap_chan_send(chan, &msg, total_len); in a2mp_send()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1953 hdr->total_len += sg_list[i].length; in ocrdma_build_sges() 1961 uint32_t total_len = 0, i; in ocrdma_sglist_len() local 1964 total_len += sg_list[i].length; in ocrdma_sglist_len() 1965 return total_len; in ocrdma_sglist_len() 1978 hdr->total_len = ocrdma_sglist_len(wr->sg_list, wr->num_sge); in ocrdma_build_inline_sges() 1979 if (unlikely(hdr->total_len > qp->max_inline_data)) { in ocrdma_build_inline_sges() 1982 qp->max_inline_data, hdr->total_len); in ocrdma_build_inline_sges() 1993 wqe_size += roundup(hdr->total_len, OCRDMA_WQE_ALIGN_BYTES); in ocrdma_build_inline_sges() 1994 if (0 == hdr->total_len) in ocrdma_build_inline_sges() 2042 ext_rw->len = hdr->total_len; in ocrdma_build_write() [all …]
|
D | ocrdma_sli.h | 1799 u32 total_len; member
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
D | hostap_download.c | 724 u32 total_len = 0; in prism2_download() local 754 total_len += param->data[i].len; in prism2_download() 756 total_len > PRISM2_MAX_DOWNLOAD_LEN) { in prism2_download()
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 589 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local 594 total_len += slen; in dccp_getsockopt_service() 598 if (total_len > len) in dccp_getsockopt_service() 602 if (put_user(total_len, optlen) || in dccp_getsockopt_service()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | trx.c | 452 u16 total_len = 0; in rtl92ee_rx_check_dma_ok() local 458 total_len = (u16)GET_RX_BUFFER_DESC_TOTAL_LENGTH(header_desc); in rtl92ee_rx_check_dma_ok() 464 while (total_len == 0 && first_seg == 0 && last_seg == 0) { in rtl92ee_rx_check_dma_ok() 466 total_len = (u16)GET_RX_BUFFER_DESC_TOTAL_LENGTH(header_desc); in rtl92ee_rx_check_dma_ok()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | mca.c | 420 u64 total_len = 0; in ia64_log_get() local 428 total_len = ia64_sal_get_state_info(sal_info_type, (u64 *)log_buffer); in ia64_log_get() 430 if (total_len) { in ia64_log_get() 435 __func__, sal_info_type, total_len); in ia64_log_get() 438 return total_len; in ia64_log_get()
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dma_v3.c | 670 size_t total_len = len; in __ioat3_prep_xor_lock() local 732 desc->len = total_len; in __ioat3_prep_xor_lock() 847 size_t total_len = len; in __ioat3_prep_pq_lock() local 931 desc->len = total_len; in __ioat3_prep_pq_lock() 969 size_t total_len = len; in __ioat3_prep_pq16_lock() local 1045 desc->len = total_len; in __ioat3_prep_pq16_lock()
|
D | dma_v2.c | 754 size_t total_len = len; in ioat2_dma_prep_memcpy_lock() local 781 desc->len = total_len; in ioat2_dma_prep_memcpy_lock()
|
D | dma.c | 499 size_t total_len = len; in ioat1_dma_prep_memcpy() local 547 desc->len = total_len; in ioat1_dma_prep_memcpy()
|
/linux-4.1.27/drivers/net/wireless/ |
D | ray_cs.c | 2118 int total_len; in rx_data() local 2156 total_len = tmp; in rx_data() 2178 total_len = rx_len; in rx_data() 2181 skb = dev_alloc_skb(total_len + 5); in rx_data() 2191 pr_debug("ray_cs rx_data total_len = %x, rx_len = %x\n", total_len, in rx_data() 2196 rx_ptr = skb_put(skb, total_len); in rx_data() 2214 untranslate(local, skb, total_len); in rx_data() 2253 local->stats.rx_bytes += total_len; in rx_data()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 938 u32 total_len = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback() local 942 total_len = 0; in hba_ioctl_callback() 944 if (len > total_len) in hba_ioctl_callback() 945 len = total_len; in hba_ioctl_callback() 947 if (offset >= total_len in hba_ioctl_callback() 948 || offset + len > total_len in hba_ioctl_callback()
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_ppp.c | 298 size_t total_len) in pppol2tp_sendmsg() argument 330 sizeof(ppph) + total_len, in pppol2tp_sendmsg() 348 error = memcpy_from_msg(skb_put(skb, total_len), m, total_len); in pppol2tp_sendmsg() 361 return total_len; in pppol2tp_sendmsg()
|
/linux-4.1.27/net/ipv6/ |
D | raw.c | 543 int total_len; in rawv6_push_pending_frames() local 555 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames() 556 if (offset >= total_len - 1) { in rawv6_push_pending_frames() 598 total_len, fl6->flowi6_proto, tmp_csum); in rawv6_push_pending_frames()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 105 ss->total_len = qp->r_len; in qib_init_sge() 467 qp->r_sge.total_len = wqe->length; in qib_ruc_loopback() 484 qp->r_sge.total_len = wqe->length; in qib_ruc_loopback()
|
D | qib_uc.c | 102 qp->s_sge.total_len = wqe->length; in qib_make_uc_req()
|
D | qib_ud.c | 323 qp->s_sge.total_len = wqe->length; in qib_make_ud_req()
|
D | qib_verbs.h | 393 u32 total_len; member
|
D | qib_rc.c | 52 ss->total_len = wqe->length; in restart_sge() 490 qp->s_sge.total_len = wqe->length; in qib_make_rc_req()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 818 int total_len, data_left, ret; in txq_submit_tso() local 832 total_len = skb->len - hdr_len; in txq_submit_tso() 833 while (total_len > 0) { in txq_submit_tso() 836 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in txq_submit_tso() 837 total_len -= data_left; in txq_submit_tso() 842 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso() 852 total_len == 0); in txq_submit_tso()
|
D | mvneta.c | 1623 int total_len, data_left; in mvneta_tx_tso() local 1642 total_len = skb->len - hdr_len; in mvneta_tx_tso() 1643 while (total_len > 0) { in mvneta_tx_tso() 1646 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in mvneta_tx_tso() 1647 total_len -= data_left; in mvneta_tx_tso() 1652 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso() 1665 total_len == 0)) in mvneta_tx_tso()
|
/linux-4.1.27/net/phonet/ |
D | socket.c | 429 size_t total_len) in pn_socket_sendmsg() argument 436 return sk->sk_prot->sendmsg(sk, m, total_len); in pn_socket_sendmsg()
|
/linux-4.1.27/drivers/scsi/isci/ |
D | request.c | 1417 int total_len = len; in sci_stp_request_pio_data_in_copy_data_buffer() local 1426 while (total_len > 0) { in sci_stp_request_pio_data_in_copy_data_buffer() 1429 copy_len = min_t(int, total_len, sg_dma_len(sg)); in sci_stp_request_pio_data_in_copy_data_buffer() 1433 total_len -= copy_len; in sci_stp_request_pio_data_in_copy_data_buffer() 1438 BUG_ON(task->total_xfer_len < total_len); in sci_stp_request_pio_data_in_copy_data_buffer() 1439 memcpy(task->scatter, src_addr, total_len); in sci_stp_request_pio_data_in_copy_data_buffer()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_main.c | 692 int total_len, data_left; in fec_enet_txq_submit_tso() local 715 total_len = skb->len - hdr_len; in fec_enet_txq_submit_tso() 716 while (total_len > 0) { in fec_enet_txq_submit_tso() 720 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in fec_enet_txq_submit_tso() 721 total_len -= data_left; in fec_enet_txq_submit_tso() 725 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso() 741 total_len == 0); in fec_enet_txq_submit_tso()
|
/linux-4.1.27/drivers/block/ |
D | nvme-core.c | 636 int nvme_setup_prps(struct nvme_dev *dev, struct nvme_iod *iod, int total_len, in nvme_setup_prps() argument 640 int length = total_len; in nvme_setup_prps() 653 return total_len; in nvme_setup_prps() 666 return total_len; in nvme_setup_prps() 682 return (total_len - length) + page_size; in nvme_setup_prps() 692 return total_len - length; in nvme_setup_prps() 712 return total_len; in nvme_setup_prps()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.c | 2147 struct sk_buff *pkt, u16 total_len) in brcmf_sdio_txpkt_prep_sg() argument 2167 chain_pad = (total_len + tail_pad) % blksize; in brcmf_sdio_txpkt_prep_sg() 2217 u16 head_pad, total_len; in brcmf_sdio_txpkt_prep() local 2224 total_len = 0; in brcmf_sdio_txpkt_prep() 2242 total_len += pkt_next->len; in brcmf_sdio_txpkt_prep() 2248 pkt_next, total_len); in brcmf_sdio_txpkt_prep() 2252 total_len += (u16)ret; in brcmf_sdio_txpkt_prep() 2276 brcmf_sdio_update_hwhdr(pktq->next->data, total_len); in brcmf_sdio_txpkt_prep()
|
/linux-4.1.27/drivers/atm/ |
D | iphase.c | 2899 int total_len; local 2980 total_len = skb->len + sizeof(struct cpcs_trailer); 2981 total_len = ((total_len + 47) / 48) * 48; 2982 IF_TX(printk("ia packet len:%d padding:%d\n", total_len, total_len - skb->len);) 3006 buf_desc_ptr->bytes = total_len; 3035 buf_desc_ptr->buf_start_lo) + total_len - sizeof(struct cpcs_trailer);
|
/linux-4.1.27/drivers/net/usb/ |
D | usbnet.c | 1254 unsigned num_sgs, total_len = 0; in build_dma_sg() local 1271 total_len += skb_headlen(skb); in build_dma_sg() 1276 total_len += skb_frag_size(f); in build_dma_sg() 1280 urb->transfer_buffer_length = total_len; in build_dma_sg()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
D | eeprom.c | 704 size_t total_len) in p54_convert_db() argument 714 (payload_len + sizeof(*src) != total_len)) in p54_convert_db()
|
/linux-4.1.27/drivers/scsi/ |
D | initio.c | 2567 long total_len; in initio_build_scb() local 2615 total_len = 0; in initio_build_scb() 2620 total_len += sg_dma_len(sglist); in initio_build_scb() 2624 cblk->buflen = (scsi_bufflen(cmnd) > total_len) ? in initio_build_scb() 2625 total_len : scsi_bufflen(cmnd); in initio_build_scb()
|
D | hpsa.c | 3367 unsigned int total_len = 0; in hpsa_scsi_ioaccel1_queue_command() local 3405 total_len += len; in hpsa_scsi_ioaccel1_queue_command() 3436 cp->transfer_len = cpu_to_le32(total_len); in hpsa_scsi_ioaccel1_queue_command() 3531 u32 total_len = 0; in hpsa_scsi_ioaccel2_queue_command() local 3564 total_len += len; in hpsa_scsi_ioaccel2_queue_command() 3608 cp->data_len = cpu_to_le32(total_len); in hpsa_scsi_ioaccel2_queue_command()
|
/linux-4.1.27/fs/fuse/ |
D | dev.c | 1705 size_t total_len = 0; in fuse_retrieve() local 1748 total_len += this_num; in fuse_retrieve() 1752 req->misc.retrieve_in.size = total_len; in fuse_retrieve() 1755 req->in.args[1].size = total_len; in fuse_retrieve()
|
/linux-4.1.27/fs/ocfs2/ |
D | xattr.c | 899 int total_len = prefix_len + name_len + 1; in ocfs2_xattr_list_entry() local 901 *result += total_len; in ocfs2_xattr_list_entry() 7241 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_security_list() local 7243 if (list && total_len <= list_size) { in ocfs2_xattr_security_list() 7248 return total_len; in ocfs2_xattr_security_list() 7331 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_trusted_list() local 7333 if (list && total_len <= list_size) { in ocfs2_xattr_trusted_list() 7338 return total_len; in ocfs2_xattr_trusted_list() 7375 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_user_list() local 7381 if (list && total_len <= list_size) { in ocfs2_xattr_user_list() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | opal.h | 211 extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len);
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1351 int total_len = 0; in ath10k_unchain_msdu() local 1364 total_len += skb->len; in ath10k_unchain_msdu() 1366 space = total_len - skb_tailroom(first); in ath10k_unchain_msdu()
|
/linux-4.1.27/kernel/trace/ |
D | ring_buffer.c | 4941 unsigned long total_len = 0; in test_ringbuffer() local 4973 total_len += ring_buffer_event_length(event); in test_ringbuffer() 4993 pr_info(" recorded len bytes: %ld\n", total_len); in test_ringbuffer() 4999 if (RB_WARN_ON(buffer, total_len != total_alloc || in test_ringbuffer()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | wa-xfer.c | 2178 int seg_index, total_len = 0, urb_frame_index = urb_start_frame; in __wa_populate_buf_in_urb_isoc() local 2198 total_len += iso_frame->actual_length; in __wa_populate_buf_in_urb_isoc() 2218 buf_in_urb->transfer_buffer_length = total_len; in __wa_populate_buf_in_urb_isoc()
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
D | s2io.h | 679 int total_len; member
|
D | s2io.c | 8318 lro->total_len = ntohs(ip->tot_len); in initiate_new_session() 8344 csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len)); in update_L3L4_header() 8345 ip->tot_len = htons(lro->total_len); in update_L3L4_header() 8368 lro->total_len += l4_pyld; in aggregate_new_rx()
|
/linux-4.1.27/net/ |
D | socket.c | 2080 int total_len, len; in ___sys_recvmsg() local 2098 total_len = iov_iter_count(&msg_sys->msg_iter); in ___sys_recvmsg() 2109 total_len, flags); in ___sys_recvmsg()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 3924 unsigned total_len; in dsi_update_screen_dispc() local 3951 total_len = (bytespf / packet_payload) * packet_len; in dsi_update_screen_dispc() 3954 total_len += (bytespf % packet_payload) + 1; in dsi_update_screen_dispc() 3956 l = FLD_VAL(total_len, 23, 0); /* TE_SIZE */ in dsi_update_screen_dispc()
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | ipw2200.c | 692 u32 addr, field_info, field_len, field_count, total_len; in ipw_get_ordinal() local 807 total_len = field_len * field_count; in ipw_get_ordinal() 808 if (total_len > *len) { in ipw_get_ordinal() 809 *len = total_len; in ipw_get_ordinal() 813 *len = total_len; in ipw_get_ordinal() 814 if (!total_len) in ipw_get_ordinal() 819 addr, total_len, field_info); in ipw_get_ordinal() 820 ipw_read_indirect(priv, addr, val, total_len); in ipw_get_ordinal()
|
/linux-4.1.27/drivers/char/ |
D | virtio_console.c | 928 .total_len = len, in port_fops_splice_write()
|
/linux-4.1.27/fs/nfsd/ |
D | vfs.c | 877 .total_len = *count, in nfsd_splice_read()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 8188 uint32_t xmit_len = 0, total_len = 0; in lpfc_sli4_iocb2wqe() local 8237 total_len = 0; in lpfc_sli4_iocb2wqe() 8240 total_len += bde.tus.f.bdeSize; in lpfc_sli4_iocb2wqe() 8313 wqe->els_req.max_response_payload_len = total_len - xmit_len; in lpfc_sli4_iocb2wqe() 8321 xmit_len = total_len; in lpfc_sli4_iocb2wqe() 8474 wqe->gen_req.max_response_payload_len = total_len - xmit_len; in lpfc_sli4_iocb2wqe()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | tg3.c | 3705 int total_len = tp->fw->size; in tg3_load_firmware_cpu() local 3739 total_len -= TG3_FW_HDR_LEN; in tg3_load_firmware_cpu() 3751 total_len -= be32_to_cpu(fw_hdr->len); in tg3_load_firmware_cpu() 3756 } while (total_len > 0); in tg3_load_firmware_cpu()
|