/asus-wl-520gu-7.0.1.45/src/linux/linux/kernel/ |
H A D | time.c | 204 int do_adjtimex(struct timex *txc) argument 210 if (txc->modes && !capable(CAP_SYS_TIME)) 215 if ((txc->modes & ADJ_OFFSET_SINGLESHOT) == ADJ_OFFSET_SINGLESHOT) 217 if (txc->modes != ADJ_OFFSET_SINGLESHOT) 220 if (txc->modes != ADJ_OFFSET_SINGLESHOT && (txc->modes & ADJ_OFFSET)) 222 if (txc->offset <= - MAXPHASE || txc->offset >= MAXPHASE ) 226 if (txc->modes & ADJ_TICK) 227 if (txc 389 struct timex txc; /* Local copy of parameter */ local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | adjtimex.c | 97 struct timex txc; local 101 txc.modes=0; 110 txc.offset = atoi(optarg); 111 txc.modes |= ADJ_OFFSET_SINGLESHOT; 114 txc.freq = atoi(optarg); 115 txc.modes |= ADJ_FREQUENCY; 118 txc.constant = atoi(optarg); 119 txc.modes |= ADJ_TIMECONST; 122 txc.tick = atoi(optarg); 123 txc [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ntpclient/ |
H A D | ntpclient.c | 90 struct timex txc; local 91 txc.modes=0; 92 if (__adjtimex(&txc) < 0) { 95 return txc.freq; 106 struct timex txc; local 107 txc.modes = ADJ_FREQUENCY; 108 txc.freq = new_freq; 109 if (__adjtimex(&txc) < 0) { 112 return txc.freq;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips64/kernel/ |
H A D | linux32.c | 2137 struct timex txc; local 2140 memset(&txc, 0, sizeof(struct timex)); 2142 if(get_user(txc.modes, &utp->modes) || 2143 __get_user(txc.offset, &utp->offset) || 2144 __get_user(txc.freq, &utp->freq) || 2145 __get_user(txc.maxerror, &utp->maxerror) || 2146 __get_user(txc.esterror, &utp->esterror) || 2147 __get_user(txc.status, &utp->status) || 2148 __get_user(txc.constant, &utp->constant) || 2149 __get_user(txc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/ia32/ |
H A D | sys_ia32.c | 1882 struct timex txc; local 1885 memset(&txc, 0, sizeof(struct timex)); 1888 __get_user(txc.modes, &utp->modes) || 1889 __get_user(txc.offset, &utp->offset) || 1890 __get_user(txc.freq, &utp->freq) || 1891 __get_user(txc.maxerror, &utp->maxerror) || 1892 __get_user(txc.esterror, &utp->esterror) || 1893 __get_user(txc.status, &utp->status) || 1894 __get_user(txc.constant, &utp->constant) || 1895 __get_user(txc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | sys_ppc32.c | 1147 struct timex txc; local 1152 memset(&txc, 0, sizeof(struct timex)); 1154 if(get_user(txc.modes, &utp->modes) || 1155 __get_user(txc.offset, &utp->offset) || 1156 __get_user(txc.freq, &utp->freq) || 1157 __get_user(txc.maxerror, &utp->maxerror) || 1158 __get_user(txc.esterror, &utp->esterror) || 1159 __get_user(txc.status, &utp->status) || 1160 __get_user(txc.constant, &utp->constant) || 1161 __get_user(txc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/kernel/ |
H A D | linux32.c | 3937 struct timex txc; local 3940 memset(&txc, 0, sizeof(struct timex)); 3942 if(get_user(txc.modes, &utp->modes) || 3943 __get_user(txc.offset, &utp->offset) || 3944 __get_user(txc.freq, &utp->freq) || 3945 __get_user(txc.maxerror, &utp->maxerror) || 3946 __get_user(txc.esterror, &utp->esterror) || 3947 __get_user(txc.status, &utp->status) || 3948 __get_user(txc.constant, &utp->constant) || 3949 __get_user(txc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/ |
H A D | sys_sparc32.c | 4172 struct timex txc; local 4175 memset(&txc, 0, sizeof(struct timex)); 4177 if(get_user(txc.modes, &utp->modes) || 4178 __get_user(txc.offset, &utp->offset) || 4179 __get_user(txc.freq, &utp->freq) || 4180 __get_user(txc.maxerror, &utp->maxerror) || 4181 __get_user(txc.esterror, &utp->esterror) || 4182 __get_user(txc.status, &utp->status) || 4183 __get_user(txc.constant, &utp->constant) || 4184 __get_user(txc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/ia32/ |
H A D | sys_ia32.c | 4319 struct timex txc; local 4322 memset(&txc, 0, sizeof(struct timex)); 4324 if(get_user(txc.modes, &utp->modes) || 4325 __get_user(txc.offset, &utp->offset) || 4326 __get_user(txc.freq, &utp->freq) || 4327 __get_user(txc.maxerror, &utp->maxerror) || 4328 __get_user(txc.esterror, &utp->esterror) || 4329 __get_user(txc.status, &utp->status) || 4330 __get_user(txc.constant, &utp->constant) || 4331 __get_user(txc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/ |
H A D | osf_sys.c | 1285 struct timex txc; local 1289 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || 1290 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - 1294 ret = do_adjtimex(&txc); 1299 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || 1300 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - 1302 (put_tv32(&txc_p->time, &txc.time)))
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/ |
H A D | ewrk3.c | 287 u_char txc; /* Transmit cut through */ member in struct:ewrk3_private 851 if (lp->txc) { 2057 lp->txc = 1; 2065 lp->txc = 0;
|
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/dev/ |
H A D | dev_bcm5700.c | 776 t3_snd_bd_t *txc; local 779 txc = &(sc->txp_1[sc->txc_1_index]); 781 pkt = ETH_PKT_BASE(PCI_TO_PTR(txc->bufptr_lo)); 784 txc++; 787 txc = &(sc->txp_1[0]);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/ |
H A D | sys_parisc32.c | 2923 struct timex txc; local 2926 extern int do_adjtimex(struct timex *txc); 2931 #define CP(x) txc.x = t32.x 2937 ret = do_adjtimex(&txc); 2938 #define CP(x) t32.x = txc.x
|