Searched refs:cur_offset (Results 1 – 14 of 14) sorted by relevance
/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 144 if (fc->sgc.cur_offset == NULL) in esas2r_fmapi_callback() 186 if (sgc->cur_offset) in build_flash_msg() 187 cksum = esas2r_calc_byte_xor_cksum(sgc->cur_offset, in build_flash_msg() 210 if (sgc->cur_offset) { in build_flash_msg() 368 fc->sgc.cur_offset = fc->sgc_offset + in fw_download_proc() 393 fc->sgc.cur_offset = fc->sgc_offset + in fw_download_proc() 407 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc() 431 fc->sgc.cur_offset = fc->sgc_offset + in fw_download_proc() 442 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc() 467 fc->sgc.cur_offset = fc->sgc_offset + in fw_download_proc() [all …]
|
D | esas2r_ioctl.c | 93 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api() 102 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api_header() 153 a->fm_api_sgc.cur_offset = a->save_offset; in do_fm_api() 192 int offset = (u8 *)sgc->cur_offset - esas2r_buffered_ioctl; in get_physaddr_buffered_ioctl() 263 sgc.cur_offset = esas2r_buffered_ioctl + bi->offset; in handle_buffered_ioctl() 1012 sgc->cur_offset += offsetof(struct atto_ioctl, data.byte) in hba_ioctl_callback() 1842 int offset = (u8 *)sgc->cur_offset - (u8 *)a->vda_buffer; in get_physaddr_vda() 1878 sgc.cur_offset = a->vda_buffer + VDA_BUFFER_HEADER_SZ; in esas2r_read_vda() 1963 u32 offset = (u8 *)sgc->cur_offset - (u8 *)fs; in get_physaddr_fs_api() 2007 sgc.cur_offset = fs->data; in esas2r_read_fs()
|
D | esas2r_vda.c | 135 u8 *cmdcurr_offset = sgc->cur_offset in esas2r_process_vda_ioctl() 162 cmdcurr_offset = sgc->cur_offset; in esas2r_process_vda_ioctl() 195 sgc->cur_offset = cmdcurr_offset; in esas2r_process_vda_ioctl()
|
D | esas2r_io.c | 312 sgc->cur_offset += len; in esas2r_build_sg_list_sge() 423 sgc->cur_offset += len; in esas2r_build_prd_iblk() 496 sgc->cur_offset += len; in esas2r_build_prd_iblk()
|
D | esas2r_main.c | 822 if (likely(sgc->cur_offset == sgc->exp_offset)) { in get_physaddr_from_sgc() 846 } else if (sgc->cur_offset < sgc->exp_offset) { in get_physaddr_from_sgc() 859 (sgc->cur_offset - sgc->exp_offset); in get_physaddr_from_sgc() 865 sgc->exp_offset - sgc->cur_offset); in get_physaddr_from_sgc() 920 sgc.cur_offset = NULL; in esas2r_queuecommand()
|
D | esas2r_disc.c | 896 sgc.cur_offset = NULL; in esas2r_disc_passthru_dev_addr()
|
D | esas2r.h | 604 u8 *cur_offset; member
|
/drivers/mtd/ |
D | mtdpart.c | 354 uint64_t cur_offset) in allocate_partition() argument 450 slave->offset = cur_offset; in allocate_partition() 452 slave->offset = cur_offset; in allocate_partition() 453 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition() 455 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition() 458 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition() 462 slave->offset = cur_offset; in allocate_partition() 671 uint64_t cur_offset = 0; in add_mtd_partitions() local 677 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions() 699 cur_offset = slave->offset + slave->mtd.size; in add_mtd_partitions()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 266 const struct vmw_surface_offset *cur_offset = &srf->offsets[i]; in vmw_surface_dma_encode() local 273 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode() 277 body->host.face = cur_offset->face; in vmw_surface_dma_encode() 278 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode() 708 struct vmw_surface_offset *cur_offset; in vmw_surface_define_ioctl() local 797 cur_offset = srf->offsets; in vmw_surface_define_ioctl() 805 cur_offset->face = i; in vmw_surface_define_ioctl() 806 cur_offset->mip = j; in vmw_surface_define_ioctl() 807 cur_offset->bo_offset = cur_bo_offset; in vmw_surface_define_ioctl() 810 ++cur_offset; in vmw_surface_define_ioctl()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | llog_client.c | 149 __u64 *cur_offset, void *buf, int len) in llog_client_next_block() argument 173 body->lgd_cur_offset = *cur_offset; in llog_client_next_block() 195 *cur_offset = body->lgd_cur_offset; in llog_client_next_block()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | llog.c | 217 __u64 cur_offset = LLOG_CHUNK_SIZE; in llog_process_thread() local 257 last_offset = cur_offset; in llog_process_thread() 259 index, &cur_offset, buf, LLOG_CHUNK_SIZE); in llog_process_thread()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_log.h | 351 int next_idx, __u64 *cur_offset, void *buf, in llog_next_block() argument 364 cur_offset, buf, len); in llog_next_block()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 60 u32 cur_offset = 0; in bnx2i_get_write_cmd_bd_idx() local 64 while (buf_off >= (cur_offset + bd_tbl->buffer_length)) { in bnx2i_get_write_cmd_bd_idx() 65 cur_offset += bd_tbl->buffer_length; in bnx2i_get_write_cmd_bd_idx() 71 *start_bd_off = buf_off - cur_offset; in bnx2i_get_write_cmd_bd_idx()
|
/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 1467 len = txmsg->cur_len - txmsg->cur_offset; in process_single_tx_qlock() 1481 memcpy(&chunk[idx], &txmsg->msg[txmsg->cur_offset], tosend); in process_single_tx_qlock() 1492 txmsg->cur_offset += tosend; in process_single_tx_qlock() 1493 if (txmsg->cur_offset == txmsg->cur_len) { in process_single_tx_qlock()
|