Searched refs:next_free (Results 1 – 6 of 6) sorted by relevance
/fs/ocfs2/ |
D | alloc.c | 1585 int next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_shift_records_right() local 1589 BUG_ON(!next_free); in ocfs2_shift_records_right() 1591 BUG_ON(next_free >= count); in ocfs2_shift_records_right() 1593 num_bytes = sizeof(struct ocfs2_extent_rec) * next_free; in ocfs2_shift_records_right() 1601 int i, insert_index, next_free, has_empty, num_bytes; in ocfs2_rotate_leaf() local 1605 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_rotate_leaf() 1608 BUG_ON(!next_free); in ocfs2_rotate_leaf() 1623 for(i = 0; i < (next_free - 1); i++) in ocfs2_rotate_leaf() 1626 next_free--; in ocfs2_rotate_leaf() 1632 for(i = 0; i < next_free; i++) { in ocfs2_rotate_leaf() [all …]
|
D | journal.h | 584 u16 next_free = le16_to_cpu(last_el->l_next_free_rec); in ocfs2_calc_tree_trunc_credits() local 589 i = next_free - 1; in ocfs2_calc_tree_trunc_credits() 594 if (tree_depth && next_free == 1 && in ocfs2_calc_tree_trunc_credits()
|
D | resize.c | 427 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input() local 436 else if (next_free != cl_count && next_free != input->chain) in ocfs2_verify_group_and_input() 438 "the add group should be in chain %u\n", next_free); in ocfs2_verify_group_and_input()
|
D | extent_map.c | 291 int ret, next_free; in ocfs2_last_eb_is_empty() local 315 next_free = le16_to_cpu(el->l_next_free_rec); in ocfs2_last_eb_is_empty() 317 if (next_free == 0 || in ocfs2_last_eb_is_empty() 318 (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0]))) in ocfs2_last_eb_is_empty()
|
D | ocfs2_trace.h | 562 int has_empty, int next_free, 565 next_free, l_count), 570 __field(int, next_free) 577 __entry->next_free = next_free; 582 __entry->next_free, __entry->l_count)
|
/fs/btrfs/ |
D | scrub.c | 98 int next_free; member 392 sctx->bios[i]->next_free = i + 1; in scrub_setup_ctx() 394 sctx->bios[i]->next_free = -1; in scrub_setup_ctx() 1915 sctx->first_free = sctx->bios[sctx->curr]->next_free; in scrub_add_page_to_rd_bio() 1916 sctx->bios[sctx->curr]->next_free = -1; in scrub_add_page_to_rd_bio() 2096 sbio->next_free = sctx->first_free; in scrub_bio_end_io_worker()
|