Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_guest.c215 size_t remaining_bytes; in vmci_dispatch_dgs() local
222 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs()
225 remaining_bytes > PAGE_SIZE) { in vmci_dispatch_dgs()
235 remaining_bytes = in vmci_dispatch_dgs()
255 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs()
256 if (remaining_bytes != in vmci_dispatch_dgs()
269 remaining_bytes, in vmci_dispatch_dgs()
270 remaining_bytes); in vmci_dispatch_dgs()
283 remaining_bytes, in vmci_dispatch_dgs()
285 remaining_bytes); in vmci_dispatch_dgs()
[all …]
/Linux-v5.4/drivers/platform/x86/
Ddell_rbu.c298 int remaining_bytes = 0; in packet_read_list() local
305 remaining_bytes = *pread_length; in packet_read_list()
311 remaining_bytes, bytes_read, &temp_count); in packet_read_list()
312 remaining_bytes -= bytes_copied; in packet_read_list()
319 if (remaining_bytes == 0) in packet_read_list()
/Linux-v5.4/fs/ecryptfs/
Dkeystore.c618 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, in ecryptfs_write_tag_70_packet() argument
678 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
681 (*remaining_bytes)); in ecryptfs_write_tag_70_packet()
837 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet()
2018 write_tag_1_packet(char *dest, size_t *remaining_bytes, in write_tag_1_packet() argument
2067 if (max_packet_size > (*remaining_bytes)) { in write_tag_1_packet()
2070 "available\n", max_packet_size, (*remaining_bytes)); in write_tag_1_packet()
2095 (*remaining_bytes) -= (*packet_size); in write_tag_1_packet()
2110 write_tag_11_packet(char *dest, size_t *remaining_bytes, char *contents, in write_tag_11_packet() argument
2127 if (max_packet_size > (*remaining_bytes)) { in write_tag_11_packet()
[all …]
Dcrypto.c1484 size_t remaining_bytes; in ecryptfs_encrypt_filename() local
1504 remaining_bytes = filename->encrypted_filename_size; in ecryptfs_encrypt_filename()
1506 &remaining_bytes, in ecryptfs_encrypt_filename()
Decryptfs_kernel.h706 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
/Linux-v5.4/drivers/hid/
Dhid-sensor-hub.c198 int remaining_bytes; in sensor_hub_set_feature() local
209 remaining_bytes = buffer_size % sizeof(__s32); in sensor_hub_set_feature()
218 if (remaining_bytes) { in sensor_hub_set_feature()
220 memcpy(&value, (u8 *)buf32, remaining_bytes); in sensor_hub_set_feature()
/Linux-v5.4/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-v5.4/drivers/net/wireless/ath/ath10k/
Dpci.c907 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local
942 remaining_bytes = nbytes; in ath10k_pci_diag_read_mem()
944 while (remaining_bytes) { in ath10k_pci_diag_read_mem()
945 nbytes = min_t(unsigned int, remaining_bytes, in ath10k_pci_diag_read_mem()
990 remaining_bytes -= nbytes; in ath10k_pci_diag_read_mem()
1053 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local
1089 remaining_bytes = nbytes; in ath10k_pci_diag_write_mem()
1090 while (remaining_bytes) { in ath10k_pci_diag_write_mem()
1092 nbytes = min_t(int, remaining_bytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem()
1143 remaining_bytes -= nbytes; in ath10k_pci_diag_write_mem()
/Linux-v5.4/fs/cifs/
Dsmb2pdu.c3492 unsigned int remaining_bytes, int request_type) in smb2_new_read_req() argument
3577 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
3578 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c10238 u16 remaining_bytes = 0; in ipw_tx_skb() local
10242 remaining_bytes += txb->fragments[j]->len - hdr_len; in ipw_tx_skb()
10245 remaining_bytes); in ipw_tx_skb()
10246 skb = alloc_skb(remaining_bytes, GFP_ATOMIC); in ipw_tx_skb()
10248 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); in ipw_tx_skb()
10263 remaining_bytes, in ipw_tx_skb()