Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_correctness.c391 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 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()
H A Dnft_meta.c42 secs -= NFT_META_SECS_PER_MINUTE * sys_tz.tz_minuteswest; in nft_meta_weekday()
/linux/drivers/media/test-drivers/vivid/
H A 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()
H A 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/arch/sparc/kernel/
H A 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/fs/hpfs/
H A 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/fs/exfat/
H A Dmisc.c62 if (sbi->options.sys_tz) in exfat_tz_offset()
63 return -sys_tz.tz_minuteswest; in exfat_tz_offset()
H A Dsuper.c164 if (opts->sys_tz) in exfat_show_options()
337 opts->sys_tz = 1; in exfat_parse_param()
H A Dexfat_fs.h239 sys_tz:1, /* Use local timezone */ member
/linux/fs/hfs/
H A 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()
H A Dsysdep.c29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry()
H A Dinode.c202 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 Dtime.h9 extern struct timezone sys_tz;
/linux/arch/alpha/kernel/
H A Dosf_sys.c932 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 Dbnxt_coredump.c304 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 Dmisc.c200 sys_tz.tz_minuteswest) * SECS_PER_MIN; in fat_tz_offset()
/linux/drivers/scsi/
H A Dmvumi.h565 extern struct timezone sys_tz;
H A 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()
H A 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/fs/affs/
H A Damigaffs.c378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_secs_to_datestamp()
H A Dinode.c153 ….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 Dtimekeeping.c1509 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 Dntp.c645 to_set.tv_sec -= (sys_tz.tz_minuteswest * 60); in sync_hw_clock()
/linux/Documentation/filesystems/
H A Dvfat.rst153 Linux. This is useful when time zone set in ``sys_tz`` is

12