Home
last modified time | relevance | path

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

/fs/ubifs/
Dlprops.c75 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap()
79 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap()
80 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap()
81 heap->arr[ppos] = lprops; in move_up_lpt_heap()
109 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
113 heap->arr[ppos]->hpos = hpos; in adjust_lpt_heap()
114 heap->arr[hpos] = heap->arr[ppos]; in adjust_lpt_heap()
115 heap->arr[ppos] = lprops; in adjust_lpt_heap()
121 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap()
135 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap()
[all …]
Dfind.c148 lprops = heap->arr[i]; in scan_for_dirty()
288 idx_lp = idx_heap->arr[0]; in ubifs_find_dirty_leb()
305 lp = heap->arr[0]; in ubifs_find_dirty_leb()
434 lprops = heap->arr[i]; in do_find_free_space()
774 memcpy(c->dirty_idx.arr, c->lpt_heap[LPROPS_DIRTY_IDX - 1].arr, in ubifs_save_dirty_idx_lnums()
777 sort(c->dirty_idx.arr, c->dirty_idx.cnt, sizeof(void *), in ubifs_save_dirty_idx_lnums()
783 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->lnum, in ubifs_save_dirty_idx_lnums()
784 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->dirty, in ubifs_save_dirty_idx_lnums()
785 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); in ubifs_save_dirty_idx_lnums()
788 c->dirty_idx.arr[i] = (void *)(size_t)c->dirty_idx.arr[i]->lnum; in ubifs_save_dirty_idx_lnums()
[all …]
Dlpt_commit.c838 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
844 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
850 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
1485 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free()
1486 kfree(c->dirty_idx.arr); in ubifs_lpt_free()
2025 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2028 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2031 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
Dlpt.c1642 c->lpt_heap[i].arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, in lpt_init_rd()
1644 if (!c->lpt_heap[i].arr) in lpt_init_rd()
1650 c->dirty_idx.arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, GFP_KERNEL); in lpt_init_rd()
1651 if (!c->dirty_idx.arr) in lpt_init_rd()
2174 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode()
Dubifs.h618 struct ubifs_lprops **arr; member
Ddebug.c894 struct ubifs_lprops *lprops = heap->arr[i]; in ubifs_dump_heap()
/fs/ocfs2/
Dsysfile.c108 struct inode **arr = NULL; in ocfs2_get_system_file_inode() local
112 arr = &(osb->global_system_inodes[type]); in ocfs2_get_system_file_inode()
114 arr = get_local_system_inode(osb, type, slot); in ocfs2_get_system_file_inode()
116 if (arr && ((inode = *arr) != NULL)) { in ocfs2_get_system_file_inode()
128 if (arr && inode) { in ocfs2_get_system_file_inode()
129 *arr = igrab(inode); in ocfs2_get_system_file_inode()
130 BUG_ON(!*arr); in ocfs2_get_system_file_inode()
/fs/ext4/
Dmove_extent.c184 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in mext_page_mkuptodate() local
222 arr[nr++] = bh; in mext_page_mkuptodate()
229 bh = arr[i]; in mext_page_mkuptodate()
/fs/ntfs/
Daops.c195 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in ntfs_read_block() local
254 arr[nr++] = bh; in ntfs_read_block()
287 arr[nr++] = bh; in ntfs_read_block()
357 tbh = arr[i]; in ntfs_read_block()
364 tbh = arr[i]; in ntfs_read_block()
/fs/gfs2/
Dbmap.c609 const u64 *arr = sdp->sd_heightsize; in gfs2_block_map() local
629 arr = sdp->sd_jheightsize; in gfs2_block_map()
638 while (size > arr[height]) in gfs2_block_map()
/fs/
Dbuffer.c2123 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local
2165 arr[nr++] = bh; in block_read_full_page()
2184 bh = arr[i]; in block_read_full_page()
2195 bh = arr[i]; in block_read_full_page()