• Home
  • Raw
  • Download

Lines Matching refs:tsd

15 static quarantine_t	*quarantine_grow(tsd_t *tsd, quarantine_t *quarantine);
43 quarantine_alloc_hook_work(tsd_t *tsd) in quarantine_alloc_hook_work() argument
47 if (!tsd_nominal(tsd)) in quarantine_alloc_hook_work()
50 quarantine = quarantine_init(tsd_tsdn(tsd), LG_MAXOBJS_INIT); in quarantine_alloc_hook_work()
55 if (tsd_quarantine_get(tsd) == NULL) in quarantine_alloc_hook_work()
56 tsd_quarantine_set(tsd, quarantine); in quarantine_alloc_hook_work()
58 idalloctm(tsd_tsdn(tsd), quarantine, NULL, true, true); in quarantine_alloc_hook_work()
62 quarantine_grow(tsd_t *tsd, quarantine_t *quarantine) in quarantine_grow() argument
66 ret = quarantine_init(tsd_tsdn(tsd), quarantine->lg_maxobjs + 1); in quarantine_grow()
68 quarantine_drain_one(tsd_tsdn(tsd), quarantine); in quarantine_grow()
90 idalloctm(tsd_tsdn(tsd), quarantine, NULL, true, true); in quarantine_grow()
92 tsd_quarantine_set(tsd, ret); in quarantine_grow()
117 quarantine(tsd_t *tsd, void *ptr) in quarantine() argument
120 size_t usize = isalloc(tsd_tsdn(tsd), ptr, config_prof); in quarantine()
125 if ((quarantine = tsd_quarantine_get(tsd)) == NULL) { in quarantine()
126 idalloctm(tsd_tsdn(tsd), ptr, NULL, false, true); in quarantine()
136 quarantine_drain(tsd_tsdn(tsd), quarantine, upper_bound); in quarantine()
140 quarantine = quarantine_grow(tsd, quarantine); in quarantine()
165 idalloctm(tsd_tsdn(tsd), ptr, NULL, false, true); in quarantine()
170 quarantine_cleanup(tsd_t *tsd) in quarantine_cleanup() argument
177 quarantine = tsd_quarantine_get(tsd); in quarantine_cleanup()
179 quarantine_drain(tsd_tsdn(tsd), quarantine, 0); in quarantine_cleanup()
180 idalloctm(tsd_tsdn(tsd), quarantine, NULL, true, true); in quarantine_cleanup()
181 tsd_quarantine_set(tsd, NULL); in quarantine_cleanup()