/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/isofs/ |
H A D | util.c | 20 int year, month, day, hour, minute, second, tz; local 29 if (flag == 0) tz = p[6]; /* High sierra has no time zone */ 30 else tz = 0; 49 if (tz & 0x80) 50 tz |= (-1 << 8); 77 if (-52 <= tz && tz <= 52) 78 crtime -= tz * 15 * 60;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/thermal/ |
H A D | tzpolicy.c | 37 #include "tz.h" 94 TZ_CONTEXT *tz) 98 if (!tz) { 102 if (tz->policy.temperature >= tz->policy.thresholds.critical.temperature) { 125 TZ_CONTEXT *tz) 129 if (!tz || !tz->policy.thresholds.hot.is_valid) { 133 if (tz->policy.temperature >= tz 93 tz_policy_critical( TZ_CONTEXT *tz) argument 124 tz_policy_hot( TZ_CONTEXT *tz) argument 155 tz_policy_passive( TZ_CONTEXT *tz) argument 223 tz_policy_active( TZ_CONTEXT *tz) argument 306 TZ_CONTEXT *tz = NULL; local 484 tz_policy_add_device( TZ_CONTEXT *tz) argument 550 tz_policy_remove_device( TZ_CONTEXT *tz) argument [all...] |
H A D | tz_osl.c | 33 #include "tz.h" 71 TZ_CONTEXT *tz = NULL; local 81 tz = (TZ_CONTEXT*)context; 83 thresholds = &(tz->policy.thresholds); 105 switch (tz->policy.cooling_mode) { 118 switch (tz->policy.polling_freq) { 123 p += sprintf(p, "%d dS\n", tz->policy.polling_freq); 151 TZ_CONTEXT *tz = NULL; local 159 tz = (TZ_CONTEXT*)data; 167 tz_set_cooling_preference(tz, (buffe 196 TZ_CONTEXT *tz = NULL; local 246 tz_osl_add_device( TZ_CONTEXT *tz) argument 285 tz_osl_remove_device( TZ_CONTEXT *tz) argument 314 tz_osl_generate_event( u32 event, TZ_CONTEXT *tz) argument [all...] |
H A D | tz.c | 3 * Module Name: tz.c 29 #include "tz.h" 33 MODULE_NAME ("tz") 55 TZ_CONTEXT *tz) 64 if (!tz) 67 thresholds = &(tz->policy.thresholds); 77 acpi_get_name(tz->acpi_handle, ACPI_FULL_PATHNAME, &buffer); 83 ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INFO, "| Thermal_zone[%02x]:[%p] %s\n", tz->device_handle, tz->acpi_handle, (char*)buffer.pointer)); 84 ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INFO, "| temperature[%d] state[%08x]\n", tz 54 tz_print( TZ_CONTEXT *tz) argument 128 tz_get_temperature( TZ_CONTEXT *tz) argument 160 tz_set_cooling_preference( TZ_CONTEXT *tz, TZ_COOLING_MODE cooling_mode) argument 208 tz_get_thresholds( TZ_CONTEXT *tz) argument 334 TZ_CONTEXT *tz = NULL; local 436 TZ_CONTEXT *tz = NULL; local 547 TZ_CONTEXT *tz = NULL; local 615 TZ_CONTEXT *tz = NULL; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/include/ |
H A D | tz.h | 3 * Module Name: tz.h 186 /* tz.c */ 207 TZ_CONTEXT *tz); 211 TZ_CONTEXT *tz); 215 TZ_CONTEXT *tz, 220 TZ_CONTEXT *tz); 226 TZ_CONTEXT *tz); 230 TZ_CONTEXT *tz); 240 TZ_CONTEXT *tz); 244 TZ_CONTEXT *tz); [all...] |
/asus-wl-520gu-7.0.1.45/src/router/dnsmasq/ |
H A D | dnsr_vx.h | 45 int gettimeofday(struct timeval *tv, struct timezone *tz); 46 int settimeofday(const struct timeval *tv , const struct timezone *tz);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/ |
H A D | vsyscall.c | 79 static inline void do_get_tz(struct timezone * tz) argument 87 *tz = __sys_tz; 93 static long __vsyscall(0) vgettimeofday(struct timeval * tv, struct timezone * tz) argument 96 if (tz) do_get_tz(tz); 104 static long __vsyscall(0) vgettimeofday(struct timeval * tv, struct timezone * tz) argument 109 : "0" (__NR_gettimeofday), "D" (tv), "S" (tz)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/kernel/ |
H A D | time.c | 89 asmlinkage long sys_gettimeofday(struct timeval *tv, struct timezone *tz) argument 97 if (tz) { 98 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 140 int do_sys_settimeofday(struct timeval *tv, struct timezone *tz) argument 147 if (tz) { 149 sys_tz = *tz; 166 asmlinkage long sys_settimeofday(struct timeval *tv, struct timezone *tz) argument 175 if (tz) { 176 if (copy_from_user(&new_tz, tz, sizeof(*tz))) [all...] |
/asus-wl-520gu-7.0.1.45/src/router/rc/ |
H A D | init.c | 108 char tz[1000]; local 116 tz, 139 snprintf(tz, sizeof(tz), "TZ=%s", getenv("TZ"));
|
H A D | rc.c | 468 struct timezone tz; local 512 tz.tz_minuteswest = (mktime(&gm) - mktime(&local))/60; 513 settimeofday(NULL, &tz); 616 struct timezone tz; local 626 tz.tz_minuteswest = (mktime(&gm) - mktime(&local)) / 60; 627 settimeofday(NULL, &tz); 647 tz.tz_minuteswest = (mktime(&gm) - mktime(&local)) / 60; 648 settimeofday(NULL, &tz);
|
H A D | watchdog.c | 538 struct timezone tz; local 553 tz.tz_minuteswest = (mktime(&gm) - mktime(&local)) / 60; 554 settimeofday(NULL, &tz);
|
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/ |
H A D | init.c | 108 char tz[1000]; local 116 tz, 139 snprintf(tz, sizeof(tz), "TZ=%s", getenv("TZ"));
|
H A D | rc.c | 600 struct timezone tz; local 610 tz.tz_minuteswest = (mktime(&gm) - mktime(&local)) / 60; 611 settimeofday(NULL, &tz); 631 tz.tz_minuteswest = (mktime(&gm) - mktime(&local)) / 60; 632 settimeofday(NULL, &tz);
|
H A D | watchdog.c | 538 struct timezone tz; local 553 tz.tz_minuteswest = (mktime(&gm) - mktime(&local)) / 60; 554 settimeofday(NULL, &tz);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/kernel/ |
H A D | time.c | 75 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 354 struct timezone tz; local 355 tz.tz_minuteswest = -time_offset / 60; 356 tz.tz_dsttime = 0; 357 do_sys_settimeofday(NULL, &tz);
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/debugfs/ |
H A D | util.c | 193 char * tz; local 197 tz = getenv("TZ"); 198 if (!tz) 199 tz = ""; 200 do_gmt = !strcmp(tz, "GMT");
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | traceroute.c | 401 struct timezone tz; local 418 (void) gettimeofday(&op->tv, &tz); 595 struct timezone tz; local 598 (void) gettimeofday(&t1, &tz); 602 (void) gettimeofday(&t2, &tz);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/ |
H A D | osf_sys.c | 888 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 937 asmlinkage int osf_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 945 if (tz) { 946 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 952 asmlinkage int osf_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 961 if (tz) { 962 if (copy_from_user(&ktz, tz, sizeof(*tz))) 966 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/ia32/ |
H A D | sys_ia32.c | 616 extern asmlinkage long sys_gettimeofday (struct timeval *tv, struct timezone *tz); 619 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 622 sys32_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 630 if (tz) { 631 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 638 sys32_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 647 if (tz) { 648 if (copy_from_user(&ktz, tz, sizeof(ktz))) 652 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips64/kernel/ |
H A D | linux32.c | 793 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 796 sys32_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 804 if (tz) { 805 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 812 sys32_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 821 if (tz) { 822 if (copy_from_user(&ktz, tz, sizeof(ktz))) 826 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/ |
H A D | sys_parisc32.c | 634 sys32_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 644 if (tz) { 646 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 653 sys32_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 657 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 663 if (tz) { 664 if (copy_from_user(&ktz, tz, sizeof(ktz))) 668 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/ia32/ |
H A D | sys_ia32.c | 817 extern asmlinkage long sys_gettimeofday (struct timeval *tv, struct timezone *tz); 843 extern int do_sys_settimeofday (struct timeval *tv, struct timezone *tz); 846 sys32_gettimeofday (struct timeval32 *tv, struct timezone *tz) argument 854 if (tz) { 855 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 862 sys32_settimeofday (struct timeval32 *tv, struct timezone *tz) argument 871 if (tz) { 872 if (copy_from_user(&ktz, tz, sizeof(ktz))) 876 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | sys_ppc32.c | 2359 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 2361 asmlinkage long sys32_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 2372 if (tz) { 2373 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 2382 asmlinkage long sys32_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 2393 if (tz) { 2394 if (copy_from_user(&ktz, tz, sizeof(ktz))) 2398 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/kernel/ |
H A D | linux32.c | 3756 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 3758 asmlinkage int sys32_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 3766 if (tz) { 3767 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 3773 asmlinkage int sys32_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 3782 if (tz) { 3783 if (copy_from_user(&ktz, tz, sizeof(ktz))) 3787 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/ |
H A D | sys_sparc32.c | 3954 extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz); 3956 asmlinkage int sys32_gettimeofday(struct timeval32 *tv, struct timezone *tz) argument 3964 if (tz) { 3965 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 3971 asmlinkage int sys32_settimeofday(struct timeval32 *tv, struct timezone *tz) argument 3980 if (tz) { 3981 if (copy_from_user(&ktz, tz, sizeof(ktz))) 3985 return do_sys_settimeofday(tv ? &ktv : NULL, tz ? &ktz : NULL);
|