Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_guest.c311 size_t remaining_bytes; in vmci_dispatch_dgs() local
330 remaining_bytes = current_dg_in_buffer_size; in vmci_dispatch_dgs()
339 (is_io_port && remaining_bytes > PAGE_SIZE)) { in vmci_dispatch_dgs()
349 remaining_bytes = in vmci_dispatch_dgs()
369 if (dg_in_size > remaining_bytes) { in vmci_dispatch_dgs()
370 if (remaining_bytes != in vmci_dispatch_dgs()
383 remaining_bytes, in vmci_dispatch_dgs()
384 remaining_bytes); in vmci_dispatch_dgs()
396 remaining_bytes, in vmci_dispatch_dgs()
398 remaining_bytes); in vmci_dispatch_dgs()
[all …]
/linux-6.1.9/drivers/platform/x86/dell/
Ddell_rbu.c285 int remaining_bytes = 0; in packet_read_list() local
292 remaining_bytes = *pread_length; in packet_read_list()
297 remaining_bytes, bytes_read, &temp_count); in packet_read_list()
298 remaining_bytes -= bytes_copied; in packet_read_list()
305 if (remaining_bytes == 0) in packet_read_list()
/linux-6.1.9/samples/nitro_enclaves/
Dne_ioctl_sample.c365 size_t remaining_bytes = 0; in ne_load_enclave_image() local
378 remaining_bytes = enclave_image_size - image_written_bytes; in ne_load_enclave_image()
379 bytes_to_write = memory_size < remaining_bytes ? in ne_load_enclave_image()
380 memory_size : remaining_bytes; in ne_load_enclave_image()
/linux-6.1.9/fs/ecryptfs/
Dkeystore.c619 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, in ecryptfs_write_tag_70_packet() argument
679 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
682 (*remaining_bytes)); in ecryptfs_write_tag_70_packet()
838 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet()
2019 write_tag_1_packet(char *dest, size_t *remaining_bytes, in write_tag_1_packet() argument
2068 if (max_packet_size > (*remaining_bytes)) { in write_tag_1_packet()
2071 "available\n", max_packet_size, (*remaining_bytes)); in write_tag_1_packet()
2096 (*remaining_bytes) -= (*packet_size); in write_tag_1_packet()
2111 write_tag_11_packet(char *dest, size_t *remaining_bytes, char *contents, in write_tag_11_packet() argument
2128 if (max_packet_size > (*remaining_bytes)) { in write_tag_11_packet()
[all …]
Dcrypto.c1466 size_t remaining_bytes; in ecryptfs_encrypt_filename() local
1486 remaining_bytes = filename->encrypted_filename_size; in ecryptfs_encrypt_filename()
1488 &remaining_bytes, in ecryptfs_encrypt_filename()
Decryptfs_kernel.h691 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
/linux-6.1.9/drivers/hid/
Dhid-sensor-hub.c197 int remaining_bytes; in sensor_hub_set_feature() local
208 remaining_bytes = buffer_size % sizeof(__s32); in sensor_hub_set_feature()
220 if (remaining_bytes) { in sensor_hub_set_feature()
222 memcpy(&value, (u8 *)buf32, remaining_bytes); in sensor_hub_set_feature()
/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c2048 int remaining_bytes; in kvaser_usb_hydra_read_bulk_callback() local
2054 remaining_bytes = min_t(unsigned int, len, in kvaser_usb_hydra_read_bulk_callback()
2057 if (remaining_bytes + usb_rx_leftover_len > in kvaser_usb_hydra_read_bulk_callback()
2065 remaining_bytes); in kvaser_usb_hydra_read_bulk_callback()
2066 pos += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()
2068 if (remaining_bytes + usb_rx_leftover_len == cmd_len) { in kvaser_usb_hydra_read_bulk_callback()
2073 usb_rx_leftover_len += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()
/linux-6.1.9/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-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c10229 u16 remaining_bytes = 0; in ipw_tx_skb() local
10233 remaining_bytes += txb->fragments[j]->len - hdr_len; in ipw_tx_skb()
10236 remaining_bytes); in ipw_tx_skb()
10237 skb = alloc_skb(remaining_bytes, GFP_ATOMIC); in ipw_tx_skb()
10239 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); in ipw_tx_skb()
10254 remaining_bytes, in ipw_tx_skb()
/linux-6.1.9/fs/cifs/
Dsmb2pdu.c4064 unsigned int remaining_bytes, int request_type) in smb2_new_read_req() argument
4147 if (remaining_bytes > io_parms->length) in smb2_new_read_req()
4148 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()