| /Linux-v5.4/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-v5.4/fs/btrfs/ |
| D | compression.c | 434 u64 last_offset; in add_ra_bio_pages() local 446 last_offset = bio_end_offset(cb->orig_bio); in add_ra_bio_pages() 455 while (last_offset < compressed_end) { in add_ra_bio_pages() 456 pg_index = last_offset >> PAGE_SHIFT; in add_ra_bio_pages() 479 end = last_offset + PAGE_SIZE - 1; in add_ra_bio_pages() 486 lock_extent(tree, last_offset, end); in add_ra_bio_pages() 488 em = lookup_extent_mapping(em_tree, last_offset, in add_ra_bio_pages() 492 if (!em || last_offset < em->start || in add_ra_bio_pages() 493 (last_offset + PAGE_SIZE > extent_map_end(em)) || in add_ra_bio_pages() 496 unlock_extent(tree, last_offset, end); in add_ra_bio_pages() [all …]
|
| D | file.c | 51 u64 last_offset; member 107 if (defrag->last_offset > entry->last_offset) in __btrfs_add_inode_defrag() 108 entry->last_offset = defrag->last_offset; in __btrfs_add_inode_defrag() 310 range.start = defrag->last_offset; in __btrfs_run_defrag_inode() 322 defrag->last_offset = range.start; in __btrfs_run_defrag_inode() 324 } else if (defrag->last_offset && !defrag->cycled) { in __btrfs_run_defrag_inode() 330 defrag->last_offset = 0; in __btrfs_run_defrag_inode()
|
| D | scrub.c | 2673 u64 last_offset; in get_raid56_logic_offset() local 2678 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset() 2680 *stripe_start = last_offset; in get_raid56_logic_offset() 2682 *offset = last_offset; in get_raid56_logic_offset() 2684 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset() 2699 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
|
| D | tree-log.c | 3536 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 3554 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 3580 u64 last_offset = (u64)-1; in log_dir_items() local 3714 last_offset = (u64)-1; in log_dir_items() 3721 last_offset = (u64)-1; in log_dir_items() 3731 last_offset = tmp.offset; in log_dir_items() 3740 *last_offset_ret = last_offset; in log_dir_items() 3746 ino, first_offset, last_offset); in log_dir_items()
|
| D | inode.c | 8217 u64 last_offset; in __endio_write_update_ordered() local 8228 last_offset = ordered_offset; in __endio_write_update_ordered() 8242 if (ordered_offset == last_offset) in __endio_write_update_ordered()
|
| /Linux-v5.4/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-v5.4/drivers/net/wireless/mediatek/mt7601u/ |
| D | phy.c | 1016 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument 1020 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal() 1023 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal() 1045 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal() 1047 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal() 1053 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal() 1058 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal() 1077 s8 last_offset; in mt7601u_phy_freq_cal() local 1082 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal() 1086 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
|
| /Linux-v5.4/drivers/staging/media/meson/vdec/ |
| D | esparser.c | 168 if (offset < sess->last_offset) in esparser_get_offset() 171 sess->last_offset = offset; in esparser_get_offset()
|
| D | vdec.h | 257 u32 last_offset; member
|
| D | vdec.c | 312 sess->last_offset = 0; in vdec_start_streaming()
|
| /Linux-v5.4/drivers/gpu/drm/msm/ |
| D | msm_gem_submit.c | 305 uint32_t i, last_offset = 0; in submit_reloc() local 352 (off < last_offset)) { in submit_reloc() 374 last_offset = off; in submit_reloc()
|
| /Linux-v5.4/drivers/gpu/drm/etnaviv/ |
| D | etnaviv_gem_submit.c | 274 u32 i, last_offset = 0; in submit_reloc() local 302 (off < last_offset)) { in submit_reloc() 318 last_offset = off; in submit_reloc()
|
| /Linux-v5.4/drivers/soc/ti/ |
| D | knav_qmss_queue.c | 770 unsigned last_offset; in knav_pool_create() local 825 last_offset = 0; in knav_pool_create() 829 if ((pi->region_offset - last_offset) >= num_desc) { in knav_pool_create() 833 last_offset = pi->region_offset + pi->num_desc; in knav_pool_create() 840 pool->region_offset = last_offset; in knav_pool_create()
|
| /Linux-v5.4/fs/reiserfs/ |
| D | inode.c | 2560 unsigned last_offset; in reiserfs_write_full_page() local 2562 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page() 2564 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page() 2568 zero_user_segment(page, last_offset, PAGE_SIZE); in reiserfs_write_full_page()
|
| /Linux-v5.4/kernel/bpf/ |
| D | btf.c | 2062 u32 meta_needed, last_offset; in btf_struct_check_meta() local 2085 last_offset = 0; in btf_struct_check_meta() 2118 if (last_offset > offset) { in btf_struct_check_meta() 2131 last_offset = offset; in btf_struct_check_meta()
|
| /Linux-v5.4/fs/f2fs/ |
| D | node.c | 2666 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 2669 last_offset = sbi->blocks_per_seg; in f2fs_restore_node_summary() 2673 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 2674 nrpages = min(last_offset - i, BIO_MAX_PAGES); in f2fs_restore_node_summary()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ice/ |
| D | ice_txrx.c | 561 unsigned int last_offset = PAGE_SIZE - ICE_RXBUF_2048; in ice_can_reuse_rx_page() local 575 if (rx_buf->page_offset > last_offset) in ice_can_reuse_rx_page()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_enet.c | 415 int last_offset; in hns_nic_reuse_page() local 428 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page() 454 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 3812 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local 3864 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit() 3866 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit() 3871 last_offset)); in __i40e_reprogram_flex_pit()
|
| /Linux-v5.4/drivers/md/ |
| D | dm-integrity.c | 3043 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local 3052 get_area_and_offset(ic, ic->provided_data_sectors - 1, &last_area, &last_offset); in calculate_device_limits() 3053 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()
|