/linux-6.6.21/tools/testing/selftests/vDSO/ |
D | vdso_test_correctness.c | 384 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/ |
D | xt_time.c | 32 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/ |
D | vdso.c | 20 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/ |
D | time.c | 50 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()
|
D | vsyscall.c | 127 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/ |
D | vivid-vbi-gen.c | 188 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()
|
D | vivid-rds-gen.c | 100 (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/ |
D | hpfs_fn.h | 339 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/ |
D | misc.c | 62 if (sbi->options.sys_tz) in exfat_tz_offset() 63 return -sys_tz.tz_minuteswest; in exfat_tz_offset()
|
D | super.c | 164 if (opts->sys_tz) in exfat_show_options() 297 opts->sys_tz = 1; in exfat_parse_param()
|
D | exfat_fs.h | 233 sys_tz:1, /* Use local timezone */ member
|
/linux-6.6.21/fs/hfs/ |
D | sysdep.c | 29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry()
|
D | hfs_fs.h | 262 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/ |
D | time.h | 9 extern struct timezone sys_tz;
|
/linux-6.6.21/fs/udf/ |
D | udftime.c | 65 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | time.c | 142 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/ |
D | bnxt_coredump.c | 262 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/ |
D | osf_sys.c | 933 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/ |
D | misc.c | 200 sys_tz.tz_minuteswest) * SECS_PER_MIN; in fat_tz_offset()
|
/linux-6.6.21/drivers/scsi/ |
D | mvumi.h | 565 extern struct timezone sys_tz;
|
D | 3w-sas.c | 80 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()
|
D | 3w-9xxx.c | 108 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/ |
D | amigaffs.c | 378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_secs_to_datestamp()
|
D | inode.c | 157 + sys_tz.tz_minuteswest * 60, 0).tv_sec; in affs_iget()
|
D | super.c | 359 sb->s_time_min = sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_fill_super()
|