Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/arch/mips/cavium-octeon/executive/
Dcvmx-helper-util.c92 uint64_t remaining_bytes; in cvmx_helper_dump_packet() local
130 remaining_bytes = work->word1.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.4.14/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.4.14/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.c1513 size_t remaining_bytes; in ecryptfs_encrypt_filename() local
1536 remaining_bytes = filename->encrypted_filename_size; in ecryptfs_encrypt_filename()
1538 &remaining_bytes, in ecryptfs_encrypt_filename()
Decryptfs_kernel.h706 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
/linux-4.4.14/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.4.14/drivers/net/wireless/ath/ath10k/
Dpci.c855 unsigned int completed_nbytes, orig_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local
887 remaining_bytes = orig_nbytes; in ath10k_pci_diag_read_mem()
889 while (remaining_bytes) { in ath10k_pci_diag_read_mem()
890 nbytes = min_t(unsigned int, remaining_bytes, in ath10k_pci_diag_read_mem()
945 remaining_bytes -= nbytes; in ath10k_pci_diag_read_mem()
1011 unsigned int completed_nbytes, orig_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local
1055 remaining_bytes = orig_nbytes; in ath10k_pci_diag_write_mem()
1057 while (remaining_bytes) { in ath10k_pci_diag_write_mem()
1059 nbytes = min_t(int, remaining_bytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem()
1108 remaining_bytes -= nbytes; in ath10k_pci_diag_write_mem()
/linux-4.4.14/fs/cifs/
Dsmb2pdu.c1886 unsigned int remaining_bytes, int request_type) in smb2_new_read_req() argument
1927 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
1928 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
/linux-4.4.14/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()