Home
last modified time | relevance | path

Searched refs:rank (Results 1 – 18 of 18) sorted by relevance

/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dwitness.h68 # define WITNESS_INITIALIZER(name, rank) {name, rank, NULL, NULL, {NULL, NULL}} argument
70 # define WITNESS_INITIALIZER(name, rank) argument
87 witness_rank_t rank; member
193 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_owner()
218 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_not_owner()
252 if (w->rank < rank_inclusive) { in witness_assert_depth_to_rank()
287 if (witness->rank == WITNESS_RANK_OMIT) { in witness_lock()
297 } else if (witness_tsd->forking && w->rank <= witness->rank) { in witness_lock()
299 } else if (w->rank > witness->rank) { in witness_lock()
302 } else if (w->rank == witness->rank && (w->comp == NULL || w->comp != in witness_lock()
[all …]
H A Dmutex_pool.h16 bool mutex_pool_init(mutex_pool_t *pool, const char *name, witness_rank_t rank);
H A Dmutex.h130 witness_rank_t rank, malloc_mutex_lock_order_t lock_order);
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dwitness.c9 witness_init(witness_t *witness, const char *name, witness_rank_t rank, in witness_init() argument
12 witness->rank = rank; in witness_init()
24 malloc_printf(" %s(%u)", w->name, w->rank); in witness_lock_error_impl()
26 malloc_printf(" %s(%u)\n", witness->name, witness->rank); in witness_lock_error_impl()
34 witness->rank); in witness_owner_error_impl()
43 witness->rank); in witness_not_owner_error_impl()
57 malloc_printf(" %s(%u)", w->name, w->rank); in witness_depth_error_impl()
H A Dmutex_pool.c10 mutex_pool_init(mutex_pool_t *pool, const char *name, witness_rank_t rank) { in mutex_pool_init() argument
12 if (malloc_mutex_init(&pool->mutexes[i], name, rank, in mutex_pool_init()
H A Dmutex.c135 witness_rank_t rank, malloc_mutex_lock_order_t lock_order) { in malloc_mutex_init() argument
176 witness_init(&mutex->witness, name, rank, in malloc_mutex_init()
179 witness_init(&mutex->witness, name, rank, NULL, NULL); in malloc_mutex_init()
201 mutex->witness.rank, mutex->lock_order)) { in malloc_mutex_postfork_child()
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2.h173 ngx_uint_t rank; member
246 if ((*out)->stream->node->rank < frame->stream->node->rank in ngx_http_v2_queue_frame()
247 || ((*out)->stream->node->rank == frame->stream->node->rank in ngx_http_v2_queue_frame()
H A Dngx_http_v2.c3242 node->rank = 0; in ngx_http_v2_get_closed_node()
3248 node->rank = parent->rank; in ngx_http_v2_get_closed_node()
4715 node->rank = 1; in ngx_http_v2_set_dependency()
4724 next != NGX_HTTP_V2_ROOT && next->rank >= node->rank; in ngx_http_v2_set_dependency()
4737 parent->rank = 1; in ngx_http_v2_set_dependency()
4741 parent->rank = node->parent->rank + 1; in ngx_http_v2_set_dependency()
4754 node->rank = parent->rank + 1; in ngx_http_v2_set_dependency()
4802 child->rank = node->rank + 1; in ngx_http_v2_node_children_update()
H A Dngx_http_v2_filter_module.c1791 if (s->node->rank < stream->node->rank in ngx_http_v2_waiting_queue()
1792 || (s->node->rank == stream->node->rank in ngx_http_v2_waiting_queue()
/f-stack/app/redis-5.0.5/src/
H A Dt_zset.c141 rank[i] = i == (zsl->level-1) ? 0 : rank[i+1]; in zslInsert()
159 rank[i] = 0; in zslInsert()
171 x->level[i].span = update[i]->level[i].span - (rank[0] - rank[i]); in zslInsert()
172 update[i]->level[i].span = (rank[0] - rank[i]) + 1; in zslInsert()
478 unsigned long rank = 0; in zslGetRank() local
493 return rank; in zslGetRank()
1475 unsigned long rank; in zsetRank() local
1488 rank = 1; in zsetRank()
1492 rank++; in zsetRank()
3094 long rank; in zrankGenericCommand() local
[all …]
H A Dsort.c36 zskiplistNode* zslGetElementByRank(zskiplist *zsl, unsigned long rank);
H A Dcluster.c2823 int j, rank = 0; in clusterGetSlaveRank() local
2834 master->slaves[j]->repl_offset > myoffset) rank++; in clusterGetSlaveRank()
2835 return rank; in clusterGetSlaveRank()
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dwitness.c37 assert_u_eq(a->rank, b->rank, "Witnesses should have equal rank"); in witness_comp()
48 assert_u_eq(a->rank, b->rank, "Witnesses should have equal rank"); in witness_comp_reverse()
/f-stack/freebsd/contrib/zlib/
H A Dtrees.c838 int rank; /* index in bl_order */ local
847 for (rank = 0; rank < blcodes; rank++) {
848 Tracev((stderr, "\nbl code %2d ", bl_order[rank]));
849 send_bits(s, s->bl_tree[bl_order[rank]].Len, 3);
/f-stack/freebsd/contrib/zstd/lib/dictBuilder/
H A Ddivsufsort.c1142 int rank, lastrank, newrank = -1; in tr_partialcopy() local
1149 rank = ISA[s + depth]; in tr_partialcopy()
1150 if(lastrank != rank) { lastrank = rank; newrank = d - SA; } in tr_partialcopy()
1157 rank = ISA[*e]; in tr_partialcopy()
1158 if(lastrank != rank) { lastrank = rank; newrank = e - SA; } in tr_partialcopy()
1159 if(newrank != rank) { ISA[*e] = newrank; } in tr_partialcopy()
1166 rank = ISA[s + depth]; in tr_partialcopy()
1167 if(lastrank != rank) { lastrank = rank; newrank = d - SA; } in tr_partialcopy()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dmempool_lib.rst33 The objective is to ensure that the beginning of each object starts on a different channel and rank
/f-stack/app/redis-5.0.5/tests/unit/type/
H A Dzset.tcl1104 set rank [r zrank myzset $ele]
1105 if {$rank != $index} {
1106 set err "$ele RANK is wrong! ($rank != $index)"
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DChangeLog507 - Fix fork()-related lock rank ordering reversals. These reversals were