/linux-6.12.1/virt/kvm/ |
D | dirty_ring.c | 110 u64 cur_offset, next_offset; in kvm_dirty_ring_reset() local 117 cur_slot = cur_offset = mask = 0; in kvm_dirty_ring_reset() 138 s64 delta = next_offset - cur_offset; in kvm_dirty_ring_reset() 148 cur_offset = next_offset; in kvm_dirty_ring_reset() 153 kvm_reset_dirty_gfn(kvm, cur_slot, cur_offset, mask); in kvm_dirty_ring_reset() 155 cur_offset = next_offset; in kvm_dirty_ring_reset() 160 kvm_reset_dirty_gfn(kvm, cur_slot, cur_offset, mask); in kvm_dirty_ring_reset()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | bpf_arena_alloc.h | 25 int __arena *cur_offset = &page_frag_cur_offset[cpu]; in bpf_alloc() local 38 *cur_offset = PAGE_SIZE - 8; in bpf_alloc() 46 offset = *cur_offset - size; in bpf_alloc() 51 *cur_offset = offset; in bpf_alloc()
|
/linux-6.12.1/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-6.12.1/kernel/trace/ |
D | trace_btf.c | 77 u32 tid, cur_offset = 0; in btf_find_struct_member() local 98 cur_offset + member->offset; in btf_find_struct_member() 104 *anon_offset = cur_offset; in btf_find_struct_member() 112 cur_offset = anon_stack[top].offset; in btf_find_struct_member()
|
/linux-6.12.1/drivers/mtd/ |
D | mtdpart.c | 43 int partno, uint64_t cur_offset) in allocate_partition() argument 97 child->part.offset = cur_offset; in allocate_partition() 99 tmp = cur_offset; in allocate_partition() 100 child->part.offset = cur_offset; in allocate_partition() 106 (unsigned long long)cur_offset, in allocate_partition() 111 child->part.offset = cur_offset; in allocate_partition() 399 uint64_t cur_offset = 0; in add_mtd_partitions() local 406 child = allocate_partition(parent, parts + i, i, cur_offset); in add_mtd_partitions() 435 cur_offset = child->part.offset + child->part.size; in add_mtd_partitions()
|
/linux-6.12.1/drivers/vfio/pci/pds/ |
D | lm.c | 135 unsigned long cur_offset = 0; in pds_vfio_get_file_page() local 146 cur_offset = lm_file->last_offset; in pds_vfio_get_file_page() 150 if (offset < sg->length + cur_offset) { in pds_vfio_get_file_page() 153 lm_file->last_offset = cur_offset; in pds_vfio_get_file_page() 155 (offset - cur_offset) / PAGE_SIZE); in pds_vfio_get_file_page() 157 cur_offset += sg->length; in pds_vfio_get_file_page()
|
/linux-6.12.1/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 | 95 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api() 104 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api_header() 155 a->fm_api_sgc.cur_offset = a->save_offset; in do_fm_api() 194 int offset = (u8 *)sgc->cur_offset - esas2r_buffered_ioctl; in get_physaddr_buffered_ioctl() 265 sgc.cur_offset = esas2r_buffered_ioctl + bi->offset; in handle_buffered_ioctl() 1003 sgc->cur_offset += offsetof(struct atto_ioctl, data.byte) in hba_ioctl_callback() 1812 int offset = (u8 *)sgc->cur_offset - (u8 *)a->vda_buffer; in get_physaddr_vda() 1848 sgc.cur_offset = a->vda_buffer + VDA_BUFFER_HEADER_SZ; in esas2r_read_vda() 1933 u32 offset = (u8 *)sgc->cur_offset - (u8 *)fs; in get_physaddr_fs_api() 1977 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()
|
/linux-6.12.1/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 208 unsigned long cur_offset; in pread_adi() local 211 cur_offset = offset; in pread_adi() 215 cur_offset); in pread_adi() 223 cur_offset += ret; in pread_adi() 263 unsigned long cur_offset; in pwrite_adi() local 266 cur_offset = offset; in pwrite_adi() 271 buf_sz - bytes_written, cur_offset); in pwrite_adi() 282 cur_offset += ret; in pwrite_adi()
|
/linux-6.12.1/fs/btrfs/ |
D | inode-item.c | 25 u32 cur_offset = 0; in btrfs_find_name_in_backref() local 30 while (cur_offset < item_size) { in btrfs_find_name_in_backref() 31 ref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_find_name_in_backref() 34 cur_offset += len + sizeof(*ref); in btrfs_find_name_in_backref() 52 u32 cur_offset = 0; in btrfs_find_name_in_ext_backref() local 64 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref() 65 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref() 75 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
|
D | file.c | 2373 u64 cur_offset; in btrfs_replace_file_extents() local 2412 cur_offset = start; in btrfs_replace_file_extents() 2416 while (cur_offset < end) { in btrfs_replace_file_extents() 2417 drop_args.start = cur_offset; in btrfs_replace_file_extents() 2441 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents() 2442 cur_offset < ino_size) { in btrfs_replace_file_extents() 2443 ret = fill_holes(trans, inode, path, cur_offset, in btrfs_replace_file_extents() 2455 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents() 2463 cur_offset, in btrfs_replace_file_extents() 2464 drop_args.drop_end - cur_offset); in btrfs_replace_file_extents() [all …]
|
D | fiemap.c | 446 u64 cur_offset = start; in fiemap_process_hole() local 456 while (cur_offset < end && cur_offset < i_size) { in fiemap_process_hole() 463 delalloc = btrfs_find_delalloc_in_range(inode, cur_offset, end, in fiemap_process_hole() 513 cur_offset = delalloc_end + 1; in fiemap_process_hole() 514 extent_offset += cur_offset - delalloc_start; in fiemap_process_hole()
|
D | inode.c | 2019 u64 cur_offset = start; in run_delalloc_nocow() local 2041 while (cur_offset <= end) { in run_delalloc_nocow() 2054 cur_offset, 0); in run_delalloc_nocow() 2108 if (found_key.offset > cur_offset) { in run_delalloc_nocow() 2133 if (extent_end <= cur_offset) { in run_delalloc_nocow() 2138 nocow_args.start = cur_offset; in run_delalloc_nocow() 2159 cow_start = cur_offset; in run_delalloc_nocow() 2160 cur_offset = extent_end; in run_delalloc_nocow() 2161 if (cur_offset > end) in run_delalloc_nocow() 2184 nocow_end = cur_offset + nocow_args.file_extent.num_bytes - 1; in run_delalloc_nocow() [all …]
|
D | compression.c | 1165 u32 cur_offset; in btrfs_decompress_buf2page() local 1167 cur_offset = decompressed; in btrfs_decompress_buf2page() 1169 while (cur_offset < decompressed + buf_len) { in btrfs_decompress_buf2page() 1187 copy_start = max(cur_offset, bvec_offset); in btrfs_decompress_buf2page() 1199 cur_offset += copy_len; in btrfs_decompress_buf2page()
|
D | tree-log.c | 1150 u32 cur_offset = 0; in __add_inode_ref() local 1159 while (cur_offset < item_size) { in __add_inode_ref() 1162 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref() 1203 cur_offset += victim_name.len + sizeof(*extref); in __add_inode_ref() 1511 u32 cur_offset = 0; in count_inode_extrefs() local 1527 cur_offset = 0; in count_inode_extrefs() 1529 while (cur_offset < item_size) { in count_inode_extrefs() 1530 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs() 1535 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs() 5298 u32 cur_offset = 0; in btrfs_check_ref_name_override() local [all …]
|
/linux-6.12.1/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-6.12.1/fs/squashfs/ |
D | file.c | 237 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local 259 cur_offset = meta_entry->offset; in fill_meta_index() 266 cur_offset, cur_data_block); in fill_meta_index() 278 &cur_index_block, &cur_offset); in fill_meta_index() 295 meta_entry->offset = cur_offset; in fill_meta_index() 309 *index_offset = cur_offset; in fill_meta_index()
|
/linux-6.12.1/scripts/ |
D | recordmcount.pl | 442 foreach my $cur_offset (@offsets) { 443 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
|
/linux-6.12.1/drivers/media/platform/verisilicon/ |
D | rockchip_vpu981_hw_av1_dec.c | 1600 int cur_offset[V4L2_AV1_TOTAL_REFS_PER_FRAME - 1]; in rockchip_vpu981_av1_dec_set_other_frames() local 1700 cur_offset[rf] = in rockchip_vpu981_av1_dec_set_other_frames() 1705 cur_offset[rf] = 0; in rockchip_vpu981_av1_dec_set_other_frames() 1724 cur_offset[mf_types[0] - V4L2_AV1_REF_LAST_FRAME] <= MAX_FRAME_DISTANCE && in rockchip_vpu981_av1_dec_set_other_frames() 1725 cur_offset[mf_types[0] - V4L2_AV1_REF_LAST_FRAME] >= -MAX_FRAME_DISTANCE) { in rockchip_vpu981_av1_dec_set_other_frames() 1764 cur_offset[mf_types[1] - V4L2_AV1_REF_LAST_FRAME] <= MAX_FRAME_DISTANCE && in rockchip_vpu981_av1_dec_set_other_frames() 1765 cur_offset[mf_types[1] - V4L2_AV1_REF_LAST_FRAME] >= -MAX_FRAME_DISTANCE) { in rockchip_vpu981_av1_dec_set_other_frames() 1804 cur_offset[mf_types[2] - V4L2_AV1_REF_LAST_FRAME] <= MAX_FRAME_DISTANCE && in rockchip_vpu981_av1_dec_set_other_frames() 1805 cur_offset[mf_types[2] - V4L2_AV1_REF_LAST_FRAME] >= -MAX_FRAME_DISTANCE) { in rockchip_vpu981_av1_dec_set_other_frames() 1835 hantro_reg_write(vpu, &av1_cur_last_offset, cur_offset[0]); in rockchip_vpu981_av1_dec_set_other_frames() [all …]
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 310 const struct vmw_surface_offset *cur_offset = &srf->offsets[i]; in vmw_surface_dma_encode() local 317 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode() 320 body->host.face = cur_offset->face; in vmw_surface_dma_encode() 321 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode() 741 struct vmw_surface_offset *cur_offset; in vmw_surface_define_ioctl() local 803 cur_offset = srf->offsets; in vmw_surface_define_ioctl() 811 cur_offset->face = i; in vmw_surface_define_ioctl() 812 cur_offset->mip = j; in vmw_surface_define_ioctl() 813 cur_offset->bo_offset = cur_bo_offset; in vmw_surface_define_ioctl() 816 ++cur_offset; in vmw_surface_define_ioctl()
|
/linux-6.12.1/drivers/vfio/pci/mlx5/ |
D | main.c | 41 unsigned long cur_offset = 0; in mlx5vf_get_migration_page() local 52 cur_offset = buf->last_offset; in mlx5vf_get_migration_page() 56 if (offset < sg->length + cur_offset) { in mlx5vf_get_migration_page() 59 buf->last_offset = cur_offset; in mlx5vf_get_migration_page() 61 (offset - cur_offset) / PAGE_SIZE); in mlx5vf_get_migration_page() 63 cur_offset += sg->length; in mlx5vf_get_migration_page()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | init.c | 461 int max_offset, cur_offset; in mt7603_init_txpower() local 473 cur_offset = mt7603_txpower_signed(rate_power[i]); in mt7603_init_txpower() 474 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
|
/linux-6.12.1/arch/loongarch/net/ |
D | bpf_jit.c | 222 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call() macro 223 #define jmp_offset (out_offset - (cur_offset)) in emit_bpf_tail_call() 266 out_offset = cur_offset; in emit_bpf_tail_call() 267 if (cur_offset != out_offset) { in emit_bpf_tail_call() 269 cur_offset, out_offset); in emit_bpf_tail_call() 278 #undef cur_offset in emit_bpf_tail_call()
|