Home
last modified time | relevance | path

Searched refs:sys_tz (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/vDSO/
Dvdso_test_correctness.c384 struct timezone sys_tz, vdso_tz; in test_gettimeofday() local
392 if (sys_gettimeofday(&start, &sys_tz) < 0) { in test_gettimeofday()
418 if (sys_tz.tz_minuteswest == vdso_tz.tz_minuteswest && in test_gettimeofday()
419 sys_tz.tz_dsttime == vdso_tz.tz_dsttime) { in test_gettimeofday()
421 sys_tz.tz_minuteswest, sys_tz.tz_dsttime); in test_gettimeofday()
/linux-6.6.21/net/netfilter/
Dxt_time.c32 extern struct timezone sys_tz; /* ouch */
187 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt()
277 int minutes = sys_tz.tz_minuteswest; in time_mt_init()
/linux-6.6.21/arch/sparc/kernel/
Dvdso.c20 vvar_data->tz_minuteswest = sys_tz.tz_minuteswest; in update_vsyscall_tz()
21 vvar_data->tz_dsttime = sys_tz.tz_dsttime; in update_vsyscall_tz()
/linux-6.6.21/kernel/time/
Dtime.c50 struct timezone sys_tz; variable
52 EXPORT_SYMBOL(sys_tz);
152 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
186 sys_tz = *tz; in do_sys_settimeofday64()
236 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in COMPAT_SYSCALL_DEFINE2()
Dvsyscall.c127 vdata[CS_HRES_COARSE].tz_minuteswest = sys_tz.tz_minuteswest; in update_vsyscall_tz()
128 vdata[CS_HRES_COARSE].tz_dsttime = sys_tz.tz_dsttime; in update_vsyscall_tz()
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-vbi-gen.c188 sys_tz.tz_minuteswest > tm.tm_min + tm.tm_hour * 60) in vivid_vbi_gen_set_time_of_day()
199 if (sys_tz.tz_minuteswest >= 0) in vivid_vbi_gen_set_time_of_day()
200 packet[12] = calc_parity(0x40 | ((sys_tz.tz_minuteswest / 60) & 0x1f)); in vivid_vbi_gen_set_time_of_day()
202 packet[12] = calc_parity(0x40 | ((24 + sys_tz.tz_minuteswest / 60) & 0x1f)); in vivid_vbi_gen_set_time_of_day()
Dvivid-rds-gen.c100 (sys_tz.tz_minuteswest >= 0 ? 0x20 : 0) | in vivid_rds_generate()
101 (abs(sys_tz.tz_minuteswest) / 30); in vivid_rds_generate()
/linux-6.6.21/fs/hpfs/
Dhpfs_fn.h339 extern struct timezone sys_tz; in local_to_gmt()
340 return t + sys_tz.tz_minuteswest * 60 + hpfs_sb(s)->sb_timeshift; in local_to_gmt()
345 extern struct timezone sys_tz; in gmt_to_local()
346 return t - sys_tz.tz_minuteswest * 60 - hpfs_sb(s)->sb_timeshift; in gmt_to_local()
/linux-6.6.21/fs/exfat/
Dmisc.c62 if (sbi->options.sys_tz) in exfat_tz_offset()
63 return -sys_tz.tz_minuteswest; in exfat_tz_offset()
Dsuper.c164 if (opts->sys_tz) in exfat_show_options()
297 opts->sys_tz = 1; in exfat_parse_param()
Dexfat_fs.h233 sys_tz:1, /* Use local timezone */ member
/linux-6.6.21/fs/hfs/
Dsysdep.c29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry()
Dhfs_fs.h262 return ut + sys_tz.tz_minuteswest * 60; in __hfs_m_to_utime()
267 ut -= sys_tz.tz_minuteswest * 60; in __hfs_u_to_mtime()
/linux-6.6.21/include/linux/
Dtime.h9 extern struct timezone sys_tz;
/linux-6.6.21/fs/udf/
Dudftime.c65 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp()
/linux-6.6.21/arch/powerpc/kernel/
Dtime.c142 extern struct timezone sys_tz;
927 sys_tz.tz_minuteswest = -timezone_offset / 60; in time_init()
928 sys_tz.tz_dsttime = 0; in time_init()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c262 record->end_utc_bias = cpu_to_le16(sys_tz.tz_minuteswest * 60); in bnxt_fill_coredump_record()
287 start_utc = sys_tz.tz_minuteswest * 60; in __bnxt_get_coredump()
/linux-6.6.21/arch/alpha/kernel/
Dosf_sys.c933 extern struct timezone sys_tz;
993 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
/linux-6.6.21/fs/fat/
Dmisc.c200 sys_tz.tz_minuteswest) * SECS_PER_MIN; in fat_tz_offset()
/linux-6.6.21/drivers/scsi/
Dmvumi.h565 extern struct timezone sys_tz;
D3w-sas.c80 extern struct timezone sys_tz;
245 local_time = (u32)(ktime_get_real_seconds() - (sys_tz.tz_minuteswest * 60)); in twl_aen_queue_event()
436 local_time = (ktime_get_real_seconds() - (sys_tz.tz_minuteswest * 60)); in twl_aen_sync_time()
D3w-9xxx.c108 extern struct timezone sys_tz;
399 local_time = (u32)(ktime_get_real_seconds() - (sys_tz.tz_minuteswest * 60)); in twa_aen_queue_event()
504 local_time = (ktime_get_real_seconds() - (sys_tz.tz_minuteswest * 60)); in twa_aen_sync_time()
/linux-6.6.21/fs/affs/
Damigaffs.c378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_secs_to_datestamp()
Dinode.c157 + sys_tz.tz_minuteswest * 60, 0).tv_sec; in affs_iget()
Dsuper.c359 sb->s_time_min = sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_fill_super()

12