ffs_balloc.c (1542) | ffs_balloc.c (1549) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. 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 --- 40 unchanged lines hidden (view full) --- 49#include <ufs/ffs/fs.h> 50#include <ufs/ffs/ffs_extern.h> 51 52/* 53 * Balloc defines the structure of file system storage 54 * by allocating the physical blocks on a device given 55 * the inode and the logical block number in a file. 56 */ | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. 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 --- 40 unchanged lines hidden (view full) --- 49#include <ufs/ffs/fs.h> 50#include <ufs/ffs/ffs_extern.h> 51 52/* 53 * Balloc defines the structure of file system storage 54 * by allocating the physical blocks on a device given 55 * the inode and the logical block number in a file. 56 */ |
57int |
|
57ffs_balloc(ip, bn, size, cred, bpp, flags) 58 register struct inode *ip; 59 register daddr_t bn; 60 int size; 61 struct ucred *cred; 62 struct buf **bpp; 63 int flags; 64{ --- 218 unchanged lines hidden --- | 58ffs_balloc(ip, bn, size, cred, bpp, flags) 59 register struct inode *ip; 60 register daddr_t bn; 61 int size; 62 struct ucred *cred; 63 struct buf **bpp; 64 int flags; 65{ --- 218 unchanged lines hidden --- |