Home
last modified time | relevance | path

Searched refs:block_shift (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/drivers/infiniband/hw/mlx4/
Dmr.c154 u64 block_shift) in mlx4_ib_umem_calc_block_mtt() argument
160 if ((next_block_start & ((1ULL << block_shift) - 1ULL)) != 0) in mlx4_ib_umem_calc_block_mtt()
166 block_shift = alignment_of(next_block_start); in mlx4_ib_umem_calc_block_mtt()
172 if (((current_block_end) & ((1ULL << block_shift) - 1ULL)) != 0) in mlx4_ib_umem_calc_block_mtt()
177 block_shift = alignment_of(current_block_end); in mlx4_ib_umem_calc_block_mtt()
179 return block_shift; in mlx4_ib_umem_calc_block_mtt()
260 u64 block_shift = MLX4_MAX_MTT_SHIFT; in mlx4_ib_umem_calc_optimal_mtt_size() local
302 block_shift = min(alignment_of(misalignment_bits), in mlx4_ib_umem_calc_optimal_mtt_size()
303 block_shift); in mlx4_ib_umem_calc_optimal_mtt_size()
314 block_shift = mlx4_ib_umem_calc_block_mtt in mlx4_ib_umem_calc_optimal_mtt_size()
[all …]
/Linux-v6.1/fs/befs/
Dsuper.c35 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb()
96 if ((1 << befs_sb->block_shift) != befs_sb->block_size) { in befs_check_sb()
Ddatastream.c57 block = pos >> BEFS_SB(sb)->block_shift; in befs_read_datastream()
59 *off = pos - (block << BEFS_SB(sb)->block_shift); in befs_read_datastream()
99 befs_off_t pos = fblock << BEFS_SB(sb)->block_shift; in befs_fblock2brun()
181 datablocks = ds->size >> befs_sb->block_shift; in befs_count_blocks()
323 indir_start_blk = data->max_direct_range >> BEFS_SB(sb)->block_shift; in befs_find_brun_indirect()
434 data->max_indirect_range >> BEFS_SB(sb)->block_shift; in befs_find_brun_dblindirect()
Dbefs.h35 u32 block_shift; member
Dbefs_fs_types.h119 fs32 block_shift; member
Ddebug.c170 befs_debug(sb, " block_shift %u", fs32_to_cpu(sb, sup->block_shift)); in befs_dump_super_block()
DChangeLog363 Check block_size agrees with block_shift
/Linux-v6.1/drivers/staging/rts5208/
Dxd.c583 xd_card->block_shift = 4; in reset_xd()
591 xd_card->block_shift = 4; in reset_xd()
664 xd_card->block_shift = 0; in reset_xd()
687 page_addr = (u32)i << xd_card->block_shift; in reset_xd()
970 xd_card->block_shift = 0; in reset_xd_card()
1018 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()
1067 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page()
1115 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1116 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1249 page_addr = phy_blk << xd_card->block_shift; in xd_erase_block()
[all …]
Dxd.h104 (xd_card)->block_shift = 5; \
Drtsx_chip.h532 u8 block_shift; member
583 u8 block_shift; member
Dms.c2017 ms_card->block_shift = 5;
2021 ms_card->block_shift = 4;
2031 if (ms_card->block_shift == 4) { /* 4MB or 8MB */
2052 ms_card->capacity = ((u32)eblock_cnt - 2) << ms_card->block_shift;
3416 log_blk = (u16)(start_sector >> ms_card->block_shift);
/Linux-v6.1/drivers/md/
Ddm-ebs-target.c32 unsigned char block_shift; /* bitshift sectors -> blocks used in dm-bufio API. */ member
38 return sector >> ec->block_shift; in __sector_to_block()
332 ec->block_shift = __ffs(ec->u_bs); in ebs_ctr()
/Linux-v6.1/arch/powerpc/mm/book3s32/
Dmmu.c106 unsigned int block_shift = (fls(top - base) - 1) & 31; in bat_block_size() local
108 return min3(max_size, 1U << base_shift, 1U << block_shift); in bat_block_size()
/Linux-v6.1/fs/isofs/
Drock.c549 int block_shift = in parse_rock_ridge_inode_internal() local
551 if (block_shift > 17) { in parse_rock_ridge_inode_internal()
555 block_shift); in parse_rock_ridge_inode_internal()
/Linux-v6.1/drivers/gpu/drm/radeon/
Dkv_dpm.h61 u32 block_shift; member
/Linux-v6.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.h87 u32 block_shift; member
Dkv_dpm.c396 data = ((values->block_id << local_cac_reg->block_shift) &
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dlpar.c1519 u8 block_shift = local_buffer[idx++]; in pseries_lpar_read_hblkrm_characteristics() local
1523 if (!block_shift) in pseries_lpar_read_hblkrm_characteristics()
1526 block_size = 1 << block_shift; in pseries_lpar_read_hblkrm_characteristics()