Home
last modified time | relevance | path

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

/fs/gfs2/
Dsuper.c1182 struct gfs2_tune *gt = &sdp->sd_tune; in gfs2_remount_fs() local
1185 spin_lock(&gt->gt_spin); in gfs2_remount_fs()
1186 args.ar_commit = gt->gt_logd_secs; in gfs2_remount_fs()
1187 args.ar_quota_quantum = gt->gt_quota_quantum; in gfs2_remount_fs()
1188 if (gt->gt_statfs_slow) in gfs2_remount_fs()
1191 args.ar_statfs_quantum = gt->gt_statfs_quantum; in gfs2_remount_fs()
1192 spin_unlock(&gt->gt_spin); in gfs2_remount_fs()
1230 spin_lock(&gt->gt_spin); in gfs2_remount_fs()
1231 gt->gt_logd_secs = args.ar_commit; in gfs2_remount_fs()
1232 gt->gt_quota_quantum = args.ar_quota_quantum; in gfs2_remount_fs()
[all …]
Dsys.c491 struct gfs2_tune *gt = &sdp->sd_tune; in quota_scale_store() local
500 spin_lock(&gt->gt_spin); in quota_scale_store()
501 gt->gt_quota_scale_num = x; in quota_scale_store()
502 gt->gt_quota_scale_den = y; in quota_scale_store()
503 spin_unlock(&gt->gt_spin); in quota_scale_store()
510 struct gfs2_tune *gt = &sdp->sd_tune; in tune_set() local
521 spin_lock(&gt->gt_spin); in tune_set()
523 spin_unlock(&gt->gt_spin); in tune_set()
Dutil.h157 static inline unsigned int gfs2_tune_get_i(struct gfs2_tune *gt, in gfs2_tune_get_i() argument
161 spin_lock(&gt->gt_spin); in gfs2_tune_get_i()
163 spin_unlock(&gt->gt_spin); in gfs2_tune_get_i()
Dops_fstype.c48 static void gfs2_tune_init(struct gfs2_tune *gt) in gfs2_tune_init() argument
50 spin_lock_init(&gt->gt_spin); in gfs2_tune_init()
52 gt->gt_quota_simul_sync = 64; in gfs2_tune_init()
53 gt->gt_quota_warn_period = 10; in gfs2_tune_init()
54 gt->gt_quota_scale_num = 1; in gfs2_tune_init()
55 gt->gt_quota_scale_den = 1; in gfs2_tune_init()
56 gt->gt_new_files_jdata = 0; in gfs2_tune_init()
57 gt->gt_max_readahead = 1 << 18; in gfs2_tune_init()
58 gt->gt_complain_secs = 10; in gfs2_tune_init()
Dquota.c958 struct gfs2_tune *gt = &sdp->sd_tune; in need_sync() local
970 spin_lock(&gt->gt_spin); in need_sync()
971 num = gt->gt_quota_scale_num; in need_sync()
972 den = gt->gt_quota_scale_den; in need_sync()
973 spin_unlock(&gt->gt_spin); in need_sync()