Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 25 of 54) sorted by relevance

123

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
2728 cur_offset = drop_end; in btrfs_replace_file_extents()
[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()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtdpart.c36 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()
/OK3568_Linux_fs/kernel/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 = fc->sgc_offset + in fw_download_proc()
[all …]
H A Desas2r_ioctl.c93 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()
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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A Dmtdpart.c573 int partno, uint64_t cur_offset) in allocate_partition() argument
673 slave->offset = cur_offset; in allocate_partition()
675 slave->offset = cur_offset; in allocate_partition()
676 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition()
678 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()
681 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition()
685 slave->offset = cur_offset; in allocate_partition()
871 uint64_t cur_offset = 0; in add_mtd_partitions() local
877 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()
887 cur_offset = slave->offset + slave->size; in add_mtd_partitions()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm64/net/
H A Dbpf_jit_comp.c202 int cur_offset; in build_prologue() local
247 cur_offset = ctx->idx - idx0; in build_prologue()
248 if (cur_offset != PROLOGUE_OFFSET) { in build_prologue()
250 cur_offset, PROLOGUE_OFFSET); in build_prologue()
277 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call() macro
278 #define jmp_offset (out_offset - (cur_offset)) in emit_bpf_tail_call()
321 out_offset = cur_offset; in emit_bpf_tail_call()
322 if (cur_offset != out_offset) { in emit_bpf_tail_call()
324 cur_offset, out_offset); in emit_bpf_tail_call()
328 #undef cur_offset in emit_bpf_tail_call()
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.4/scripts/
H A Drecordmcount.pl463 foreach my $cur_offset (@offsets) {
464 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.4/scripts/
H A Drecordmcount.pl463 foreach my $cur_offset (@offsets) {
464 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/OK3568_Linux_fs/u-boot/drivers/video/bridge/
H A Danx6345.c216 u8 cur_offset; in anx6345_read_aux_i2c() local
220 cur_offset = offset + i; in anx6345_read_aux_i2c()
222 chip_addr, &cur_offset, 1); in anx6345_read_aux_i2c()
/OK3568_Linux_fs/kernel/scripts/
H A Drecordmcount.pl495 foreach my $cur_offset (@offsets) {
496 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.19/scripts/
H A Drecordmcount.pl492 foreach my $cur_offset (@offsets) {
493 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-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;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-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;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.19/scripts/
H A Drecordmcount.pl492 foreach my $cur_offset (@offsets) {
493 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/
H A Dhal_av1d_vdpu.c998 RK_S32 cur_offset[MAX_REF_FRAMES_EX - 1]; in vdpu_av1d_set_reference_frames() local
1003 cur_offset[rf] = in vdpu_av1d_set_reference_frames()
1009 …(AV1D_DBG_LOG, "buf_idx[%d]=%d offset[%d : %d] hin %d\n", rf, buf_idx, cur_offset[rf], cur_roffset… in vdpu_av1d_set_reference_frames()
1011 cur_offset[rf] = 0; in vdpu_av1d_set_reference_frames()
1022 cur_offset[mf_types[0] - LAST_FRAME] <= MAX_FRAME_DISTANCE && in vdpu_av1d_set_reference_frames()
1023 cur_offset[mf_types[0] - LAST_FRAME] >= -MAX_FRAME_DISTANCE) { in vdpu_av1d_set_reference_frames()
1029 cur_offset[mf_types[1] - LAST_FRAME] <= MAX_FRAME_DISTANCE && in vdpu_av1d_set_reference_frames()
1030 cur_offset[mf_types[1] - LAST_FRAME] >= -MAX_FRAME_DISTANCE) { in vdpu_av1d_set_reference_frames()
1036 cur_offset[mf_types[2] - LAST_FRAME] <= MAX_FRAME_DISTANCE && in vdpu_av1d_set_reference_frames()
1037 cur_offset[mf_types[2] - LAST_FRAME] >= -MAX_FRAME_DISTANCE) { in vdpu_av1d_set_reference_frames()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c316 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()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp9/
H A Dvp9d_codec.h45 RK_S64 cur_offset; /* current offset member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_codec.h63 RK_S64 cur_offset; /* current offset member

123