Searched refs:remaining_bytes (Results 1 – 7 of 7) sorted by relevance
| /linux/samples/nitro_enclaves/ |
| H A D | ne_ioctl_sample.c | 365 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/drivers/hid/ |
| H A D | hid-sensor-hub.c | 197 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/drivers/net/can/usb/kvaser_usb/ |
| H A D | kvaser_usb_hydra.c | 2122 int remaining_bytes; in kvaser_usb_hydra_read_bulk_callback() local 2128 remaining_bytes = min_t(unsigned int, len, in kvaser_usb_hydra_read_bulk_callback() 2131 if (remaining_bytes + usb_rx_leftover_len > in kvaser_usb_hydra_read_bulk_callback() 2139 remaining_bytes); in kvaser_usb_hydra_read_bulk_callback() 2140 pos += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback() 2142 if (remaining_bytes + usb_rx_leftover_len == cmd_len) { in kvaser_usb_hydra_read_bulk_callback() 2147 usb_rx_leftover_len += remaining_bytes; in kvaser_usb_hydra_read_bulk_callback()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | pci.c | 910 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_read_mem() local 945 remaining_bytes = nbytes; in ath10k_pci_diag_read_mem() 947 while (remaining_bytes) { in ath10k_pci_diag_read_mem() 948 nbytes = min_t(unsigned int, remaining_bytes, in ath10k_pci_diag_read_mem() 993 remaining_bytes -= nbytes; in ath10k_pci_diag_read_mem() 1056 unsigned int completed_nbytes, alloc_nbytes, remaining_bytes; in ath10k_pci_diag_write_mem() local 1092 remaining_bytes = nbytes; in ath10k_pci_diag_write_mem() 1093 while (remaining_bytes) { in ath10k_pci_diag_write_mem() 1095 nbytes = min_t(int, remaining_bytes, DIAG_TRANSFER_LIMIT); in ath10k_pci_diag_write_mem() 1146 remaining_bytes -= nbytes; in ath10k_pci_diag_write_mem()
|
| /linux/fs/ecryptfs/ |
| H A D | ecryptfs_kernel.h | 680 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2200.c | 10192 u16 remaining_bytes = 0; in ipw_tx_skb() local 10196 remaining_bytes += txb->fragments[j]->len - hdr_len; in ipw_tx_skb() 10199 remaining_bytes); in ipw_tx_skb() 10200 skb = alloc_skb(remaining_bytes, GFP_ATOMIC); in ipw_tx_skb() 10202 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); in ipw_tx_skb() 10217 remaining_bytes, in ipw_tx_skb()
|
| /linux/fs/smb/client/ |
| H A D | smb2pdu.c | 4516 unsigned int remaining_bytes, int request_type) in smb2_new_read_req() argument 4595 if (remaining_bytes > io_parms->length) in smb2_new_read_req() 4596 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
|