Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dqp.c508 u32 last_offset; in mlx4_create_zones() local
561 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones()
585 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
586 ((int)(max_table_offset - last_offset)) >= in mlx4_create_zones()
588 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
589 !((last_offset + requested_size - 1) & in mlx4_create_zones()
594 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 1; in mlx4_create_zones()
596 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones()
597 last_offset = candidate_offset; in mlx4_create_zones()
601 if (last_offset > max_table_offset) { in mlx4_create_zones()
[all …]
/linux-4.1.27/fs/btrfs/
Dcompression.c450 u64 last_offset; in add_ra_bio_pages() local
463 last_offset = (page_offset(page) + PAGE_CACHE_SIZE); in add_ra_bio_pages()
472 while (last_offset < compressed_end) { in add_ra_bio_pages()
473 pg_index = last_offset >> PAGE_CACHE_SHIFT; in add_ra_bio_pages()
499 end = last_offset + PAGE_CACHE_SIZE - 1; in add_ra_bio_pages()
506 lock_extent(tree, last_offset, end); in add_ra_bio_pages()
508 em = lookup_extent_mapping(em_tree, last_offset, in add_ra_bio_pages()
512 if (!em || last_offset < em->start || in add_ra_bio_pages()
513 (last_offset + PAGE_CACHE_SIZE > extent_map_end(em)) || in add_ra_bio_pages()
516 unlock_extent(tree, last_offset, end); in add_ra_bio_pages()
[all …]
Dfile.c65 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()
Dtree-log.c3102 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument
3120 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key()
3146 u64 last_offset = (u64)-1; in log_dir_items() local
3272 last_offset = (u64)-1; in log_dir_items()
3277 last_offset = (u64)-1; in log_dir_items()
3287 last_offset = tmp.offset; in log_dir_items()
3296 *last_offset_ret = last_offset; in log_dir_items()
3302 ino, first_offset, last_offset); in log_dir_items()
Dscrub.c2613 u64 last_offset; in get_raid56_logic_offset() local
2617 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset()
2620 *stripe_start = last_offset; in get_raid56_logic_offset()
2622 *offset = last_offset; in get_raid56_logic_offset()
2624 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset()
2639 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_gem_submit.c237 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.1.27/drivers/staging/lustre/lustre/obdclass/
Dllog.c279 __u64 last_offset; in llog_process_thread() local
318 last_offset = cur_offset; in llog_process_thread()
369 last_offset; in llog_process_thread()
/linux-4.1.27/drivers/soc/ti/
Dknav_qmss_queue.c747 unsigned last_offset; in knav_pool_create() local
799 last_offset = 0; in knav_pool_create()
803 if ((pi->region_offset - last_offset) >= num_desc) { in knav_pool_create()
807 last_offset = pi->region_offset + pi->num_desc; in knav_pool_create()
814 pool->region_offset = last_offset; in knav_pool_create()
/linux-4.1.27/fs/f2fs/
Dnode.c1747 int i, idx, last_offset, nrpages; in restore_node_summary() local
1750 last_offset = sbi->blocks_per_seg; in restore_node_summary()
1754 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in restore_node_summary()
1755 nrpages = min(last_offset - i, bio_blocks); in restore_node_summary()
/linux-4.1.27/fs/reiserfs/
Dinode.c2564 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.1.27/fs/xfs/
Dxfs_inode.c2077 int offset, last_offset = 0; in xfs_iunlink_remove() local
2178 last_offset = imap.im_boffset; in xfs_iunlink_remove()
2218 offset = last_offset + offsetof(xfs_dinode_t, di_next_unlinked); in xfs_iunlink_remove()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1861 unsigned int last_offset = ixgbe_rx_pg_size(rx_ring) - in ixgbe_add_rx_frag() local
1897 if (rx_buffer->page_offset > last_offset) in ixgbe_add_rx_frag()