/linux-2.4.37.9/kernel/ |
D | time.c | 212 int do_adjtimex(struct timex *txc) in do_adjtimex() argument 218 if (txc->modes && !capable(CAP_SYS_TIME)) in do_adjtimex() 223 if ((txc->modes & ADJ_OFFSET_SINGLESHOT) == ADJ_OFFSET_SINGLESHOT) in do_adjtimex() 225 if (txc->modes != ADJ_OFFSET_SINGLESHOT) in do_adjtimex() 228 if (txc->modes != ADJ_OFFSET_SINGLESHOT && (txc->modes & ADJ_OFFSET)) in do_adjtimex() 230 if (txc->offset <= - MAXPHASE || txc->offset >= MAXPHASE ) in do_adjtimex() 234 if (txc->modes & ADJ_TICK) in do_adjtimex() 235 if (txc->tick < 900000/HZ || txc->tick > 1100000/HZ) in do_adjtimex() 248 if (txc->modes) in do_adjtimex() 250 if (txc->modes & ADJ_STATUS) /* only set allowed bits */ in do_adjtimex() [all …]
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | sys_ia32.c | 2053 struct timex txc; in sys32_adjtimex() local 2056 memset(&txc, 0, sizeof(struct timex)); in sys32_adjtimex() 2059 __get_user(txc.modes, &utp->modes) || in sys32_adjtimex() 2060 __get_user(txc.offset, &utp->offset) || in sys32_adjtimex() 2061 __get_user(txc.freq, &utp->freq) || in sys32_adjtimex() 2062 __get_user(txc.maxerror, &utp->maxerror) || in sys32_adjtimex() 2063 __get_user(txc.esterror, &utp->esterror) || in sys32_adjtimex() 2064 __get_user(txc.status, &utp->status) || in sys32_adjtimex() 2065 __get_user(txc.constant, &utp->constant) || in sys32_adjtimex() 2066 __get_user(txc.precision, &utp->precision) || in sys32_adjtimex() [all …]
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | linux32.c | 2396 struct timex txc; in sys32_adjtimex() local 2399 memset(&txc, 0, sizeof(struct timex)); in sys32_adjtimex() 2401 if(get_user(txc.modes, &utp->modes) || in sys32_adjtimex() 2402 __get_user(txc.offset, &utp->offset) || in sys32_adjtimex() 2403 __get_user(txc.freq, &utp->freq) || in sys32_adjtimex() 2404 __get_user(txc.maxerror, &utp->maxerror) || in sys32_adjtimex() 2405 __get_user(txc.esterror, &utp->esterror) || in sys32_adjtimex() 2406 __get_user(txc.status, &utp->status) || in sys32_adjtimex() 2407 __get_user(txc.constant, &utp->constant) || in sys32_adjtimex() 2408 __get_user(txc.precision, &utp->precision) || in sys32_adjtimex() [all …]
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | sys_ia32.c | 4565 struct timex txc; in sys32_adjtimex() local 4568 memset(&txc, 0, sizeof(struct timex)); in sys32_adjtimex() 4570 if(get_user(txc.modes, &utp->modes) || in sys32_adjtimex() 4571 __get_user(txc.offset, &utp->offset) || in sys32_adjtimex() 4572 __get_user(txc.freq, &utp->freq) || in sys32_adjtimex() 4573 __get_user(txc.maxerror, &utp->maxerror) || in sys32_adjtimex() 4574 __get_user(txc.esterror, &utp->esterror) || in sys32_adjtimex() 4575 __get_user(txc.status, &utp->status) || in sys32_adjtimex() 4576 __get_user(txc.constant, &utp->constant) || in sys32_adjtimex() 4577 __get_user(txc.precision, &utp->precision) || in sys32_adjtimex() [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | sys_ppc32.c | 1173 struct timex txc; in sys32_adjtimex() local 1178 memset(&txc, 0, sizeof(struct timex)); in sys32_adjtimex() 1180 if(get_user(txc.modes, &utp->modes) || in sys32_adjtimex() 1181 __get_user(txc.offset, &utp->offset) || in sys32_adjtimex() 1182 __get_user(txc.freq, &utp->freq) || in sys32_adjtimex() 1183 __get_user(txc.maxerror, &utp->maxerror) || in sys32_adjtimex() 1184 __get_user(txc.esterror, &utp->esterror) || in sys32_adjtimex() 1185 __get_user(txc.status, &utp->status) || in sys32_adjtimex() 1186 __get_user(txc.constant, &utp->constant) || in sys32_adjtimex() 1187 __get_user(txc.precision, &utp->precision) || in sys32_adjtimex() [all …]
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | sys_sparc32.c | 4341 struct timex txc; in sys32_adjtimex() local 4344 memset(&txc, 0, sizeof(struct timex)); in sys32_adjtimex() 4346 if(get_user(txc.modes, &utp->modes) || in sys32_adjtimex() 4347 __get_user(txc.offset, &utp->offset) || in sys32_adjtimex() 4348 __get_user(txc.freq, &utp->freq) || in sys32_adjtimex() 4349 __get_user(txc.maxerror, &utp->maxerror) || in sys32_adjtimex() 4350 __get_user(txc.esterror, &utp->esterror) || in sys32_adjtimex() 4351 __get_user(txc.status, &utp->status) || in sys32_adjtimex() 4352 __get_user(txc.constant, &utp->constant) || in sys32_adjtimex() 4353 __get_user(txc.precision, &utp->precision) || in sys32_adjtimex() [all …]
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | linux32.c | 4259 struct timex txc; in sys32_adjtimex() local 4262 memset(&txc, 0, sizeof(struct timex)); in sys32_adjtimex() 4264 if(get_user(txc.modes, &utp->modes) || in sys32_adjtimex() 4265 __get_user(txc.offset, &utp->offset) || in sys32_adjtimex() 4266 __get_user(txc.freq, &utp->freq) || in sys32_adjtimex() 4267 __get_user(txc.maxerror, &utp->maxerror) || in sys32_adjtimex() 4268 __get_user(txc.esterror, &utp->esterror) || in sys32_adjtimex() 4269 __get_user(txc.status, &utp->status) || in sys32_adjtimex() 4270 __get_user(txc.constant, &utp->constant) || in sys32_adjtimex() 4271 __get_user(txc.precision, &utp->precision) || in sys32_adjtimex() [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | osf_sys.c | 1291 struct timex txc; in sys_old_adjtimex() local 1295 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || in sys_old_adjtimex() 1296 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - in sys_old_adjtimex() 1300 ret = do_adjtimex(&txc); in sys_old_adjtimex() 1305 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in sys_old_adjtimex() 1306 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in sys_old_adjtimex() 1308 (put_tv32(&txc_p->time, &txc.time))) in sys_old_adjtimex()
|
/linux-2.4.37.9/drivers/net/ |
D | ewrk3.c | 287 u_char txc; /* Transmit cut through */ member 858 if (lp->txc) { in ewrk3_queue_pkt() 2058 lp->txc = 1; in ewrk3_ioctl() 2066 lp->txc = 0; in ewrk3_ioctl()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | sys_parisc32.c | 3005 struct timex txc; in sys32_adjtimex() local 3008 extern int do_adjtimex(struct timex *txc); in sys32_adjtimex() 3013 #define CP(x) txc.x = t32.x in sys32_adjtimex() 3019 ret = do_adjtimex(&txc); in sys32_adjtimex() 3020 #define CP(x) t32.x = txc.x in sys32_adjtimex()
|