/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_correctness.c | 391 struct timezone sys_tz, vdso_tz; in test_gettimeofday() local 399 if (sys_gettimeofday(&start, &sys_tz) < 0) { in test_gettimeofday() 425 if (sys_tz.tz_minuteswest == vdso_tz.tz_minuteswest && in test_gettimeofday() 426 sys_tz.tz_dsttime == vdso_tz.tz_dsttime) { in test_gettimeofday() 428 sys_tz.tz_minuteswest, sys_tz.tz_dsttime); in test_gettimeofday()
|
/linux/net/netfilter/ |
H A 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()
|
H A D | nft_meta.c | 42 secs -= NFT_META_SECS_PER_MINUTE * sys_tz.tz_minuteswest; in nft_meta_weekday()
|
/linux/drivers/media/test-drivers/vivid/ |
H A 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()
|
H A 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/arch/sparc/kernel/ |
H A 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/fs/hpfs/ |
H A 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/fs/exfat/ |
H A D | misc.c | 62 if (sbi->options.sys_tz) in exfat_tz_offset() 63 return -sys_tz.tz_minuteswest; in exfat_tz_offset()
|
H A D | super.c | 164 if (opts->sys_tz) in exfat_show_options() 337 opts->sys_tz = 1; in exfat_parse_param()
|
H A D | exfat_fs.h | 239 sys_tz:1, /* Use local timezone */ member
|
/linux/fs/hfs/ |
H A 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()
|
H A D | sysdep.c | 29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry()
|
H A D | inode.c | 202 HFS_I(inode)->tz_secondswest = sys_tz.tz_minuteswest * 60; in hfs_new_inode() 337 HFS_I(inode)->tz_secondswest = sys_tz.tz_minuteswest * 60; in hfs_read_inode()
|
/linux/include/linux/ |
H A D | time.h | 9 extern struct timezone sys_tz;
|
/linux/arch/alpha/kernel/ |
H A D | osf_sys.c | 932 extern struct timezone sys_tz; 992 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_coredump.c | 304 record->end_utc_bias = cpu_to_le16(sys_tz.tz_minuteswest * 60); in bnxt_fill_coredump_record() 400 start_utc = sys_tz.tz_minuteswest * 60; in __bnxt_get_coredump()
|
/linux/fs/fat/ |
H A D | misc.c | 200 sys_tz.tz_minuteswest) * SECS_PER_MIN; in fat_tz_offset()
|
/linux/drivers/scsi/ |
H A D | mvumi.h | 565 extern struct timezone sys_tz;
|
H A 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()
|
H A 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/fs/affs/ |
H A D | amigaffs.c | 378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_secs_to_datestamp()
|
H A D | inode.c | 153 ….mins) * 60 + be32_to_cpu(tail->change.ticks) / 50 + AFFS_EPOCH_DELTA) + sys_tz.tz_minuteswest * 6… in affs_iget()
|
/linux/kernel/time/ |
H A D | timekeeping.c | 1509 if (sys_tz.tz_minuteswest != 0) { in timekeeping_warp_clock() 1513 adjust.tv_sec = sys_tz.tz_minuteswest * 60; in timekeeping_warp_clock()
|
H A D | ntp.c | 645 to_set.tv_sec -= (sys_tz.tz_minuteswest * 60); in sync_hw_clock()
|
/linux/Documentation/filesystems/ |
H A D | vfat.rst | 153 Linux. This is useful when time zone set in ``sys_tz`` is
|