/illumos-gate/usr/src/uts/common/os/ |
H A D | timers.c | 78 * timers when they expire. 338 cyc_time_t when; local 371 * at the same time, even when we drop p->p_lock below. 433 when.cyt_when = (ts = gethrtime() + tv2hrt(&aitv.it_value)); 434 when.cyt_interval = tv2hrt(&aitv.it_interval); 436 if (when.cyt_interval == 0) { 439 * set the interval to be INT64_MAX - when.cyt_when to 443 when.cyt_interval = INT64_MAX - when.cyt_when; 446 cyclic = cyclic_add(&hdlr, &when); [all...] |
H A D | callout.c | 839 * There are some situations when the entire heap is walked and processed. 1728 * Callback handler invoked when the debugger is entered or exited. 1859 cyc_time_t when; local 1931 when.cyt_when = CY_INFINITY; 1932 when.cyt_interval = CY_INFINITY; 1934 cyclic = cyclic_add(&hdlr, &when); 1941 qcyclic = cyclic_add(&hdlr, &when); 2158 * Note that when the first ID gets allocated, the
|
H A D | cyclic.c | 339 * cypc_buf[cypc_consndx] and bumping cypc_consndx. The buffer is empty when 487 * allows cyclic_expand() to know when the resize operation is complete; 498 * cyclic_expand_xcall(), we are zeroing out every cy_pend count; when 559 * the current time and the cyclic interval. But there are situations when 730 * allows the caller to reprogram the backend only when the root has been 1652 cyc_time_t *when = arg->cyx_when; local 1664 "add-xcall", when->cyt_when, when->cyt_interval); 1681 cyclic->cy_interval = when->cyt_interval; 1683 if (when 1716 cyclic_add_here(cyc_cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when, uint16_t flags) argument 1894 cyclic_remove_here(cyc_cpu_t *cpu, cyc_index_t ndx, cyc_time_t *when, int wait) argument 2024 cyc_time_t when; local 2047 cyc_time_t when; local 2489 cyc_time_t when; local 2734 cyclic_add(cyc_handler_t *hdlr, cyc_time_t *when) argument [all...] |
H A D | clock.c | 156 * time_freq is set via ntp_adjtime() from a value stored in a file when 255 * activity around the DDI lbolt routines, when a lbolt specific cyclic is 260 * frequency of these to determine when to transition from event to cyclic 263 * cache line when modifying a global variable. The transition from event to 467 * keep track of when to update lgrp/part loads 517 * information when we walk the list of cpus if we're 1168 * ntp_adjtime() occur only when the caller believes the local clock 1259 * constant, since it is infrequently changed, and then only when the 1282 * An occasional glitch can be produced when the PPS interrupt 1284 * updated. Here the offset is discarded when th 2007 deadman_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument [all...] |
H A D | flock.c | 145 * (flk_lockmgr_status), protected by flock_lock, and set when the lock 152 * requests. The global copy is used to initialize the per-graph field when a 522 * which opens /etc/passwd to read the file, when the library closes it's 736 * Recovery mechanism to release lock manager locks when 833 flk_invoke_callbacks(flk_callback_t *cblist, flk_cb_when_t when) argument 842 if (when == FLK_BEFORE_SLEEP) { 845 one_result = (*cb->cb_callback)(when, cb->cb_data); 855 one_result = (*cb->cb_callback)(when, cb->cb_data); 946 * Zone constructor/destructor callbacks to be executed when a zone is 996 * when som [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sgcn.c | 457 * "sgcn_start" will see it when it's done 716 * called when SC first establishes console connection 743 * SC sends an interrupt when new data comes in 821 * SC sends an interrupt when it takes output data 850 * SC sends an interrupt when it detects BREAK sequence 884 sgcn_log_error(int when, int what) argument 902 (when == RW_CONSOLE_READ) ? "console input" : 903 (when == RW_CONSOLE_WRITE) ? "console output, dropped" : 1038 * The circular buffer is empty when read ptr == write ptr 1039 * and is full when rea [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | main.c | 125 "Options which control when a logfile is rotated:\n"\ 283 * last opportunity, when we're sure they haven't been overridden 339 * make sense when lognames are given specifically 418 * the error output when this after command is executed. 625 off_t when = opts_optarg_int(opts, "p"); local 629 if (when != OPTP_NOW) { 631 * "when" holds the number of seconds that must have 638 * "when". this way, if a log should be rotated every 644 if (when >= 60 * 60) 645 when [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/ |
H A D | zfs_de.c | 125 * previous version when unserialized. 418 * reflects the diagnosed state, when the fault corresponds to internal 494 * We want to look at that so we can compare it to when pools get 508 zfs_ereport_when(fmd_hdl_t *hdl, nvlist_t *nvl, er_timeval_t *when) argument 515 when->ertv_sec = tod[0]; 516 when->ertv_nsec = tod[1]; 518 when->ertv_sec = when->ertv_nsec = UINT64_MAX; 610 * global uniqueness of cases based on (pool_guid, vdev_guid) pair when 804 * we'll see no further ereports. To detect when [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 384 * triggers a machine check exception when no response to an NB system access 545 uint8_t when; local 572 if ((when = aed->aed_panic_when) == AO_AED_PANIC_NEVER) 575 if ((when & AO_AED_PANIC_ALWAYS) || 576 ((when & AO_AED_PANIC_IFMCE) && (en || ismc)))
|
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | ntwdt.c | 127 * What is different when ntwdt is running is that 136 * created when the user enables the AWDT (DOGCTL) 242 * when Solaris is re-loaded while in AWDT mode; having 262 * use when ntwdt is aware of the need to reboot/reload Solaris. 265 * to the specified number of seconds when either a) Solaris 1130 * command when the watchdog is currently enabled. 1131 * This is needed (at least in the case) when 1582 cyc_time_t *when = &wdog_state->ntwdt_cycl_time; local 1588 when->cyt_interval = wdog_state->ntwdt_cyclic_interval; 1589 when [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 395 * Callback when a lock request blocks and we are serializing requests. If 401 frlock_serialize_blocked(flk_cb_when_t when, void *infop) argument 405 if (when == FLK_BEFORE_SLEEP)
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | at.c | 166 time_t when = 0; local 270 when = parse_time(optarg); 305 when = now; 307 if (when == 0) { /* figure out what time to run the job */ 338 when = gtime(&at); 340 when += timezone; 341 if (localtime(&when)->tm_isdst) 342 when -= (timezone-altzone); 348 when = mktime(ct); 352 if (when < no 570 copy(char *jobfile, FILE *inputfile, int when) argument 939 time_t when = 0; local [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/ |
H A D | asm10k.c | 869 char when[128]; local 894 strftime(when, sizeof (when), "%c", localtime(&now)); 895 (void) fprintf(f, banner, progname, when);
|
/illumos-gate/usr/src/uts/common/xen/dtrace/ |
H A D | xdt.c | 364 * These provide context when probes fire. They can be accessed 1824 cyc_time_t when; local 1832 when.cyt_interval = xdt_poll_nsec; 1833 when.cyt_when = dtrace_gethrtime() + when.cyt_interval; 1835 xdt_cyclic = cyclic_add(&hdlr, &when); 1983 * the trace mask, since it will be reset when
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 432 * VOP_SETATTR() when calling from the CIFS service, due to special processing 1464 smb_lock_frlock_callback(flk_cb_when_t when, void *error) argument
|
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 109 /* update when loader version will change */ 628 * The problem arises when you tick the builtin. For example: 635 * We have no way, when we get EXECUTEd, of knowing what our behavior 1390 time_t when; local 1426 when = time(NULL) + timeout; 1428 if (time(NULL) >= when)
|
/illumos-gate/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 1629 clock_t when; local 1643 when = drv_usectohz(1000000); 1645 when, TR_CLOCK_TICK) == 0) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 271 * partially failed, and when it recovers, we can continue to free the 291 * used to determine when the spa_deadman() logic should fire. By default the 520 * Fires when spa_sync has not completed within zfs_deadman_synctime_ms. 555 cyc_time_t when; local 604 when.cyt_interval = MSEC2NSEC(zfs_deadman_checktime_ms); 605 when.cyt_when = CY_INFINITY; 607 spa->spa_deadman_cycid = cyclic_add(&hdlr, &when); 821 * number of references acquired when opening a pool 1082 * Internal implementation for spa_vdev_enter(). Used when a vdev 1185 * when openin [all...] |
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 894 cyclic_add(cyc_handler_t *hdlr, cyc_time_t *when) argument
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | opl_olympus.c | 865 * Function to reprogram the TLBs when page sizes used 911 * The HAT calls this function when an MMU context is allocated so that we 1626 * when hw_copy_limit_8 was 2K or larger. Apparently for server 2151 opl_ras_online(void *arg, cpu_t *cp, cyc_handler_t *hdlr, cyc_time_t *when) argument 2157 when->cyt_when = cp->cpu_id * (((hrtime_t)NANOSEC * 10)/ NCPU); 2158 when->cyt_interval = (hrtime_t)NANOSEC * opl_async_check_interval; 2396 * preserving Solaris kernel page sizes when entering OBP. We need to 2397 * check the prom tree since the ddi tree is not yet built when the
|
H A D | us3_common.c | 160 cyc_time_t *when); 182 * This table is used to determine which bit(s) is(are) bad when an ECC 186 * 00-127 The number of the bad bit, when only one bit is bad. 289 * This table is used to determine which bit(s) is(are) bad when a Mtag 404 * Save the cache bootup state for use when internal 615 clock_t lbolt; /* when recovery started */ 775 * 1) when we came in we set ourselves to "in recover" state. 776 * 2) when we try to touch TSB being relocated the mapping 779 * 3) when the CPU that holds the TSB mapping locked tries to 994 * This is called by the cyclic framework when thi 998 cheetah_nudge_onln(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument 5680 cpu_scrub_cyclic_setup(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument 5706 cyc_time_t when; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca.c | 629 * incorrect false failures when the bus is just a little 1212 * Uninitialize worklists. This routine should only be called when no 1449 * The rationale here is that when s1 (source) is shorter, then we 1453 * Similarly, when s2 (dest) is shorter, then we are truncating what 1456 * There is an expectation when reversing from the device back into 1690 * performance when transferring more than one page data. For example, 2417 * This is the callback function called from the interrupt when a kCF job 2447 * Call this when a failure is detected. It will reset the chip, 2595 clock_t when; local 2598 when [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ddi_impldefs.h | 338 #define DEVI_NDI_CONFIG 0x00000400 /* perform config when attaching */ 358 * o DEVI_SET_DEVICE_{DOWN|DEGRADED|UP} should only be used when !OFFLINE. 664 ddi_pre_post_t when; /* one of DDI_PRE or DDI_POST */ member in struct:attachspec 675 ddi_pre_post_t when; /* one of DDI_PRE or DDI_POST */ member in struct:detachspec
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | uDNS.c | 47 // We keep track of the number of unicast DNS servers and log a message when we exceed 64. 158 // Don't increment when we resurrect a DNS server that is not marked with DNSServer_FlagDelete. 159 // We have already accounted for it when it was added for the first time. This case happens when 201 // when we receive the first response to a DNSSEC question, we set 210 // We always update the ID (not just when we allocate a new instance) because we could 217 // PenalizeDNSServer is called when the number of queries to the unicast 218 // DNS server exceeds MAX_UCAST_UNANSWERED_QUERIES or when we receive an 289 // times when we receive SERVFAIL from delayed packets in the network e.g., DNS server 306 // the interval. We do this only the first time when w 670 mDNSu32 when = NonZeroTime(m->timenow + waitTicks); local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 380 * SCSI_HBA_LOG is used for all messages. A logging level is specified when 615 char *arg, char *when) 627 arg ? arg : "", arg ? " " : "", when)); 632 arg ? arg : "", arg ? " " : "", when)); 637 arg ? arg : "", arg ? " " : "", when)); 697 * Called from _init() when loading "scsi" module 1123 * Future: Should we avoid creating properties when value == global? 1338 * The SCSI_HBA_HBA flag is passed to scsi_hba_attach_setup when the 1501 * NOTE: the following code should be deleted when mpt is changed to 1532 * NOTE: the following code should be deleted when mp 614 scsi_enumeration_failed(dev_info_t *child, scsi_enum_t se, char *arg, char *when) argument [all...] |