tag | line | file | source code |
bhe | 170 | fs/block_dev.c | struct buffer_head ** bhb, ** bhe; |
bhe | 211 | fs/block_dev.c | bhb = bhe = buflist; |
bhe | 259 | fs/block_dev.c | if (bhb == bhe) |
bhe | 270 | fs/block_dev.c | if (*bhe) { |
bhe | 271 | fs/block_dev.c | wait_on_buffer(*bhe); |
bhe | 272 | fs/block_dev.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 273 | fs/block_dev.c | brelse(*bhe); |
bhe | 274 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 275 | fs/block_dev.c | bhe = buflist; |
bhe | 287 | fs/block_dev.c | if (*bhe) { |
bhe | 288 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 289 | fs/block_dev.c | brelse(*bhe); |
bhe | 296 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 297 | fs/block_dev.c | bhe = buflist; |
bhe | 298 | fs/block_dev.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 302 | fs/block_dev.c | while (bhe != bhb) { |
bhe | 303 | fs/block_dev.c | brelse(*bhe); |
bhe | 304 | fs/block_dev.c | if (++bhe == &buflist[NBUF]) |
bhe | 305 | 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 | 119 | fs/ext2/file.c | bhb = bhe = buflist; |
bhe | 167 | fs/ext2/file.c | if (bhb == bhe) |
bhe | 181 | fs/ext2/file.c | if (*bhe) { |
bhe | 182 | fs/ext2/file.c | wait_on_buffer (*bhe); |
bhe | 183 | fs/ext2/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
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 | 198 | fs/ext2/file.c | if (*bhe) { |
bhe | 199 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
bhe | 201 | 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 | 129 | fs/isofs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 156 | fs/isofs/file.c | bhb = bhe = buflist; |
bhe | 205 | fs/isofs/file.c | if (bhb == bhe) |
bhe | 214 | fs/isofs/file.c | if (*bhe) {/* test for valid buffer */ |
bhe | 215 | fs/isofs/file.c | wait_on_buffer(*bhe); |
bhe | 216 | fs/isofs/file.c | if (!(*bhe)->b_uptodate) { |
bhe | 217 | fs/isofs/file.c | brelse(*bhe); |
bhe | 218 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 219 | fs/isofs/file.c | bhe = buflist; |
bhe | 232 | fs/isofs/file.c | if (*bhe) { |
bhe | 235 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
bhe | 238 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 239 | fs/isofs/file.c | brelse(*bhe); |
bhe | 246 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 247 | fs/isofs/file.c | bhe = buflist; |
bhe | 248 | fs/isofs/file.c | } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) && |
bhe | 253 | fs/isofs/file.c | while (bhe != bhb) { |
bhe | 254 | fs/isofs/file.c | if (*bhe) brelse(*bhe); |
bhe | 255 | fs/isofs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 256 | fs/isofs/file.c | bhe = buflist; |
bhe | 75 | fs/minix/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 103 | fs/minix/file.c | bhb = bhe = buflist; |
bhe | 139 | fs/minix/file.c | if (bhb == bhe) |
bhe | 148 | fs/minix/file.c | if (*bhe) { |
bhe | 149 | fs/minix/file.c | wait_on_buffer(*bhe); |
bhe | 150 | fs/minix/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 151 | fs/minix/file.c | brelse(*bhe); |
bhe | 152 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 153 | fs/minix/file.c | bhe = buflist; |
bhe | 165 | fs/minix/file.c | if (*bhe) { |
bhe | 166 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 167 | 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 | 176 | fs/minix/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 180 | fs/minix/file.c | while (bhe != bhb) { |
bhe | 181 | fs/minix/file.c | brelse(*bhe); |
bhe | 182 | fs/minix/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 183 | fs/minix/file.c | bhe = buflist; |
bhe | 83 | fs/sysv/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 111 | fs/sysv/file.c | bhb = bhe = buflist; |
bhe | 147 | fs/sysv/file.c | if (bhb == bhe) |
bhe | 156 | fs/sysv/file.c | if (*bhe) { |
bhe | 157 | fs/sysv/file.c | wait_on_buffer(*bhe); |
bhe | 158 | fs/sysv/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 159 | fs/sysv/file.c | brelse(*bhe); |
bhe | 160 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 161 | fs/sysv/file.c | bhe = buflist; |
bhe | 173 | fs/sysv/file.c | if (*bhe) { |
bhe | 174 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 175 | fs/sysv/file.c | brelse(*bhe); |
bhe | 182 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 183 | fs/sysv/file.c | bhe = buflist; |
bhe | 184 | fs/sysv/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 188 | fs/sysv/file.c | while (bhe != bhb) { |
bhe | 189 | fs/sysv/file.c | brelse(*bhe); |
bhe | 190 | fs/sysv/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 191 | fs/sysv/file.c | bhe = buflist; |
bhe | 79 | fs/xiafs/file.c | struct buffer_head ** bhb, ** bhe; |
bhe | 102 | fs/xiafs/file.c | bhb = bhe = buflist; |
bhe | 137 | fs/xiafs/file.c | if (bhb == bhe) |
bhe | 146 | fs/xiafs/file.c | if (*bhe) { |
bhe | 147 | fs/xiafs/file.c | wait_on_buffer(*bhe); |
bhe | 148 | fs/xiafs/file.c | if (!(*bhe)->b_uptodate) { /* read error? */ |
bhe | 149 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 150 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 151 | fs/xiafs/file.c | bhe = buflist; |
bhe | 163 | fs/xiafs/file.c | if (*bhe) { |
bhe | 164 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
bhe | 165 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 172 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 173 | fs/xiafs/file.c | bhe = buflist; |
bhe | 174 | fs/xiafs/file.c | } while (left > 0 && bhe != bhb && (!*bhe || !(*bhe)->b_lock)); |
bhe | 178 | fs/xiafs/file.c | while (bhe != bhb) { |
bhe | 179 | fs/xiafs/file.c | brelse(*bhe); |
bhe | 180 | fs/xiafs/file.c | if (++bhe == &buflist[NBUF]) |
bhe | 181 | fs/xiafs/file.c | bhe = buflist; |