Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/misc/vmw_vmci/
Dvmci_guest.c216 size_t remaining_bytes; in vmci_dispatch_dgs() local
223 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs()
226 remaining_bytes > PAGE_SIZE) { in vmci_dispatch_dgs()
236 remaining_bytes = in vmci_dispatch_dgs()
256 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs()
257 if (remaining_bytes != in vmci_dispatch_dgs()
270 remaining_bytes, in vmci_dispatch_dgs()
271 remaining_bytes); in vmci_dispatch_dgs()
284 remaining_bytes, in vmci_dispatch_dgs()
286 remaining_bytes); in vmci_dispatch_dgs()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/fs/ecryptfs/
Dkeystore.c632 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, in ecryptfs_write_tag_70_packet() argument
692 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
695 (*remaining_bytes)); in ecryptfs_write_tag_70_packet()
852 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet()
2032 write_tag_1_packet(char *dest, size_t *remaining_bytes, in write_tag_1_packet() argument
2081 if (max_packet_size > (*remaining_bytes)) { in write_tag_1_packet()
2084 "available\n", max_packet_size, (*remaining_bytes)); in write_tag_1_packet()
2109 (*remaining_bytes) -= (*packet_size); in write_tag_1_packet()
2124 write_tag_11_packet(char *dest, size_t *remaining_bytes, char *contents, in write_tag_11_packet() argument
2141 if (max_packet_size > (*remaining_bytes)) { in write_tag_11_packet()
[all …]
Dcrypto.c1490 size_t remaining_bytes; in ecryptfs_encrypt_filename() local
1510 remaining_bytes = filename->encrypted_filename_size; in ecryptfs_encrypt_filename()
1512 &remaining_bytes, in ecryptfs_encrypt_filename()
Decryptfs_kernel.h720 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
/Linux-v4.19/drivers/hid/
Dhid-sensor-hub.c211 int remaining_bytes; in sensor_hub_set_feature() local
222 remaining_bytes = buffer_size % sizeof(__s32); in sensor_hub_set_feature()
231 if (remaining_bytes) { in sensor_hub_set_feature()
233 memcpy(&value, (u8 *)buf32, remaining_bytes); in sensor_hub_set_feature()
/Linux-v4.19/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1917 int remaining_bytes; in kvaser_usb_hydra_read_bulk_callback() local
1923 remaining_bytes = min_t(unsigned int, len, in kvaser_usb_hydra_read_bulk_callback()
1926 if (remaining_bytes + usb_rx_leftover_len > in kvaser_usb_hydra_read_bulk_callback()
1934 remaining_bytes); in kvaser_usb_hydra_read_bulk_callback()
1935 pos += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()
1937 if (remaining_bytes + usb_rx_leftover_len == cmd_len) { in kvaser_usb_hydra_read_bulk_callback()
1942 usb_rx_leftover_len += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dpci.c904 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local
934 remaining_bytes = nbytes; in ath10k_pci_diag_read_mem()
936 while (remaining_bytes) { in ath10k_pci_diag_read_mem()
937 nbytes = min_t(unsigned int, remaining_bytes, in ath10k_pci_diag_read_mem()
993 remaining_bytes -= nbytes; in ath10k_pci_diag_read_mem()
1057 unsigned int completed_nbytes, orig_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local
1099 remaining_bytes = orig_nbytes; in ath10k_pci_diag_write_mem()
1101 while (remaining_bytes) { in ath10k_pci_diag_write_mem()
1103 nbytes = min_t(int, remaining_bytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem()
1153 remaining_bytes -= nbytes; in ath10k_pci_diag_write_mem()
/Linux-v4.19/fs/cifs/
Dsmb2pdu.c2979 unsigned int remaining_bytes, int request_type) in smb2_new_read_req() argument
3059 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
3060 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c10252 u16 remaining_bytes = 0; in ipw_tx_skb() local
10256 remaining_bytes += txb->fragments[j]->len - hdr_len; in ipw_tx_skb()
10259 remaining_bytes); in ipw_tx_skb()
10260 skb = alloc_skb(remaining_bytes, GFP_ATOMIC); in ipw_tx_skb()
10262 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); in ipw_tx_skb()
10277 remaining_bytes, in ipw_tx_skb()