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 (!(*bhe)->b_uptodate) { /* 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 || !(*bhe)->b_lock)); |
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 | 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 | 87 | fs/ext2/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 120 | fs/ext2/file.c | bhb = bhe = buflist; |
bhe | 168 | fs/ext2/file.c | if (bhb == bhe) |
bhe | 182 | fs/ext2/file.c | if (*bhe) { |
bhe | 183 | fs/ext2/file.c | wait_on_buffer (*bhe); |
bhe | 184 | fs/ext2/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 185 | fs/ext2/file.c | brelse(*bhe); |
bhe | 186 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 187 | 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 | 208 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 209 | fs/ext2/file.c | bhe = buflist; |
bhe | 210 | fs/ext2/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 216 | fs/ext2/file.c | while (bhe != bhb) { |
bhe | 217 | fs/ext2/file.c | brelse (*bhe); |
bhe | 218 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 219 | fs/ext2/file.c | bhe = buflist; |
bhe | 123 | fs/isofs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 150 | fs/isofs/file.c | bhb = bhe = buflist; |
bhe | 199 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 208 | fs/isofs/file.c | if (*bhe) {/* test for valid buffer */ |
bhe | 209 | fs/isofs/file.c | wait_on_buffer(*bhe); |
bhe | 210 | fs/isofs/file.c | if (!(*bhe)->b_uptodate) { |
bhe | 211 | fs/isofs/file.c | brelse(*bhe); |
bhe | 212 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 213 | fs/isofs/file.c | bhe = buflist; |
bhe | 226 | fs/isofs/file.c | if (*bhe) { |
bhe | 229 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
bhe | 232 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 233 | fs/isofs/file.c | brelse(*bhe); |
bhe | 240 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 241 | fs/isofs/file.c | bhe = buflist; |
bhe | 242 | fs/isofs/file.c | } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) && |
bhe | 247 | fs/isofs/file.c | while (bhe != bhb) { |
bhe | 248 | fs/isofs/file.c | if (*bhe) brelse(*bhe); |
bhe | 249 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 250 | 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 | 79 | fs/sysv/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 107 | fs/sysv/file.c | bhb = bhe = buflist; |
bhe | 143 | fs/sysv/file.c | if (bhb == bhe) |
bhe | 152 | fs/sysv/file.c | if (*bhe) { |
bhe | 153 | fs/sysv/file.c | wait_on_buffer(*bhe); |
bhe | 154 | fs/sysv/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 155 | fs/sysv/file.c | brelse(*bhe); |
bhe | 156 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 157 | fs/sysv/file.c | bhe = buflist; |
bhe | 169 | fs/sysv/file.c | if (*bhe) { |
bhe | 170 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 171 | fs/sysv/file.c | brelse(*bhe); |
bhe | 178 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 179 | fs/sysv/file.c | bhe = buflist; |
bhe | 180 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 184 | fs/sysv/file.c | while (bhe != bhb) { |
bhe | 185 | fs/sysv/file.c | brelse(*bhe); |
bhe | 186 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 187 | 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; |