/linux-4.4.14/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.4.14/fs/pstore/ |
D | platform.c | 257 size_t total_len; in copy_kmsg_to_buffer() local 260 total_len = hsize + len; in copy_kmsg_to_buffer() 262 if (total_len > psinfo->bufsize) { in copy_kmsg_to_buffer() 263 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 267 total_len = psinfo->bufsize; in copy_kmsg_to_buffer() 269 memcpy(psinfo->buf, big_oops_buf, total_len); in copy_kmsg_to_buffer() 271 return total_len; in copy_kmsg_to_buffer() 308 size_t total_len; in pstore_dump() local 325 total_len = zipped_len; in pstore_dump() 328 total_len = copy_kmsg_to_buffer(hsize, len); in pstore_dump() [all …]
|
/linux-4.4.14/net/nfc/nci/ |
D | data.c | 109 int total_len = skb->len; in nci_queue_tx_data_frags() local 117 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags() 127 while (total_len) { in nci_queue_tx_data_frags() 129 min_t(int, total_len, conn_info->max_pkt_payload_len); in nci_queue_tx_data_frags() 145 ((total_len == frag_len) ? in nci_queue_tx_data_frags() 151 total_len -= frag_len; in nci_queue_tx_data_frags() 154 frag_len, total_len); in nci_queue_tx_data_frags()
|
/linux-4.4.14/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 | 501 elems->total_len, in mesh_sta_info_alloc()
|
D | ieee80211_i.h | 1390 size_t total_len; member
|
D | util.c | 778 elems->total_len = len; in ieee802_11_parse_elems_crc()
|
/linux-4.4.14/fs/ext2/ |
D | xattr_trusted.c | 17 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() local 22 if (list && total_len <= list_size) { in ext2_xattr_trusted_list() 27 return total_len; in ext2_xattr_trusted_list()
|
D | xattr_user.c | 19 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() local 24 if (list && total_len <= list_size) { in ext2_xattr_user_list() 29 return total_len; in ext2_xattr_user_list()
|
D | xattr_security.c | 16 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_security_list() local 18 if (list && total_len <= list_size) { in ext2_xattr_security_list() 23 return total_len; in ext2_xattr_security_list()
|
/linux-4.4.14/fs/ext4/ |
D | xattr_trusted.c | 21 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() local 26 if (list && total_len <= list_size) { in ext4_xattr_trusted_list() 31 return total_len; in ext4_xattr_trusted_list()
|
D | xattr_user.c | 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() local 25 if (list && total_len <= list_size) { in ext4_xattr_user_list() 30 return total_len; in ext4_xattr_user_list()
|
D | xattr_security.c | 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_security_list() local 23 if (list && total_len <= list_size) { in ext4_xattr_security_list() 28 return total_len; in ext4_xattr_security_list()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/gdm724x/ |
D | gdm_mux.c | 159 int total_len; in up_to_host() local 177 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); in up_to_host() 180 total_len) { in up_to_host() 203 packet_size_sum += total_len; in up_to_host() 362 int total_len; in gdm_mux_send() local 374 total_len = ALIGN(MUX_HEADER_SIZE + len, 4); in gdm_mux_send() 376 t = alloc_mux_tx(total_len); in gdm_mux_send() 390 memset(t->buf + MUX_HEADER_SIZE + len, 0, total_len - MUX_HEADER_SIZE - in gdm_mux_send() 393 t->len = total_len; in gdm_mux_send() 401 total_len, in gdm_mux_send()
|
/linux-4.4.14/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.4.14/drivers/spi/ |
D | spi-bcm63xx.c | 340 unsigned int n_transfers = 0, total_len = 0; in bcm63xx_spi_transfer_one() local 354 total_len += t->len; in bcm63xx_spi_transfer_one() 364 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || in bcm63xx_spi_transfer_one() 365 (!can_use_prepend && total_len > bs->fifo_size)) { in bcm63xx_spi_transfer_one() 367 total_len, bs->fifo_size); in bcm63xx_spi_transfer_one() 396 m->actual_length += total_len; in bcm63xx_spi_transfer_one() 400 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 | 365 unsigned int total_len = espi_trans->len; in fsl_espi_rw_trans() local 382 for (pos = 0, loop = 0; pos < total_len; pos += trans_len, loop++) { in fsl_espi_rw_trans() 383 trans_len = total_len - pos; in fsl_espi_rw_trans()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal.c | 335 int opal_put_chars(uint32_t vtermno, const char *data, int total_len) in opal_put_chars() argument 358 if (rc || len < total_len) { in opal_put_chars() 362 return total_len; in opal_put_chars() 372 while(total_len > 0 && (rc == OPAL_BUSY || in opal_put_chars() 374 olen = cpu_to_be64(total_len); in opal_put_chars() 381 written = total_len; in opal_put_chars() 385 total_len -= len; in opal_put_chars()
|
/linux-4.4.14/fs/ |
D | splice.c | 720 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage() 765 if (sd->len > sd->total_len) in splice_from_pipe_feed() 766 sd->len = sd->total_len; in splice_from_pipe_feed() 785 sd->total_len -= ret; in splice_from_pipe_feed() 796 if (!sd->total_len) in splice_from_pipe_feed() 928 .total_len = len, in splice_from_pipe() 960 .total_len = len, in iter_file_splice_write() 976 while (sd.total_len) { in iter_file_splice_write() 997 left = sd.total_len; in iter_file_splice_write() 1022 sd.total_len - left); in iter_file_splice_write() [all …]
|
D | pipe.c | 237 size_t total_len = iov_iter_count(to); in pipe_read() local 244 if (unlikely(total_len == 0)) in pipe_read() 260 if (chars > total_len) in pipe_read() 261 chars = total_len; in pipe_read() 282 total_len = chars; in pipe_read() 294 total_len -= chars; in pipe_read() 295 if (!total_len) in pipe_read() 350 size_t total_len = iov_iter_count(from); in pipe_write() local 354 if (unlikely(total_len == 0)) in pipe_write() 366 chars = total_len & (PAGE_SIZE-1); /* size of the last buffer */ in pipe_write()
|
/linux-4.4.14/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.4.14/drivers/scsi/pm8001/ |
D | pm8001_init.c | 156 (pm8001_ha->memoryMap.region[i].total_len + in pm8001_free() 269 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 275 pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc() 282 pm8001_ha->memoryMap.region[CI+i].total_len = 4; in pm8001_alloc() 290 pm8001_ha->memoryMap.region[IB+i].total_len = in pm8001_alloc() 297 pm8001_ha->memoryMap.region[IB+i].total_len = in pm8001_alloc() 307 pm8001_ha->memoryMap.region[PI+i].total_len = 4; in pm8001_alloc() 315 pm8001_ha->memoryMap.region[OB+i].total_len = in pm8001_alloc() 323 pm8001_ha->memoryMap.region[OB+i].total_len = in pm8001_alloc() 332 pm8001_ha->memoryMap.region[NVMD].total_len = 4096; in pm8001_alloc() [all …]
|
D | pm8001_sas.h | 308 u32 total_len; member
|
D | pm80xx_hwi.c | 504 pm8001_ha->memoryMap.region[IB + i].total_len; in init_default_table_values() 530 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.4.14/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.4.14/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.4.14/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 | 679 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len);
|
/linux-4.4.14/drivers/dma/ |
D | at_hdmac.c | 327 return desc->total_len; in atc_get_bytes_left() 330 ret = desc_first->total_len; in atc_get_bytes_left() 794 desc->total_len = desc->len = len; in atc_prep_dma_interleaved() 870 first->total_len = len; in atc_prep_dma_memcpy() 975 desc->total_len = len; in atc_prep_dma_memset() 1001 size_t total_len = 0; in atc_prep_dma_memset_sg() local 1040 total_len += len; in atc_prep_dma_memset_sg() 1052 first->total_len = total_len; in atc_prep_dma_memset_sg() 1092 size_t total_len = 0; in atc_prep_slave_sg() local 1146 total_len += len; in atc_prep_slave_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 | 197 size_t total_len; member
|
/linux-4.4.14/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.4.14/drivers/dma/ioat/ |
D | prep.c | 121 size_t total_len = len; in ioat_dma_prep_memcpy_lock() local 152 desc->len = total_len; in ioat_dma_prep_memcpy_lock() 172 size_t total_len = len; in __ioat_prep_xor_lock() local 236 desc->len = total_len; in __ioat_prep_xor_lock() 361 size_t total_len = len; in __ioat_prep_pq_lock() local 446 desc->len = total_len; in __ioat_prep_pq_lock() 483 size_t total_len = len; in __ioat_prep_pq16_lock() local 560 desc->len = total_len; in __ioat_prep_pq16_lock()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/crypto/nx/ |
D | nx-842-powernv.c | 109 int i, ret, total_len = len; in setup_ddl() local 147 total_len, in ? "input" : "output", len); in setup_ddl() 150 total_len -= len; in setup_ddl() 152 setup_indirect_dde(dde, ddl, i, total_len); in setup_ddl()
|
/linux-4.4.14/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 | 305 size_t len, total_len = 0; in handle_tx() local 409 total_len += len; in handle_tx() 411 if (unlikely(total_len >= VHOST_NET_WEIGHT)) { in handle_tx() 534 size_t total_len = 0; in handle_rx() local 633 total_len += vhost_len; in handle_rx() 634 if (unlikely(total_len >= VHOST_NET_WEIGHT)) { in handle_rx()
|
/linux-4.4.14/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.4.14/drivers/staging/rdma/hfi1/ |
D | diag.c | 114 u32 total_len; member 378 u32 pkt_len, total_len; in diagpkt_send() local 455 total_len = pkt_len + 2; /* PBC + packet */ in diagpkt_send() 462 dp->pbc = create_pbc(ppd, 0, 0, 0, total_len); in diagpkt_send() 496 pbuf = sc_buffer_alloc(sc, total_len, credit_cb, credit_arg); in diagpkt_send() 947 if (pkt_len >= packet->total_len) { in hfi1_snoop_read() 949 packet->total_len)) in hfi1_snoop_read() 952 ret = packet->total_len; in hfi1_snoop_read() 1583 s_packet->total_len = tlen + md_len; in snoop_recv_handler() 1674 s_packet->total_len = tlen + md_len; in snoop_send_pio_handler() [all …]
|
D | ruc.c | 124 ss->total_len = qp->r_len; in init_sge() 490 qp->r_sge.total_len = wqe->length; in ruc_loopback() 507 qp->r_sge.total_len = wqe->length; in ruc_loopback()
|
D | uc.c | 120 qp->s_sge.total_len = wqe->length; in hfi1_make_uc_req()
|
D | verbs.h | 408 u32 total_len; member
|
D | ud.c | 353 qp->s_sge.total_len = wqe->length; in hfi1_make_ud_req()
|
D | rc.c | 72 ss->total_len = wqe->length; in restart_sge() 520 qp->s_sge.total_len = wqe->length; in hfi1_make_rc_req()
|
/linux-4.4.14/fs/btrfs/ |
D | props.c | 176 u32 total_len, cur, this_len; in iterate_object_props() local 204 total_len = btrfs_item_size_nr(leaf, slot); in iterate_object_props() 206 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 | 2211 int total_len = 0; in btrfs_search_path_in_tree() local 2263 total_len += len + 1; in btrfs_search_path_in_tree() 2280 memmove(name, ptr, total_len); in btrfs_search_path_in_tree() 2281 name[total_len] = '\0'; in btrfs_search_path_in_tree()
|
D | send.c | 545 int total_len = sizeof(*hdr) + len; in tlv_put() local 548 if (unlikely(left < total_len)) in tlv_put() 555 sctx->send_size += total_len; in tlv_put()
|
/linux-4.4.14/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.4.14/include/linux/ |
D | splice.h | 27 size_t total_len; /* remaining length */ member
|
D | net.h | 170 size_t total_len); 180 size_t total_len, int flags);
|
/linux-4.4.14/fs/f2fs/ |
D | xattr.c | 33 int total_len, prefix_len; in f2fs_xattr_generic_list() local 51 total_len = prefix_len + len + 1; in f2fs_xattr_generic_list() 52 if (list && total_len <= list_size) { in f2fs_xattr_generic_list() 57 return total_len; in f2fs_xattr_generic_list()
|
/linux-4.4.14/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.4.14/net/atm/ |
D | common.h | 18 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
|
/linux-4.4.14/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.4.14/drivers/video/fbdev/ |
D | udlfb.c | 1508 int total_len; in dlfb_parse_vendor_descriptor() local 1515 total_len = usb_get_descriptor(interface_to_usbdev(interface), in dlfb_parse_vendor_descriptor() 1520 if (total_len < 0) { in dlfb_parse_vendor_descriptor() 1523 total_len = (int) desc[0]; in dlfb_parse_vendor_descriptor() 1526 if (total_len > 5) { in dlfb_parse_vendor_descriptor() 1527 pr_info("vendor descriptor length:%x data:%11ph\n", total_len, in dlfb_parse_vendor_descriptor() 1530 if ((desc[0] != total_len) || /* descriptor length */ in dlfb_parse_vendor_descriptor() 1534 (desc[4] != total_len - 2)) /* length after type */ in dlfb_parse_vendor_descriptor() 1537 desc_end = desc + total_len; in dlfb_parse_vendor_descriptor() 1564 pr_info("vendor descriptor not available (%d)\n", total_len); in dlfb_parse_vendor_descriptor()
|
/linux-4.4.14/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.4.14/drivers/net/ |
D | macvtap.c | 716 unsigned long total_len = iov_iter_count(from); in macvtap_get_user() local 717 unsigned long len = total_len; in macvtap_get_user() 833 return total_len; in macvtap_get_user() 1230 size_t total_len) in macvtap_sendmsg() argument 1237 size_t total_len, int flags) in macvtap_recvmsg() argument 1244 if (ret > total_len) { in macvtap_recvmsg() 1246 ret = flags & MSG_TRUNC ? ret : total_len; in macvtap_recvmsg()
|
D | tun.c | 1090 size_t total_len = iov_iter_count(from); in tun_get_user() local 1091 size_t len = total_len, align = NET_SKB_PAD, linear; in tun_get_user() 1269 return total_len; in tun_get_user() 1504 static int tun_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in tun_sendmsg() argument 1519 static int tun_recvmsg(struct socket *sock, struct msghdr *m, size_t total_len, in tun_recvmsg() argument 1534 ret = sock_recv_errqueue(sock->sk, m, total_len, in tun_recvmsg() 1539 if (ret > (ssize_t)total_len) { in tun_recvmsg() 1541 ret = flags & MSG_TRUNC ? ret : total_len; in tun_recvmsg()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_provider.c | 346 u32 total_len; in c2_reg_phys_mr() local 350 total_len = 0; in c2_reg_phys_mr() 373 total_len += buffer_list[i].size; in c2_reg_phys_mr() 406 __func__, page_shift, pbl_depth, total_len, in c2_reg_phys_mr() 412 total_len, 0, iova_start, in c2_reg_phys_mr()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_droq.c | 505 octeon_droq_get_bufcount(u32 buf_size, u32 total_len) in octeon_droq_get_bufcount() argument 509 while (total_len > (buf_size * buf_cnt)) in octeon_droq_get_bufcount() 582 u32 pkt, total_len = 0, pkt_count; in octeon_droq_fast_process_packets() local 607 total_len += (u32)info->length; in octeon_droq_fast_process_packets() 697 droq->stats.bytes_received += total_len; in octeon_droq_fast_process_packets()
|
/linux-4.4.14/net/core/ |
D | netpoll.c | 380 int total_len, ip_len, udp_len; in netpoll_send_udp() local 396 total_len = ip_len + LL_RESERVED_SPACE(np->dev); in netpoll_send_udp() 398 skb = find_skb(np, total_len + np->dev->needed_tailroom, in netpoll_send_udp() 399 total_len - len); in netpoll_send_udp()
|
D | ethtool.c | 1014 u32 total_len) in ethtool_get_any_eeprom() argument 1030 if (eeprom.offset + eeprom.len > total_len) in ethtool_get_any_eeprom()
|
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/llite/ |
D | xattr.c | 596 const size_t total_len = prefix_len + name_len + 1; in ll_listxattr() local 598 if (((rc + total_len) > size) && (buffer != NULL)) { in ll_listxattr() 609 rc2 = total_len; in ll_listxattr()
|
/linux-4.4.14/arch/x86/crypto/sha-mb/ |
D | sha1_mb.c | 113 uint32_t total_len) in sha1_pad() argument 115 uint32_t i = total_len & (SHA1_BLOCK_SIZE - 1); in sha1_pad() 121 (0 - (total_len + SHA1_PADLENGTHFIELD_SIZE + 1))) in sha1_pad() 128 *((uint64_t *) &padblock[i - 8]) = cpu_to_be64(total_len << 3); in sha1_pad()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 577 unsigned int i, total_len; in rpcrdma_count_chunks() local 585 total_len = 0; in rpcrdma_count_chunks() 597 total_len += be32_to_cpu(seg->rs_length); in rpcrdma_count_chunks() 611 return total_len; in rpcrdma_count_chunks()
|
/linux-4.4.14/kernel/ |
D | relay.c | 1215 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local 1253 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor() 1255 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor() 1275 total_len += this_len; in subbuf_splice_actor() 1290 if (ret < 0 || ret < total_len) in subbuf_splice_actor()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 1042 int seg_len, total_len, data_left; in nicvf_sq_append_tso() local 1047 total_len = skb->len - hdr_len; in nicvf_sq_append_tso() 1048 while (total_len > 0) { in nicvf_sq_append_tso() 1054 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in nicvf_sq_append_tso() 1055 total_len -= data_left; in nicvf_sq_append_tso() 1060 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 302 u32 total_len; member
|
D | ib_srp.c | 1270 state->total_len += dma_len; in srp_map_desc() 1668 indirect_hdr->len = cpu_to_be32(state.total_len); in srp_map_data()
|
/linux-4.4.14/net/bluetooth/ |
D | a2mp.c | 53 u16 total_len = len + sizeof(*cmd); in a2mp_send() local 62 iv.iov_len = total_len; in a2mp_send() 66 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, &iv, 1, total_len); in a2mp_send() 68 l2cap_chan_send(chan, &msg, total_len); in a2mp_send()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 2024 hdr->total_len += sg_list[i].length; in ocrdma_build_sges() 2032 uint32_t total_len = 0, i; in ocrdma_sglist_len() local 2035 total_len += sg_list[i].length; in ocrdma_sglist_len() 2036 return total_len; in ocrdma_sglist_len() 2049 hdr->total_len = ocrdma_sglist_len(wr->sg_list, wr->num_sge); in ocrdma_build_inline_sges() 2050 if (unlikely(hdr->total_len > qp->max_inline_data)) { in ocrdma_build_inline_sges() 2053 qp->max_inline_data, hdr->total_len); in ocrdma_build_inline_sges() 2064 wqe_size += roundup(hdr->total_len, OCRDMA_WQE_ALIGN_BYTES); in ocrdma_build_inline_sges() 2065 if (0 == hdr->total_len) in ocrdma_build_inline_sges() 2113 ext_rw->len = hdr->total_len; in ocrdma_build_write() [all …]
|
D | ocrdma_sli.h | 1857 u32 total_len; member
|
/linux-4.4.14/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.4.14/drivers/crypto/marvell/ |
D | cesa.h | 179 #define CESA_SA_DESC_MAC_TOTAL_LEN(total_len) cpu_to_le32((total_len) << 16) argument
|
/linux-4.4.14/net/dccp/ |
D | proto.c | 588 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local 593 total_len += slen; in dccp_getsockopt_service() 597 if (total_len > len) in dccp_getsockopt_service() 601 if (put_user(total_len, optlen) || in dccp_getsockopt_service()
|
/linux-4.4.14/drivers/net/wireless/realtek/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/net/ipv6/ |
D | raw.c | 544 int total_len; in rawv6_push_pending_frames() local 556 total_len = inet_sk(sk)->cork.base.length; in rawv6_push_pending_frames() 557 if (offset >= total_len - 1) { in rawv6_push_pending_frames() 599 total_len, fl6->flowi6_proto, tmp_csum); in rawv6_push_pending_frames()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 106 ss->total_len = qp->r_len; in qib_init_sge() 468 qp->r_sge.total_len = wqe->length; in qib_ruc_loopback() 485 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 | 401 u32 total_len; member
|
D | qib_rc.c | 52 ss->total_len = wqe->length; in restart_sge() 492 qp->s_sge.total_len = wqe->length; in qib_make_rc_req()
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wlan.c | 1725 int total_len = p->cfg_frame_offset + 4 + DRIVER_HANDLER_SIZE; in wilc_wlan_cfg_commit() local 1739 cfg->wid_header[2] = (u8)total_len; in wilc_wlan_cfg_commit() 1740 cfg->wid_header[3] = (u8)(total_len >> 8); in wilc_wlan_cfg_commit() 1751 if (!wilc_wlan_txq_add_cfg_pkt(&cfg->wid_header[0], total_len)) in wilc_wlan_cfg_commit()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 840 int total_len, data_left, ret; in txq_submit_tso() local 858 total_len = skb->len - hdr_len; in txq_submit_tso() 859 while (total_len > 0) { in txq_submit_tso() 863 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in txq_submit_tso() 864 total_len -= data_left; in txq_submit_tso() 869 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso() 880 total_len == 0); in txq_submit_tso()
|
D | mvneta.c | 1675 int total_len, data_left; in mvneta_tx_tso() local 1694 total_len = skb->len - hdr_len; in mvneta_tx_tso() 1695 while (total_len > 0) { in mvneta_tx_tso() 1698 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in mvneta_tx_tso() 1699 total_len -= data_left; in mvneta_tx_tso() 1704 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso() 1717 total_len == 0)) in mvneta_tx_tso()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/freescale/ |
D | fec_main.c | 696 int total_len, data_left; in fec_enet_txq_submit_tso() local 719 total_len = skb->len - hdr_len; in fec_enet_txq_submit_tso() 720 while (total_len > 0) { in fec_enet_txq_submit_tso() 724 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in fec_enet_txq_submit_tso() 725 total_len -= data_left; in fec_enet_txq_submit_tso() 729 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso() 745 total_len == 0); in fec_enet_txq_submit_tso()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.c | 2154 struct sk_buff *pkt, u16 total_len) in brcmf_sdio_txpkt_prep_sg() argument 2174 chain_pad = (total_len + tail_pad) % blksize; in brcmf_sdio_txpkt_prep_sg() 2224 u16 head_pad, total_len; in brcmf_sdio_txpkt_prep() local 2231 total_len = 0; in brcmf_sdio_txpkt_prep() 2249 total_len += pkt_next->len; in brcmf_sdio_txpkt_prep() 2255 pkt_next, total_len); in brcmf_sdio_txpkt_prep() 2259 total_len += (u16)ret; in brcmf_sdio_txpkt_prep() 2283 brcmf_sdio_update_hwhdr(pktq->next->data, total_len); in brcmf_sdio_txpkt_prep()
|
/linux-4.4.14/drivers/atm/ |
D | iphase.c | 2900 int total_len; local 2981 total_len = skb->len + sizeof(struct cpcs_trailer); 2982 total_len = ((total_len + 47) / 48) * 48; 2983 IF_TX(printk("ia packet len:%d padding:%d\n", total_len, total_len - skb->len);) 3007 buf_desc_ptr->bytes = total_len; 3036 buf_desc_ptr->buf_start_lo) + total_len - sizeof(struct cpcs_trailer);
|
/linux-4.4.14/drivers/nvme/host/ |
D | pci.c | 652 int total_len, gfp_t gfp) in nvme_setup_prps() argument 655 int length = total_len; in nvme_setup_prps() 668 return total_len; in nvme_setup_prps() 681 return total_len; in nvme_setup_prps() 697 return (total_len - length) + page_size; in nvme_setup_prps() 707 return total_len - length; in nvme_setup_prps() 727 return total_len; in nvme_setup_prps()
|
/linux-4.4.14/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.4.14/drivers/net/usb/ |
D | usbnet.c | 1272 unsigned num_sgs, total_len = 0; in build_dma_sg() local 1289 total_len += skb_headlen(skb); in build_dma_sg() 1294 total_len += skb_frag_size(f); in build_dma_sg() 1298 urb->transfer_buffer_length = total_len; in build_dma_sg()
|
/linux-4.4.14/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 | 4299 unsigned int total_len = 0; in hpsa_scsi_ioaccel1_queue_command() local 4337 total_len += len; in hpsa_scsi_ioaccel1_queue_command() 4368 cp->transfer_len = cpu_to_le32(total_len); in hpsa_scsi_ioaccel1_queue_command() 4463 u32 total_len = 0; in hpsa_scsi_ioaccel2_queue_command() local 4504 total_len += len; in hpsa_scsi_ioaccel2_queue_command() 4545 cp->data_len = cpu_to_le32(total_len); in hpsa_scsi_ioaccel2_queue_command()
|
/linux-4.4.14/drivers/media/i2c/ |
D | adv7604.c | 528 unsigned int total_len, const u8 *val) in edid_write_block() argument 536 __func__, total_len); in edid_write_block() 538 while (!err && i < total_len) { in edid_write_block() 539 len = (total_len - i) > I2C_SMBUS_BLOCK_MAX ? in edid_write_block() 541 (total_len - i); in edid_write_block()
|
/linux-4.4.14/fs/ocfs2/ |
D | xattr.c | 893 int total_len = prefix_len + name_len + 1; in ocfs2_xattr_list_entry() local 895 *result += total_len; in ocfs2_xattr_list_entry() 7234 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_security_list() local 7236 if (list && total_len <= list_size) { in ocfs2_xattr_security_list() 7241 return total_len; in ocfs2_xattr_security_list() 7327 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_trusted_list() local 7332 if (list && total_len <= list_size) { in ocfs2_xattr_trusted_list() 7337 return total_len; in ocfs2_xattr_trusted_list() 7377 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_user_list() local 7383 if (list && total_len <= list_size) { in ocfs2_xattr_user_list() [all …]
|
/linux-4.4.14/fs/fuse/ |
D | dev.c | 1697 size_t total_len = 0; in fuse_retrieve() local 1740 total_len += this_num; in fuse_retrieve() 1744 req->misc.retrieve_in.size = total_len; in fuse_retrieve() 1747 req->in.args[1].size = total_len; in fuse_retrieve()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | opal.h | 220 extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len);
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1433 int total_len = 0; in ath10k_unchain_msdu() local 1446 total_len += skb->len; in ath10k_unchain_msdu() 1448 space = total_len - skb_tailroom(first); in ath10k_unchain_msdu()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer.c | 4938 unsigned long total_len = 0; in test_ringbuffer() local 4970 total_len += ring_buffer_event_length(event); in test_ringbuffer() 4990 pr_info(" recorded len bytes: %ld\n", total_len); in test_ringbuffer() 4996 if (RB_WARN_ON(buffer, total_len != total_alloc || in test_ringbuffer()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/neterion/ |
D | s2io.h | 679 int total_len; member
|
D | s2io.c | 8294 lro->total_len = ntohs(ip->tot_len); in initiate_new_session() 8320 csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len)); in update_L3L4_header() 8321 ip->tot_len = htons(lro->total_len); in update_L3L4_header() 8344 lro->total_len += l4_pyld; in aggregate_new_rx()
|
/linux-4.4.14/net/ |
D | socket.c | 2071 int total_len, len; in ___sys_recvmsg() local 2089 total_len = iov_iter_count(&msg_sys->msg_iter); in ___sys_recvmsg() 2100 total_len, flags); in ___sys_recvmsg()
|
/linux-4.4.14/drivers/mtd/nand/brcmnand/ |
D | brcmnand.c | 83 u32 total_len; member 1357 desc->total_len = len; in brcmnand_fill_dma_desc()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 3925 unsigned total_len; in dsi_update_screen_dispc() local 3952 total_len = (bytespf / packet_payload) * packet_len; in dsi_update_screen_dispc() 3955 total_len += (bytespf % packet_payload) + 1; in dsi_update_screen_dispc() 3957 l = FLD_VAL(total_len, 23, 0); /* TE_SIZE */ in dsi_update_screen_dispc()
|
/linux-4.4.14/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.4.14/drivers/char/ |
D | virtio_console.c | 928 .total_len = len, in port_fops_splice_write()
|
/linux-4.4.14/fs/nfsd/ |
D | vfs.c | 839 .total_len = *count, in nfsd_splice_read()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 8158 uint32_t xmit_len = 0, total_len = 0; in lpfc_sli4_iocb2wqe() local 8207 total_len = 0; in lpfc_sli4_iocb2wqe() 8210 total_len += bde.tus.f.bdeSize; in lpfc_sli4_iocb2wqe() 8283 wqe->els_req.max_response_payload_len = total_len - xmit_len; in lpfc_sli4_iocb2wqe() 8291 xmit_len = total_len; in lpfc_sli4_iocb2wqe() 8444 wqe->gen_req.max_response_payload_len = total_len - xmit_len; in lpfc_sli4_iocb2wqe()
|
/linux-4.4.14/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()
|