Home
last modified time | relevance | path

Searched refs:free_bits (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/ntfs3/
Dbitmap.c68 u32 free_bits, end; in wnd_scan() local
95 free_bits = find_next_bit_le(buf, min(end, wend), wpos); in wnd_scan()
97 free_len = *prev_tail + free_bits - wpos; in wnd_scan()
107 if (free_bits >= wend) { in wnd_scan()
108 *prev_tail += free_bits - wpos; in wnd_scan()
112 wpos = free_bits + 1; in wnd_scan()
127 kvfree(wnd->free_bits); in wnd_close()
128 wnd->free_bits = NULL; in wnd_close()
524 if (!wnd->free_bits[iw]) { in wnd_rescan()
534 if (wbits == wnd->free_bits[iw]) { in wnd_rescan()
[all …]
Dntfs_fs.h151 u16 *free_bits; // Free bits in each window. member
/linux-6.12.1/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h101 unsigned char free_bits:4; member
273 u32 v = val >> tformat->free_bits; in cxgbi_ppm_ddp_tag_update_sw_bits()
277 val, tformat->free_bits); in cxgbi_ppm_ddp_tag_update_sw_bits()
299 tformat->free_bits = 32 - 2 - bits; in cxgbi_tagmask_check()
/linux-6.12.1/fs/ocfs2/
Dlocalalloc.c622 unsigned int free_bits; in ocfs2_reserve_local_alloc_bits() local
664 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
666 if (bits_wanted > free_bits) { in ocfs2_reserve_local_alloc_bits()
686 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
688 if (bits_wanted > free_bits) in ocfs2_reserve_local_alloc_bits()
Dsuballoc.c778 u32 free_bits; in ocfs2_reserve_suballoc_bits() local
813 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
816 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
820 free_bits); in ocfs2_reserve_suballoc_bits()
827 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
1282 u16 offset, free_bits; in ocfs2_find_max_contig_free_bits() local
1291 free_bits = start - offset; in ocfs2_find_max_contig_free_bits()
1292 if (contig_bits < free_bits) in ocfs2_find_max_contig_free_bits()
1293 contig_bits = free_bits; in ocfs2_find_max_contig_free_bits()
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Ddelta-index.c717 int free_bits; in uds_pack_delta_index_page() local
730 free_bits = memory_size * BITS_PER_BYTE; in uds_pack_delta_index_page()
731 free_bits -= get_immutable_header_offset(1); in uds_pack_delta_index_page()
732 free_bits -= GUARD_BITS; in uds_pack_delta_index_page()
733 if (free_bits < IMMUTABLE_HEADER_SIZE) { in uds_pack_delta_index_page()
743 if (bits > free_bits) in uds_pack_delta_index_page()
747 free_bits -= bits; in uds_pack_delta_index_page()