Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/vDSO/
A Dvdso_test_correctness.c387 struct timezone sys_tz, vdso_tz; in test_gettimeofday() local
395 if (sys_gettimeofday(&start, &sys_tz) < 0) { in test_gettimeofday()
421 if (sys_tz.tz_minuteswest == vdso_tz.tz_minuteswest && in test_gettimeofday()
422 sys_tz.tz_dsttime == vdso_tz.tz_dsttime) { in test_gettimeofday()
424 sys_tz.tz_minuteswest, sys_tz.tz_dsttime); in test_gettimeofday()
/linux/net/netfilter/
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()
A Dnft_meta.c43 secs -= NFT_META_SECS_PER_MINUTE * sys_tz.tz_minuteswest; in nft_meta_weekday()
/linux/kernel/time/
A 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()
A 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()
A Dntp.c648 to_set.tv_sec -= (sys_tz.tz_minuteswest * 60); in sync_hw_clock()
/linux/drivers/media/test-drivers/vivid/
A Dvivid-vbi-gen.c188 sys_tz.tz_minuteswest > tm.tm_min + tm.tm_hour * 60) in vivid_vbi_gen_set_time_of_day()
200 if (sys_tz.tz_minuteswest >= 0) in vivid_vbi_gen_set_time_of_day()
201 packet[12] = calc_parity(0x40 | ((sys_tz.tz_minuteswest / 60) & 0x1f)); in vivid_vbi_gen_set_time_of_day()
203 packet[12] = calc_parity(0x40 | ((24 + sys_tz.tz_minuteswest / 60) & 0x1f)); in vivid_vbi_gen_set_time_of_day()
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/
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/
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/arch/nds32/kernel/
A Dvdso.c229 vdso_data->tz_minuteswest = sys_tz.tz_minuteswest; in update_vsyscall_tz()
230 vdso_data->tz_dsttime = sys_tz.tz_dsttime; in update_vsyscall_tz()
/linux/fs/hfs/
A Dhfs_fs.h260 return ut + sys_tz.tz_minuteswest * 60; in __hfs_m_to_utime()
265 ut -= sys_tz.tz_minuteswest * 60; in __hfs_u_to_mtime()
A Dsysdep.c29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry()
/linux/include/linux/
A Dtime.h9 extern struct timezone sys_tz;
/linux/fs/udf/
A Dudftime.c79 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp()
/linux/arch/powerpc/kernel/
A Dtime.c134 extern struct timezone sys_tz;
983 sys_tz.tz_minuteswest = -timezone_offset / 60; in time_init()
984 sys_tz.tz_dsttime = 0; in time_init()
/linux/drivers/net/ethernet/broadcom/bnxt/
A 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/arch/alpha/kernel/
A Dosf_sys.c932 extern struct timezone sys_tz;
992 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
/linux/fs/fat/
A Dmisc.c194 sys_tz.tz_minuteswest) * SECS_PER_MIN; in fat_tz_offset()
/linux/drivers/scsi/
A Dmvumi.h556 extern struct timezone sys_tz;
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()
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/
A Damigaffs.c378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_secs_to_datestamp()
A Dinode.c157 sys_tz.tz_minuteswest * 60; in affs_iget()
A Dsuper.c359 sb->s_time_min = sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_fill_super()

Completed in 48 milliseconds

12