tag | line | file | source code |
bhe | 87 | fs/block_dev.c | struct buffer_head ** bhb, ** bhe; |
bhe | 125 | fs/block_dev.c | bhb = bhe = buflist; |
bhe | 160 | fs/block_dev.c | if (bhb == bhe) |
bhe | 169 | fs/block_dev.c | if (*bhe) { |
bhe | 170 | fs/block_dev.c | wait_on_buffer(*bhe); |
bhe | 171 | fs/block_dev.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 172 | fs/block_dev.c | brelse(*bhe); |
bhe | 173 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 174 | fs/block_dev.c | bhe = buflist; |
bhe | 186 | fs/block_dev.c | if (*bhe) { |
bhe | 187 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 188 | fs/block_dev.c | brelse(*bhe); |
bhe | 195 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 196 | fs/block_dev.c | bhe = buflist; |
bhe | 197 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 201 | fs/block_dev.c | while (bhe != bhb) { |
bhe | 202 | fs/block_dev.c | brelse(*bhe); |
bhe | 203 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 204 | 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 | 152 | fs/ext/file.c | brelse(*bhe); |
bhe | 153 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 154 | fs/ext/file.c | bhe = buflist; |
bhe | 166 | fs/ext/file.c | if (*bhe) { |
bhe | 167 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 168 | fs/ext/file.c | brelse(*bhe); |
bhe | 175 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 176 | fs/ext/file.c | bhe = buflist; |
bhe | 177 | fs/ext/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 181 | fs/ext/file.c | while (bhe != bhb) { |
bhe | 182 | fs/ext/file.c | brelse(*bhe); |
bhe | 183 | fs/ext/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 184 | fs/ext/file.c | bhe = buflist; |
bhe | 79 | fs/ext2/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 111 | fs/ext2/file.c | bhb = bhe = buflist; |
bhe | 148 | fs/ext2/file.c | if (bhb == bhe) |
bhe | 157 | fs/ext2/file.c | if (*bhe) { |
bhe | 158 | fs/ext2/file.c | wait_on_buffer (*bhe); |
bhe | 159 | fs/ext2/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 160 | fs/ext2/file.c | brelse(*bhe); |
bhe | 161 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 162 | fs/ext2/file.c | bhe = buflist; |
bhe | 174 | fs/ext2/file.c | if (*bhe) { |
bhe | 175 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
bhe | 177 | fs/ext2/file.c | brelse (*bhe); |
bhe | 184 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 185 | fs/ext2/file.c | bhe = buflist; |
bhe | 186 | fs/ext2/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 190 | fs/ext2/file.c | while (bhe != bhb) { |
bhe | 191 | fs/ext2/file.c | brelse (*bhe); |
bhe | 192 | fs/ext2/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 193 | 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 | 182 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 186 | fs/isofs/file.c | if(blocks == 0 && bhrequest && filp->f_reada && bhb != bhe) { |
bhe | 207 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 216 | fs/isofs/file.c | if (*bhe) {/* test for valid buffer */ |
bhe | 217 | fs/isofs/file.c | wait_on_buffer(*bhe); |
bhe | 218 | fs/isofs/file.c | if (!(*bhe)->b_uptodate) { |
bhe | 219 | fs/isofs/file.c | brelse(*bhe); |
bhe | 220 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 221 | fs/isofs/file.c | bhe = buflist; |
bhe | 234 | fs/isofs/file.c | if (*bhe) { |
bhe | 237 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
bhe | 239 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 240 | fs/isofs/file.c | brelse(*bhe); |
bhe | 247 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 248 | fs/isofs/file.c | bhe = buflist; |
bhe | 249 | fs/isofs/file.c | } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) && |
bhe | 254 | fs/isofs/file.c | while (bhe != bhb) { |
bhe | 255 | fs/isofs/file.c | if (*bhe) brelse(*bhe); |
bhe | 256 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 257 | 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 | 146 | fs/minix/file.c | brelse(*bhe); |
bhe | 147 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 148 | fs/minix/file.c | bhe = buflist; |
bhe | 160 | fs/minix/file.c | if (*bhe) { |
bhe | 161 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 162 | fs/minix/file.c | brelse(*bhe); |
bhe | 169 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 170 | fs/minix/file.c | bhe = buflist; |
bhe | 171 | fs/minix/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 175 | fs/minix/file.c | while (bhe != bhb) { |
bhe | 176 | fs/minix/file.c | brelse(*bhe); |
bhe | 177 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 178 | 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 | 144 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 145 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 146 | fs/xiafs/file.c | bhe = buflist; |
bhe | 158 | fs/xiafs/file.c | if (*bhe) { |
bhe | 159 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 160 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 167 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 168 | fs/xiafs/file.c | bhe = buflist; |
bhe | 169 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 173 | fs/xiafs/file.c | while (bhe != bhb) { |
bhe | 174 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 175 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 176 | fs/xiafs/file.c | bhe = buflist; |