Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 - 25 of 71) sorted by relevance

123

/kernel/linux/linux-6.6/virt/kvm/
H A Ddirty_ring.c107 u64 cur_offset, next_offset; in kvm_dirty_ring_reset() local
114 cur_slot = cur_offset = mask = 0; in kvm_dirty_ring_reset()
135 s64 delta = next_offset - cur_offset; in kvm_dirty_ring_reset()
145 cur_offset = next_offset; in kvm_dirty_ring_reset()
150 kvm_reset_dirty_gfn(kvm, cur_slot, cur_offset, mask); in kvm_dirty_ring_reset()
152 cur_offset = next_offset; in kvm_dirty_ring_reset()
157 kvm_reset_dirty_gfn(kvm, cur_slot, cur_offset, mask); in kvm_dirty_ring_reset()
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dmokvar-table.c104 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()
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Dmokvar-table.c104 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()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_btf.c77 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()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dinode-item.c19 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()
H A Dfile.c2618 u64 cur_offset; in btrfs_replace_file_extents() local
2657 cur_offset = start; in btrfs_replace_file_extents()
2658 while (cur_offset < end) { in btrfs_replace_file_extents()
2660 cur_offset, end + 1, &drop_end, in btrfs_replace_file_extents()
2680 if (!extent_info && cur_offset < drop_end && in btrfs_replace_file_extents()
2681 cur_offset < ino_size) { in btrfs_replace_file_extents()
2683 cur_offset, drop_end); in btrfs_replace_file_extents()
2694 } else if (!extent_info && cur_offset < drop_end) { in btrfs_replace_file_extents()
2702 cur_offset, drop_end - cur_offset); in btrfs_replace_file_extents()
3288 u64 cur_offset; btrfs_fallocate() local
3443 data_reserved, cur_offset, btrfs_fallocate() local
3483 cur_offset, alloc_end - cur_offset); btrfs_fallocate() local
[all...]
H A Dinode.c1457 u64 cur_offset = start; in run_delalloc_nocow() local
1491 cur_offset, 0); in run_delalloc_nocow()
1516 cur_offset = cow_start; in run_delalloc_nocow()
1548 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
1575 if (extent_end <= cur_offset) { in run_delalloc_nocow()
1613 cur_offset = cow_start; in run_delalloc_nocow()
1621 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1622 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1643 cur_offset = cow_start; in run_delalloc_nocow()
1671 cow_start = cur_offset; in run_delalloc_nocow()
4766 u64 cur_offset; btrfs_cont_expand() local
4810 btrfs_drop_extent_cache(BTRFS_I(inode), cur_offset, btrfs_cont_expand() local
4836 cur_offset, btrfs_cont_expand() local
9786 u64 cur_offset = start; __btrfs_prealloc_file_range() local
9837 btrfs_drop_extent_cache(BTRFS_I(inode), cur_offset, __btrfs_prealloc_file_range() local
9863 btrfs_drop_extent_cache(BTRFS_I(inode), cur_offset, __btrfs_prealloc_file_range() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/
H A Dmtdpart.c36 int partno, uint64_t cur_offset) in allocate_partition()
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()
34 allocate_partition(struct mtd_info *parent, const struct mtd_partition *part, int partno, uint64_t cur_offset) allocate_partition() argument
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtdpart.c43 int partno, uint64_t cur_offset) in allocate_partition()
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()
431 cur_offset = child->part.offset + child->part.size; in add_mtd_partitions()
41 allocate_partition(struct mtd_info *parent, const struct mtd_partition *part, int partno, uint64_t cur_offset) allocate_partition() argument
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
H A Desas2r_flash.c144 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 in fw_download_proc()
[all...]
H A Desas2r_vda.c135 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()
/kernel/linux/linux-6.6/drivers/scsi/esas2r/
H A Desas2r_flash.c144 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 in fw_download_proc()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c212 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()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dinode-item.c26 u32 cur_offset = 0; in btrfs_find_name_in_backref() local
31 while (cur_offset < item_size) { in btrfs_find_name_in_backref()
32 ref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_find_name_in_backref()
35 cur_offset += len + sizeof(*ref); in btrfs_find_name_in_backref()
53 u32 cur_offset = 0; in btrfs_find_name_in_ext_backref() local
65 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref()
66 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref()
76 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
H A Dfile.c2341 u64 cur_offset; in btrfs_replace_file_extents() local
2380 cur_offset = start; in btrfs_replace_file_extents()
2384 while (cur_offset < end) { in btrfs_replace_file_extents()
2385 drop_args.start = cur_offset; in btrfs_replace_file_extents()
2409 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents()
2410 cur_offset < ino_size) { in btrfs_replace_file_extents()
2411 ret = fill_holes(trans, inode, path, cur_offset, in btrfs_replace_file_extents()
2423 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents()
2431 cur_offset, in btrfs_replace_file_extents()
2432 drop_args.drop_end - cur_offset); in btrfs_replace_file_extents()
3031 u64 cur_offset; btrfs_fallocate() local
3347 u64 cur_offset = round_down(start, inode->root->fs_info->sectorsize); btrfs_find_delalloc_in_range() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c208 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()
/kernel/linux/linux-5.10/fs/squashfs/
H A Dfile.c236 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()
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/
H A Dlm.c133 unsigned long cur_offset = 0; in pds_vfio_get_file_page() local
144 cur_offset = lm_file->last_offset; in pds_vfio_get_file_page()
148 if (offset < sg->length + cur_offset) { in pds_vfio_get_file_page()
151 lm_file->last_offset = cur_offset; in pds_vfio_get_file_page()
153 (offset - cur_offset) / PAGE_SIZE); in pds_vfio_get_file_page()
155 cur_offset += sg->length; in pds_vfio_get_file_page()
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-sparx5.c81 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()
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-sparx5.c81 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()
/kernel/linux/linux-6.6/fs/squashfs/
H A Dfile.c237 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()
/kernel/linux/linux-5.10/arch/arm64/net/
H A Dbpf_jit_comp.c201 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() macro
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.pl449 foreach my $cur_offset (@offsets) {
450 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c1599 int cur_offset[V4L2_AV1_TOTAL_REFS_PER_FRAME - 1]; in rockchip_vpu981_av1_dec_set_other_frames() local
1699 cur_offset[rf] = in rockchip_vpu981_av1_dec_set_other_frames()
1704 cur_offset[rf] = 0; in rockchip_vpu981_av1_dec_set_other_frames()
1723 cur_offset[mf_types[0] - V4L2_AV1_REF_LAST_FRAME] <= MAX_FRAME_DISTANCE && 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()
1763 cur_offset[mf_types[1] - 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()
1803 cur_offset[mf_types[2] - 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()
1834 hantro_reg_write(vpu, &av1_cur_last_offset, cur_offset[ in rockchip_vpu981_av1_dec_set_other_frames()
[all...]
/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.pl495 foreach my $cur_offset (@offsets) {
496 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;

Completed in 31 milliseconds

123