Lines Matching refs:buf_count
557 buf_count(buf_t bp) {
3814 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size);
3816 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size);
4427 int i, buf_count;
4440 for (buf_count = 0; bp; bp = next) {
4457 flush_table[buf_count] = bp;
4458 buf_count++;
4461 if (buf_count >= NFLUSH) {
4464 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp);
4466 for (i = 0; i < buf_count; i++) {
4475 if (buf_count > 0) {
4476 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp);
4478 for (i = 0; i < buf_count; i++) {