Searched refs:arr (Results 1 – 10 of 10) sorted by relevance
/fs/ocfs2/ |
D | sysfile.c | 71 struct inode **arr = NULL; in ocfs2_get_system_file_inode() local 75 arr = &(osb->system_inodes[type]); in ocfs2_get_system_file_inode() 77 if (arr && ((inode = *arr) != NULL)) { in ocfs2_get_system_file_inode() 89 if (arr && inode) { in ocfs2_get_system_file_inode() 90 *arr = igrab(inode); in ocfs2_get_system_file_inode() 91 BUG_ON(!*arr); in ocfs2_get_system_file_inode()
|
/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() 766 memcpy(c->dirty_idx.arr, c->lpt_heap[LPROPS_DIRTY_IDX - 1].arr, in ubifs_save_dirty_idx_lnums() 769 sort(c->dirty_idx.arr, c->dirty_idx.cnt, sizeof(void *), in ubifs_save_dirty_idx_lnums() 775 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->lnum, in ubifs_save_dirty_idx_lnums() 776 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->dirty, in ubifs_save_dirty_idx_lnums() 777 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); in ubifs_save_dirty_idx_lnums() 780 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 | 833 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave() 839 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave() 845 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave() 1480 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free() 1481 kfree(c->dirty_idx.arr); in ubifs_lpt_free()
|
D | lpt.c | 1637 c->lpt_heap[i].arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, in lpt_init_rd() 1639 if (!c->lpt_heap[i].arr) in lpt_init_rd() 1645 c->dirty_idx.arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, GFP_KERNEL); in lpt_init_rd() 1646 if (!c->dirty_idx.arr) in lpt_init_rd() 2166 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode()
|
D | ubifs.h | 612 struct ubifs_lprops **arr; member
|
D | debug.c | 795 struct ubifs_lprops *lprops = heap->arr[i]; in dbg_dump_heap()
|
/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 | 572 const u64 *arr = sdp->sd_heightsize; in gfs2_block_map() local 591 arr = sdp->sd_jheightsize; in gfs2_block_map() 600 while (size > arr[height]) in gfs2_block_map()
|
/fs/ |
D | buffer.c | 2218 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local 2262 arr[nr++] = bh; in block_read_full_page() 2281 bh = arr[i]; in block_read_full_page() 2292 bh = arr[i]; in block_read_full_page()
|