/linux-3.4.99/drivers/uwb/ |
D | hwa-rc.c | 124 size_t bytes_left, ielength; in hwarc_filter_evt_beacon_WUSB_0100() local 128 bytes_left = buf_size; in hwarc_filter_evt_beacon_WUSB_0100() 129 if (bytes_left < sizeof(*be)) { in hwarc_filter_evt_beacon_WUSB_0100() 132 bytes_left, sizeof(*be)); in hwarc_filter_evt_beacon_WUSB_0100() 135 bytes_left -= sizeof(*be); in hwarc_filter_evt_beacon_WUSB_0100() 137 if (bytes_left < ielength) { in hwarc_filter_evt_beacon_WUSB_0100() 140 bytes_left, ielength); in hwarc_filter_evt_beacon_WUSB_0100() 183 size_t bytes_left, ielength; in hwarc_filter_evt_drp_avail_WUSB_0100() local 188 bytes_left = buf_size; in hwarc_filter_evt_drp_avail_WUSB_0100() 189 if (bytes_left < sizeof(*da)) { in hwarc_filter_evt_drp_avail_WUSB_0100() [all …]
|
D | drp.c | 770 size_t ielength, bytes_left; in uwbd_evt_handle_rc_drp() local 782 bytes_left = evt->notif.size - sizeof(*drp_evt); in uwbd_evt_handle_rc_drp() 785 if (bytes_left != ielength) { in uwbd_evt_handle_rc_drp() 788 bytes_left, ielength); in uwbd_evt_handle_rc_drp()
|
/linux-3.4.99/drivers/media/video/gspca/ |
D | sq905c.c | 140 int bytes_left; /* bytes remaining in current frame. */ in sq905c_dostream() local 165 bytes_left = buffer[0x40]|(buffer[0x41]<<8)|(buffer[0x42]<<16) in sq905c_dostream() 167 PDEBUG(D_STREAM, "bytes_left = 0x%x", bytes_left); in sq905c_dostream() 172 while (bytes_left > 0 && gspca_dev->present) { in sq905c_dostream() 173 data_len = bytes_left > SQ905C_MAX_TRANSFER ? in sq905c_dostream() 174 SQ905C_MAX_TRANSFER : bytes_left; in sq905c_dostream() 183 data_len, bytes_left); in sq905c_dostream() 184 bytes_left -= data_len; in sq905c_dostream() 185 if (bytes_left == 0) in sq905c_dostream()
|
D | sq905.c | 217 int bytes_left; /* bytes remaining in current frame. */ in sq905_dostream() local 238 bytes_left = frame_sz; in sq905_dostream() 245 while (bytes_left > 0 && gspca_dev->present) { in sq905_dostream() 246 data_len = bytes_left > SQ905_MAX_TRANSFER ? in sq905_dostream() 247 SQ905_MAX_TRANSFER : bytes_left; in sq905_dostream() 253 data_len, bytes_left); in sq905_dostream() 254 bytes_left -= data_len; in sq905_dostream() 263 } else if (bytes_left == 0) { in sq905_dostream() 273 bytes_left == 0) in sq905_dostream()
|
D | jl2005bcd.c | 323 int bytes_left = 0; /* bytes remaining in current frame. */ in jl2005c_dostream() local 362 bytes_left = buffer[0x07] * dev->block_size - act_len; in jl2005c_dostream() 363 PDEBUG(D_PACK, "bytes_left = 0x%x", bytes_left); in jl2005c_dostream() 370 while (bytes_left > 0 && gspca_dev->present) { in jl2005c_dostream() 371 data_len = bytes_left > JL2005C_MAX_TRANSFER ? in jl2005c_dostream() 372 JL2005C_MAX_TRANSFER : bytes_left; in jl2005c_dostream() 381 data_len, bytes_left); in jl2005c_dostream() 382 bytes_left -= data_len; in jl2005c_dostream() 383 if (bytes_left == 0) { in jl2005c_dostream()
|
/linux-3.4.99/fs/btrfs/ |
D | zlib.c | 93 unsigned long bytes_left; in zlib_compress_pages() local 173 bytes_left = len - workspace->def_strm.total_in; in zlib_compress_pages() 181 workspace->def_strm.avail_in = min(bytes_left, in zlib_compress_pages() 316 unsigned long bytes_left = destlen; in zlib_decompress() local 343 while (bytes_left > 0) { in zlib_decompress() 371 bytes = min(bytes, bytes_left); in zlib_decompress() 378 bytes_left -= bytes; in zlib_decompress() 384 if (ret != Z_STREAM_END && bytes_left != 0) in zlib_decompress()
|
D | backref.c | 894 s64 bytes_left = size - 1; in iref_to_path() local 899 if (bytes_left >= 0) in iref_to_path() 900 dest[bytes_left] = '\0'; in iref_to_path() 905 bytes_left -= len; in iref_to_path() 906 if (bytes_left >= 0) in iref_to_path() 907 read_extent_buffer(eb, dest + bytes_left, in iref_to_path() 936 --bytes_left; in iref_to_path() 937 if (bytes_left >= 0) in iref_to_path() 938 dest[bytes_left] = '/'; in iref_to_path() 947 return dest + bytes_left; in iref_to_path() [all …]
|
D | ordered-data.c | 198 entry->bytes_left = len; in __btrfs_add_ordered_extent() 320 if (to_dec > entry->bytes_left) { in btrfs_dec_test_first_ordered_pending() 322 (unsigned long long)entry->bytes_left, in btrfs_dec_test_first_ordered_pending() 325 entry->bytes_left -= to_dec; in btrfs_dec_test_first_ordered_pending() 326 if (entry->bytes_left == 0) in btrfs_dec_test_first_ordered_pending() 371 if (io_size > entry->bytes_left) { in btrfs_dec_test_ordered_pending() 373 (unsigned long long)entry->bytes_left, in btrfs_dec_test_ordered_pending() 376 entry->bytes_left -= io_size; in btrfs_dec_test_ordered_pending() 377 if (entry->bytes_left == 0) in btrfs_dec_test_ordered_pending()
|
D | lzo.c | 104 unsigned long bytes_left; in lzo_compress_pages() local 220 bytes_left = len - tot_in; in lzo_compress_pages() 227 in_len = min(bytes_left, PAGE_CACHE_SIZE); in lzo_compress_pages()
|
D | compression.c | 334 unsigned long bytes_left; in btrfs_submit_compressed_write() local 370 bytes_left = compressed_len; in btrfs_submit_compressed_write() 413 if (bytes_left < PAGE_CACHE_SIZE) { in btrfs_submit_compressed_write() 415 bytes_left, cb->compressed_len, cb->nr_pages); in btrfs_submit_compressed_write() 417 bytes_left -= PAGE_CACHE_SIZE; in btrfs_submit_compressed_write()
|
D | ordered-data.h | 91 u64 bytes_left; member
|
D | file-item.c | 445 unsigned long bytes_left; in btrfs_csum_one_bio() local 451 bytes_left = bio->bi_size - total_bytes; in btrfs_csum_one_bio() 453 sums = kzalloc(btrfs_ordered_sum_size(root, bytes_left), in btrfs_csum_one_bio() 457 sums->len = bytes_left; in btrfs_csum_one_bio()
|
/linux-3.4.99/drivers/i2c/busses/ |
D | i2c-mv64xxx.c | 94 u32 bytes_left; member 162 if ((drv_data->bytes_left == 0) in mv64xxx_i2c_fsm() 178 drv_data->bytes_left--; in mv64xxx_i2c_fsm() 192 if (drv_data->bytes_left == 0) { in mv64xxx_i2c_fsm() 203 drv_data->bytes_left--; in mv64xxx_i2c_fsm() 207 if ((drv_data->bytes_left == 1) || drv_data->aborting) in mv64xxx_i2c_fsm() 351 drv_data->bytes_left = msg->len; in mv64xxx_i2c_prepare_for_io() 426 drv_data->bytes_left--; in mv64xxx_i2c_execute_msg()
|
/linux-3.4.99/drivers/scsi/ |
D | sym53c416.c | 247 unsigned int bytes_left; in sym53c416_read() local 255 bytes_left = inb(base + PIO_FIFO_CNT); /* Number of bytes in the PIO FIFO */ in sym53c416_read() 256 if(fastpio && bytes_left > 3) in sym53c416_read() 258 insl(base + PIO_FIFO_1, buffer, bytes_left >> 2); in sym53c416_read() 259 buffer += bytes_left & 0xFC; in sym53c416_read() 260 len -= bytes_left & 0xFC; in sym53c416_read() 262 else if(bytes_left > 0) in sym53c416_read() 264 len -= bytes_left; in sym53c416_read() 265 for(; bytes_left > 0; bytes_left--) in sym53c416_read()
|
/linux-3.4.99/drivers/mmc/host/ |
D | davinci_mmc.c | 200 u32 bytes_left; member 240 if (host->buffer_bytes_left > host->bytes_left) in mmc_davinci_sg_to_buf() 241 host->buffer_bytes_left = host->bytes_left; in mmc_davinci_sg_to_buf() 259 host->bytes_left -= n; in davinci_fifo_data_trans() 394 if (!host->do_dma && host->bytes_left <= poll_threshold) { in mmc_davinci_start_command() 516 unsigned bytes_left = host->bytes_left; in mmc_davinci_send_dma_request() local 534 sg_len-- != 0 && bytes_left; in mmc_davinci_send_dma_request() 543 if (count > bytes_left) in mmc_davinci_send_dma_request() 544 count = bytes_left; in mmc_davinci_send_dma_request() 545 bytes_left -= count; in mmc_davinci_send_dma_request() [all …]
|
/linux-3.4.99/drivers/net/wireless/mwifiex/ |
D | scan.c | 1069 u32 bytes_left; in mwifiex_update_bss_desc_with_ie() local 1077 bytes_left = ie_len; in mwifiex_update_bss_desc_with_ie() 1082 while (bytes_left >= 2) { in mwifiex_update_bss_desc_with_ie() 1087 if (bytes_left < total_ie_len) { in mwifiex_update_bss_desc_with_ie() 1253 bytes_left -= (element_len + 2); in mwifiex_update_bss_desc_with_ie() 1551 u32 bytes_left; in mwifiex_ret_802_11_scan() local 1576 bytes_left = le16_to_cpu(scan_rsp->bss_descript_size); in mwifiex_ret_802_11_scan() 1578 bytes_left); in mwifiex_ret_802_11_scan() 1594 tlv_buf_size = scan_resp_size - (bytes_left in mwifiex_ret_802_11_scan() 1601 bytes_left); in mwifiex_ret_802_11_scan() [all …]
|
/linux-3.4.99/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 245 int bytes_left; in dlmfs_file_read() local 275 bytes_left = __copy_to_user(buf, lvb_buf, readlen); in dlmfs_file_read() 276 readlen -= bytes_left; in dlmfs_file_read() 293 int bytes_left; in dlmfs_file_write() local 320 bytes_left = copy_from_user(lvb_buf, buf, writelen); in dlmfs_file_write() 321 writelen -= bytes_left; in dlmfs_file_write()
|
/linux-3.4.99/drivers/net/irda/ |
D | sir_dev.c | 40 unsigned bytes_left; in sirdev_tx_complete_fsm() local 50 bytes_left = dev->drv->chars_in_buffer(dev); in sirdev_tx_complete_fsm() 52 bytes_left = 0; in sirdev_tx_complete_fsm() 53 if (!bytes_left) { in sirdev_tx_complete_fsm() 59 delay = (bytes_left*8*10000) / (dev->speed/100); in sirdev_tx_complete_fsm() 61 delay = (bytes_left*10*10000) / (dev->speed/100); in sirdev_tx_complete_fsm()
|
/linux-3.4.99/drivers/firmware/ |
D | dell_rbu.c | 474 size_t bytes_left; in read_packet_data() local 492 bytes_left = rbu_data.imagesize - pos; in read_packet_data() 493 data_length = min(bytes_left, count); in read_packet_data() 501 retval = bytes_left; in read_packet_data()
|
/linux-3.4.99/net/irda/ |
D | irlap_event.c | 1023 self->bytes_left)); in irlap_state_xmit_p() 1032 if((!nextfit) && (skb->len > self->bytes_left)) { in irlap_state_xmit_p() 1056 self->bytes_left -= skb->len; in irlap_state_xmit_p() 1104 self->bytes_left = self->line_capacity; in irlap_state_xmit_p() 1781 self->bytes_left)); in irlap_state_xmit_s() 1788 if((!nextfit) && (skb->len > self->bytes_left)) { in irlap_state_xmit_s() 1801 self->bytes_left = self->line_capacity; in irlap_state_xmit_s() 1812 self->bytes_left -= skb->len; in irlap_state_xmit_s()
|
/linux-3.4.99/fs/gfs2/ |
D | rgrp.c | 467 u32 bytes_left, bytes; in compute_bitstructs() local 477 bytes_left = rgd->rd_bitbytes; in compute_bitstructs() 485 bytes = bytes_left; in compute_bitstructs() 497 bytes = bytes_left; in compute_bitstructs() 499 bi->bi_start = rgd->rd_bitbytes - bytes_left; in compute_bitstructs() 506 bi->bi_start = rgd->rd_bitbytes - bytes_left; in compute_bitstructs() 510 bytes_left -= bytes; in compute_bitstructs() 513 if (bytes_left) { in compute_bitstructs()
|
/linux-3.4.99/drivers/spi/ |
D | spi-pxa2xx.c | 754 u32 bytes_left; in interrupt_transfer() local 768 bytes_left = drv_data->rx_end - drv_data->rx; in interrupt_transfer() 771 bytes_left >>= 1; in interrupt_transfer() 773 bytes_left >>= 1; in interrupt_transfer() 776 if (bytes_left > RX_THRESH_DFLT) in interrupt_transfer() 777 bytes_left = RX_THRESH_DFLT; in interrupt_transfer() 779 sccr1_reg |= SSCR1_RxTresh(bytes_left); in interrupt_transfer()
|
/linux-3.4.99/fs/ocfs2/ |
D | namei.c | 1492 int virtual, blocks, status, i, bytes_left; in ocfs2_create_symlink_data() local 1494 bytes_left = i_size_read(inode) + 1; in ocfs2_create_symlink_data() 1497 blocks = (bytes_left + sb->s_blocksize - 1) >> sb->s_blocksize_bits; in ocfs2_create_symlink_data() 1503 if (bytes_left > in ocfs2_create_symlink_data() 1527 if ((p_blocks << sb->s_blocksize_bits) < bytes_left) { in ocfs2_create_symlink_data() 1534 while(bytes_left > 0) { in ocfs2_create_symlink_data() 1557 (bytes_left > sb->s_blocksize) ? sb->s_blocksize : in ocfs2_create_symlink_data() 1558 bytes_left); in ocfs2_create_symlink_data() 1564 bytes_left -= sb->s_blocksize; in ocfs2_create_symlink_data()
|
/linux-3.4.99/drivers/media/video/ |
D | mem2mem_testdev.c | 223 int tile_w, bytes_left; in device_process() local 247 bytes_left = bytesperline - tile_w * MEM2MEM_NUM_TILES; in device_process() 261 p_in += bytes_left; in device_process() 262 p_out += bytes_left; in device_process()
|
D | omap1_camera.c | 146 int bytes_left; member 334 if (unlikely(buf->bytes_left < block_size)) in set_dma_dest_params() 335 block_size = buf->bytes_left; in set_dma_dest_params() 343 buf->bytes_left -= block_size; in set_dma_dest_params() 400 if (unlikely(!buf->bytes_left)) { in try_next_sgbuf() 422 buf->bytes_left = buf->vb.size; in try_next_sgbuf()
|