/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 525 u32 last_offset; in mlx4_create_zones() local 578 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones() 602 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 603 ((int)(max_table_offset - last_offset)) >= in mlx4_create_zones() 605 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones() 606 !((last_offset + requested_size - 1) & in mlx4_create_zones() 611 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 1; in mlx4_create_zones() 613 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones() 614 last_offset = candidate_offset; in mlx4_create_zones() 618 if (last_offset > max_table_offset) { in mlx4_create_zones() [all …]
|
/linux-4.4.14/fs/btrfs/ |
D | compression.c | 447 u64 last_offset; in add_ra_bio_pages() local 460 last_offset = (page_offset(page) + PAGE_CACHE_SIZE); in add_ra_bio_pages() 469 while (last_offset < compressed_end) { in add_ra_bio_pages() 470 pg_index = last_offset >> PAGE_CACHE_SHIFT; in add_ra_bio_pages() 495 end = last_offset + PAGE_CACHE_SIZE - 1; in add_ra_bio_pages() 502 lock_extent(tree, last_offset, end); in add_ra_bio_pages() 504 em = lookup_extent_mapping(em_tree, last_offset, in add_ra_bio_pages() 508 if (!em || last_offset < em->start || in add_ra_bio_pages() 509 (last_offset + PAGE_CACHE_SIZE > extent_map_end(em)) || in add_ra_bio_pages() 512 unlock_extent(tree, last_offset, end); in add_ra_bio_pages() [all …]
|
D | file.c | 65 u64 last_offset; member 121 if (defrag->last_offset > entry->last_offset) in __btrfs_add_inode_defrag() 122 entry->last_offset = defrag->last_offset; in __btrfs_add_inode_defrag() 323 range.start = defrag->last_offset; in __btrfs_run_defrag_inode() 335 defrag->last_offset = range.start; in __btrfs_run_defrag_inode() 337 } else if (defrag->last_offset && !defrag->cycled) { in __btrfs_run_defrag_inode() 343 defrag->last_offset = 0; in __btrfs_run_defrag_inode()
|
D | tree-log.c | 3210 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 3228 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 3254 u64 last_offset = (u64)-1; in log_dir_items() local 3380 last_offset = (u64)-1; in log_dir_items() 3385 last_offset = (u64)-1; in log_dir_items() 3395 last_offset = tmp.offset; in log_dir_items() 3404 *last_offset_ret = last_offset; in log_dir_items() 3410 ino, first_offset, last_offset); in log_dir_items()
|
D | scrub.c | 2682 u64 last_offset; in get_raid56_logic_offset() local 2686 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset() 2689 *stripe_start = last_offset; in get_raid56_logic_offset() 2691 *offset = last_offset; in get_raid56_logic_offset() 2693 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset() 2708 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 1015 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal() argument 1019 trace_freq_cal_offset(dev, phy_mode, last_offset); in __mt7601u_phy_freq_cal() 1022 if (last_offset == MT_FREQ_OFFSET_INVALID) in __mt7601u_phy_freq_cal() 1044 if (abs(last_offset) >= activate_threshold) in __mt7601u_phy_freq_cal() 1046 else if (abs(last_offset) <= deactivate_threshold) in __mt7601u_phy_freq_cal() 1052 if (last_offset > deactivate_threshold) { in __mt7601u_phy_freq_cal() 1057 } else if (last_offset < -deactivate_threshold) { in __mt7601u_phy_freq_cal() 1076 s8 last_offset; in mt7601u_phy_freq_cal() local 1081 last_offset = dev->bcn_freq_off; in mt7601u_phy_freq_cal() 1085 delay = __mt7601u_phy_freq_cal(dev, last_offset, phy_mode); in mt7601u_phy_freq_cal()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | llog.c | 218 __u64 last_offset; in llog_process_thread() local 257 last_offset = cur_offset; in llog_process_thread() 308 last_offset; in llog_process_thread()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 237 uint32_t i, last_offset = 0; in submit_reloc() local 278 (off < last_offset)) { in submit_reloc() 299 last_offset = off; in submit_reloc()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 317 hns_nic_reuse_page(struct hnae_desc_cb *desc_cb, int tsize, int last_offset) in hns_nic_reuse_page() argument 324 if (desc_cb->page_offset <= last_offset) { in hns_nic_reuse_page() 341 int bnum, length, size, i, truesize, last_offset; in hns_nic_poll_rx_skb() local 345 last_offset = hnae_page_size(ring) - hnae_buf_size(ring); in hns_nic_poll_rx_skb() 389 hns_nic_reuse_page(desc_cb, truesize, last_offset); in hns_nic_poll_rx_skb() 405 hns_nic_reuse_page(desc_cb, truesize, last_offset); in hns_nic_poll_rx_skb()
|
/linux-4.4.14/drivers/soc/ti/ |
D | knav_qmss_queue.c | 753 unsigned last_offset; in knav_pool_create() local 805 last_offset = 0; in knav_pool_create() 809 if ((pi->region_offset - last_offset) >= num_desc) { in knav_pool_create() 813 last_offset = pi->region_offset + pi->num_desc; in knav_pool_create() 820 pool->region_offset = last_offset; in knav_pool_create()
|
/linux-4.4.14/fs/f2fs/ |
D | node.c | 1800 int i, idx, last_offset, nrpages; in restore_node_summary() local 1803 last_offset = sbi->blocks_per_seg; in restore_node_summary() 1807 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in restore_node_summary() 1808 nrpages = min(last_offset - i, bio_blocks); in restore_node_summary()
|
/linux-4.4.14/fs/reiserfs/ |
D | inode.c | 2564 unsigned last_offset; in reiserfs_write_full_page() local 2566 last_offset = inode->i_size & (PAGE_CACHE_SIZE - 1); in reiserfs_write_full_page() 2568 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page() 2572 zero_user_segment(page, last_offset, PAGE_CACHE_SIZE); in reiserfs_write_full_page()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_inode.c | 2050 int offset, last_offset = 0; in xfs_iunlink_remove() local 2151 last_offset = imap.im_boffset; in xfs_iunlink_remove() 2191 offset = last_offset + offsetof(xfs_dinode_t, di_next_unlinked); in xfs_iunlink_remove()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 1901 unsigned int last_offset = ixgbe_rx_pg_size(rx_ring) - in ixgbe_add_rx_frag() local 1937 if (rx_buffer->page_offset > last_offset) in ixgbe_add_rx_frag()
|