Home
last modified time | relevance | path

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

12

/linux/virt/kvm/
A Ddirty_ring.c102 u64 cur_offset, next_offset; in kvm_dirty_ring_reset() local
109 cur_slot = cur_offset = mask = 0; in kvm_dirty_ring_reset()
130 s64 delta = next_offset - cur_offset; in kvm_dirty_ring_reset()
140 cur_offset = next_offset; in kvm_dirty_ring_reset()
145 kvm_reset_dirty_gfn(kvm, cur_slot, cur_offset, mask); in kvm_dirty_ring_reset()
147 cur_offset = next_offset; in kvm_dirty_ring_reset()
152 kvm_reset_dirty_gfn(kvm, cur_slot, cur_offset, mask); in kvm_dirty_ring_reset()
/linux/drivers/firmware/efi/
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()
/linux/fs/btrfs/
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()
A Dfile.c2722 u64 cur_offset; in btrfs_replace_file_extents() local
2760 cur_offset = start; in btrfs_replace_file_extents()
2764 while (cur_offset < end) { in btrfs_replace_file_extents()
2811 cur_offset, in btrfs_replace_file_extents()
2861 len = end - cur_offset; in btrfs_replace_file_extents()
3396 u64 cur_offset; in btrfs_fallocate() local
3413 cur_offset = alloc_start; in btrfs_fallocate()
3540 cur_offset = last_byte; in btrfs_fallocate()
3552 last_byte - cur_offset); in btrfs_fallocate()
3555 cur_offset = last_byte; in btrfs_fallocate()
[all …]
A Dinode.c1637 u64 cur_offset = start; in run_delalloc_nocow() local
1860 if (cur_offset > end) in run_delalloc_nocow()
1937 cur_offset = extent_end; in run_delalloc_nocow()
1946 if (cur_offset > end) in run_delalloc_nocow()
1952 cow_start = cur_offset; in run_delalloc_nocow()
1955 cur_offset = end; in run_delalloc_nocow()
5212 u64 cur_offset; in btrfs_cont_expand() local
5230 cur_offset = hole_start; in btrfs_cont_expand()
5282 cur_offset + in btrfs_cont_expand()
10265 u64 cur_offset = start; in __btrfs_prealloc_file_range() local
[all …]
A Dtree-log.c1152 u32 cur_offset = 0; in __add_inode_ref() local
1161 while (cur_offset < item_size) { in __add_inode_ref()
1667 u32 cur_offset = 0; in count_inode_extrefs() local
1683 cur_offset = 0; in count_inode_extrefs()
1685 while (cur_offset < item_size) { in count_inode_extrefs()
5170 u32 cur_offset = 0; in btrfs_check_ref_name_override() local
5198 cur_offset); in btrfs_check_ref_name_override()
5243 cur_offset += this_len; in btrfs_check_ref_name_override()
6078 u32 cur_offset = 0; in btrfs_log_all_parents() local
6109 (ptr + cur_offset); in btrfs_log_all_parents()
[all …]
A Dcompression.c1438 u32 cur_offset; in btrfs_decompress_buf2page() local
1440 cur_offset = decompressed; in btrfs_decompress_buf2page()
1442 while (cur_offset < decompressed + buf_len) { in btrfs_decompress_buf2page()
1460 copy_start = max(cur_offset, bvec_offset); in btrfs_decompress_buf2page()
1473 cur_offset += copy_len; in btrfs_decompress_buf2page()
A Dbackref.c2124 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);
A Dsend.c1201 u64 cur_offset; member
1253 offset == bctx->cur_offset) { in __iterate_backrefs()
1404 backref_ctx.cur_offset = data_offset; in find_extent_clone()
3606 u32 cur_offset = 0; in is_ancestor() local
3626 while (cur_offset < item_size) { in is_ancestor()
3636 (ptr + cur_offset); in is_ancestor()
3639 cur_offset += sizeof(*extref); in is_ancestor()
3644 cur_offset = item_size; in is_ancestor()
6556 u32 cur_offset = 0; in compare_refs() local
6571 while (cur_offset < item_size) { in compare_refs()
[all …]
/linux/drivers/mtd/
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()
397 uint64_t cur_offset = 0; in add_mtd_partitions() local
404 child = allocate_partition(parent, parts + i, i, cur_offset); in add_mtd_partitions()
429 cur_offset = child->part.offset + child->part.size; in add_mtd_partitions()
/linux/drivers/scsi/esas2r/
A Desas2r_flash.c144 if (fc->sgc.cur_offset == NULL) in esas2r_fmapi_callback()
186 if (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()
442 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
478 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
512 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
1406 fc->sgc_offset = sgc->cur_offset; in esas2r_fm_api()
[all …]
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()
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()
A Desas2r_io.c312 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()
A Desas2r_main.c763 if (likely(sgc->cur_offset == sgc->exp_offset)) { in get_physaddr_from_sgc()
787 } else if (sgc->cur_offset < sgc->exp_offset) { in get_physaddr_from_sgc()
800 (sgc->cur_offset - sgc->exp_offset); in get_physaddr_from_sgc()
806 sgc->exp_offset - sgc->cur_offset); in get_physaddr_from_sgc()
861 sgc.cur_offset = NULL; in esas2r_queuecommand()
/linux/tools/testing/selftests/sparc64/drivers/
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()
/linux/fs/squashfs/
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()
/linux/drivers/clk/
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()
/linux/arch/arm64/net/
A Dbpf_jit_comp.c200 int cur_offset; in build_prologue() local
245 cur_offset = ctx->idx - idx0; in build_prologue()
246 if (cur_offset != PROLOGUE_OFFSET) { in build_prologue()
248 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/scripts/
A Drecordmcount.pl452 foreach my $cur_offset (@offsets) {
453 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_surface.c319 const struct vmw_surface_offset *cur_offset = &srf->offsets[i]; in vmw_surface_dma_encode() local
326 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode()
329 body->host.face = cur_offset->face; in vmw_surface_dma_encode()
330 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode()
751 struct vmw_surface_offset *cur_offset; in vmw_surface_define_ioctl() local
831 cur_offset = srf->offsets; in vmw_surface_define_ioctl()
839 cur_offset->face = i; in vmw_surface_define_ioctl()
840 cur_offset->mip = j; in vmw_surface_define_ioctl()
841 cur_offset->bo_offset = cur_bo_offset; in vmw_surface_define_ioctl()
844 ++cur_offset; in vmw_surface_define_ioctl()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
A Dinit.c452 int max_offset, cur_offset; in mt7603_init_txpower() local
463 cur_offset = mt7603_txpower_signed(rate_power[i]); in mt7603_init_txpower()
464 max_offset = max(max_offset, cur_offset); in mt7603_init_txpower()
/linux/arch/arm/net/
A Dbpf_jit_32.c1179 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call() macro
1180 #define jmp_offset (out_offset - (cur_offset) - 2) in emit_bpf_tail_call()
1237 out_offset = cur_offset; in emit_bpf_tail_call()
1238 if (cur_offset != out_offset) { in emit_bpf_tail_call()
1240 cur_offset, out_offset); in emit_bpf_tail_call()
1244 #undef cur_offset in emit_bpf_tail_call()
/linux/fs/ceph/
A Daddr.c985 u64 cur_offset = page_offset(pages[i]); in ceph_writepages_start() local
986 if (offset + len != cur_offset) { in ceph_writepages_start()
990 cur_offset - offset); in ceph_writepages_start()
999 offset = cur_offset; in ceph_writepages_start()
/linux/drivers/scsi/bnx2i/
A Dbnx2i_iscsi.c60 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()

Completed in 138 milliseconds

12