Searched refs:gt (Results 1 – 8 of 8) sorted by relevance
149 static void gemtek_bu2614_transmit(struct gemtek *gt) in gemtek_bu2614_transmit() argument151 struct radio_isa_card *isa = >->isa; in gemtek_bu2614_transmit()154 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit()159 for (i = 0, q = gt->bu2614data; i < 32; i++, q >>= 1) { in gemtek_bu2614_transmit()181 struct gemtek *gt = kzalloc(sizeof(*gt), GFP_KERNEL); in gemtek_alloc() local183 if (gt) in gemtek_alloc()184 gt->muted = true; in gemtek_alloc()185 return gt ? >->isa : NULL; in gemtek_alloc()193 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_frequency() local195 if (hardmute && gt->muted) in gemtek_s_frequency()[all …]
160 static inline unsigned int gfs2_tune_get_i(struct gfs2_tune *gt, in gfs2_tune_get_i() argument164 spin_lock(>->gt_spin); in gfs2_tune_get_i()166 spin_unlock(>->gt_spin); in gfs2_tune_get_i()
559 struct gfs2_tune *gt = &sdp->sd_tune; in quota_scale_store() local568 spin_lock(>->gt_spin); in quota_scale_store()569 gt->gt_quota_scale_num = x; in quota_scale_store()570 gt->gt_quota_scale_den = y; in quota_scale_store()571 spin_unlock(>->gt_spin); in quota_scale_store()578 struct gfs2_tune *gt = &sdp->sd_tune; in tune_set() local592 spin_lock(>->gt_spin); in tune_set()594 spin_unlock(>->gt_spin); in tune_set()
1242 struct gfs2_tune *gt = &sdp->sd_tune; in gfs2_remount_fs() local1247 spin_lock(>->gt_spin); in gfs2_remount_fs()1248 args.ar_commit = gt->gt_logd_secs; in gfs2_remount_fs()1249 args.ar_quota_quantum = gt->gt_quota_quantum; in gfs2_remount_fs()1250 if (gt->gt_statfs_slow) in gfs2_remount_fs()1253 args.ar_statfs_quantum = gt->gt_statfs_quantum; in gfs2_remount_fs()1254 spin_unlock(>->gt_spin); in gfs2_remount_fs()1292 spin_lock(>->gt_spin); in gfs2_remount_fs()1293 gt->gt_logd_secs = args.ar_commit; in gfs2_remount_fs()1294 gt->gt_quota_quantum = args.ar_quota_quantum; in gfs2_remount_fs()[all …]
54 static void gfs2_tune_init(struct gfs2_tune *gt) in gfs2_tune_init() argument56 spin_lock_init(>->gt_spin); in gfs2_tune_init()58 gt->gt_quota_warn_period = 10; in gfs2_tune_init()59 gt->gt_quota_scale_num = 1; in gfs2_tune_init()60 gt->gt_quota_scale_den = 1; in gfs2_tune_init()61 gt->gt_new_files_jdata = 0; in gfs2_tune_init()62 gt->gt_max_readahead = BIT(18); in gfs2_tune_init()63 gt->gt_complain_secs = 10; in gfs2_tune_init()
1077 struct gfs2_tune *gt = &sdp->sd_tune; in need_sync() local1089 spin_lock(>->gt_spin); in need_sync()1090 num = gt->gt_quota_scale_num; in need_sync()1091 den = gt->gt_quota_scale_den; in need_sync()1092 spin_unlock(>->gt_spin); in need_sync()
206 static int cpio_mkgeneric_line(const char *line, enum generic_types gt) in cpio_mkgeneric_line() argument216 line, generic_type_table[gt].type); in cpio_mkgeneric_line()219 mode |= generic_type_table[gt].mode; in cpio_mkgeneric_line()
281 const u8 *gt, u8 gt_len);