tag | line | file | source code |
bhe | 68 | fs/block_dev.c | struct buffer_head ** bhb, ** bhe; |
bhe | 96 | fs/block_dev.c | bhb = bhe = buflist; |
bhe | 131 | fs/block_dev.c | if (bhb == bhe) |
bhe | 140 | fs/block_dev.c | if (*bhe) { |
bhe | 141 | fs/block_dev.c | wait_on_buffer(*bhe); |
bhe | 142 | fs/block_dev.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 154 | fs/block_dev.c | if (*bhe) { |
bhe | 155 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 156 | fs/block_dev.c | brelse(*bhe); |
bhe | 163 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 164 | fs/block_dev.c | bhe = buflist; |
bhe | 165 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 169 | fs/block_dev.c | while (bhe != bhb) { |
bhe | 170 | fs/block_dev.c | brelse(*bhe); |
bhe | 171 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 172 | 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 | 140 | fs/ext/file.c | if (bhb == bhe) |
bhe | 149 | fs/ext/file.c | if (*bhe) { |
bhe | 150 | fs/ext/file.c | wait_on_buffer(*bhe); |
bhe | 151 | fs/ext/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 163 | fs/ext/file.c | if (*bhe) { |
bhe | 164 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 165 | fs/ext/file.c | brelse(*bhe); |
bhe | 172 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 173 | fs/ext/file.c | bhe = buflist; |
bhe | 174 | fs/ext/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 178 | fs/ext/file.c | while (bhe != bhb) { |
bhe | 179 | fs/ext/file.c | brelse(*bhe); |
bhe | 180 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 181 | fs/ext/file.c | bhe = buflist; |
bhe | 78 | fs/ext2/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 108 | fs/ext2/file.c | bhb = bhe = buflist; |
bhe | 144 | fs/ext2/file.c | if (bhb == bhe) |
bhe | 153 | fs/ext2/file.c | if (*bhe) { |
bhe | 154 | fs/ext2/file.c | wait_on_buffer (*bhe); |
bhe | 155 | fs/ext2/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 167 | fs/ext2/file.c | if (*bhe) { |
bhe | 168 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
bhe | 170 | fs/ext2/file.c | brelse (*bhe); |
bhe | 177 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 178 | fs/ext2/file.c | bhe = buflist; |
bhe | 179 | fs/ext2/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 183 | fs/ext2/file.c | while (bhe != bhb) { |
bhe | 184 | fs/ext2/file.c | brelse (*bhe); |
bhe | 185 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 186 | fs/ext2/file.c | bhe = buflist; |
bhe | 119 | fs/isofs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 145 | fs/isofs/file.c | bhb = bhe = buflist; |
bhe | 181 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 185 | fs/isofs/file.c | if(blocks == 0 && bhrequest && filp->f_reada && bhb != bhe) { |
bhe | 206 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 215 | fs/isofs/file.c | if (*bhe) {/* test for valid buffer */ |
bhe | 216 | fs/isofs/file.c | wait_on_buffer(*bhe); |
bhe | 217 | fs/isofs/file.c | if (!(*bhe)->b_uptodate) { |
bhe | 230 | fs/isofs/file.c | if (*bhe) { |
bhe | 233 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
bhe | 235 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 236 | fs/isofs/file.c | brelse(*bhe); |
bhe | 243 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 244 | fs/isofs/file.c | bhe = buflist; |
bhe | 245 | fs/isofs/file.c | } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) && |
bhe | 250 | fs/isofs/file.c | while (bhe != bhb) { |
bhe | 251 | fs/isofs/file.c | if (*bhe) brelse(*bhe); |
bhe | 252 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 253 | 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 | 134 | fs/minix/file.c | if (bhb == bhe) |
bhe | 143 | fs/minix/file.c | if (*bhe) { |
bhe | 144 | fs/minix/file.c | wait_on_buffer(*bhe); |
bhe | 145 | fs/minix/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 157 | fs/minix/file.c | if (*bhe) { |
bhe | 158 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 159 | fs/minix/file.c | brelse(*bhe); |
bhe | 166 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 167 | fs/minix/file.c | bhe = buflist; |
bhe | 168 | fs/minix/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 172 | fs/minix/file.c | while (bhe != bhb) { |
bhe | 173 | fs/minix/file.c | brelse(*bhe); |
bhe | 174 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 175 | fs/minix/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 | 132 | fs/xiafs/file.c | if (bhb == bhe) |
bhe | 141 | fs/xiafs/file.c | if (*bhe) { |
bhe | 142 | fs/xiafs/file.c | wait_on_buffer(*bhe); |
bhe | 143 | fs/xiafs/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 155 | fs/xiafs/file.c | if (*bhe) { |
bhe | 156 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 157 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 164 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 165 | fs/xiafs/file.c | bhe = buflist; |
bhe | 166 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 170 | fs/xiafs/file.c | while (bhe != bhb) { |
bhe | 171 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 172 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 173 | fs/xiafs/file.c | bhe = buflist; |