Home
last modified time | relevance | path

Searched refs:rest_len (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/wwan/iosm/
Diosm_ipc_flash.c333 u32 raw_len, rest_len = fw->size - IOSM_DEVLINK_HDR_SIZE; in ipc_flash_download_region() local
346 reg_info[1] = cpu_to_le32(nand_address + rest_len - 2); in ipc_flash_download_region()
366 FLASH_WRITE_IMAGE_RAW, (u8 *)&rest_len, in ipc_flash_download_region()
372 raw_len = (rest_len > IOSM_FLS_BUF_SIZE) ? IOSM_FLS_BUF_SIZE : in ipc_flash_download_region()
373 rest_len; in ipc_flash_download_region()
381 rest_len -= raw_len; in ipc_flash_download_region()
382 } while (rest_len); in ipc_flash_download_region()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_download.c549 u32 bufaddr, int rest_len) in prism2_download_block() argument
554 block_len = rest_len < 4096 ? rest_len : 4096; in prism2_download_block()
648 int rest_len = dl->data[i].len; in prism2_download_nonvolatile() local
651 while (rest_len > 0) { in prism2_download_nonvolatile()
657 rest_len); in prism2_download_nonvolatile()
664 rest_len -= block_len; in prism2_download_nonvolatile()
/linux-6.6.21/net/vmw_vsock/
Dvirtio_transport_common.c206 u32 rest_len; in virtio_transport_send_pkt_info() local
234 rest_len = pkt_len; in virtio_transport_send_pkt_info()
240 skb_len = min_t(u32, VIRTIO_VSOCK_MAX_PKT_BUF_SIZE, rest_len); in virtio_transport_send_pkt_info()
262 rest_len -= ret; in virtio_transport_send_pkt_info()
268 } while (rest_len); in virtio_transport_send_pkt_info()
270 virtio_transport_put_credit(vvs, rest_len); in virtio_transport_send_pkt_info()
273 if (rest_len != pkt_len) in virtio_transport_send_pkt_info()
274 ret = pkt_len - rest_len; in virtio_transport_send_pkt_info()
/linux-6.6.21/fs/smb/client/
Dfile.c2444 unsigned int rest_len = wdata->bytes; in cifs_writev_requeue() local
2453 if (wsize < rest_len) { in cifs_writev_requeue()
2458 cur_len = min(round_down(wsize, PAGE_SIZE), rest_len); in cifs_writev_requeue()
2460 cur_len = rest_len; in cifs_writev_requeue()
2503 rest_len -= cur_len; in cifs_writev_requeue()
2508 rest_len -= cur_len; in cifs_writev_requeue()
2509 } while (rest_len > 0); in cifs_writev_requeue()
2513 cifs_pages_write_failed(inode, fpos, rest_len); in cifs_writev_requeue()