tag | line | file | source code |
bhe | 134 | fs/block_dev.c | struct buffer_head ** bhb, ** bhe; |
bhe | 174 | fs/block_dev.c | bhb = bhe = buflist; |
bhe | 219 | fs/block_dev.c | if (bhb == bhe) |
bhe | 230 | fs/block_dev.c | if (*bhe) { |
bhe | 231 | fs/block_dev.c | wait_on_buffer(*bhe); |
bhe | 232 | fs/block_dev.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 233 | fs/block_dev.c | brelse(*bhe); |
bhe | 234 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 235 | fs/block_dev.c | bhe = buflist; |
bhe | 247 | fs/block_dev.c | if (*bhe) { |
bhe | 248 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 249 | fs/block_dev.c | brelse(*bhe); |
bhe | 256 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 257 | fs/block_dev.c | bhe = buflist; |
bhe | 258 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 262 | fs/block_dev.c | while (bhe != bhb) { |
bhe | 263 | fs/block_dev.c | brelse(*bhe); |
bhe | 264 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 265 | 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 | 82 | fs/ext2/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 114 | fs/ext2/file.c | bhb = bhe = buflist; |
bhe | 162 | fs/ext2/file.c | if (bhb == bhe) |
bhe | 176 | fs/ext2/file.c | if (*bhe) { |
bhe | 177 | fs/ext2/file.c | wait_on_buffer (*bhe); |
bhe | 178 | fs/ext2/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 179 | fs/ext2/file.c | brelse(*bhe); |
bhe | 180 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 181 | fs/ext2/file.c | bhe = buflist; |
bhe | 193 | fs/ext2/file.c | if (*bhe) { |
bhe | 194 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
bhe | 196 | fs/ext2/file.c | brelse (*bhe); |
bhe | 203 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 204 | fs/ext2/file.c | bhe = buflist; |
bhe | 205 | fs/ext2/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 211 | fs/ext2/file.c | while (bhe != bhb) { |
bhe | 212 | fs/ext2/file.c | brelse (*bhe); |
bhe | 213 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 214 | fs/ext2/file.c | bhe = buflist; |
bhe | 120 | fs/isofs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 146 | fs/isofs/file.c | bhb = bhe = buflist; |
bhe | 183 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 192 | fs/isofs/file.c | if (*bhe) {/* test for valid buffer */ |
bhe | 193 | fs/isofs/file.c | wait_on_buffer(*bhe); |
bhe | 194 | fs/isofs/file.c | if (!(*bhe)->b_uptodate) { |
bhe | 195 | fs/isofs/file.c | brelse(*bhe); |
bhe | 196 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 197 | fs/isofs/file.c | bhe = buflist; |
bhe | 210 | fs/isofs/file.c | if (*bhe) { |
bhe | 213 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
bhe | 215 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 216 | fs/isofs/file.c | brelse(*bhe); |
bhe | 223 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 224 | fs/isofs/file.c | bhe = buflist; |
bhe | 225 | fs/isofs/file.c | } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) && |
bhe | 230 | fs/isofs/file.c | while (bhe != bhb) { |
bhe | 231 | fs/isofs/file.c | if (*bhe) brelse(*bhe); |
bhe | 232 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 233 | 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 | 116 | fs/sysv/file.c | struct sysv_buffer * bhb, * bhe; |
bhe | 144 | fs/sysv/file.c | bhb = bhe = buflist; |
bhe | 188 | fs/sysv/file.c | if (bhb == bhe) |
bhe | 197 | fs/sysv/file.c | if (bhe->bh) { |
bhe | 198 | fs/sysv/file.c | wait_on_buffer(bhe->bh); |
bhe | 199 | fs/sysv/file.c | if (!bhe->bh->b_uptodate) { /* read error? */ |
bhe | 200 | fs/sysv/file.c | brelse(bhe->bh); |
bhe | 201 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 202 | fs/sysv/file.c | bhe = buflist; |
bhe | 214 | fs/sysv/file.c | if (bhe->bh) { |
bhe | 215 | fs/sysv/file.c | memcpy_tofs(buf,offset+bhe->bh_data,chars); |
bhe | 216 | fs/sysv/file.c | brelse(bhe->bh); |
bhe | 223 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 224 | fs/sysv/file.c | bhe = buflist; |
bhe | 225 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!bhe->bh || !bhe->bh->b_lock)); |
bhe | 229 | fs/sysv/file.c | while (bhe != bhb) { |
bhe | 230 | fs/sysv/file.c | brelse(bhe->bh); |
bhe | 231 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 232 | 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; |