Home
last modified time | relevance | path

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

/fs/ubifs/
A Dlprops.c73 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap()
74 heap->arr[ppos] = lprops; in move_up_lpt_heap()
107 heap->arr[hpos] = heap->arr[ppos]; in adjust_lpt_heap()
138 heap->arr[hpos] = heap->arr[cpos]; in adjust_lpt_heap()
139 heap->arr[cpos] = lprops; in adjust_lpt_heap()
152 heap->arr[hpos] = heap->arr[cpos]; in adjust_lpt_heap()
192 lp = heap->arr[cpos]; in add_to_lpt_heap()
230 heap->arr[hpos] = heap->arr[heap->cnt]; in remove_from_lpt_heap()
772 lprops = heap->arr[0]; in ubifs_fast_find_free()
938 lprops = heap->arr[i]; in dbg_check_cats()
[all …]
A Dlpt_commit.c840 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
846 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
852 c->lsave[cnt++] = heap->arr[i]->lnum; in populate_lsave()
1489 kfree(c->lpt_heap[i].arr); in ubifs_lpt_free()
1490 kfree(c->dirty_idx.arr); in ubifs_lpt_free()
2035 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2038 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2041 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
A 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()
2179 heap->arr[lprops->hpos] == lprops) in dbg_chk_pnode()
A Dubifs.h1222 struct ubifs_lprops **arr; member
A Ddebug.c925 struct ubifs_lprops *lprops = heap->arr[i]; in ubifs_dump_heap()
/fs/ext4/
A Dext4_common.c716 static int parse_path(char **arr, char *dirname) in parse_path() argument
722 arr[i] = zalloc(strlen("/") + 1); in parse_path()
723 if (!arr[i]) in parse_path()
725 memcpy(arr[i++], "/", strlen("/")); in parse_path()
729 arr[i] = zalloc(strlen(token) + 1); in parse_path()
730 if (!arr[i]) in parse_path()
732 memcpy(arr[i++], token, strlen(token)); in parse_path()
735 arr[i] = NULL; in parse_path()

Completed in 26 milliseconds