Searched refs:slot (Results 1 – 8 of 8) sorted by relevance
/unit/src/ |
H A D | nxt_lvlhsh.c | 183 void *slot; in nxt_lvlhsh_find() local 185 slot = lh->slot; in nxt_lvlhsh_find() 204 void **slot; in nxt_lvlhsh_level_find() local 356 bkt = slot; in nxt_lvlhsh_bucket_insert() 503 *slot = lvl; in nxt_lvlhsh_convert_bucket_to_level() 559 bkt = slot; in nxt_lvlhsh_bucket_convertion_insert() 741 void **slot; in nxt_lvlhsh_each() local 744 slot = lh->slot; in nxt_lvlhsh_each() 755 slot = lh->slot; in nxt_lvlhsh_each() 867 slot = lh->slot; in nxt_lvlhsh_peek() [all …]
|
H A D | nxt_mem_zone.c | 308 slot[n].size, slot[n].chunks + 1, in nxt_mem_zone_slots_init() 309 slot[n].start, slot[n].map_size); in nxt_mem_zone_slots_init() 332 slot->map_size = nxt_align_size(((slot->chunks + 7) / 8), 4); in nxt_mem_zone_slot_init() 337 slot->start = page_size - slot->chunks * slot->size; in nxt_mem_zone_slot_init() 345 if (slot->start < slot->map_size) { in nxt_mem_zone_slot_init() 350 if (slot->size < slot->map_size) { in nxt_mem_zone_slot_init() 352 slot->chunks -= slot->map_size / slot->size; in nxt_mem_zone_slot_init() 353 slot->start = nxt_align_size(slot->map_size, 16); in nxt_mem_zone_slot_init() 358 slot->start = slot->size; in nxt_mem_zone_slot_init() 473 for (slot = zone->slots; slot->size < size; slot++) { /* void */ } in nxt_mem_zone_align() [all …]
|
H A D | nxt_thread_time.c | 41 nxt_atomic_uint_t slot); 232 nxt_atomic_uint_t slot; in nxt_thread_time_string() local 239 slot = nxt_thread_time_string_slot(ts); in nxt_thread_time_string() 241 tsc = nxt_thread_time_string_cache(thr, slot); in nxt_thread_time_string() 380 static nxt_atomic_t slot; in nxt_thread_time_string_slot() local 389 ts->slot = nxt_atomic_fetch_add(&slot, 1); in nxt_thread_time_string_slot() 395 return (nxt_atomic_uint_t) ts->slot; in nxt_thread_time_string_slot() 406 if (nxt_fast_path(slot < thr->time.nstrings)) { in nxt_thread_time_string_cache() 407 tsc = &thr->time.strings[slot]; in nxt_thread_time_string_cache() 412 nstrings = slot + 1; in nxt_thread_time_string_cache() [all …]
|
H A D | nxt_lvlhsh.h | 84 void *slot; member 118 ((lh)->slot == NULL) 122 (lh)->slot = NULL
|
H A D | nxt_port.c | 375 nxt_port_change_log_file(nxt_task_t *task, nxt_runtime_t *rt, nxt_uint_t slot, in nxt_port_change_log_file() argument 382 nxt_debug(task, "change log file #%ui fd:%FD", slot, fd); in nxt_port_change_log_file() 398 b->mem.free = nxt_cpymem(b->mem.free, &slot, sizeof(nxt_uint_t)); in nxt_port_change_log_file() 411 nxt_uint_t slot; in nxt_port_change_log_file_handler() local 418 slot = *(nxt_uint_t *) b->mem.pos; in nxt_port_change_log_file_handler() 420 log_file = nxt_list_elt(rt->log_files, slot); in nxt_port_change_log_file_handler() 430 if (slot == 0) { in nxt_port_change_log_file_handler()
|
H A D | nxt_thread_time.h | 19 nxt_atomic_t slot; member
|
H A D | nxt_port.h | 354 nxt_uint_t slot, nxt_fd_t fd);
|
H A D | nxt_unit.c | 620 lib->processes.slot = NULL; in nxt_unit_create() 621 lib->ports.slot = NULL; in nxt_unit_create() 719 ctx_impl->requests.slot = 0; in nxt_unit_ctx_init()
|