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 | 79 | fs/ext/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 107 | fs/ext/file.c | bhb = bhe = buflist; |
bhe | 143 | fs/ext/file.c | if (bhb == bhe) |
bhe | 152 | fs/ext/file.c | if (*bhe) { |
bhe | 153 | fs/ext/file.c | wait_on_buffer(*bhe); |
bhe | 154 | fs/ext/file.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 155 | fs/ext/file.c | brelse(*bhe); |
bhe | 156 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 157 | fs/ext/file.c | bhe = buflist; |
bhe | 169 | fs/ext/file.c | if (*bhe) { |
bhe | 170 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 171 | fs/ext/file.c | brelse(*bhe); |
bhe | 178 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 179 | fs/ext/file.c | bhe = buflist; |
bhe | 180 | fs/ext/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 184 | fs/ext/file.c | while (bhe != bhb) { |
bhe | 185 | fs/ext/file.c | brelse(*bhe); |
bhe | 186 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 187 | fs/ext/file.c | bhe = buflist; |
bhe | 81 | fs/sysv/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 109 | fs/sysv/file.c | bhb = bhe = buflist; |
bhe | 145 | fs/sysv/file.c | if (bhb == bhe) |
bhe | 154 | fs/sysv/file.c | if (*bhe) { |
bhe | 155 | fs/sysv/file.c | wait_on_buffer(*bhe); |
bhe | 156 | fs/sysv/file.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 157 | fs/sysv/file.c | brelse(*bhe); |
bhe | 158 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 159 | fs/sysv/file.c | bhe = buflist; |
bhe | 171 | fs/sysv/file.c | if (*bhe) { |
bhe | 172 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 173 | fs/sysv/file.c | brelse(*bhe); |
bhe | 180 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 181 | fs/sysv/file.c | bhe = buflist; |
bhe | 182 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 186 | fs/sysv/file.c | while (bhe != bhb) { |
bhe | 187 | fs/sysv/file.c | brelse(*bhe); |
bhe | 188 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 189 | fs/sysv/file.c | bhe = buflist; |
bhe | 77 | fs/xiafs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 100 | fs/xiafs/file.c | bhb = bhe = buflist; |
bhe | 135 | fs/xiafs/file.c | if (bhb == bhe) |
bhe | 144 | fs/xiafs/file.c | if (*bhe) { |
bhe | 145 | fs/xiafs/file.c | wait_on_buffer(*bhe); |
bhe | 146 | fs/xiafs/file.c | if (!buffer_uptodate(*bhe)) { /* read error? */ |
bhe | 147 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 148 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 149 | fs/xiafs/file.c | bhe = buflist; |
bhe | 161 | fs/xiafs/file.c | if (*bhe) { |
bhe | 162 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 163 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 170 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 171 | fs/xiafs/file.c | bhe = buflist; |
bhe | 172 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe))); |
bhe | 176 | fs/xiafs/file.c | while (bhe != bhb) { |
bhe | 177 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 178 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 179 | fs/xiafs/file.c | bhe = buflist; |