vm_pager.c (874651b13ca70407517c7431118950d6771ef89d) vm_pager.c (adece6e592d1cd26d31a359e91360a8274c63756)
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

336 * XXX This probably belongs in vfs_bio.c
337 */
338static void
339initpbuf(struct buf *bp)
340{
341 bp->b_rcred = NOCRED;
342 bp->b_wcred = NOCRED;
343 bp->b_qindex = 0; /* On no queue (QUEUE_NONE) */
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

336 * XXX This probably belongs in vfs_bio.c
337 */
338static void
339initpbuf(struct buf *bp)
340{
341 bp->b_rcred = NOCRED;
342 bp->b_wcred = NOCRED;
343 bp->b_qindex = 0; /* On no queue (QUEUE_NONE) */
344 bp->b_data = (caddr_t) (MAXPHYS * (bp - swbuf)) + swapbkva;
345 bp->b_kvabase = bp->b_data;
344 bp->b_saveaddr = (caddr_t) (MAXPHYS * (bp - swbuf)) + swapbkva;
345 bp->b_data = bp->b_saveaddr;
346 bp->b_kvabase = bp->b_saveaddr;
346 bp->b_kvasize = MAXPHYS;
347 bp->b_xflags = 0;
348 bp->b_flags = 0;
349 bp->b_ioflags = 0;
350 bp->b_iodone = NULL;
351 bp->b_error = 0;
352 bp->b_magic = B_MAGIC_BIO;
353 bp->b_op = &buf_ops_bio;

--- 128 unchanged lines hidden ---
347 bp->b_kvasize = MAXPHYS;
348 bp->b_xflags = 0;
349 bp->b_flags = 0;
350 bp->b_ioflags = 0;
351 bp->b_iodone = NULL;
352 bp->b_error = 0;
353 bp->b_magic = B_MAGIC_BIO;
354 bp->b_op = &buf_ops_bio;

--- 128 unchanged lines hidden ---