Home
last modified time | relevance | path

Searched refs:usable_blocks (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c472 u32 usable_blocks, pure_lb_blocks, phys_blocks; in qed_btb_blocks_rt_init() local
480 usable_blocks = port_params[port_id].num_btb_blocks - in qed_btb_blocks_rt_init()
492 pure_lb_blocks = (usable_blocks * BTB_PURE_LB_FACTOR) / in qed_btb_blocks_rt_init()
497 phys_blocks = (usable_blocks - pure_lb_blocks) / in qed_btb_blocks_rt_init()
/linux-6.6.21/fs/f2fs/
Dsegment.c828 unsigned int usable_blocks; in locate_dirty_segment() local
833 usable_blocks = f2fs_usable_blks_in_seg(sbi, segno); in locate_dirty_segment()
840 ckpt_valid_blocks == usable_blocks)) { in locate_dirty_segment()
843 } else if (valid_blocks < usable_blocks) { in locate_dirty_segment()