| /Linux-v5.10/drivers/firmware/efi/ |
| D | mokvar-table.c | 104 unsigned long cur_offset = 0; in efi_mokvar_table_init() local 136 while (cur_offset + sizeof(*mokvar_entry) <= offset_limit) { in efi_mokvar_table_init() 137 mokvar_entry = va + cur_offset; in efi_mokvar_table_init() 138 map_size_needed = cur_offset + sizeof(*mokvar_entry); in efi_mokvar_table_init() 156 mokvar_entry = va + cur_offset; in efi_mokvar_table_init() 174 cur_offset = map_size_needed + mokvar_entry->data_size; in efi_mokvar_table_init()
|
| /Linux-v5.10/fs/btrfs/ |
| D | inode-item.c | 19 u32 cur_offset = 0; in btrfs_find_name_in_backref() local 24 while (cur_offset < item_size) { in btrfs_find_name_in_backref() 25 ref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_find_name_in_backref() 28 cur_offset += len + sizeof(*ref); in btrfs_find_name_in_backref() 45 u32 cur_offset = 0; in btrfs_find_name_in_ext_backref() local 57 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref() 58 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref() 67 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
|
| D | file.c | 2612 u64 cur_offset; in btrfs_replace_file_extents() local 2651 cur_offset = start; in btrfs_replace_file_extents() 2652 while (cur_offset < end) { in btrfs_replace_file_extents() 2654 cur_offset, end + 1, &drop_end, in btrfs_replace_file_extents() 2672 if (!extent_info && cur_offset < drop_end && in btrfs_replace_file_extents() 2673 cur_offset < ino_size) { in btrfs_replace_file_extents() 2675 cur_offset, drop_end); in btrfs_replace_file_extents() 2686 } else if (!extent_info && cur_offset < drop_end) { in btrfs_replace_file_extents() 2694 cur_offset, drop_end - cur_offset); in btrfs_replace_file_extents() 2720 cur_offset = drop_end; in btrfs_replace_file_extents() [all …]
|
| D | inode.c | 1458 u64 cur_offset = start; in run_delalloc_nocow() local 1492 cur_offset, 0); in run_delalloc_nocow() 1517 cur_offset = cow_start; in run_delalloc_nocow() 1549 if (found_key.offset > cur_offset) { in run_delalloc_nocow() 1576 if (extent_end <= cur_offset) { in run_delalloc_nocow() 1614 cur_offset = cow_start; in run_delalloc_nocow() 1622 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow() 1623 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow() 1644 cur_offset = cow_start; in run_delalloc_nocow() 1672 cow_start = cur_offset; in run_delalloc_nocow() [all …]
|
| D | tree-log.c | 1070 u32 cur_offset = 0; in __add_inode_ref() local 1079 while (cur_offset < item_size) { in __add_inode_ref() 1080 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref() 1129 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref() 1586 u32 cur_offset = 0; in count_inode_extrefs() local 1602 cur_offset = 0; in count_inode_extrefs() 1604 while (cur_offset < item_size) { in count_inode_extrefs() 1605 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs() 1610 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs() 4780 u32 cur_offset = 0; in btrfs_check_ref_name_override() local [all …]
|
| D | backref.c | 2124 u32 cur_offset; local 2148 cur_offset = 0; 2150 while (cur_offset < item_size) { 2153 extref = (struct btrfs_inode_extref *)(ptr + cur_offset); 2161 cur_offset += btrfs_inode_extref_name_len(eb, extref); 2162 cur_offset += sizeof(*extref);
|
| D | send.c | 1188 u64 cur_offset; member 1243 offset == bctx->cur_offset) { in __iterate_backrefs() 1400 backref_ctx->cur_offset = data_offset; in find_extent_clone() 3615 u32 cur_offset = 0; in is_ancestor() local 3635 while (cur_offset < item_size) { in is_ancestor() 3645 (ptr + cur_offset); in is_ancestor() 3648 cur_offset += sizeof(*extref); in is_ancestor() 3649 cur_offset += btrfs_inode_extref_name_len(leaf, in is_ancestor() 3653 cur_offset = item_size; in is_ancestor() 6542 u32 cur_offset = 0; in compare_refs() local [all …]
|
| D | volumes.c | 6884 u32 cur_offset; in btrfs_read_sys_array() local 6919 cur_offset = 0; in btrfs_read_sys_array() 6921 while (cur_offset < array_size) { in btrfs_read_sys_array() 6924 if (cur_offset + len > array_size) in btrfs_read_sys_array() 6931 cur_offset += len; in btrfs_read_sys_array() 6936 (u32)key.type, cur_offset); in btrfs_read_sys_array() 6947 if (cur_offset + len > array_size) in btrfs_read_sys_array() 6954 num_stripes, cur_offset); in btrfs_read_sys_array() 6963 type, cur_offset); in btrfs_read_sys_array() 6969 if (cur_offset + len > array_size) in btrfs_read_sys_array() [all …]
|
| /Linux-v5.10/drivers/mtd/ |
| D | mtdpart.c | 36 int partno, uint64_t cur_offset) in allocate_partition() argument 90 child->part.offset = cur_offset; in allocate_partition() 92 tmp = cur_offset; in allocate_partition() 93 child->part.offset = cur_offset; in allocate_partition() 99 (unsigned long long)cur_offset, in allocate_partition() 104 child->part.offset = cur_offset; in allocate_partition() 398 uint64_t cur_offset = 0; in add_mtd_partitions() local 405 child = allocate_partition(parent, parts + i, i, cur_offset); in add_mtd_partitions() 430 cur_offset = child->part.offset + child->part.size; in add_mtd_partitions()
|
| /Linux-v5.10/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() 1008 sgc->cur_offset += offsetof(struct atto_ioctl, data.byte) in hba_ioctl_callback() 1817 int offset = (u8 *)sgc->cur_offset - (u8 *)a->vda_buffer; in get_physaddr_vda() 1853 sgc.cur_offset = a->vda_buffer + VDA_BUFFER_HEADER_SZ; in esas2r_read_vda() 1938 u32 offset = (u8 *)sgc->cur_offset - (u8 *)fs; in get_physaddr_fs_api() 1982 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 | 764 if (likely(sgc->cur_offset == sgc->exp_offset)) { in get_physaddr_from_sgc() 788 } else if (sgc->cur_offset < sgc->exp_offset) { in get_physaddr_from_sgc() 801 (sgc->cur_offset - sgc->exp_offset); in get_physaddr_from_sgc() 807 sgc->exp_offset - sgc->cur_offset); in get_physaddr_from_sgc() 862 sgc.cur_offset = NULL; in esas2r_queuecommand()
|
| /Linux-v5.10/fs/squashfs/ |
| D | file.c | 236 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local 258 cur_offset = meta_entry->offset; in fill_meta_index() 265 cur_offset, cur_data_block); in fill_meta_index() 277 &cur_index_block, &cur_offset); in fill_meta_index() 294 meta_entry->offset = cur_offset; in fill_meta_index() 308 *index_offset = cur_offset; in fill_meta_index()
|
| /Linux-v5.10/tools/testing/selftests/sparc64/drivers/ |
| D | adi-test.c | 212 unsigned long cur_offset; in pread_adi() local 215 cur_offset = offset; in pread_adi() 219 cur_offset); in pread_adi() 227 cur_offset += ret; in pread_adi() 267 unsigned long cur_offset; in pwrite_adi() local 270 cur_offset = offset; in pwrite_adi() 275 buf_sz - bytes_written, cur_offset); in pwrite_adi() 286 cur_offset += ret; in pwrite_adi()
|
| /Linux-v5.10/drivers/clk/ |
| D | clk-sparx5.c | 81 ulong cur_offset, best_offset = rate; in s5_search_fractional() local 95 cur_offset = abs(rate - conf->freq); in s5_search_fractional() 96 if (cur_offset < best_offset) { in s5_search_fractional() 97 best_offset = cur_offset; in s5_search_fractional()
|
| /Linux-v5.10/arch/arm64/net/ |
| D | bpf_jit_comp.c | 201 int cur_offset; in build_prologue() local 246 cur_offset = ctx->idx - idx0; in build_prologue() 247 if (cur_offset != PROLOGUE_OFFSET) { in build_prologue() 249 cur_offset, PROLOGUE_OFFSET); in build_prologue() 276 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call() macro 277 #define jmp_offset (out_offset - (cur_offset)) in emit_bpf_tail_call() 320 out_offset = cur_offset; in emit_bpf_tail_call() 321 if (cur_offset != out_offset) { in emit_bpf_tail_call() 323 cur_offset, out_offset); in emit_bpf_tail_call() 327 #undef cur_offset in emit_bpf_tail_call()
|
| /Linux-v5.10/scripts/ |
| D | recordmcount.pl | 491 foreach my $cur_offset (@offsets) { 492 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
|
| /Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_surface.c | 316 const struct vmw_surface_offset *cur_offset = &srf->offsets[i]; in vmw_surface_dma_encode() local 323 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode() 327 body->host.face = cur_offset->face; in vmw_surface_dma_encode() 328 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode() 748 struct vmw_surface_offset *cur_offset; in vmw_surface_define_ioctl() local 832 cur_offset = srf->offsets; in vmw_surface_define_ioctl() 840 cur_offset->face = i; in vmw_surface_define_ioctl() 841 cur_offset->mip = j; in vmw_surface_define_ioctl() 842 cur_offset->bo_offset = cur_bo_offset; in vmw_surface_define_ioctl() 845 ++cur_offset; in vmw_surface_define_ioctl()
|
| /Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
| D | init.c | 480 int max_offset, cur_offset; in mt7603_init_txpower() local 491 cur_offset = mt7603_txpower_signed(rate_power[i]); in mt7603_init_txpower() 492 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
|
| /Linux-v5.10/arch/arm/net/ |
| D | bpf_jit_32.c | 1160 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call() macro 1161 #define jmp_offset (out_offset - (cur_offset) - 2) in emit_bpf_tail_call() 1218 out_offset = cur_offset; in emit_bpf_tail_call() 1219 if (cur_offset != out_offset) { in emit_bpf_tail_call() 1221 cur_offset, out_offset); in emit_bpf_tail_call() 1225 #undef cur_offset in emit_bpf_tail_call()
|
| /Linux-v5.10/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-v5.10/fs/ceph/ |
| D | addr.c | 1100 u64 cur_offset = page_offset(pages[i]); in ceph_writepages_start() local 1101 if (offset + len != cur_offset) { in ceph_writepages_start() 1105 cur_offset - offset); in ceph_writepages_start() 1114 offset = cur_offset; in ceph_writepages_start()
|
| /Linux-v5.10/fs/ |
| D | direct-io.c | 749 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local 768 cur_offset != bio_next_offset) in dio_send_cur_page()
|