Searched refs:rest_len (Results 1 – 3 of 3) sorted by relevance
333 u32 raw_len, rest_len = fw->size - IOSM_DEVLINK_HDR_SIZE; in ipc_flash_download_region() local346 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()
549 u32 bufaddr, int rest_len) in prism2_download_block() argument554 block_len = rest_len < 4096 ? rest_len : 4096; in prism2_download_block()648 int rest_len = dl->data[i].len; in prism2_download_nonvolatile() local651 while (rest_len > 0) { in prism2_download_nonvolatile()657 rest_len); in prism2_download_nonvolatile()664 rest_len -= block_len; in prism2_download_nonvolatile()
2312 unsigned int rest_len; in cifs_writev_requeue() local2316 rest_len = wdata->bytes; in cifs_writev_requeue()2322 if (wsize < rest_len) { in cifs_writev_requeue()2331 nr_pages = DIV_ROUND_UP(rest_len, PAGE_SIZE); in cifs_writev_requeue()2332 cur_len = rest_len; in cifs_writev_requeue()2333 tailsz = rest_len - (nr_pages - 1) * PAGE_SIZE; in cifs_writev_requeue()2385 rest_len -= cur_len; in cifs_writev_requeue()