Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_guest.c219 size_t remaining_bytes; in vmci_dispatch_dgs() local
226 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs()
229 remaining_bytes > PAGE_SIZE) { in vmci_dispatch_dgs()
239 remaining_bytes = in vmci_dispatch_dgs()
259 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs()
260 if (remaining_bytes != in vmci_dispatch_dgs()
273 remaining_bytes, in vmci_dispatch_dgs()
274 remaining_bytes); in vmci_dispatch_dgs()
287 remaining_bytes, in vmci_dispatch_dgs()
289 remaining_bytes); in vmci_dispatch_dgs()
[all …]
/linux-4.1.27/arch/mips/cavium-octeon/executive/
Dcvmx-helper-util.c92 uint64_t remaining_bytes; in cvmx_helper_dump_packet() local
130 remaining_bytes = work->len; in cvmx_helper_dump_packet()
132 while (remaining_bytes) { in cvmx_helper_dump_packet()
149 if (remaining_bytes == 0) in cvmx_helper_dump_packet()
152 remaining_bytes--; in cvmx_helper_dump_packet()
155 if (remaining_bytes && (count == 7)) { in cvmx_helper_dump_packet()
163 if (remaining_bytes) in cvmx_helper_dump_packet()
/linux-4.1.27/drivers/firmware/
Ddell_rbu.c302 int remaining_bytes = 0; in packet_read_list() local
309 remaining_bytes = *pread_length; in packet_read_list()
315 remaining_bytes, bytes_read, &temp_count); in packet_read_list()
316 remaining_bytes -= bytes_copied; in packet_read_list()
323 if (remaining_bytes == 0) in packet_read_list()
/linux-4.1.27/fs/ecryptfs/
Dkeystore.c623 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, in ecryptfs_write_tag_70_packet() argument
687 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
690 (*remaining_bytes)); in ecryptfs_write_tag_70_packet()
862 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet()
2023 write_tag_1_packet(char *dest, size_t *remaining_bytes, in write_tag_1_packet() argument
2072 if (max_packet_size > (*remaining_bytes)) { in write_tag_1_packet()
2075 "available\n", max_packet_size, (*remaining_bytes)); in write_tag_1_packet()
2100 (*remaining_bytes) -= (*packet_size); in write_tag_1_packet()
2115 write_tag_11_packet(char *dest, size_t *remaining_bytes, char *contents, in write_tag_11_packet() argument
2132 if (max_packet_size > (*remaining_bytes)) { in write_tag_11_packet()
[all …]
Dcrypto.c1514 size_t remaining_bytes; in ecryptfs_encrypt_filename() local
1537 remaining_bytes = filename->encrypted_filename_size; in ecryptfs_encrypt_filename()
1539 &remaining_bytes, in ecryptfs_encrypt_filename()
Decryptfs_kernel.h707 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dpci.c493 unsigned int completed_nbytes, orig_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local
525 remaining_bytes = orig_nbytes; in ath10k_pci_diag_read_mem()
527 while (remaining_bytes) { in ath10k_pci_diag_read_mem()
528 nbytes = min_t(unsigned int, remaining_bytes, in ath10k_pci_diag_read_mem()
595 remaining_bytes -= nbytes; in ath10k_pci_diag_read_mem()
661 unsigned int completed_nbytes, orig_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local
705 remaining_bytes = orig_nbytes; in ath10k_pci_diag_write_mem()
707 while (remaining_bytes) { in ath10k_pci_diag_write_mem()
709 nbytes = min_t(int, remaining_bytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem()
769 remaining_bytes -= nbytes; in ath10k_pci_diag_write_mem()
/linux-4.1.27/drivers/hid/
Dhid-sensor-hub.c210 int remaining_bytes; in sensor_hub_set_feature() local
221 remaining_bytes = do_div(buffer_size, sizeof(__s32)); in sensor_hub_set_feature()
229 if (remaining_bytes) { in sensor_hub_set_feature()
231 memcpy(&value, (u8 *)buf32, remaining_bytes); in sensor_hub_set_feature()
/linux-4.1.27/drivers/staging/unisys/uislib/
Duislib.c1052 int remaining_bytes = PROC_READ_BUFFER_SIZE; in info_debugfs_read() local
1066 total_bytes = info_debugfs_read_helper(&temp, &remaining_bytes); in info_debugfs_read()
/linux-4.1.27/fs/cifs/
Dsmb2pdu.c1698 unsigned int remaining_bytes, int request_type) in smb2_new_read_req() argument
1739 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
1740 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c10264 u16 remaining_bytes = 0; in ipw_tx_skb() local
10268 remaining_bytes += txb->fragments[j]->len - hdr_len; in ipw_tx_skb()
10271 remaining_bytes); in ipw_tx_skb()
10272 skb = alloc_skb(remaining_bytes, GFP_ATOMIC); in ipw_tx_skb()
10274 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); in ipw_tx_skb()
10288 remaining_bytes, in ipw_tx_skb()