Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 11 of 11) sorted by relevance

/fs/ubifs/
Dlprops.c63 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
67 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap()
68 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap()
69 heap->arr[ppos] = lprops; in move_up_lpt_heap()
97 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
101 heap->arr[ppos]->hpos = hpos; in adjust_lpt_heap()
102 heap->arr[hpos] = heap->arr[ppos]; in adjust_lpt_heap()
103 heap->arr[ppos] = lprops; in adjust_lpt_heap()
109 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
123 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap()
[all …]
Dfind.c136 lprops = heap->arr[i]; in scan_for_dirty()
276 idx_lp = idx_heap->arr[0]; in ubifs_find_dirty_leb()
293 lp = heap->arr[0]; in ubifs_find_dirty_leb()
422 lprops = heap->arr[i]; in do_find_free_space()
753 memcpy(c->dirty_idx.arr, c->lpt_heap[LPROPS_DIRTY_IDX - 1].arr, in ubifs_save_dirty_idx_lnums()
756 sort(c->dirty_idx.arr, c->dirty_idx.cnt, sizeof(void *), in ubifs_save_dirty_idx_lnums()
761 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->lnum, in ubifs_save_dirty_idx_lnums()
762 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->dirty, in ubifs_save_dirty_idx_lnums()
763 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); in ubifs_save_dirty_idx_lnums()
766 c->dirty_idx.arr[i] = (void *)(size_t)c->dirty_idx.arr[i]->lnum; in ubifs_save_dirty_idx_lnums()
[all …]
Dlpt_commit.c793 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
799 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
805 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
1444 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free()
1445 kfree(c->dirty_idx.arr); in ubifs_lpt_free()
1988 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
1991 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
1994 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
Dlpt.c1791 c->lpt_heap[i].arr = kmalloc_array(LPT_HEAP_SZ, in lpt_init_rd()
1794 if (!c->lpt_heap[i].arr) in lpt_init_rd()
1800 c->dirty_idx.arr = kmalloc_array(LPT_HEAP_SZ, sizeof(void *), in lpt_init_rd()
1802 if (!c->dirty_idx.arr) in lpt_init_rd()
2329 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode()
Dubifs.h625 struct ubifs_lprops **arr; member
Ddebug.c894 struct ubifs_lprops *lprops = heap->arr[i]; in ubifs_dump_heap()
/fs/ocfs2/
Dsysfile.c95 struct inode **arr = NULL; in ocfs2_get_system_file_inode() local
99 arr = &(osb->global_system_inodes[type]); in ocfs2_get_system_file_inode()
101 arr = get_local_system_inode(osb, type, slot); in ocfs2_get_system_file_inode()
104 if (arr && ((inode = *arr) != NULL)) { in ocfs2_get_system_file_inode()
117 if (arr && inode) { in ocfs2_get_system_file_inode()
118 *arr = igrab(inode); in ocfs2_get_system_file_inode()
119 BUG_ON(!*arr); in ocfs2_get_system_file_inode()
/fs/orangefs/
Dorangefs-debug.h21 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/fs/ext4/
Dmove_extent.c171 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in mext_page_mkuptodate() local
209 arr[nr++] = bh; in mext_page_mkuptodate()
216 bh = arr[i]; in mext_page_mkuptodate()
/fs/ntfs/
Daops.c177 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in ntfs_read_block() local
236 arr[nr++] = bh; in ntfs_read_block()
269 arr[nr++] = bh; in ntfs_read_block()
339 tbh = arr[i]; in ntfs_read_block()
346 tbh = arr[i]; in ntfs_read_block()
/fs/
Dbuffer.c2221 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local
2263 arr[nr++] = bh; in block_read_full_page()
2282 bh = arr[i]; in block_read_full_page()
2293 bh = arr[i]; in block_read_full_page()