Searched refs:arr (Results 1 – 11 of 11) sorted by relevance
/fs/ubifs/ |
D | lprops.c | 75 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 …]
|
D | find.c | 148 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 …]
|
D | lpt_commit.c | 836 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave() 842 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave() 848 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave() 1483 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free() 1484 kfree(c->dirty_idx.arr); in ubifs_lpt_free() 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() 2034 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
|
D | lpt.c | 1640 c->lpt_heap[i].arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, in lpt_init_rd() 1642 if (!c->lpt_heap[i].arr) in lpt_init_rd() 1648 c->dirty_idx.arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, GFP_KERNEL); in lpt_init_rd() 1649 if (!c->dirty_idx.arr) in lpt_init_rd() 2171 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode()
|
D | ubifs.h | 625 struct ubifs_lprops **arr; member
|
D | debug.c | 896 struct ubifs_lprops *lprops = heap->arr[i]; in ubifs_dump_heap()
|
/fs/ocfs2/ |
D | sysfile.c | 108 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() 117 if (arr && ((inode = *arr) != NULL)) { in ocfs2_get_system_file_inode() 130 if (arr && inode) { in ocfs2_get_system_file_inode() 131 *arr = igrab(inode); in ocfs2_get_system_file_inode() 132 BUG_ON(!*arr); in ocfs2_get_system_file_inode()
|
/fs/ext4/ |
D | move_extent.c | 184 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/ |
D | aops.c | 194 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in ntfs_read_block() local 253 arr[nr++] = bh; in ntfs_read_block() 286 arr[nr++] = bh; in ntfs_read_block() 356 tbh = arr[i]; in ntfs_read_block() 363 tbh = arr[i]; in ntfs_read_block()
|
/fs/gfs2/ |
D | bmap.c | 610 const u64 *arr = sdp->sd_heightsize; in gfs2_block_map() local 630 arr = sdp->sd_jheightsize; in gfs2_block_map() 639 while (size > arr[height]) in gfs2_block_map()
|
/fs/ |
D | buffer.c | 2163 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local 2205 arr[nr++] = bh; in block_read_full_page() 2224 bh = arr[i]; in block_read_full_page() 2235 bh = arr[i]; in block_read_full_page()
|