Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
A Dqp.c554 u32 last_offset; in mlx4_create_zones() local
631 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
634 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
635 !((last_offset + requested_size - 1) & in mlx4_create_zones()
642 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones()
643 last_offset = candidate_offset; in mlx4_create_zones()
647 if (last_offset > max_table_offset) { in mlx4_create_zones()
652 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
659 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
666 last_offset = candidate_offset; in mlx4_create_zones()
[all …]
/linux/drivers/android/
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()
/linux/drivers/net/wireless/mediatek/mt7601u/
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()
/linux/tools/testing/selftests/powerpc/nx-gzip/
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()
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_gem_submit.c274 u32 i, last_offset = 0; in submit_reloc() local
302 (off < last_offset)) { in submit_reloc()
318 last_offset = off; in submit_reloc()
/linux/drivers/staging/media/meson/vdec/
A Desparser.c282 if (offset < sess->last_offset) in esparser_get_offset()
285 sess->last_offset = offset; in esparser_get_offset()
A Dvdec.h278 u32 last_offset; member
A Dvdec.c326 sess->last_offset = 0; in vdec_start_streaming()
/linux/drivers/gpu/drm/msm/
A Dmsm_gem_submit.c429 uint32_t i, last_offset = 0; in submit_reloc() local
469 (off < last_offset)) { in submit_reloc()
491 last_offset = off; in submit_reloc()
/linux/drivers/soc/ti/
A Dknav_qmss_queue.c763 unsigned last_offset; in knav_pool_create() local
818 last_offset = 0; in knav_pool_create()
822 if ((pi->region_offset - last_offset) >= num_desc) { in knav_pool_create()
826 last_offset = pi->region_offset + pi->num_desc; in knav_pool_create()
833 pool->region_offset = last_offset; in knav_pool_create()
/linux/fs/btrfs/
A Dfile.c54 u64 last_offset; member
110 if (defrag->last_offset > entry->last_offset) in __btrfs_add_inode_defrag()
111 entry->last_offset = defrag->last_offset; in __btrfs_add_inode_defrag()
302 range.start = defrag->last_offset; in __btrfs_run_defrag_inode()
314 defrag->last_offset = range.start; in __btrfs_run_defrag_inode()
316 } else if (defrag->last_offset && !defrag->cycled) { in __btrfs_run_defrag_inode()
322 defrag->last_offset = 0; in __btrfs_run_defrag_inode()
A Dscrub.c2744 u64 last_offset; in get_raid56_logic_offset() local
2749 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
2751 *stripe_start = last_offset; in get_raid56_logic_offset()
2753 *offset = last_offset; in get_raid56_logic_offset()
2755 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset()
2770 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
A Dtree-log.c3632 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument
3650 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key()
3878 u64 last_offset = (u64)-1; in log_dir_items() local
3970 last_offset = (u64)-1; in log_dir_items()
3977 last_offset = (u64)-1; in log_dir_items()
3988 last_offset = min_key.offset; in log_dir_items()
4002 *last_offset_ret = last_offset; in log_dir_items()
4008 ino, first_offset, last_offset); in log_dir_items()
/linux/lib/
A Diov_iter.c1467 unsigned last_offset = (nr > 1) ? 0 : offset; in iter_xarray_get_pages() local
1468 actual -= PAGE_SIZE - (last_offset + size); in iter_xarray_get_pages()
1637 unsigned last_offset = (nr > 1) ? 0 : offset; in iter_xarray_get_pages_alloc() local
1638 actual -= PAGE_SIZE - (last_offset + size); in iter_xarray_get_pages_alloc()
/linux/fs/reiserfs/
A Dinode.c2563 unsigned last_offset; in reiserfs_write_full_page() local
2565 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page()
2567 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page()
2571 zero_user_segment(page, last_offset, PAGE_SIZE); in reiserfs_write_full_page()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_enet.c416 int last_offset; in hns_nic_reuse_page() local
429 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page()
455 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
/linux/fs/f2fs/
A Dnode.c2813 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local
2816 last_offset = sbi->blocks_per_seg; in f2fs_restore_node_summary()
2820 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary()
2821 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ethtool.c3910 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local
3962 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit()
3964 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit()
3969 last_offset)); in __i40e_reprogram_flex_pit()
/linux/kernel/bpf/
A Dbtf.c2916 u32 meta_needed, last_offset; in btf_struct_check_meta() local
2939 last_offset = 0; in btf_struct_check_meta()
2972 if (last_offset > offset) { in btf_struct_check_meta()
2985 last_offset = offset; in btf_struct_check_meta()
/linux/drivers/staging/qlge/
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()
/linux/drivers/md/
A Ddm-integrity.c3399 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local
3414 get_area_and_offset(ic, ic->provided_data_sectors - 1, &last_area, &last_offset); in calculate_device_limits()
3415 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()

Completed in 111 milliseconds