Home
last modified time | relevance | path

Searched refs:free_size (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/fs/jffs2/
Ddebug.c32 jeb->free_size + jeb->wasted_size + in __jffs2_dbg_acct_sanity_check_nolock()
36 jeb->free_size, jeb->dirty_size, jeb->used_size, in __jffs2_dbg_acct_sanity_check_nolock()
41 if (unlikely(c->used_size + c->dirty_size + c->free_size + c->erasing_size + c->bad_size in __jffs2_dbg_acct_sanity_check_nolock()
45 c->free_size, c->dirty_size, c->used_size, c->erasing_size, c->bad_size, in __jffs2_dbg_acct_sanity_check_nolock()
170 free += c->gcblock->free_size; in __jffs2_dbg_superblock_counts()
178 free += c->nextblock->free_size; in __jffs2_dbg_superblock_counts()
186 free += jeb->free_size; in __jffs2_dbg_superblock_counts()
194 free += jeb->free_size; in __jffs2_dbg_superblock_counts()
202 free += jeb->free_size; in __jffs2_dbg_superblock_counts()
210 free += jeb->free_size; in __jffs2_dbg_superblock_counts()
[all …]
Dnodemgmt.c29 avail = c->dirty_size + c->free_size + c->unchecked_size + in jffs2_rp_can_write()
37 opts->rp_size, c->dirty_size, c->free_size, in jffs2_rp_can_write()
140 avail = c->free_size + c->dirty_size + c->erasing_size + c->unchecked_size; in jffs2_reserve_space()
159 c->free_size, c->dirty_size, c->wasted_size, in jffs2_reserve_space()
161 c->free_size + c->dirty_size + in jffs2_reserve_space()
259 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock()
264 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock()
270 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_close_nextblock()
371 minsize, jeb->free_size, in jffs2_do_reserve_space()
378 JFFS2_SUMMARY_FRAME_SIZE) > jeb->free_size)) { in jffs2_do_reserve_space()
[all …]
Dsummary.c376 if ((ofs & ~3) > c->sector_size - jeb->free_size) { in sum_link_node_ref()
378 jffs2_scan_dirty_space(c, jeb, (ofs & ~3) - (c->sector_size - jeb->free_size)); in sum_link_node_ref()
557 c->free_size += c->sector_size - jeb->free_size; in jffs2_sum_process_sum_data()
561 jeb->free_size = c->sector_size; in jffs2_sum_process_sum_data()
655 if (unlikely(jeb->free_size)) { in jffs2_sum_scan_sumnode()
657 jeb->free_size, jeb->offset); in jffs2_sum_scan_sumnode()
658 jeb->wasted_size += jeb->free_size; in jffs2_sum_scan_sumnode()
659 c->wasted_size += jeb->free_size; in jffs2_sum_scan_sumnode()
660 c->free_size -= jeb->free_size; in jffs2_sum_scan_sumnode()
661 jeb->free_size = 0; in jffs2_sum_scan_sumnode()
[all …]
Dnodelist.c615 } else if (unlikely(ref_offset(ref) != jeb->offset + c->sector_size - jeb->free_size)) { in jffs2_link_node_ref()
650 c->free_size -= len; in jffs2_link_node_ref()
651 jeb->free_size -= len; in jffs2_link_node_ref()
667 if (unlikely(size > jeb->free_size)) { in jffs2_scan_dirty_space()
669 size, jeb->free_size, jeb->wasted_size); in jffs2_scan_dirty_space()
678 c->free_size -= size; in jffs2_scan_dirty_space()
680 jeb->free_size -= size; in jffs2_scan_dirty_space()
682 uint32_t ofs = jeb->offset + c->sector_size - jeb->free_size; in jffs2_scan_dirty_space()
713 ref_end = jeb->offset + c->sector_size - jeb->free_size; in __ref_totlen()
743 jeb->free_size); in __jffs2_ref_totlen()
Derase.c131 c->free_size -= jeb->free_size; in jffs2_erase_pending_blocks()
134 jeb->wasted_size = jeb->used_size = jeb->dirty_size = jeb->free_size = 0; in jffs2_erase_pending_blocks()
449 jeb->free_size = c->sector_size; in jffs2_mark_erased_block()
455 c->free_size += c->sector_size; in jffs2_mark_erased_block()
Dscan.c75 if ((ret = jffs2_scan_dirty_space(c, jeb, jeb->free_size))) in file_dirty()
198 if (jeb->free_size > min_free(c) && in jffs2_scan_medium()
199 (!c->nextblock || c->nextblock->free_size < jeb->free_size)) { in jffs2_scan_medium()
233 c->free_size -= c->sector_size; in jffs2_scan_medium()
250 …if (!jffs2_can_mark_obsolete(c) && c->wbuf_pagesize && c->nextblock && (c->nextblock->free_size % … in jffs2_scan_medium()
255 uint32_t skip = c->nextblock->free_size % c->wbuf_pagesize; in jffs2_scan_medium()
943 if (PAD(s->sum_size + JFFS2_SUMMARY_FRAME_SIZE) > jeb->free_size) { in jffs2_scan_eraseblock()
951 jeb->offset, jeb->free_size, jeb->dirty_size, in jffs2_scan_eraseblock()
Djffs2_fs_sb.h71 uint32_t free_size; member
Dbuild.c379 c->free_size = c->flash_size; in jffs2_do_mount_fs()
394 c->blocks[i].free_size = c->sector_size; in jffs2_do_mount_fs()
Dnodelist.h206 #define write_ofs(c) ((c)->nextblock->offset + (c)->sector_size - (c)->nextblock->free_size)
287 uint32_t free_size; /* Note that sector_size - free_size member
Dwbuf.c165 uint32_t oldfree = jeb->free_size; in jffs2_block_refile()
667 if (wbuf_jeb->free_size < waste) { in __jffs2_flush_wbuf()
671 wbuf_jeb->offset, wbuf_jeb->free_size); in __jffs2_flush_wbuf()
Dgc.c281 jeb->offset, jeb->used_size, jeb->dirty_size, jeb->free_size); in jffs2_garbage_collect_pass()
283 …xtblock->used_size, c->nextblock->dirty_size, c->nextblock->wasted_size, c->nextblock->free_size)); in jffs2_garbage_collect_pass()
300 jeb->offset, jeb->free_size, in jffs2_garbage_collect_pass()
Dfs.c225 avail = c->dirty_size + c->free_size; in jffs2_statfs()
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/isys/src/
Dibuf_ctrl_rmgr.c37 ibuf_rsrc.free_size = MAX_INPUT_BUFFER_SIZE; in ia_css_isys_ibuf_rmgr_init()
43 ibuf_rsrc.free_size = MAX_INPUT_BUFFER_SIZE; in ia_css_isys_ibuf_rmgr_uninit()
83 (ibuf_rsrc.free_size >= aligned_size)) { in ia_css_isys_ibuf_rmgr_acquire()
90 ibuf_rsrc.free_size -= aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
Dibuf_ctrl_rmgr.h33 u32 free_size; member
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dicp_qat_fw_loader_handle.h11 unsigned int free_size; member
Dqat_hal.c803 handle->hal_handle->aes[ae].free_size = in qat_hal_chip_init()
/linux-6.6.21/mm/kfence/
Dcore.c911 unsigned long free_size = KFENCE_POOL_SIZE; in kfence_init_late() local
953 free_size = KFENCE_POOL_SIZE - (addr - (unsigned long)__kfence_pool); in kfence_init_late()
961 free_size / PAGE_SIZE); in kfence_init_late()
965 free_pages_exact((void *)addr, free_size); in kfence_init_late()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c2103 u32 free_size; in iwl_dump_ini_mem() local
2169 free_size = size; in iwl_dump_ini_mem()
2170 range = ops->fill_mem_hdr(fwrt, reg_data, header, free_size); in iwl_dump_ini_mem()
2180 if (WARN(header_size > free_size, in iwl_dump_ini_mem()
2182 header_size, free_size)) { in iwl_dump_ini_mem()
2188 free_size -= header_size; in iwl_dump_ini_mem()
2192 free_size, i); in iwl_dump_ini_mem()
2201 if (WARN(range_size > free_size, "range_size %d > free_size %d", in iwl_dump_ini_mem()
2202 range_size, free_size)) { in iwl_dump_ini_mem()
2208 free_size -= range_size; in iwl_dump_ini_mem()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c681 int free_size = iwl_pcie_free_bd_size(trans); in iwl_pcie_free_rxq_dma() local
685 free_size * rxq->queue_size, in iwl_pcie_free_rxq_dma()
720 int free_size; in iwl_pcie_alloc_rxq_dma() local
728 free_size = iwl_pcie_free_bd_size(trans); in iwl_pcie_alloc_rxq_dma()
734 rxq->bd = dma_alloc_coherent(dev, free_size * rxq->queue_size, in iwl_pcie_alloc_rxq_dma()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c398 u32 len, free_size, vlan_tag_flags, cfa_action, flags; in bnxt_start_xmit() local
416 free_size = bnxt_tx_avail(bp, txr); in bnxt_start_xmit()
417 if (unlikely(free_size < skb_shinfo(skb)->nr_frags + 2)) { in bnxt_start_xmit()
474 if (free_size == bp->tx_ring_size && length <= bp->tx_push_thresh && in bnxt_start_xmit()