Home
last modified time | relevance | path

Searched refs:last_offset (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/arch/x86/lib/
H A Drelocate.c52 Elf64_Addr *offset_ptr_rom, *last_offset = NULL; in do_elf_reloc_fixups64() local
70 offset_ptr_rom > last_offset) { in do_elf_reloc_fixups64()
89 last_offset); in do_elf_reloc_fixups64()
91 last_offset = offset_ptr_rom; in do_elf_reloc_fixups64()
99 Elf32_Addr *offset_ptr_rom, *last_offset = NULL; in do_elf_reloc_fixups32() local
117 offset_ptr_rom > last_offset) { in do_elf_reloc_fixups32()
134 re_src->r_offset, last_offset); in do_elf_reloc_fixups32()
136 last_offset = offset_ptr_rom; in do_elf_reloc_fixups32()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c558 u32 last_offset; in mlx4_create_zones() local
635 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
638 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
639 !((last_offset + requested_size - 1) & in mlx4_create_zones()
646 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones()
647 last_offset = candidate_offset; in mlx4_create_zones()
651 if (last_offset > max_table_offset) { in mlx4_create_zones()
656 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
663 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
670 last_offset = candidate_offset; in mlx4_create_zones()
[all …]
/openbmc/qemu/block/
H A Dqed-check.c73 uint64_t last_offset = 0; in qed_check_l2_table() local
83 if (last_offset && (last_offset + s->header.cluster_size != offset)) { in qed_check_l2_table()
86 last_offset = offset; in qed_check_l2_table()
/openbmc/linux/drivers/android/
H A Dbinder_alloc_selftest.c230 size_t last_offset, offset = 0; in binder_selftest_alloc_size() local
233 last_offset = offset; in binder_selftest_alloc_size()
235 front_sizes[i] = offset - last_offset; in binder_selftest_alloc_size()
/openbmc/linux/drivers/vfio/pci/pds/
H A Dlm.c140 if (offset < lm_file->last_offset || !lm_file->last_offset_sg) { in pds_vfio_get_file_page()
141 lm_file->last_offset = 0; in pds_vfio_get_file_page()
146 cur_offset = lm_file->last_offset; in pds_vfio_get_file_page()
153 lm_file->last_offset = cur_offset; in pds_vfio_get_file_page()
H A Dlm.h29 unsigned long last_offset; member
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument
1023 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal()
1026 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal()
1048 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal()
1050 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal()
1056 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal()
1061 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal()
1080 s8 last_offset; in mt7601u_phy_freq_cal() local
1085 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal()
1089 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgunz_test.c284 int first_offset, last_offset; in decompress_file() local
442 last_offset = fifo_free_last_offset(cur_in, used_in, fifo_in_len); in decompress_file()
466 n = fread(fifo_in + last_offset, 1, read_sz, inpf); in decompress_file()
637 last_offset = fifo_free_last_offset(cur_out, used_out, in decompress_file()
639 nx_append_dde(ddl_out, fifo_out + last_offset, in decompress_file()
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec.h278 u32 last_offset; member
H A Desparser.c281 if (offset < sess->last_offset) in esparser_get_offset()
284 sess->last_offset = offset; in esparser_get_offset()
H A Dvdec.c326 sess->last_offset = 0; in vdec_start_streaming()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c263 u32 i, last_offset = 0; in submit_reloc() local
291 (off < last_offset)) { in submit_reloc()
307 last_offset = off; in submit_reloc()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h72 unsigned long last_offset; member
H A Dmain.c44 if (offset < buf->last_offset || !buf->last_offset_sg) { in mlx5vf_get_migration_page()
45 buf->last_offset = 0; in mlx5vf_get_migration_page()
50 cur_offset = buf->last_offset; in mlx5vf_get_migration_page()
57 buf->last_offset = cur_offset; in mlx5vf_get_migration_page()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c470 uint32_t i, last_offset = 0; in submit_reloc() local
510 (off < last_offset)) { in submit_reloc()
532 last_offset = off; in submit_reloc()
/openbmc/linux/drivers/soc/ti/
H A Dknav_qmss_queue.c763 unsigned last_offset; in knav_pool_create() local
817 last_offset = 0; in knav_pool_create()
820 if ((iter->region_offset - last_offset) >= num_desc) { in knav_pool_create()
824 last_offset = iter->region_offset + iter->num_desc; in knav_pool_create()
831 pool->region_offset = last_offset; in knav_pool_create()
/openbmc/linux/fs/btrfs/
H A Dtree-log.c3499 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument
3530 last_offset = max(last_offset, curr_end); in insert_dir_log_key()
3532 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key()
3761 u64 last_offset = (u64)-1; in log_dir_items() local
3876 last_offset = (u64)-1; in log_dir_items()
3883 last_offset = (u64)-1; in log_dir_items()
3896 last_offset = min_key.offset - 1; in log_dir_items()
3910 *last_offset_ret = last_offset; in log_dir_items()
3919 ASSERT(last_old_dentry_offset <= last_offset); in log_dir_items()
3920 if (last_old_dentry_offset < last_offset) in log_dir_items()
[all …]
H A Dscrub.c1298 u64 last_offset; in get_raid56_logic_offset() local
1301 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
1303 *stripe_start = last_offset; in get_raid56_logic_offset()
1305 *offset = last_offset; in get_raid56_logic_offset()
1311 *offset = last_offset + btrfs_stripe_nr_to_offset(i); in get_raid56_logic_offset()
1325 *offset = last_offset + btrfs_stripe_nr_to_offset(j); in get_raid56_logic_offset()
/openbmc/openbmc/poky/meta/recipes-multimedia/libtiff/tiff/
H A DCVE-2023-6277-At-image-reading-compare-data-size-of-some-tags-data.patch138 bytecount = last_offset + last_bytecount - offset;
/openbmc/linux/include/linux/
H A Duio.h49 int last_offset; member
/openbmc/linux/fs/reiserfs/
H A Dinode.c2551 unsigned last_offset; in reiserfs_write_full_page() local
2553 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page()
2555 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page()
2559 zero_user_segment(page, last_offset, PAGE_SIZE); in reiserfs_write_full_page()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c439 int last_offset; in hns_nic_reuse_page() local
452 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page()
478 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
/openbmc/linux/fs/f2fs/
H A Dnode.c2849 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local
2852 last_offset = sbi->blocks_per_seg; in f2fs_restore_node_summary()
2856 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary()
2857 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c4039 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local
4091 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit()
4093 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit()
4098 last_offset)); in __i40e_reprogram_flex_pit()
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_main.c2713 unsigned int last_offset; in qlge_free_lbq_buffers() local
2715 last_offset = qlge_lbq_block_size(qdev) - qdev->lbq_buf_size; in qlge_free_lbq_buffers()
2720 if (lbq_desc->p.pg_chunk.offset == last_offset) in qlge_free_lbq_buffers()

12