tag | line | file | source code |
txc | 294 | kernel/time.c | struct timex txc; |
txc | 304 | kernel/time.c | memcpy_fromfs(&txc, txc_p, sizeof(struct timex)); |
txc | 307 | kernel/time.c | if (txc.mode && !suser()) |
txc | 313 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
txc | 315 | kernel/time.c | if (txc.offset <= -(1 << (31 - SHIFT_UPDATE)) |
txc | 316 | kernel/time.c | || txc.offset >= (1 << (31 - SHIFT_UPDATE))) |
txc | 320 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
txc | 321 | kernel/time.c | if (txc.status < TIME_OK || txc.status > TIME_BAD) |
txc | 325 | kernel/time.c | if (txc.mode & ADJ_TICK) |
txc | 326 | kernel/time.c | if (txc.tick < 900000/HZ || txc.tick > 1100000/HZ) |
txc | 335 | kernel/time.c | if (txc.mode) |
txc | 340 | kernel/time.c | if (txc.mode & ADJ_STATUS) |
txc | 341 | kernel/time.c | time_status = txc.status; |
txc | 343 | kernel/time.c | if (txc.mode & ADJ_FREQUENCY) |
txc | 344 | kernel/time.c | time_freq = txc.frequency << (SHIFT_KF - 16); |
txc | 346 | kernel/time.c | if (txc.mode & ADJ_MAXERROR) |
txc | 347 | kernel/time.c | time_maxerror = txc.maxerror; |
txc | 349 | kernel/time.c | if (txc.mode & ADJ_ESTERROR) |
txc | 350 | kernel/time.c | time_esterror = txc.esterror; |
txc | 352 | kernel/time.c | if (txc.mode & ADJ_TIMECONST) |
txc | 353 | kernel/time.c | time_constant = txc.time_constant; |
txc | 355 | kernel/time.c | if (txc.mode & ADJ_OFFSET) |
txc | 356 | kernel/time.c | if (txc.mode == ADJ_OFFSET_SINGLESHOT) |
txc | 358 | kernel/time.c | time_adjust = txc.offset; |
txc | 362 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
txc | 368 | kernel/time.c | if (txc.offset < 0) |
txc | 369 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
txc | 372 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
txc | 382 | kernel/time.c | if (txc.mode & ADJ_TICK) |
txc | 383 | kernel/time.c | tick = txc.tick; |
txc | 386 | kernel/time.c | txc.offset = save_adjust; |
txc | 387 | kernel/time.c | txc.frequency = ((time_freq+1) >> (SHIFT_KF - 16)); |
txc | 388 | kernel/time.c | txc.maxerror = time_maxerror; |
txc | 389 | kernel/time.c | txc.esterror = time_esterror; |
txc | 390 | kernel/time.c | txc.status = time_status; |
txc | 391 | kernel/time.c | txc.time_constant = time_constant; |
txc | 392 | kernel/time.c | txc.precision = time_precision; |
txc | 393 | kernel/time.c | txc.tolerance = time_tolerance; |
txc | 394 | kernel/time.c | txc.time = xtime; |
txc | 395 | kernel/time.c | txc.tick = tick; |
txc | 399 | kernel/time.c | memcpy_tofs(txc_p, &txc, sizeof(struct timex)); |