Lines Matching refs:i

92 	int i;  in iput()  local
98 for (i = 0; i < INODE_LOCKED_MAX; i++) { in iput()
99 if (inodes_locked_down[i] == NULL) in iput()
103 if (i >= INODE_LOCKED_MAX) { in iput()
117 inodes_locked_down[i] = ino; in iput()
248 int i; in ubifs_iget() local
258 for (i = 0; i < INODE_LOCKED_MAX; i++) { in ubifs_iget()
262 if (inodes_locked_down[i] == NULL) in ubifs_iget()
265 if (inodes_locked_down[i]->i_ino == inum) { in ubifs_iget()
271 return inodes_locked_down[i]; in ubifs_iget()
634 int i, err; in ubifs_sync_fs() local
649 for (i = 0; i < c->jhead_cnt; i++) { in ubifs_sync_fs()
650 err = ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_sync_fs()
981 int i, err; in alloc_wbufs() local
989 for (i = 0; i < c->jhead_cnt; i++) { in alloc_wbufs()
990 INIT_LIST_HEAD(&c->jheads[i].buds_list); in alloc_wbufs()
991 err = ubifs_wbuf_init(c, &c->jheads[i].wbuf); in alloc_wbufs()
995 c->jheads[i].wbuf.sync_callback = &bud_wbuf_callback; in alloc_wbufs()
996 c->jheads[i].wbuf.jhead = i; in alloc_wbufs()
997 c->jheads[i].grouped = 1; in alloc_wbufs()
1016 int i; in free_wbufs() local
1019 for (i = 0; i < c->jhead_cnt; i++) { in free_wbufs()
1020 kfree(c->jheads[i].wbuf.buf); in free_wbufs()
1021 kfree(c->jheads[i].wbuf.inodes); in free_wbufs()
1943 int i, err; in ubifs_remount_ro() local
1956 for (i = 0; i < c->jhead_cnt; i++) in ubifs_remount_ro()
1957 ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_remount_ro()
1982 int i; in ubifs_put_super() local
2023 for (i = 0; i < c->jhead_cnt; i++) in ubifs_put_super()
2024 ubifs_wbuf_sync(&c->jheads[i].wbuf); in ubifs_put_super()
2045 for (i = 0; i < c->jhead_cnt; i++) in ubifs_put_super()
2047 hrtimer_cancel(&c->jheads[i].wbuf.timer); in ubifs_put_super()