Home
last modified time | relevance | path

Searched refs:gt (Results 1 – 4 of 4) sorted by relevance

/fs/gfs2/
Dops_fstype.c53 static void gfs2_tune_init(struct gfs2_tune *gt) in gfs2_tune_init() argument
55 spin_lock_init(&gt->gt_spin); in gfs2_tune_init()
57 gt->gt_quota_warn_period = 10; in gfs2_tune_init()
58 gt->gt_quota_scale_num = 1; in gfs2_tune_init()
59 gt->gt_quota_scale_den = 1; in gfs2_tune_init()
60 gt->gt_new_files_jdata = 0; in gfs2_tune_init()
61 gt->gt_max_readahead = BIT(18); in gfs2_tune_init()
62 gt->gt_complain_secs = 10; in gfs2_tune_init()
1546 struct gfs2_tune *gt = &sdp->sd_tune; in gfs2_reconfigure() local
1551 spin_lock(&gt->gt_spin); in gfs2_reconfigure()
[all …]
Dsys.c627 struct gfs2_tune *gt = &sdp->sd_tune; in quota_scale_store() local
636 spin_lock(&gt->gt_spin); in quota_scale_store()
637 gt->gt_quota_scale_num = x; in quota_scale_store()
638 gt->gt_quota_scale_den = y; in quota_scale_store()
639 spin_unlock(&gt->gt_spin); in quota_scale_store()
646 struct gfs2_tune *gt = &sdp->sd_tune; in tune_set() local
660 spin_lock(&gt->gt_spin); in tune_set()
662 spin_unlock(&gt->gt_spin); in tune_set()
Dutil.h182 static inline unsigned int gfs2_tune_get_i(struct gfs2_tune *gt, in gfs2_tune_get_i() argument
186 spin_lock(&gt->gt_spin); in gfs2_tune_get_i()
188 spin_unlock(&gt->gt_spin); in gfs2_tune_get_i()
Dquota.c1104 struct gfs2_tune *gt = &sdp->sd_tune; in need_sync() local
1116 spin_lock(&gt->gt_spin); in need_sync()
1117 num = gt->gt_quota_scale_num; in need_sync()
1118 den = gt->gt_quota_scale_den; in need_sync()
1119 spin_unlock(&gt->gt_spin); in need_sync()