亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xfs_qm.h

?? 優(yōu)龍2410linux2.6.8內(nèi)核源代碼
?? H
字號(hào):
/* * Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * Further, this software is distributed without any warranty that it is * free of the rightful claim of any third person regarding infringement * or the like.	 Any license provided herein, whether implied or * otherwise, applies only to this software file.  Patent licenses, if * any, provided herein do not apply to combinations of this program with * other software, or any other product whatsoever. * * You should have received a copy of the GNU General Public License along * with this program; if not, write the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston MA 02111-1307, USA. * * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, * Mountain View, CA  94043, or: * * http://www.sgi.com * * For further information regarding this notice, see: * * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */#ifndef __XFS_QM_H__#define __XFS_QM_H__#include "xfs_dquot_item.h"#include "xfs_dquot.h"#include "xfs_quota_priv.h"#include "xfs_qm_stats.h"struct xfs_qm;struct xfs_inode;extern mutex_t		xfs_Gqm_lock;extern struct xfs_qm	*xfs_Gqm;extern kmem_zone_t	*qm_dqzone;extern kmem_zone_t	*qm_dqtrxzone;/* * Used in xfs_qm_sync called by xfs_sync to count the max times that it can * iterate over the mountpt's dquot list in one call. */#define XFS_QM_SYNC_MAX_RESTARTS	7/* * Ditto, for xfs_qm_dqreclaim_one. */#define XFS_QM_RECLAIM_MAX_RESTARTS	4/* * Ideal ratio of free to in use dquots. Quota manager makes an attempt * to keep this balance. */#define XFS_QM_DQFREE_RATIO		2/* * Dquot hashtable constants/threshold values. */#define XFS_QM_NCSIZE_THRESHOLD		5000#define XFS_QM_HASHSIZE_LOW		32#define XFS_QM_HASHSIZE_HIGH		64/* * We output a cmn_err when quotachecking a quota file with more than * this many fsbs. */#define XFS_QM_BIG_QCHECK_NBLKS		500/* * This defines the unit of allocation of dquots. * Currently, it is just one file system block, and a 4K blk contains 30 * (136 * 30 = 4080) dquots. It's probably not worth trying to make * this more dynamic. * XXXsup However, if this number is changed, we have to make sure that we don't * implicitly assume that we do allocations in chunks of a single filesystem * block in the dquot/xqm code. */#define XFS_DQUOT_CLUSTER_SIZE_FSB	(xfs_filblks_t)1/* * When doing a quotacheck, we log dquot clusters of this many FSBs at most * in a single transaction. We don't want to ask for too huge a log reservation. */#define XFS_QM_MAX_DQCLUSTER_LOGSZ	3typedef xfs_dqhash_t	xfs_dqlist_t;/* * The freelist head. The first two fields match the first two in the * xfs_dquot_t structure (in xfs_dqmarker_t) */typedef struct xfs_frlist {       struct xfs_dquot *qh_next;       struct xfs_dquot *qh_prev;       mutex_t		 qh_lock;       uint		 qh_version;       uint		 qh_nelems;} xfs_frlist_t;/* * Quota Manager (global) structure. Lives only in core. */typedef struct xfs_qm {	xfs_dqlist_t	*qm_usr_dqhtable;/* udquot hash table */	xfs_dqlist_t	*qm_grp_dqhtable;/* gdquot hash table */	uint		 qm_dqhashmask;	 /* # buckets in dq hashtab - 1 */	xfs_frlist_t	 qm_dqfreelist;	 /* freelist of dquots */	atomic_t	 qm_totaldquots; /* total incore dquots */	uint		 qm_nrefs;	 /* file systems with quota on */	int		 qm_dqfree_ratio;/* ratio of free to inuse dquots */	kmem_zone_t	*qm_dqzone;	 /* dquot mem-alloc zone */	kmem_zone_t	*qm_dqtrxzone;	 /* t_dqinfo of transactions */} xfs_qm_t;/* * Various quota information for individual filesystems. * The mount structure keeps a pointer to this. */typedef struct xfs_quotainfo {	xfs_inode_t	*qi_uquotaip;	 /* user quota inode */	xfs_inode_t	*qi_gquotaip;	 /* group quota inode */	lock_t		 qi_pinlock;	 /* dquot pinning mutex */	xfs_dqlist_t	 qi_dqlist;	 /* all dquots in filesys */	int		 qi_dqreclaims;	 /* a change here indicates					    a removal in the dqlist */	time_t		 qi_btimelimit;	 /* limit for blks timer */	time_t		 qi_itimelimit;	 /* limit for inodes timer */	time_t		 qi_rtbtimelimit;/* limit for rt blks timer */	xfs_qwarncnt_t	 qi_bwarnlimit;	 /* limit for num warnings */	xfs_qwarncnt_t	 qi_iwarnlimit;	 /* limit for num warnings */	mutex_t		 qi_quotaofflock;/* to serialize quotaoff */	/* Some useful precalculated constants */	xfs_filblks_t	 qi_dqchunklen;	 /* # BBs in a chunk of dqs */	uint		 qi_dqperchunk;	 /* # ondisk dqs in above chunk */} xfs_quotainfo_t;extern xfs_dqtrxops_t	xfs_trans_dquot_ops;extern void	xfs_trans_mod_dquot(xfs_trans_t *, xfs_dquot_t *, uint, long);extern int	xfs_trans_reserve_quota_bydquots(xfs_trans_t *, xfs_mount_t *,			xfs_dquot_t *, xfs_dquot_t *, long, long, uint);extern void	xfs_trans_dqjoin(xfs_trans_t *, xfs_dquot_t *);extern void	xfs_trans_log_dquot(xfs_trans_t *, xfs_dquot_t *);/* * We keep the usr and grp dquots separately so that locking will be easier * to do at commit time. All transactions that we know of at this point * affect no more than two dquots of one type. Hence, the TRANS_MAXDQS value. */#define XFS_QM_TRANS_MAXDQS		2typedef struct xfs_dquot_acct {	xfs_dqtrx_t	dqa_usrdquots[XFS_QM_TRANS_MAXDQS];	xfs_dqtrx_t	dqa_grpdquots[XFS_QM_TRANS_MAXDQS];} xfs_dquot_acct_t;/* * Users are allowed to have a usage exceeding their softlimit for * a period this long. */#define XFS_QM_BTIMELIMIT	(7 * 24*60*60)          /* 1 week */#define XFS_QM_RTBTIMELIMIT	(7 * 24*60*60)          /* 1 week */#define XFS_QM_ITIMELIMIT	(7 * 24*60*60)          /* 1 week */#define XFS_QM_BWARNLIMIT	5#define XFS_QM_IWARNLIMIT	5#define XFS_QM_LOCK(xqm)	(mutex_lock(&xqm##_lock, PINOD))#define XFS_QM_UNLOCK(xqm)	(mutex_unlock(&xqm##_lock))#define XFS_QM_HOLD(xqm)	((xqm)->qm_nrefs++)#define XFS_QM_RELE(xqm)	((xqm)->qm_nrefs--)extern int		xfs_qm_init_quotainfo(xfs_mount_t *);extern void		xfs_qm_destroy_quotainfo(xfs_mount_t *);extern int		xfs_qm_mount_quotas(xfs_mount_t *);extern void		xfs_qm_mount_quotainit(xfs_mount_t *, uint);extern void		xfs_qm_unmount_quotadestroy(xfs_mount_t *);extern int		xfs_qm_unmount_quotas(xfs_mount_t *);extern int		xfs_qm_write_sb_changes(xfs_mount_t *, __int64_t);extern int		xfs_qm_sync(xfs_mount_t *, short);/* dquot stuff */extern void		xfs_qm_dqunlink(xfs_dquot_t *);extern boolean_t	xfs_qm_dqalloc_incore(xfs_dquot_t **);extern int		xfs_qm_dqattach(xfs_inode_t *, uint);extern void		xfs_qm_dqdetach(xfs_inode_t *);extern int		xfs_qm_dqpurge_all(xfs_mount_t *, uint);extern void		xfs_qm_dqrele_all_inodes(xfs_mount_t *, uint);/* vop stuff */extern int		xfs_qm_vop_dqalloc(xfs_mount_t *, xfs_inode_t *,					uid_t, gid_t, uint,					xfs_dquot_t **, xfs_dquot_t **);extern void		xfs_qm_vop_dqattach_and_dqmod_newinode(					xfs_trans_t *, xfs_inode_t *,					xfs_dquot_t *, xfs_dquot_t *);extern int		xfs_qm_vop_rename_dqattach(xfs_inode_t **);extern xfs_dquot_t *	xfs_qm_vop_chown(xfs_trans_t *, xfs_inode_t *,					xfs_dquot_t **, xfs_dquot_t *);extern int		xfs_qm_vop_chown_reserve(xfs_trans_t *, xfs_inode_t *,					xfs_dquot_t *, xfs_dquot_t *, uint);/* list stuff */extern void		xfs_qm_freelist_init(xfs_frlist_t *);extern void		xfs_qm_freelist_destroy(xfs_frlist_t *);extern void		xfs_qm_freelist_insert(xfs_frlist_t *, xfs_dquot_t *);extern void		xfs_qm_freelist_append(xfs_frlist_t *, xfs_dquot_t *);extern void		xfs_qm_freelist_unlink(xfs_dquot_t *);extern int		xfs_qm_freelist_lock_nowait(xfs_qm_t *);extern int		xfs_qm_mplist_nowait(xfs_mount_t *);extern int		xfs_qm_dqhashlock_nowait(xfs_dquot_t *);/* system call interface */extern int		xfs_qm_quotactl(bhv_desc_t *, int, int, xfs_caddr_t);#ifdef DEBUGextern int		xfs_qm_internalqcheck(xfs_mount_t *);#else#define xfs_qm_internalqcheck(mp)	(0)#endif#endif /* __XFS_QM_H__ */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲三级电影| 久久久不卡网国产精品一区| 亚洲一卡二卡三卡四卡| 在线看国产一区| 亚洲国产精品天堂| 在线综合+亚洲+欧美中文字幕| 日韩精品免费专区| 久久―日本道色综合久久| 国产一区二区三区免费播放| 国产精品国产三级国产普通话蜜臀 | 成人自拍视频在线| 国产精品成人免费精品自在线观看| 97aⅴ精品视频一二三区| 亚洲一区二区欧美激情| 日韩精品一区二区三区老鸭窝| 懂色av一区二区三区免费看| 亚洲欧洲精品成人久久奇米网| 欧美性大战久久久久久久| 久久精品国产久精国产| 中文字幕第一区二区| 欧美三级电影一区| 激情文学综合插| 国产精品黄色在线观看| 7777精品伊人久久久大香线蕉经典版下载 | 久久久影视传媒| 91美女蜜桃在线| 蜜桃视频一区二区三区在线观看| 中文字幕欧美区| 欧美日韩久久久一区| 激情综合网av| 亚洲综合在线视频| 久久这里只有精品视频网| 91老师片黄在线观看| 蜜桃视频一区二区| 亚洲精品成人在线| 久久九九久久九九| 欧美人妖巨大在线| www.久久久久久久久| 久久精品国产99国产| 一区二区三区日韩精品视频| 久久婷婷色综合| 欧美高清视频不卡网| av资源站一区| 精品无人区卡一卡二卡三乱码免费卡| 亚洲欧美一区二区三区孕妇| 欧美精品一区在线观看| 在线成人av网站| 一本色道久久综合狠狠躁的推荐 | 欧美亚洲自拍偷拍| 粉嫩aⅴ一区二区三区四区| 欧美aaaaaa午夜精品| 亚洲综合色婷婷| 国产精品天美传媒沈樵| 久久综合九色综合97_久久久| 欧美日韩一区不卡| 色综合久久综合中文综合网| 国产成人综合在线| 麻豆国产精品官网| 日韩精品一二三区| 亚洲一区在线播放| 一区二区在线观看免费视频播放| 国产视频一区在线观看| 精品欧美久久久| 日韩欧美二区三区| 678五月天丁香亚洲综合网| 欧美在线短视频| 色天使色偷偷av一区二区| bt欧美亚洲午夜电影天堂| 国产福利精品导航| 韩国女主播成人在线| 激情欧美日韩一区二区| 久久99国产精品免费网站| 美女一区二区视频| 久久疯狂做爰流白浆xx| 男人的天堂久久精品| 日韩电影在线看| 蜜桃av一区二区三区| 视频一区二区中文字幕| 日韩精品亚洲专区| 免费成人av资源网| 麻豆成人av在线| 极品美女销魂一区二区三区免费 | 国产xxx精品视频大全| 国产一区二区三区四区在线观看| 久久99最新地址| 美女视频网站黄色亚洲| 精品一区二区三区欧美| 国产毛片精品视频| 国产成人av电影在线| 成人激情开心网| 色狠狠色噜噜噜综合网| 欧美日韩国产一二三| 8x福利精品第一导航| 欧美刺激脚交jootjob| 久久人人爽爽爽人久久久| 亚洲国产成人在线| 一区二区三区在线视频免费| 亚洲成人手机在线| 久久成人免费日本黄色| 国产aⅴ精品一区二区三区色成熟| 国产一区日韩二区欧美三区| 成人高清免费观看| 欧美色图免费看| 久久午夜色播影院免费高清| 国产精品毛片久久久久久 | 日韩av不卡一区二区| 久久国产福利国产秒拍| 成av人片一区二区| 欧美久久久久中文字幕| 国产亚洲制服色| 亚洲一区日韩精品中文字幕| 日本成人在线网站| 成人福利视频网站| 欧美乱妇20p| 久久精品亚洲乱码伦伦中文| 亚洲欧美激情视频在线观看一区二区三区| 丝袜a∨在线一区二区三区不卡| 国产一区二区三区黄视频 | 亚洲精品视频免费观看| 免费看日韩精品| 91亚洲国产成人精品一区二三| 色欧美日韩亚洲| 久久伊人中文字幕| 亚洲综合图片区| 国产精品 日产精品 欧美精品| 日本精品裸体写真集在线观看| 日韩精品一区二区三区视频在线观看| 国产精品久久久久影视| 蜜臀国产一区二区三区在线播放| 91在线视频观看| 精品美女在线观看| 一区二区三区91| 成人的网站免费观看| 精品捆绑美女sm三区| 亚洲一区二区视频在线观看| 成人性视频网站| 日韩欧美久久久| 亚洲图片欧美综合| 99免费精品视频| 欧美精品一区二区不卡| 午夜视频一区在线观看| 99久久精品免费看| 久久久不卡影院| 精品一区二区三区日韩| 欧美人妇做爰xxxⅹ性高电影| 亚洲欧美一区二区三区极速播放 | 97se亚洲国产综合在线| 久久蜜臀中文字幕| 免费高清成人在线| 在线播放中文字幕一区| 亚洲影视资源网| 91国产丝袜在线播放| 国产精品热久久久久夜色精品三区| 精品一区二区三区久久久| 9191久久久久久久久久久| 一区二区三区精品| 欧美亚洲综合在线| 一级中文字幕一区二区| 色综合天天综合网天天看片| 亚洲婷婷综合久久一本伊一区| 成人一区二区三区在线观看| 日本一区二区三区电影| 国产美女一区二区三区| 国产亚洲精品bt天堂精选| 国产制服丝袜一区| 久久一夜天堂av一区二区三区| 精品在线视频一区| 久久日韩精品一区二区五区| 精品一区二区在线视频| 精品久久久久久综合日本欧美| 麻豆精品一区二区av白丝在线| 欧美一卡二卡三卡| 另类成人小视频在线| 精品美女一区二区三区| 狠狠色丁香久久婷婷综| 国产日韩亚洲欧美综合| 成人免费观看av| 亚洲视频一区在线| 欧美亚日韩国产aⅴ精品中极品| 亚洲超碰精品一区二区| 日韩无一区二区| 国产综合久久久久影院| 国产欧美一区二区精品性| 91在线你懂得| 天天av天天翘天天综合网色鬼国产| 欧美精品日韩一区| 久久99热国产| 国产精品国产三级国产三级人妇| 色久优优欧美色久优优| 亚洲国产视频在线| 精品嫩草影院久久| 99久久久久久| 视频一区在线视频| 26uuu色噜噜精品一区| 成人免费高清视频| 亚洲观看高清完整版在线观看| 日韩欧美123| 成人美女视频在线观看18| 亚洲一区二区影院| 久久亚洲精精品中文字幕早川悠里|