Searched refs:reap (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/saf/
H A Dextern.h57 extern void reap();
H A Dsac.c74 void reap(int);
184 sigact.sa_handler = reap;
831 * reap - clean up dead children, equivalent to a "fast" poll failure
837 reap(int signo) function
894 * routine reap() is not called until we're ready (note: when a catcher
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c41 #define NOREAP_TIME 60 /* wait 60 seconds before allow a reap */
104 reap(char *arg, pid_t *reap_pid, int *exit_status) function
134 (void) fprintf(stderr, "%s: Failed to reap %d: the only "
149 (void) fprintf(stderr, "%s: unsafe to reap %d; it has been "
163 (void) fprintf(stderr, "%s: unsafe to reap %d; parent is "
164 "stopped and may reap status upon restart\n", command,
262 retc += r = reap(*argv++, &pid, &wstat);
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c905 { "reap", KSTAT_DATA_UINT64 },
2189 * The number of bytes to reap before we call kpreempt(). The default (1MB)
2202 long reap; local
2208 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min);
2209 while (reap-- &&
2219 reap = MIN(cp->cache_empty.ml_reaplimit, cp->cache_empty.ml_min);
2220 while (reap-- &&
3184 * if we have segkp under heap, reap segkp cache.
3195 * we won't reap again until the current reap complete
3488 long reap; local
5502 long reap; local
5522 boolean_t reap = B_FALSE; local
[all...]
/illumos-gate/usr/src/tools/cw/
H A Dcw.c1695 reap(cw_ictx_t *ctx) function
1709 cw_perror("cannot reap child");
1802 return (reap(ctx));
1915 ret |= reap(ctx);
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c243 * reap state.
250 * any work generated by the global update. Afterwards, it resets the reap
779 volatile hrtime_t umem_reap_next; /* min hrtime of next reap */
1874 long reap; local
1879 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min);
1880 while (reap-- && (mp = umem_depot_alloc(cp, &cp->cache_full)) != NULL)
1883 reap = MIN(cp->cache_empty.ml_reaplimit, cp->cache_empty.ml_min);
1884 while (reap-- && (mp = umem_depot_alloc(cp, &cp->cache_empty)) != NULL)
2594 * This just requests a reap on all caches, and notifies the update thread.
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhtable.c125 * Track the number of active pagetables, so we can know how many to reap
565 * (reap=TRUE) or htable_alloc (reap=FALSE).
568 htable_steal(uint_t cnt, boolean_t reap) argument
598 passes = reap ? 0 : htable_steal_passes;
661 * do synchronous teardown for the reap case so that
666 for (ht = list; (ht) && (reap); ht = ht->ht_next) {
741 * Try to reap 5% of the page tables bounded by a maximum of
1026 * This is called when a hat is being destroyed or swapped out. We reap all

Completed in 87 milliseconds