/Linux-v4.19/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-v4.19/fs/btrfs/ |
D | compression.c | 413 u64 last_offset; in add_ra_bio_pages() local 425 last_offset = bio_end_offset(cb->orig_bio); in add_ra_bio_pages() 434 while (last_offset < compressed_end) { in add_ra_bio_pages() 435 pg_index = last_offset >> PAGE_SHIFT; in add_ra_bio_pages() 460 end = last_offset + PAGE_SIZE - 1; in add_ra_bio_pages() 467 lock_extent(tree, last_offset, end); in add_ra_bio_pages() 469 em = lookup_extent_mapping(em_tree, last_offset, in add_ra_bio_pages() 473 if (!em || last_offset < em->start || in add_ra_bio_pages() 474 (last_offset + PAGE_SIZE > extent_map_end(em)) || in add_ra_bio_pages() 477 unlock_extent(tree, last_offset, end); in add_ra_bio_pages() [all …]
|
D | file.c | 50 u64 last_offset; member 106 if (defrag->last_offset > entry->last_offset) in __btrfs_add_inode_defrag() 107 entry->last_offset = defrag->last_offset; in __btrfs_add_inode_defrag() 309 range.start = defrag->last_offset; in __btrfs_run_defrag_inode() 321 defrag->last_offset = range.start; in __btrfs_run_defrag_inode() 323 } else if (defrag->last_offset && !defrag->cycled) { in __btrfs_run_defrag_inode() 329 defrag->last_offset = 0; in __btrfs_run_defrag_inode()
|
D | tree-log.c | 3412 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 3430 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 3456 u64 last_offset = (u64)-1; in log_dir_items() local 3583 last_offset = (u64)-1; in log_dir_items() 3590 last_offset = (u64)-1; in log_dir_items() 3600 last_offset = tmp.offset; in log_dir_items() 3609 *last_offset_ret = last_offset; in log_dir_items() 3615 ino, first_offset, last_offset); in log_dir_items()
|
D | scrub.c | 2649 u64 last_offset; in get_raid56_logic_offset() local 2653 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset() 2656 *stripe_start = last_offset; in get_raid56_logic_offset() 2658 *offset = last_offset; in get_raid56_logic_offset() 2660 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset() 2675 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
|
D | inode.c | 8079 u64 last_offset; in __endio_write_update_ordered() local 8090 last_offset = ordered_offset; in __endio_write_update_ordered() 8104 if (ordered_offset == last_offset) in __endio_write_update_ordered()
|
/Linux-v4.19/drivers/android/ |
D | binder_alloc_selftest.c | 238 size_t last_offset, offset = 0; in binder_selftest_alloc_size() local 241 last_offset = offset; in binder_selftest_alloc_size() 243 front_sizes[i] = offset - last_offset; in binder_selftest_alloc_size()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 1024 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument 1028 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal() 1031 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal() 1053 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal() 1055 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal() 1061 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal() 1066 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal() 1085 s8 last_offset; in mt7601u_phy_freq_cal() local 1090 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal() 1094 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 316 uint32_t i, last_offset = 0; in submit_reloc() local 360 (off < last_offset)) { in submit_reloc() 382 last_offset = off; in submit_reloc()
|
/Linux-v4.19/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 265 u32 i, last_offset = 0; in submit_reloc() local 289 (off < last_offset)) { in submit_reloc() 305 last_offset = off; in submit_reloc()
|
/Linux-v4.19/drivers/soc/ti/ |
D | knav_qmss_queue.c | 780 unsigned last_offset; in knav_pool_create() local 835 last_offset = 0; in knav_pool_create() 839 if ((pi->region_offset - last_offset) >= num_desc) { in knav_pool_create() 843 last_offset = pi->region_offset + pi->num_desc; in knav_pool_create() 850 pool->region_offset = last_offset; in knav_pool_create()
|
/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | gtt.c | 2207 int last_offset; in emulate_ggtt_mmio_write() local 2217 last_offset = ggtt_mm->ggtt_mm.last_partial_off & in emulate_ggtt_mmio_write() 2220 ggtt_get_host_entry(ggtt_mm, &m, last_offset); in emulate_ggtt_mmio_write() 2224 ggtt_set_host_entry(ggtt_mm, &m, last_offset); in emulate_ggtt_mmio_write() 2227 ggtt_get_guest_entry(ggtt_mm, &e, last_offset); in emulate_ggtt_mmio_write() 2229 ggtt_set_guest_entry(ggtt_mm, &e, last_offset); in emulate_ggtt_mmio_write()
|
/Linux-v4.19/kernel/bpf/ |
D | btf.c | 1522 u32 meta_needed, last_offset; in btf_struct_check_meta() local 1537 last_offset = 0; in btf_struct_check_meta() 1563 if (last_offset > member->offset) { in btf_struct_check_meta() 1576 last_offset = member->offset; in btf_struct_check_meta()
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 523 unsigned int last_offset = PAGE_SIZE - ICE_RXBUF_2048; in ice_add_rx_frag() 574 if (rx_buf->page_offset > last_offset) in ice_add_rx_frag()
|
/Linux-v4.19/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-v4.19/fs/f2fs/ |
D | node.c | 2583 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local 2586 last_offset = sbi->blocks_per_seg; in f2fs_restore_node_summary() 2590 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary() 2591 nrpages = min(last_offset - i, BIO_MAX_PAGES); in f2fs_restore_node_summary()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 424 int last_offset; in hns_nic_reuse_page() local 437 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_reuse_page() 463 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_inode.c | 2013 int offset, last_offset = 0; in xfs_iunlink_remove() local 2118 last_offset = imap.im_boffset; in xfs_iunlink_remove() 2162 offset = last_offset + offsetof(xfs_dinode_t, di_next_unlinked); in xfs_iunlink_remove()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 3470 u16 last_offset = 0; in __i40e_reprogram_flex_pit() local 3522 last_offset = list_prev_entry(entry, list)->src_offset + 1; in __i40e_reprogram_flex_pit() 3524 for (; i < 3; i++, last_offset++) { in __i40e_reprogram_flex_pit() 3529 last_offset)); in __i40e_reprogram_flex_pit()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 2024 int last_offset; in hns3_nic_reuse_page() local 2036 last_offset = hnae3_page_size(ring) - hnae3_buf_size(ring); in hns3_nic_reuse_page() 2061 if (desc_cb->page_offset <= last_offset) { in hns3_nic_reuse_page()
|
/Linux-v4.19/drivers/md/ |
D | dm-integrity.c | 2548 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local 2557 get_area_and_offset(ic, ic->provided_data_sectors - 1, &last_area, &last_offset); in calculate_device_limits() 2558 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()
|