Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dalloc.c1612 int next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_shift_records_right() local
1616 BUG_ON(!next_free); in ocfs2_shift_records_right()
1618 BUG_ON(next_free >= count); in ocfs2_shift_records_right()
1620 num_bytes = sizeof(struct ocfs2_extent_rec) * next_free; in ocfs2_shift_records_right()
1628 int i, insert_index, next_free, has_empty, num_bytes; in ocfs2_rotate_leaf() local
1632 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_rotate_leaf()
1635 BUG_ON(!next_free); in ocfs2_rotate_leaf()
1650 for(i = 0; i < (next_free - 1); i++) in ocfs2_rotate_leaf()
1653 next_free--; in ocfs2_rotate_leaf()
1659 for(i = 0; i < next_free; i++) { in ocfs2_rotate_leaf()
[all …]
Djournal.h598 u16 next_free = le16_to_cpu(last_el->l_next_free_rec); in ocfs2_calc_tree_trunc_credits() local
603 i = next_free - 1; in ocfs2_calc_tree_trunc_credits()
608 if (tree_depth && next_free == 1 && in ocfs2_calc_tree_trunc_credits()
Dresize.c430 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input() local
439 else if (next_free != cl_count && next_free != input->chain) in ocfs2_verify_group_and_input()
441 "the add group should be in chain %u\n", next_free); in ocfs2_verify_group_and_input()
Dextent_map.c292 int ret, next_free; in ocfs2_last_eb_is_empty() local
316 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_last_eb_is_empty()
318 if (next_free == 0 || in ocfs2_last_eb_is_empty()
319 (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0]))) in ocfs2_last_eb_is_empty()
Docfs2_trace.h563 int has_empty, int next_free,
566 next_free, l_count),
571 __field(int, next_free)
578 __entry->next_free = next_free;
583 __entry->next_free, __entry->l_count)
/linux-4.19.296/fs/btrfs/
Dscrub.c95 int next_free; member
611 sctx->bios[i]->next_free = i + 1; in scrub_setup_ctx()
613 sctx->bios[i]->next_free = -1; in scrub_setup_ctx()
2045 sctx->first_free = sctx->bios[sctx->curr]->next_free; in scrub_add_page_to_rd_bio()
2046 sctx->bios[sctx->curr]->next_free = -1; in scrub_add_page_to_rd_bio()
2349 sbio->next_free = sctx->first_free; in scrub_bio_end_io_worker()