Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/fs/f2fs/
Dsegment.c841 unsigned int usable_blocks; in locate_dirty_segment() local
846 usable_blocks = f2fs_usable_blks_in_seg(sbi, segno); in locate_dirty_segment()
853 ckpt_valid_blocks == usable_blocks)) { in locate_dirty_segment()
856 } else if (valid_blocks < usable_blocks) { in locate_dirty_segment()