/linux-4.4.14/fs/btrfs/ |
D | inode-item.c | 33 u32 cur_offset = 0; in find_name_in_backref() local 39 while (cur_offset < item_size) { in find_name_in_backref() 40 ref = (struct btrfs_inode_ref *)(ptr + cur_offset); in find_name_in_backref() 43 cur_offset += len + sizeof(*ref); in find_name_in_backref() 63 u32 cur_offset = 0; in btrfs_find_name_in_ext_backref() local 76 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref() 77 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref() 89 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
|
D | file.c | 2292 u64 cur_offset; in btrfs_punch_hole() local 2460 cur_offset = lockstart; in btrfs_punch_hole() 2461 len = lockend - cur_offset; in btrfs_punch_hole() 2462 while (cur_offset < lockend) { in btrfs_punch_hole() 2464 cur_offset, lockend + 1, in btrfs_punch_hole() 2471 if (cur_offset < ino_size) { in btrfs_punch_hole() 2472 ret = fill_holes(trans, inode, path, cur_offset, in btrfs_punch_hole() 2480 cur_offset = drop_end; in btrfs_punch_hole() 2503 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole() 2536 if (cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole() [all …]
|
D | inode.c | 1227 u64 cur_offset; in run_delalloc_nocow() local 1276 cur_offset = start; in run_delalloc_nocow() 1279 cur_offset, 0); in run_delalloc_nocow() 1318 if (found_key.offset > cur_offset) { in run_delalloc_nocow() 1356 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow() 1357 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow() 1392 cow_start = cur_offset; in run_delalloc_nocow() 1393 cur_offset = extent_end; in run_delalloc_nocow() 1394 if (cur_offset > end) in run_delalloc_nocow() 1419 em->start = cur_offset; in run_delalloc_nocow() [all …]
|
D | tree-log.c | 1060 u32 cur_offset = 0; in __add_inode_ref() local 1069 while (cur_offset < item_size) { in __add_inode_ref() 1070 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref() 1119 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref() 1344 u32 cur_offset = 0; in count_inode_extrefs() local 1360 cur_offset = 0; in count_inode_extrefs() 1362 while (cur_offset < item_size) { in count_inode_extrefs() 1363 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs() 1368 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs() 4461 u32 cur_offset = 0; in btrfs_check_ref_name_override() local [all …]
|
D | backref.c | 1840 u32 cur_offset; local 1868 cur_offset = 0; 1870 while (cur_offset < item_size) { 1873 extref = (struct btrfs_inode_extref *)(ptr + cur_offset); 1881 cur_offset += btrfs_inode_extref_name_len(eb, extref); 1882 cur_offset += sizeof(*extref);
|
D | volumes.c | 6457 u32 cur_offset; in btrfs_read_sys_array() local 6491 cur_offset = 0; in btrfs_read_sys_array() 6493 while (cur_offset < array_size) { in btrfs_read_sys_array() 6496 if (cur_offset + len > array_size) in btrfs_read_sys_array() 6503 cur_offset += len; in btrfs_read_sys_array() 6512 if (cur_offset + len > array_size) in btrfs_read_sys_array() 6519 num_stripes, cur_offset); in btrfs_read_sys_array() 6525 if (cur_offset + len > array_size) in btrfs_read_sys_array() 6537 cur_offset += len; in btrfs_read_sys_array() 6544 len, cur_offset); in btrfs_read_sys_array()
|
D | send.c | 1157 u64 cur_offset; member 1214 offset == bctx->cur_offset) { in __iterate_backrefs() 1247 if (offset + bctx->extent_len > bctx->cur_offset) in __iterate_backrefs() 1367 backref_ctx->cur_offset = data_offset; in find_extent_clone() 5690 u32 cur_offset = 0; in compare_refs() local 5705 while (cur_offset < item_size) { in compare_refs() 5707 cur_offset); in compare_refs() 5710 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()
|
/linux-4.4.14/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
|
/linux-4.4.14/fs/squashfs/ |
D | file.c | 245 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local 267 cur_offset = meta_entry->offset; in fill_meta_index() 274 cur_offset, cur_data_block); in fill_meta_index() 286 &cur_index_block, &cur_offset); in fill_meta_index() 303 meta_entry->offset = cur_offset; in fill_meta_index() 317 *index_offset = cur_offset; in fill_meta_index()
|
/linux-4.4.14/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() 660 uint64_t cur_offset = 0; in add_mtd_partitions() local 666 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions() 679 cur_offset = slave->offset + slave->mtd.size; in add_mtd_partitions()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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 794 cur_offset = srf->offsets; in vmw_surface_define_ioctl() 802 cur_offset->face = i; in vmw_surface_define_ioctl() 803 cur_offset->mip = j; in vmw_surface_define_ioctl() 804 cur_offset->bo_offset = cur_bo_offset; in vmw_surface_define_ioctl() 807 ++cur_offset; in vmw_surface_define_ioctl()
|
/linux-4.4.14/scripts/ |
D | recordmcount.pl | 463 foreach my $cur_offset (@offsets) { 464 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
|
/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/include/drm/ |
D | drm_dp_mst_helper.h | 362 u8 cur_offset; member
|
/linux-4.4.14/fs/ |
D | direct-io.c | 719 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local 738 cur_offset != bio_next_offset) in dio_send_cur_page()
|
/linux-4.4.14/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()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 1450 len = txmsg->cur_len - txmsg->cur_offset; in process_single_tx_qlock() 1464 memcpy(&chunk[idx], &txmsg->msg[txmsg->cur_offset], tosend); in process_single_tx_qlock() 1475 txmsg->cur_offset += tosend; in process_single_tx_qlock() 1476 if (txmsg->cur_offset == txmsg->cur_len) { in process_single_tx_qlock()
|
/linux-4.4.14/fs/cifs/ |
D | file.c | 3127 char *cur_offset; in cifs_read() local 3161 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read() 3162 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 3186 &bytes_read, &cur_offset, in cifs_read()
|