Lines Matching refs:i
22 unsigned i, j ; in _ubh_bread_() local
34 for (i = 0; i < count; i++) in _ubh_bread_()
35 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) in _ubh_bread_()
37 for (; i < UFS_MAXFRAG; i++) in _ubh_bread_()
38 ubh->bh[i] = NULL; in _ubh_bread_()
41 for (j = 0; j < i; j++) in _ubh_bread_()
50 unsigned i, j; in ubh_bread_uspi() local
59 for (i = 0; i < count; i++) in ubh_bread_uspi()
60 if (!(USPI_UBH(uspi)->bh[i] = sb_bread(sb, fragment + i))) in ubh_bread_uspi()
62 for (; i < UFS_MAXFRAG; i++) in ubh_bread_uspi()
63 USPI_UBH(uspi)->bh[i] = NULL; in ubh_bread_uspi()
66 for (j = 0; j < i; j++) in ubh_bread_uspi()
73 unsigned i; in ubh_brelse() local
76 for (i = 0; i < ubh->count; i++) in ubh_brelse()
77 brelse (ubh->bh[i]); in ubh_brelse()
83 unsigned i; in ubh_brelse_uspi() local
86 for ( i = 0; i < USPI_UBH(uspi)->count; i++ ) { in ubh_brelse_uspi()
87 brelse (USPI_UBH(uspi)->bh[i]); in ubh_brelse_uspi()
88 USPI_UBH(uspi)->bh[i] = NULL; in ubh_brelse_uspi()
94 unsigned i; in ubh_mark_buffer_dirty() local
97 for ( i = 0; i < ubh->count; i++ ) in ubh_mark_buffer_dirty()
98 mark_buffer_dirty (ubh->bh[i]); in ubh_mark_buffer_dirty()
103 unsigned i; in ubh_mark_buffer_uptodate() local
107 for ( i = 0; i < ubh->count; i++ ) in ubh_mark_buffer_uptodate()
108 set_buffer_uptodate (ubh->bh[i]); in ubh_mark_buffer_uptodate()
110 for ( i = 0; i < ubh->count; i++ ) in ubh_mark_buffer_uptodate()
111 clear_buffer_uptodate (ubh->bh[i]); in ubh_mark_buffer_uptodate()
118 unsigned i; in ubh_sync_block() local
120 for (i = 0; i < ubh->count; i++) in ubh_sync_block()
121 write_dirty_buffer(ubh->bh[i], 0); in ubh_sync_block()
123 for (i = 0; i < ubh->count; i++) in ubh_sync_block()
124 wait_on_buffer(ubh->bh[i]); in ubh_sync_block()
130 unsigned i; in ubh_bforget() local
133 for ( i = 0; i < ubh->count; i++ ) if ( ubh->bh[i] ) in ubh_bforget()
134 bforget (ubh->bh[i]); in ubh_bforget()
139 unsigned i; in ubh_buffer_dirty() local
143 for ( i = 0; i < ubh->count; i++ ) in ubh_buffer_dirty()
144 result |= buffer_dirty(ubh->bh[i]); in ubh_buffer_dirty()