• Home
  • Raw
  • Download

Lines Matching refs:fl

6537 	struct ocfs2_per_slot_free_list *fl;  in ocfs2_run_deallocs()  local
6543 fl = ctxt->c_first_suballocator; in ocfs2_run_deallocs()
6545 if (fl->f_first) { in ocfs2_run_deallocs()
6546 trace_ocfs2_run_deallocs(fl->f_inode_type, in ocfs2_run_deallocs()
6547 fl->f_slot); in ocfs2_run_deallocs()
6549 fl->f_inode_type, in ocfs2_run_deallocs()
6550 fl->f_slot, in ocfs2_run_deallocs()
6551 fl->f_first); in ocfs2_run_deallocs()
6558 ctxt->c_first_suballocator = fl->f_next_suballocator; in ocfs2_run_deallocs()
6559 kfree(fl); in ocfs2_run_deallocs()
6581 struct ocfs2_per_slot_free_list *fl = ctxt->c_first_suballocator; in ocfs2_find_per_slot_free_list() local
6583 while (fl) { in ocfs2_find_per_slot_free_list()
6584 if (fl->f_inode_type == type && fl->f_slot == slot) in ocfs2_find_per_slot_free_list()
6585 return fl; in ocfs2_find_per_slot_free_list()
6587 fl = fl->f_next_suballocator; in ocfs2_find_per_slot_free_list()
6590 fl = kmalloc(sizeof(*fl), GFP_NOFS); in ocfs2_find_per_slot_free_list()
6591 if (fl) { in ocfs2_find_per_slot_free_list()
6592 fl->f_inode_type = type; in ocfs2_find_per_slot_free_list()
6593 fl->f_slot = slot; in ocfs2_find_per_slot_free_list()
6594 fl->f_first = NULL; in ocfs2_find_per_slot_free_list()
6595 fl->f_next_suballocator = ctxt->c_first_suballocator; in ocfs2_find_per_slot_free_list()
6597 ctxt->c_first_suballocator = fl; in ocfs2_find_per_slot_free_list()
6599 return fl; in ocfs2_find_per_slot_free_list()
6608 struct ocfs2_per_slot_free_list *fl = ctxt->c_first_suballocator; in ocfs2_find_preferred_free_list() local
6610 while (fl) { in ocfs2_find_preferred_free_list()
6611 if (fl->f_inode_type == type && fl->f_slot == preferred_slot) { in ocfs2_find_preferred_free_list()
6612 *real_slot = fl->f_slot; in ocfs2_find_preferred_free_list()
6613 return fl; in ocfs2_find_preferred_free_list()
6616 fl = fl->f_next_suballocator; in ocfs2_find_preferred_free_list()
6622 fl = ctxt->c_first_suballocator; in ocfs2_find_preferred_free_list()
6623 *real_slot = fl->f_slot; in ocfs2_find_preferred_free_list()
6625 return fl; in ocfs2_find_preferred_free_list()
6631 struct ocfs2_per_slot_free_list *fl = NULL; in ocfs2_is_dealloc_empty() local
6636 fl = et->et_dealloc->c_first_suballocator; in ocfs2_is_dealloc_empty()
6637 if (!fl) in ocfs2_is_dealloc_empty()
6640 if (!fl->f_first) in ocfs2_is_dealloc_empty()
6659 struct ocfs2_per_slot_free_list *fl; in ocfs2_reuse_blk_from_dealloc() local
6677 fl = ocfs2_find_preferred_free_list(EXTENT_ALLOC_SYSTEM_INODE, in ocfs2_reuse_blk_from_dealloc()
6683 if (!fl) { in ocfs2_reuse_blk_from_dealloc()
6688 bf = fl->f_first; in ocfs2_reuse_blk_from_dealloc()
6689 fl->f_first = bf->free_next; in ocfs2_reuse_blk_from_dealloc()
6732 if (!fl->f_first) { in ocfs2_reuse_blk_from_dealloc()
6733 dealloc->c_first_suballocator = fl->f_next_suballocator; in ocfs2_reuse_blk_from_dealloc()
6734 kfree(fl); in ocfs2_reuse_blk_from_dealloc()
6755 struct ocfs2_per_slot_free_list *fl; in ocfs2_cache_block_dealloc() local
6758 fl = ocfs2_find_per_slot_free_list(type, slot, ctxt); in ocfs2_cache_block_dealloc()
6759 if (fl == NULL) { in ocfs2_cache_block_dealloc()
6779 item->free_next = fl->f_first; in ocfs2_cache_block_dealloc()
6781 fl->f_first = item; in ocfs2_cache_block_dealloc()