Deleted Added
full compact
vfs_bio.c (46566) vfs_bio.c (46580)
1/*
2 * Copyright (c) 1994,1997 John S. Dyson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice immediately at the beginning of the file, without modification,
10 * this list of conditions, and the following disclaimer.
11 * 2. Absolutely no warranty of function or purpose is made by the author
12 * John S. Dyson.
13 *
1/*
2 * Copyright (c) 1994,1997 John S. Dyson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice immediately at the beginning of the file, without modification,
10 * this list of conditions, and the following disclaimer.
11 * 2. Absolutely no warranty of function or purpose is made by the author
12 * John S. Dyson.
13 *
14 * $Id: vfs_bio.c,v 1.208 1999/05/02 23:56:10 alc Exp $
14 * $Id: vfs_bio.c,v 1.209 1999/05/06 17:06:41 phk Exp $
15 */
16
17/*
18 * this file contains a new buffer I/O scheme implementing a coherent
19 * VM object and buffer cache scheme. Pains have been taken to make
20 * sure that the performance degradation associated with schemes such
21 * as this is not realized.
22 *

--- 2930 unchanged lines hidden (view full) ---

2953 /* get args */
2954 struct buf *bp = (struct buf *)addr;
2955
2956 if (!have_addr) {
2957 db_printf("usage: show buffer <addr>\n");
2958 return;
2959 }
2960
15 */
16
17/*
18 * this file contains a new buffer I/O scheme implementing a coherent
19 * VM object and buffer cache scheme. Pains have been taken to make
20 * sure that the performance degradation associated with schemes such
21 * as this is not realized.
22 *

--- 2930 unchanged lines hidden (view full) ---

2953 /* get args */
2954 struct buf *bp = (struct buf *)addr;
2955
2956 if (!have_addr) {
2957 db_printf("usage: show buffer <addr>\n");
2958 return;
2959 }
2960
2961 db_printf("b_proc = %p,\nb_flags = 0x%b\n", (void *)bp->b_proc,
2962 (u_int)bp->b_flags, PRINT_BUF_FLAGS);
2961 db_printf("b_flags = 0x%b\n", (u_int)bp->b_flags, PRINT_BUF_FLAGS);
2963 db_printf("b_error = %d, b_bufsize = %ld, b_bcount = %ld, "
2964 "b_resid = %ld\nb_dev = 0x%x, b_data = %p, "
2965 "b_blkno = %d, b_pblkno = %d\n",
2966 bp->b_error, bp->b_bufsize, bp->b_bcount, bp->b_resid,
2967 bp->b_dev, bp->b_data, bp->b_blkno, bp->b_pblkno);
2968 if (bp->b_npages) {
2969 int i;
2970 db_printf("b_npages = %d, pages(OBJ, IDX, PA): ", bp->b_npages);

--- 12 unchanged lines hidden ---
2962 db_printf("b_error = %d, b_bufsize = %ld, b_bcount = %ld, "
2963 "b_resid = %ld\nb_dev = 0x%x, b_data = %p, "
2964 "b_blkno = %d, b_pblkno = %d\n",
2965 bp->b_error, bp->b_bufsize, bp->b_bcount, bp->b_resid,
2966 bp->b_dev, bp->b_data, bp->b_blkno, bp->b_pblkno);
2967 if (bp->b_npages) {
2968 int i;
2969 db_printf("b_npages = %d, pages(OBJ, IDX, PA): ", bp->b_npages);

--- 12 unchanged lines hidden ---