Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/fs/f2fs/
Dsegment.c793 unsigned int usable_blocks; in locate_dirty_segment() local
798 usable_blocks = f2fs_usable_blks_in_seg(sbi, segno); in locate_dirty_segment()
805 ckpt_valid_blocks == usable_blocks)) { in locate_dirty_segment()
808 } else if (valid_blocks < usable_blocks) { in locate_dirty_segment()