tag | line | file | source code |
bhe | 164 | fs/block_dev.c | struct buffer_head ** bhb, ** bhe; |
bhe | 204 | fs/block_dev.c | bhb = bhe = buflist; |
bhe | 250 | fs/block_dev.c | if (bhb == bhe) |
bhe | 261 | fs/block_dev.c | if (*bhe) { |
bhe | 262 | fs/block_dev.c | wait_on_buffer(*bhe); |
bhe | 263 | fs/block_dev.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 264 | fs/block_dev.c | brelse(*bhe); |
bhe | 265 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 266 | fs/block_dev.c | bhe = buflist; |
bhe | 278 | fs/block_dev.c | if (*bhe) { |
bhe | 279 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 280 | fs/block_dev.c | brelse(*bhe); |
bhe | 287 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 288 | fs/block_dev.c | bhe = buflist; |
bhe | 289 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 293 | fs/block_dev.c | while (bhe != bhb) { |
bhe | 294 | fs/block_dev.c | brelse(*bhe); |
bhe | 295 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 296 | fs/block_dev.c | bhe = buflist; |
bhe | 77 | fs/ext/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 105 | fs/ext/file.c | bhb = bhe = buflist; |
bhe | 141 | fs/ext/file.c | if (bhb == bhe) |
bhe | 150 | fs/ext/file.c | if (*bhe) { |
bhe | 151 | fs/ext/file.c | wait_on_buffer(*bhe); |
bhe | 152 | fs/ext/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 153 | fs/ext/file.c | brelse(*bhe); |
bhe | 154 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 155 | fs/ext/file.c | bhe = buflist; |
bhe | 167 | fs/ext/file.c | if (*bhe) { |
bhe | 168 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 169 | fs/ext/file.c | brelse(*bhe); |
bhe | 176 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 177 | fs/ext/file.c | bhe = buflist; |
bhe | 178 | fs/ext/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 182 | fs/ext/file.c | while (bhe != bhb) { |
bhe | 183 | fs/ext/file.c | brelse(*bhe); |
bhe | 184 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 185 | fs/ext/file.c | bhe = buflist; |
bhe | 86 | fs/ext2/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 118 | fs/ext2/file.c | bhb = bhe = buflist; |
bhe | 166 | fs/ext2/file.c | if (bhb == bhe) |
bhe | 180 | fs/ext2/file.c | if (*bhe) { |
bhe | 181 | fs/ext2/file.c | wait_on_buffer (*bhe); |
bhe | 182 | fs/ext2/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 183 | fs/ext2/file.c | brelse(*bhe); |
bhe | 184 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 185 | fs/ext2/file.c | bhe = buflist; |
bhe | 197 | fs/ext2/file.c | if (*bhe) { |
bhe | 198 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
bhe | 200 | fs/ext2/file.c | brelse (*bhe); |
bhe | 207 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 208 | fs/ext2/file.c | bhe = buflist; |
bhe | 209 | fs/ext2/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 215 | fs/ext2/file.c | while (bhe != bhb) { |
bhe | 216 | fs/ext2/file.c | brelse (*bhe); |
bhe | 217 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 218 | fs/ext2/file.c | bhe = buflist; |
bhe | 125 | fs/isofs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 151 | fs/isofs/file.c | bhb = bhe = buflist; |
bhe | 188 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 197 | fs/isofs/file.c | if (*bhe) {/* test for valid buffer */ |
bhe | 198 | fs/isofs/file.c | wait_on_buffer(*bhe); |
bhe | 199 | fs/isofs/file.c | if (!(*bhe)->b_uptodate) { |
bhe | 200 | fs/isofs/file.c | brelse(*bhe); |
bhe | 201 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 202 | fs/isofs/file.c | bhe = buflist; |
bhe | 215 | fs/isofs/file.c | if (*bhe) { |
bhe | 218 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
bhe | 221 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 222 | fs/isofs/file.c | brelse(*bhe); |
bhe | 229 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 230 | fs/isofs/file.c | bhe = buflist; |
bhe | 231 | fs/isofs/file.c | } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) && |
bhe | 236 | fs/isofs/file.c | while (bhe != bhb) { |
bhe | 237 | fs/isofs/file.c | if (*bhe) brelse(*bhe); |
bhe | 238 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 239 | fs/isofs/file.c | bhe = buflist; |
bhe | 71 | fs/minix/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 99 | fs/minix/file.c | bhb = bhe = buflist; |
bhe | 135 | fs/minix/file.c | if (bhb == bhe) |
bhe | 144 | fs/minix/file.c | if (*bhe) { |
bhe | 145 | fs/minix/file.c | wait_on_buffer(*bhe); |
bhe | 146 | fs/minix/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 147 | fs/minix/file.c | brelse(*bhe); |
bhe | 148 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 149 | fs/minix/file.c | bhe = buflist; |
bhe | 161 | fs/minix/file.c | if (*bhe) { |
bhe | 162 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 163 | fs/minix/file.c | brelse(*bhe); |
bhe | 170 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 171 | fs/minix/file.c | bhe = buflist; |
bhe | 172 | fs/minix/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 176 | fs/minix/file.c | while (bhe != bhb) { |
bhe | 177 | fs/minix/file.c | brelse(*bhe); |
bhe | 178 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 179 | fs/minix/file.c | bhe = buflist; |
bhe | 115 | fs/sysv/file.c | struct sysv_buffer * bhb, * bhe; |
bhe | 143 | fs/sysv/file.c | bhb = bhe = buflist; |
bhe | 187 | fs/sysv/file.c | if (bhb == bhe) |
bhe | 196 | fs/sysv/file.c | if (bhe->bh) { |
bhe | 197 | fs/sysv/file.c | wait_on_buffer(bhe->bh); |
bhe | 198 | fs/sysv/file.c | if (!bhe->bh->b_uptodate) { /* read error? */ |
bhe | 199 | fs/sysv/file.c | brelse(bhe->bh); |
bhe | 200 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 201 | fs/sysv/file.c | bhe = buflist; |
bhe | 213 | fs/sysv/file.c | if (bhe->bh) { |
bhe | 214 | fs/sysv/file.c | memcpy_tofs(buf,offset+bhe->bh_data,chars); |
bhe | 215 | fs/sysv/file.c | brelse(bhe->bh); |
bhe | 222 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 223 | fs/sysv/file.c | bhe = buflist; |
bhe | 224 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!bhe->bh || !bhe->bh->b_lock)); |
bhe | 228 | fs/sysv/file.c | while (bhe != bhb) { |
bhe | 229 | fs/sysv/file.c | brelse(bhe->bh); |
bhe | 230 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 231 | fs/sysv/file.c | bhe = buflist; |
bhe | 75 | fs/xiafs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 98 | fs/xiafs/file.c | bhb = bhe = buflist; |
bhe | 133 | fs/xiafs/file.c | if (bhb == bhe) |
bhe | 142 | fs/xiafs/file.c | if (*bhe) { |
bhe | 143 | fs/xiafs/file.c | wait_on_buffer(*bhe); |
bhe | 144 | fs/xiafs/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 145 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 146 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 147 | fs/xiafs/file.c | bhe = buflist; |
bhe | 159 | fs/xiafs/file.c | if (*bhe) { |
bhe | 160 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 161 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 168 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 169 | fs/xiafs/file.c | bhe = buflist; |
bhe | 170 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 174 | fs/xiafs/file.c | while (bhe != bhb) { |
bhe | 175 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 176 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 177 | fs/xiafs/file.c | bhe = buflist; |