Deleted Added
full compact
quota.h (222955) quota.h (234483)
1/*-
2 * Copyright (c) 1982, 1986, 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 * Robert Elz at The University of Melbourne.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)quota.h 8.3 (Berkeley) 8/19/94
1/*-
2 * Copyright (c) 1982, 1986, 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 * Robert Elz at The University of Melbourne.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)quota.h 8.3 (Berkeley) 8/19/94
33 * $FreeBSD: head/sys/ufs/ufs/quota.h 222955 2011-06-10 22:19:44Z jeff $
33 * $FreeBSD: head/sys/ufs/ufs/quota.h 234483 2012-04-20 07:00:28Z mckusick $
34 */
35
36#ifndef _UFS_UFS_QUOTA_H_
37#define _UFS_UFS_QUOTA_H_
38
39/*
40 * Definitions for disk quotas imposed on the average user
41 * (big brother finally hits UNIX).

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

222struct vnode;
223
224int chkdq(struct inode *, int64_t, struct ucred *, int);
225int chkiq(struct inode *, int, struct ucred *, int);
226void dqinit(void);
227void dqrele(struct vnode *, struct dquot *);
228void dquninit(void);
229int getinoquota(struct inode *);
34 */
35
36#ifndef _UFS_UFS_QUOTA_H_
37#define _UFS_UFS_QUOTA_H_
38
39/*
40 * Definitions for disk quotas imposed on the average user
41 * (big brother finally hits UNIX).

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

222struct vnode;
223
224int chkdq(struct inode *, int64_t, struct ucred *, int);
225int chkiq(struct inode *, int, struct ucred *, int);
226void dqinit(void);
227void dqrele(struct vnode *, struct dquot *);
228void dquninit(void);
229int getinoquota(struct inode *);
230int qsync(struct mount *mp);
231int quotaoff(struct thread *td, struct mount *, int);
232int quotaon(struct thread *td, struct mount *, int, void *);
230int qsync(struct mount *);
231int qsyncvp(struct vnode *);
232int quotaoff(struct thread *, struct mount *, int);
233int quotaon(struct thread *, struct mount *, int, void *);
233int getquota32(struct thread *, struct mount *, u_long, int, void *);
234int setquota32(struct thread *, struct mount *, u_long, int, void *);
235int setuse32(struct thread *, struct mount *, u_long, int, void *);
236int getquota(struct thread *, struct mount *, u_long, int, void *);
237int setquota(struct thread *, struct mount *, u_long, int, void *);
238int setuse(struct thread *, struct mount *, u_long, int, void *);
239int getquotasize(struct thread *, struct mount *, u_long, int, void *);
240vfs_quotactl_t ufs_quotactl;

--- 18 unchanged lines hidden ---
234int getquota32(struct thread *, struct mount *, u_long, int, void *);
235int setquota32(struct thread *, struct mount *, u_long, int, void *);
236int setuse32(struct thread *, struct mount *, u_long, int, void *);
237int getquota(struct thread *, struct mount *, u_long, int, void *);
238int setquota(struct thread *, struct mount *, u_long, int, void *);
239int setuse(struct thread *, struct mount *, u_long, int, void *);
240int getquotasize(struct thread *, struct mount *, u_long, int, void *);
241vfs_quotactl_t ufs_quotactl;

--- 18 unchanged lines hidden ---