/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 554 u32 last_offset; in mlx4_create_zones() local 607 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones() 631 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 632 ((int)(max_table_offset - last_offset)) >= 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() 640 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 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() [all …]
|
/linux-6.1.9/lib/ |
D | iov_iter.c | 205 if (i->last_offset) { in sanity() 213 if (unlikely(p->offset + p->len != abs(i->last_offset))) in sanity() 221 printk(KERN_ERR "idx = %d, offset = %d\n", i_head, i->last_offset); in sanity() 265 static inline int last_offset(const struct pipe_buffer *buf) in last_offset() function 277 int offset = i->last_offset; in append_pipe() 286 i->last_offset += size; in append_pipe() 300 i->last_offset = size; in append_pipe() 320 if (offset && i->last_offset == -offset) { // could we merge it? in copy_page_to_iter_pipe() 324 i->last_offset -= bytes; in copy_page_to_iter_pipe() 333 i->last_offset = -(offset + bytes); in copy_page_to_iter_pipe() [all …]
|
/linux-6.1.9/drivers/android/ |
D | binder_alloc_selftest.c | 230 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-6.1.9/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 1019 __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-6.1.9/tools/testing/selftests/powerpc/nx-gzip/ |
D | gunz_test.c | 284 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-6.1.9/drivers/vfio/pci/mlx5/ |
D | main.c | 44 if (offset < migf->last_offset || !migf->last_offset_sg) { in mlx5vf_get_migration_page() 45 migf->last_offset = 0; in mlx5vf_get_migration_page() 50 cur_offset = migf->last_offset; in mlx5vf_get_migration_page() 57 migf->last_offset = cur_offset; in mlx5vf_get_migration_page()
|
D | cmd.h | 37 unsigned long last_offset; member
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 263 u32 i, last_offset = 0; in submit_reloc() local 291 (off < last_offset)) { in submit_reloc() 307 last_offset = off; in submit_reloc()
|
/linux-6.1.9/drivers/staging/media/meson/vdec/ |
D | vdec.h | 278 u32 last_offset; member
|
D | esparser.c | 282 if (offset < sess->last_offset) in esparser_get_offset() 285 sess->last_offset = offset; in esparser_get_offset()
|
D | vdec.c | 326 sess->last_offset = 0; in vdec_start_streaming()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 427 uint32_t i, last_offset = 0; in submit_reloc() local 467 (off < last_offset)) { in submit_reloc() 489 last_offset = off; in submit_reloc()
|
/linux-6.1.9/drivers/soc/ti/ |
D | knav_qmss_queue.c | 763 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()
|
/linux-6.1.9/include/linux/ |
D | uio.h | 45 int last_offset; member
|
/linux-6.1.9/fs/btrfs/ |
D | tree-log.c | 3570 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 3601 last_offset = max(last_offset, curr_end); in insert_dir_log_key() 3603 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 3817 u64 last_offset = (u64)-1; in log_dir_items() local 3930 last_offset = (u64)-1; in log_dir_items() 3937 last_offset = (u64)-1; in log_dir_items() 3950 last_offset = min_key.offset - 1; in log_dir_items() 3964 *last_offset_ret = last_offset; in log_dir_items() 3973 ASSERT(last_old_dentry_offset <= last_offset); in log_dir_items() 3974 if (last_old_dentry_offset < last_offset) { in log_dir_items() [all …]
|
D | scrub.c | 2864 u64 last_offset; in get_raid56_logic_offset() local 2869 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset() 2871 *stripe_start = last_offset; in get_raid56_logic_offset() 2873 *offset = last_offset; in get_raid56_logic_offset() 2875 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset() 2890 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
|
/linux-6.1.9/fs/reiserfs/ |
D | inode.c | 2555 unsigned last_offset; in reiserfs_write_full_page() local 2557 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page() 2559 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page() 2563 zero_user_segment(page, last_offset, PAGE_SIZE); in reiserfs_write_full_page()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 414 int last_offset; in hns_nic_reuse_page() local 427 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page() 453 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
|
/linux-6.1.9/fs/f2fs/ |
D | node.c | 2821 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 2824 last_offset = sbi->blocks_per_seg; in f2fs_restore_node_summary() 2828 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 2829 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 4036 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local 4088 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit() 4090 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit() 4095 last_offset)); in __i40e_reprogram_flex_pit()
|
/linux-6.1.9/drivers/staging/qlge/ |
D | qlge_main.c | 2713 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-6.1.9/kernel/bpf/ |
D | btf.c | 3042 u32 meta_needed, last_offset; in btf_struct_check_meta() local 3065 last_offset = 0; in btf_struct_check_meta() 3098 if (last_offset > offset) { in btf_struct_check_meta() 3111 last_offset = offset; in btf_struct_check_meta()
|
/linux-6.1.9/drivers/md/ |
D | dm-integrity.c | 3412 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local 3427 get_area_and_offset(ic, ic->provided_data_sectors - 1, &last_area, &last_offset); in calculate_device_limits() 3428 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()
|