tag | line | file | source code |
bhe | 170 | fs/block_dev.c | struct buffer_head ** bhb, ** bhe; |
bhe | 214 | fs/block_dev.c | bhb = bhe = buflist; |
bhe | 262 | fs/block_dev.c | if (bhb == bhe) |
bhe | 273 | fs/block_dev.c | if (*bhe) { |
bhe | 274 | fs/block_dev.c | wait_on_buffer(*bhe); |
bhe | 275 | fs/block_dev.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 276 | fs/block_dev.c | brelse(*bhe); |
bhe | 277 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 278 | fs/block_dev.c | bhe = buflist; |
bhe | 290 | fs/block_dev.c | if (*bhe) { |
bhe | 291 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 292 | fs/block_dev.c | brelse(*bhe); |
bhe | 299 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 300 | fs/block_dev.c | bhe = buflist; |
bhe | 301 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 305 | fs/block_dev.c | while (bhe != bhb) { |
bhe | 306 | fs/block_dev.c | brelse(*bhe); |
bhe | 307 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 308 | fs/block_dev.c | bhe = buflist; |
bhe | 80 | fs/ext/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 108 | fs/ext/file.c | bhb = bhe = buflist; |
bhe | 144 | fs/ext/file.c | if (bhb == bhe) |
bhe | 153 | fs/ext/file.c | if (*bhe) { |
bhe | 154 | fs/ext/file.c | wait_on_buffer(*bhe); |
bhe | 155 | fs/ext/file.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 156 | fs/ext/file.c | brelse(*bhe); |
bhe | 157 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 158 | fs/ext/file.c | bhe = buflist; |
bhe | 170 | fs/ext/file.c | if (*bhe) { |
bhe | 171 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 172 | fs/ext/file.c | brelse(*bhe); |
bhe | 179 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 180 | fs/ext/file.c | bhe = buflist; |
bhe | 181 | fs/ext/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 185 | fs/ext/file.c | while (bhe != bhb) { |
bhe | 186 | fs/ext/file.c | brelse(*bhe); |
bhe | 187 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 188 | fs/ext/file.c | bhe = buflist; |
bhe | 82 | fs/sysv/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 110 | fs/sysv/file.c | bhb = bhe = buflist; |
bhe | 146 | fs/sysv/file.c | if (bhb == bhe) |
bhe | 155 | fs/sysv/file.c | if (*bhe) { |
bhe | 156 | fs/sysv/file.c | wait_on_buffer(*bhe); |
bhe | 157 | fs/sysv/file.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 158 | fs/sysv/file.c | brelse(*bhe); |
bhe | 159 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 160 | fs/sysv/file.c | bhe = buflist; |
bhe | 172 | fs/sysv/file.c | if (*bhe) { |
bhe | 173 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 174 | fs/sysv/file.c | brelse(*bhe); |
bhe | 181 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 182 | fs/sysv/file.c | bhe = buflist; |
bhe | 183 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 187 | fs/sysv/file.c | while (bhe != bhb) { |
bhe | 188 | fs/sysv/file.c | brelse(*bhe); |
bhe | 189 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 190 | fs/sysv/file.c | bhe = buflist; |
bhe | 78 | fs/xiafs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 101 | fs/xiafs/file.c | bhb = bhe = buflist; |
bhe | 136 | fs/xiafs/file.c | if (bhb == bhe) |
bhe | 145 | fs/xiafs/file.c | if (*bhe) { |
bhe | 146 | fs/xiafs/file.c | wait_on_buffer(*bhe); |
bhe | 147 | fs/xiafs/file.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 148 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 149 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 150 | fs/xiafs/file.c | bhe = buflist; |
bhe | 162 | fs/xiafs/file.c | if (*bhe) { |
bhe | 163 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 164 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 171 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 172 | fs/xiafs/file.c | bhe = buflist; |
bhe | 173 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 177 | fs/xiafs/file.c | while (bhe != bhb) { |
bhe | 178 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 179 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 180 | fs/xiafs/file.c | bhe = buflist; |