|
File |
Line |
|
Context |
| ring_alloc.c | 217 | | #ifdef RING_ALLOC_BLK_CHK |
| ring_alloc.c | 23 | | #if defined(RING_ALLOC_BLK_CHK) || defined(RING_ALLOC_POOL_CHK) |
| ring_alloc.c | 31 | | #ifdef RING_ALLOC_BLK_CHK |
| ring_alloc.c | 32 | | #undef RING_ALLOC_BLK_CHK |
| ring_alloc.c | 37 | | #ifdef RING_ALLOC_BLK_CHK |
| ring_alloc.c | 42 | | #ifdef RING_ALLOC_BLK_CHK |
| ring_alloc.c | 72 | | #ifdef RING_ALLOC_BLK_CHK |
| ring_alloc.c | 74 | | blk->chk_1[0] = rotate(RING_ALLOC_BLK_CHK,1) ; \ |
| ring_alloc.c | 75 | | blk->chk_1[1] = rotate(RING_ALLOC_BLK_CHK,2) ; \ |
| ring_alloc.c | 76 | | blk->chk_2[0] = rotate(RING_ALLOC_BLK_CHK,3) ; \ |
| ring_alloc.c | 77 | | blk->chk_2[1] = rotate(RING_ALLOC_BLK_CHK,4) ; \ |
| ring_alloc.c | 89 | | assert( blk->chk_1[0] == rotate(RING_ALLOC_BLK_CHK,1) ); |
| ring_alloc.c | 90 | | assert( blk->chk_1[1] == rotate(RING_ALLOC_BLK_CHK,2) ); |
| ring_alloc.c | 91 | | assert( blk->chk_2[0] == rotate(RING_ALLOC_BLK_CHK,3) ); |
| ring_alloc.c | 92 | | assert( blk->chk_2[1] == rotate(RING_ALLOC_BLK_CHK,4) ); |
|
File |
Line |
|
Context |
| ring_alloc.c | 131 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 138 | | assert( mempool->chk_1 == rotate(RING_ALLOC_POOL_CHK,1) ); |
| ring_alloc.c | 139 | | assert( mempool->chk_2 == rotate(RING_ALLOC_POOL_CHK,2) ); |
| ring_alloc.c | 140 | | assert( mempool->chk_3 == rotate(RING_ALLOC_POOL_CHK,3) ); |
| ring_alloc.c | 141 | | assert( mempool->chk_4 == rotate(RING_ALLOC_POOL_CHK,4) ); |
| ring_alloc.c | 142 | | assert( mempool->chk_5 == rotate(RING_ALLOC_POOL_CHK,5) ); |
| ring_alloc.c | 185 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 186 | | pool->chk_1 = rotate(RING_ALLOC_POOL_CHK,1); |
| ring_alloc.c | 187 | | pool->chk_2 = rotate(RING_ALLOC_POOL_CHK,2); |
| ring_alloc.c | 188 | | pool->chk_3 = rotate(RING_ALLOC_POOL_CHK,3); |
| ring_alloc.c | 189 | | pool->chk_4 = rotate(RING_ALLOC_POOL_CHK,4); |
| ring_alloc.c | 190 | | pool->chk_5 = rotate(RING_ALLOC_POOL_CHK,5); |
| ring_alloc.c | 214 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 23 | | #if defined(RING_ALLOC_BLK_CHK) || defined(RING_ALLOC_POOL_CHK) |
| ring_alloc.c | 27 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 28 | | #undef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 47 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 51 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 57 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 61 | | #ifdef RING_ALLOC_POOL_CHK |
| ring_alloc.c | 65 | | #ifdef RING_ALLOC_POOL_CHK |
|
File |
Line |
|
Context |
| ring.c | 115 | | if ( check_opt > 0 && !f_ring_selftest(node, offset) == 0) excp_relay (return 0, "Memory jam"); |
| ring.c | 161 | | if ( check_opt > 0 && !f_nring_selftest(in, offset) ) excp_relay (return 0, " ") ; |
| ring.c | 179 | | if ( check_opt > 0 && !f_nring_selftest(ring, offset) == 0) excp_relay (return 0, " "); |
| ring.c | 203 | | if ( check_opt > 0 && !f_nring_selftest(ring, offset) == 0 ) excp_relay (return 0, "Memory jam"); |
| ring.c | 208 | | if ( check_opt > 0 && f_nring_is_in(new, ring, offset) ) |
| ring.c | 232 | | if ( check_opt > 0 && !f_nring_selftest(node, offset) == 0) excp_relay (return 0, "Memory jam"); |
| ring.c | 284 | | if ( check_opt > 0 && !f_dring_selftest(in, offset) ) excp_relay (return 0, " ") ; |
| ring.c | 308 | | if ( check_opt > 0 && !f_dring_selftest(ring, offset) ) excp_relay (return 0, " ") ; |
| ring.c | 32 | | int f_ring_check_opt(int level) { if ( level != -1 ) check_opt = level; return check_opt; } |
| ring.c | 32 | | int f_ring_check_opt(int level) { if ( level != -1 ) check_opt = level; return check_opt; } |
| ring.c | 334 | | if ( check_opt > 0 && !f_dring_selftest(ring, offset) == 0 ) excp_relay (return 0, " "); |
| ring.c | 336 | | if ( check_opt > 0 && f_dring_is_in(new, ring, offset) ) |
| ring.c | 361 | | if ( check_opt > 0 && !f_dring_selftest(node, offset) == 0) excp_relay (return 0, " "); |
| ring.c | 412 | | if ( check_opt > 0 && !f_ndring_selftest(in, offset) ) excp_relay (return 0, " ") ; |
| ring.c | 437 | | if ( check_opt > 0 && !f_ndring_selftest(ring, offset) ) excp_relay (return 0, " ") ; |
| ring.c | 460 | | if ( check_opt > 0 && !f_ndring_selftest(ring, offset) == 0) excp_relay (return 0, " "); |
| ring.c | 484 | | if ( check_opt > 0 && !f_ndring_selftest(ring, offset) == 0 ) excp_relay (return 0, " "); |
| ring.c | 488 | | if ( check_opt > 0 && f_ndring_is_in(new, ring, offset) ) |
| ring.c | 515 | | if ( check_opt > 0 && !f_ndring_selftest(node, offset) == 0) excp_relay (return 0, " "); |
| ring.c | 69 | | if ( check_opt > 0 && !f_ring_selftest(in, offset) ) excp_relay (return 0, " ") ; |
| ring.c | 90 | | if ( check_opt > 0 && !f_ring_selftest(ring, offset) == 0 ) excp_relay (return 0, "Memory jam"); |
| ring.c | 93 | | if ( check_opt > 0 && f_ring_is_in(new, ring, offset) ) |
| ring.h | 70 | | * These macros call the same routine that is it used when check_opt is set. |
|
File |
Line |
|
Context |
| ring_alloc.c | 387 | | if ( f_mempool_free(mempool, mem) < 0 ) return 0; |
| ring_alloc.h | 38 | | int f_mempool_free(to_mempool mempool, void *mem); |
| ring_alloc_test.c | 35 | | assert( !f_mempool_free(mempool, mem[1]) ); |
| ring_alloc_test.c | 36 | | assert( !f_mempool_free(mempool, mem[3]) ); |
| ring_alloc_test.c | 37 | | assert( !f_mempool_free(mempool, mem[5]) ); |
| ring_alloc_test.c | 38 | | assert( !f_mempool_free(mempool, mem[0]) ); |
| ring_alloc_test.c | 39 | | assert( !f_mempool_free(mempool, mem[2]) ); |
| ring_alloc_test.c | 40 | | assert( !f_mempool_free(mempool, mem[4]) ); |
| ring_alloc_test.c | 55 | | assert( f_mempool_free(mempool, (void *)0x30) == -1 && errno == ENOTDIR); |
| ring_alloc_test.c | 56 | | errno = 0; assert( !f_mempool_free(mempool, 0) && errno == 0); |
| ring_alloc_test.c | 57 | | assert( !f_mempool_free(mempool, mem) ); |
| ring_alloc_test.c | 58 | | assert( f_mempool_free(mempool, mem) == -1 && errno == ENOENT); |
|
File |
Line |
|
Context |
| ring_test.c | 206 | | assert( m_dring_is_in(&elem[i], list, link) ); |
| ring_test.c | 207 | | assert( m_dring_is_in(m_dring_next(&elem[i], link), list, link) ); |
| ring_test.c | 208 | | assert( m_dring_is_in(m_dring_prev(&elem[i], link), list, link) ); |
| ring_test.c | 209 | | assert( m_dring_is_in(m_dring_move(&elem[i], 3, 1, link), list, link) ); |
| ring_test.c | 210 | | assert( m_dring_is_in(m_dring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 211 | | assert( m_dring_is_in(m_dring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 212 | | assert(!m_dring_is_in(m_dring_move(&elem[i],-4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 213 | | assert(!m_dring_is_in(m_dring_move(&elem[i], 4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 245 | | assert( !m_dring_is_in(&out, list, link) ); |
| ring_test.c | 246 | | assert( !m_dring_is_in(&out, (struct s_dring_test *)0, link) && errno == 0); errno = 0; |
| ring_test.c | 247 | | assert( !m_dring_is_in((struct s_dring_test *)0, list, link) && errno == EFAULT); errno = 0; |
| ring_test.c | 250 | | assert ( m_dring_is_in(&elem[0], list, link) ); |
| ring_test.c | 251 | | assert ( m_dring_is_in(&elem[1], list, link) ); |
| ring_test.c | 252 | | assert ( m_dring_is_in(&elem[2], list, link) ); |
| ring_test.c | 253 | | assert (!m_dring_is_in(&elem[3], list, link) ); |
| ring_test.c | 255 | | assert ( m_dring_is_in(&elem[0], list, link) ); |
| ring_test.c | 256 | | assert (!m_dring_is_in(&elem[1], list, link) ); |
| ring_test.c | 257 | | assert ( m_dring_is_in(&elem[2], list, link) ); |
| ring_test.c | 258 | | assert (!m_dring_is_in(&elem[3], list, link) ); |
| ring_test.c | 260 | | assert ( m_dring_is_in(&elem[0], list, link) ); |
| ring_test.c | 261 | | assert (!m_dring_is_in(&elem[1], list, link) ); |
| ring_test.c | 262 | | assert ( m_dring_is_in(&elem[2], list, link) ); |
| ring_test.c | 263 | | assert ( m_dring_is_in(&elem[3], list, link) ); |
| ring_test.c | 265 | | assert (!m_dring_is_in(&elem[0], list, link) ); |
| ring_test.c | 266 | | assert (!m_dring_is_in(&elem[1], list, link) ); |
| ring_test.c | 267 | | assert ( m_dring_is_in(&elem[3], list, link) ); |
| ring_test.c | 268 | | assert ( m_dring_is_in(&elem[2], list, link) ); |
| ring_test.c | 270 | | assert (!m_dring_is_in(&elem[0], list, link) ); |
| ring_test.c | 271 | | assert (!m_dring_is_in(&elem[1], list, link) ); |
| ring_test.c | 272 | | assert (!m_dring_is_in(&elem[2], list, link) ); |
| ring_test.c | 273 | | assert ( m_dring_is_in(&elem[3], list, link) ); |
| ring_test.c | 275 | | assert (!m_dring_is_in(&elem[0], list, link) ); |
| ring_test.c | 276 | | assert (!m_dring_is_in(&elem[1], list, link) ); |
| ring_test.c | 277 | | assert (!m_dring_is_in(&elem[2], list, link) ); |
| ring_test.c | 278 | | assert (!m_dring_is_in(&elem[3], list, link) ); |
|
File |
Line |
|
Context |
| ring_test.c | 209 | | assert( m_dring_is_in(m_dring_move(&elem[i], 3, 1, link), list, link) ); |
| ring_test.c | 210 | | assert( m_dring_is_in(m_dring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 211 | | assert( m_dring_is_in(m_dring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 212 | | assert(!m_dring_is_in(m_dring_move(&elem[i],-4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 213 | | assert(!m_dring_is_in(m_dring_move(&elem[i], 4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 215 | | //printf("node : %08x, move -1 : %08x, prev : %08x, next : %08x\n", &elem[i], m_dring_move(&elem[i],-1, 1, link), m_dring_prev(&elem[i], link), m_dring_next(&elem[i], link)); |
| ring_test.c | 217 | | assert( m_dring_move(&elem[i], 4, 0, link) == &elem[i]); |
| ring_test.c | 218 | | assert( m_dring_move(&elem[i],-4, 0, link) == &elem[i]); |
| ring_test.c | 219 | | assert( m_dring_move(&elem[i], 0, 1, link) == &elem[i] ); |
| ring_test.c | 220 | | assert( m_dring_move(&elem[i],-1, 1, link) == m_dring_prev(&elem[i], link) ); |
| ring_test.c | 221 | | assert( m_dring_move(&elem[i], 1, 1, link) == m_dring_next(&elem[i], link) ); |
|
File |
Line |
|
Context |
| ring.h | 200 | | #define m_dring_list(ring, node, field) ( (((node) = m_dring_next(node, field)) == (ring))?0:(node) ) |
| ring.h | 227 | | #define m_dring_done(ring, var, field) while ( (var) = m_dring_next((var), field), (var) != (ring) ) |
| ring_test.c | 207 | | assert( m_dring_is_in(m_dring_next(&elem[i], link), list, link) ); |
| ring_test.c | 215 | | //printf("node : %08x, move -1 : %08x, prev : %08x, next : %08x\n", &elem[i], m_dring_move(&elem[i],-1, 1, link), m_dring_prev(&elem[i], link), m_dring_next(&elem[i], link)); |
| ring_test.c | 221 | | assert( m_dring_move(&elem[i], 1, 1, link) == m_dring_next(&elem[i], link) ); |
| ring_test.c | 222 | | assert( m_dring_prev(m_dring_next(&elem[i], link), link) == &elem[i] ); |
| ring_test.c | 223 | | assert( m_dring_next(m_dring_prev(&elem[i], link), link) == &elem[i] ); |
|
File |
Line |
|
Context |
| ring_test.c | 208 | | assert( m_dring_is_in(m_dring_prev(&elem[i], link), list, link) ); |
| ring_test.c | 215 | | //printf("node : %08x, move -1 : %08x, prev : %08x, next : %08x\n", &elem[i], m_dring_move(&elem[i],-1, 1, link), m_dring_prev(&elem[i], link), m_dring_next(&elem[i], link)); |
| ring_test.c | 220 | | assert( m_dring_move(&elem[i],-1, 1, link) == m_dring_prev(&elem[i], link) ); |
| ring_test.c | 222 | | assert( m_dring_prev(m_dring_next(&elem[i], link), link) == &elem[i] ); |
| ring_test.c | 223 | | assert( m_dring_next(m_dring_prev(&elem[i], link), link) == &elem[i] ); |
|
File |
Line |
|
Context |
| ring_test.c | 314 | | assert( m_ndring_is_in(&elem[i], list, link) ); |
| ring_test.c | 316 | | assert( m_ndring_is_in(m_ndring_next(&elem[i], link), list, link) ); |
| ring_test.c | 317 | | assert( m_ndring_is_in(m_ndring_prev(&elem[i], link), list, link) ); |
| ring_test.c | 318 | | assert( m_ndring_is_in(m_ndring_move(&elem[i], 3, 1, link), list, link) ); |
| ring_test.c | 319 | | assert( m_ndring_is_in(m_ndring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 320 | | assert( m_ndring_is_in(m_ndring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 321 | | assert(!m_ndring_is_in(m_ndring_move(&elem[i],-4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 322 | | assert(!m_ndring_is_in(m_ndring_move(&elem[i], 4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 354 | | assert( !m_ndring_is_in(&out, list, link) ); |
| ring_test.c | 355 | | assert( !m_ndring_is_in(&out, (struct s_ndring_test *)0, link) && errno == 0); errno = 0; |
| ring_test.c | 356 | | assert( !m_ndring_is_in((struct s_ndring_test *)0, list, link) && errno == EFAULT); errno = 0; |
| ring_test.c | 359 | | assert ( m_ndring_is_in(&elem[0], list, link) ); |
| ring_test.c | 360 | | assert ( m_ndring_is_in(&elem[1], list, link) ); |
| ring_test.c | 361 | | assert ( m_ndring_is_in(&elem[2], list, link) ); |
| ring_test.c | 362 | | assert (!m_ndring_is_in(&elem[3], list, link) ); |
| ring_test.c | 364 | | assert ( m_ndring_is_in(&elem[0], list, link) ); |
| ring_test.c | 365 | | assert (!m_ndring_is_in(&elem[1], list, link) ); |
| ring_test.c | 366 | | assert ( m_ndring_is_in(&elem[2], list, link) ); |
| ring_test.c | 367 | | assert (!m_ndring_is_in(&elem[3], list, link) ); |
| ring_test.c | 369 | | assert ( m_ndring_is_in(&elem[0], list, link) ); |
| ring_test.c | 370 | | assert (!m_ndring_is_in(&elem[1], list, link) ); |
| ring_test.c | 371 | | assert ( m_ndring_is_in(&elem[2], list, link) ); |
| ring_test.c | 372 | | assert ( m_ndring_is_in(&elem[3], list, link) ); |
| ring_test.c | 374 | | assert (!m_ndring_is_in(&elem[0], list, link) ); |
| ring_test.c | 375 | | assert (!m_ndring_is_in(&elem[1], list, link) ); |
| ring_test.c | 376 | | assert ( m_ndring_is_in(&elem[3], list, link) ); |
| ring_test.c | 377 | | assert ( m_ndring_is_in(&elem[2], list, link) ); |
| ring_test.c | 379 | | assert (!m_ndring_is_in(&elem[0], list, link) ); |
| ring_test.c | 380 | | assert (!m_ndring_is_in(&elem[1], list, link) ); |
| ring_test.c | 381 | | assert (!m_ndring_is_in(&elem[2], list, link) ); |
| ring_test.c | 382 | | assert ( m_ndring_is_in(&elem[3], list, link) ); |
| ring_test.c | 384 | | assert (!m_ndring_is_in(&elem[0], list, link) ); |
| ring_test.c | 385 | | assert (!m_ndring_is_in(&elem[1], list, link) ); |
| ring_test.c | 386 | | assert (!m_ndring_is_in(&elem[2], list, link) ); |
| ring_test.c | 387 | | assert (!m_ndring_is_in(&elem[3], list, link) ); |
|
File |
Line |
|
Context |
| ring_test.c | 291 | | assert ( (list = m_ndring_link(list, link, &elem[0])) ); |
| ring_test.c | 293 | | assert ( !(list = m_ndring_link(list, link, &elem[1])) && errno == ENOTUNIQ); errno = 0; |
| ring_test.c | 296 | | assert ( (list = m_ndring_link(list, link, &elem[0])) ); |
| ring_test.c | 297 | | assert ( !(list = m_ndring_link(list, link, &elem[0])) && errno == EEXIST); errno = 0; |
| ring_test.c | 304 | | assert ( (list = m_ndring_link(list, link, &elem[0])) ); |
| ring_test.c | 305 | | assert ( !(list = m_ndring_link(list, link, &elem[0])) && errno == EEXIST); errno = 0; |
| ring_test.c | 309 | | assert(list = m_ndring_link(list, link, &elem[i]) ); |
| ring_test.c | 368 | | assert (list = m_ndring_link(list, link, &elem[3]) ); |
|
File |
Line |
|
Context |
| ring_test.c | 318 | | assert( m_ndring_is_in(m_ndring_move(&elem[i], 3, 1, link), list, link) ); |
| ring_test.c | 319 | | assert( m_ndring_is_in(m_ndring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 320 | | assert( m_ndring_is_in(m_ndring_move(&elem[i],-3, 1, link), list, link) ); |
| ring_test.c | 321 | | assert(!m_ndring_is_in(m_ndring_move(&elem[i],-4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 322 | | assert(!m_ndring_is_in(m_ndring_move(&elem[i], 4, 1, link), list, link) && errno == ELOOP); errno = 0; |
| ring_test.c | 324 | | //printf("node : %08x, move -1 : %08x, prev : %08x, next : %08x\n", &elem[i], m_ndring_move(&elem[i],-1, 1, link), m_ndring_prev(&elem[i], link), m_ndring_next(&elem[i], link)); |
| ring_test.c | 326 | | assert( m_ndring_move(&elem[i], 4, 0, link) == &elem[i]); |
| ring_test.c | 327 | | assert( m_ndring_move(&elem[i],-4, 0, link) == &elem[i]); |
| ring_test.c | 328 | | assert( m_ndring_move(&elem[i], 0, 1, link) == &elem[i] ); |
| ring_test.c | 329 | | assert( m_ndring_move(&elem[i],-1, 1, link) == m_ndring_prev(&elem[i], link) ); |
| ring_test.c | 330 | | assert( m_ndring_move(&elem[i], 1, 1, link) == m_ndring_next(&elem[i], link) ); |
|
File |
Line |
|
Context |
| ring.h | 202 | | #define m_ndring_list(ring, node, field) ( (((node) = m_ndring_next(node, field)) == (ring))?0:(node) ) |
| ring.h | 231 | | #define m_ndring_done(ring, var, field) while ( (var) = m_ndring_next((var), field), (var) != (ring) ) |
| ring_test.c | 316 | | assert( m_ndring_is_in(m_ndring_next(&elem[i], link), list, link) ); |
| ring_test.c | 324 | | //printf("node : %08x, move -1 : %08x, prev : %08x, next : %08x\n", &elem[i], m_ndring_move(&elem[i],-1, 1, link), m_ndring_prev(&elem[i], link), m_ndring_next(&elem[i], link)); |
| ring_test.c | 330 | | assert( m_ndring_move(&elem[i], 1, 1, link) == m_ndring_next(&elem[i], link) ); |
| ring_test.c | 331 | | assert( m_ndring_prev(m_ndring_next(&elem[i], link), link) == &elem[i] ); |
| ring_test.c | 332 | | assert( m_ndring_next(m_ndring_prev(&elem[i], link), link) == &elem[i] ); |
|
File |
Line |
|
Context |
| ring_test.c | 317 | | assert( m_ndring_is_in(m_ndring_prev(&elem[i], link), list, link) ); |
| ring_test.c | 324 | | //printf("node : %08x, move -1 : %08x, prev : %08x, next : %08x\n", &elem[i], m_ndring_move(&elem[i],-1, 1, link), m_ndring_prev(&elem[i], link), m_ndring_next(&elem[i], link)); |
| ring_test.c | 329 | | assert( m_ndring_move(&elem[i],-1, 1, link) == m_ndring_prev(&elem[i], link) ); |
| ring_test.c | 331 | | assert( m_ndring_prev(m_ndring_next(&elem[i], link), link) == &elem[i] ); |
| ring_test.c | 332 | | assert( m_ndring_next(m_ndring_prev(&elem[i], link), link) == &elem[i] ); |
|
File |
Line |
|
Context |
| ring_test.c | 127 | | assert( m_nring_is_in(&elem[i], list, link) ); |
| ring_test.c | 128 | | assert( m_nring_is_in(m_nring_next(&elem[i], link), list, link) ); |
| ring_test.c | 151 | | assert( !m_nring_is_in(&out, list, link) ); |
| ring_test.c | 152 | | assert( !m_nring_is_in(&out, (struct s_nring_test *)0, link) && errno == 0); errno = 0; |
| ring_test.c | 153 | | assert( !m_nring_is_in((struct s_nring_test *)0, list, link) && errno == EFAULT); errno = 0; |
| ring_test.c | 156 | | assert ( m_nring_is_in(&elem[0], list, link) ); |
| ring_test.c | 157 | | assert ( m_nring_is_in(&elem[1], list, link) ); |
| ring_test.c | 158 | | assert ( m_nring_is_in(&elem[2], list, link) ); |
| ring_test.c | 159 | | assert (!m_nring_is_in(&elem[3], list, link) ); |
| ring_test.c | 161 | | assert ( m_nring_is_in(&elem[0], list, link) ); |
| ring_test.c | 162 | | assert (!m_nring_is_in(&elem[1], list, link) ); |
| ring_test.c | 163 | | assert ( m_nring_is_in(&elem[2], list, link) ); |
| ring_test.c | 164 | | assert (!m_nring_is_in(&elem[3], list, link) ); |
| ring_test.c | 166 | | assert ( m_nring_is_in(&elem[0], list, link) ); |
| ring_test.c | 167 | | assert (!m_nring_is_in(&elem[1], list, link) ); |
| ring_test.c | 168 | | assert ( m_nring_is_in(&elem[2], list, link) ); |
| ring_test.c | 169 | | assert ( m_nring_is_in(&elem[3], list, link) ); |
| ring_test.c | 171 | | assert (!m_nring_is_in(&elem[0], list, link) ); |
| ring_test.c | 172 | | assert (!m_nring_is_in(&elem[1], list, link) ); |
| ring_test.c | 173 | | assert ( m_nring_is_in(&elem[3], list, link) ); |
| ring_test.c | 174 | | assert ( m_nring_is_in(&elem[2], list, link) ); |
| ring_test.c | 176 | | assert (!m_nring_is_in(&elem[0], list, link) ); |
| ring_test.c | 177 | | assert (!m_nring_is_in(&elem[1], list, link) ); |
| ring_test.c | 178 | | assert (!m_nring_is_in(&elem[2], list, link) ); |
| ring_test.c | 179 | | assert ( m_nring_is_in(&elem[3], list, link) ); |
| ring_test.c | 181 | | assert (!m_nring_is_in(&elem[0], list, link) ); |
| ring_test.c | 182 | | assert (!m_nring_is_in(&elem[1], list, link) ); |
| ring_test.c | 183 | | assert (!m_nring_is_in(&elem[2], list, link) ); |
| ring_test.c | 184 | | assert (!m_nring_is_in(&elem[3], list, link) ); |
|
File |
Line |
|
Context |
| ring_alloc.c | 320 | | if ( !m_ring_is_in(umem, mempool->alloc, brother) ) { |
| ring_alloc.c | 94 | | assert ( m_ring_is_in(blk, list, brother) ); |
| ring_alloc.c | 96 | | // assert ( (m_ring_is_in(blk, pool->free, brother) ^ m_ring_is_in(blk, pool->alloc, brother)) ); |
| ring_alloc.c | 96 | | // assert ( (m_ring_is_in(blk, pool->free, brother) ^ m_ring_is_in(blk, pool->alloc, brother)) ); |
| ring_alloc.c | 97 | | neibourgs += m_ring_is_in(blk, pool->alloc, brother); |
| ring_alloc.c | 98 | | neibourgs += 2*m_ring_is_in(blk, pool->free, brother); |
| ring_test.c | 40 | | assert( m_ring_is_in(&elem[i], list, link) ); |
| ring_test.c | 41 | | assert( m_ring_is_in(m_ring_next(&elem[i], link), list, link) ); |
| ring_test.c | 63 | | assert( !m_ring_is_in(&out, list, link) ); |
| ring_test.c | 64 | | assert( !m_ring_is_in(&out, (struct s_ring_test *)0, link) && errno == 0); errno = 0; |
| ring_test.c | 65 | | assert( !m_ring_is_in((struct s_ring_test *)0, list, link) && errno == EFAULT); errno = 0; |
| ring_test.c | 68 | | assert ( m_ring_is_in(&elem[0], list, link) ); |
| ring_test.c | 69 | | assert ( m_ring_is_in(&elem[1], list, link) ); |
| ring_test.c | 70 | | assert ( m_ring_is_in(&elem[2], list, link) ); |
| ring_test.c | 71 | | assert (!m_ring_is_in(&elem[3], list, link) ); |
| ring_test.c | 73 | | assert ( m_ring_is_in(&elem[0], list, link) ); |
| ring_test.c | 74 | | assert (!m_ring_is_in(&elem[1], list, link) ); |
| ring_test.c | 75 | | assert ( m_ring_is_in(&elem[2], list, link) ); |
| ring_test.c | 76 | | assert (!m_ring_is_in(&elem[3], list, link) ); |
| ring_test.c | 78 | | assert ( m_ring_is_in(&elem[0], list, link) ); |
| ring_test.c | 79 | | assert (!m_ring_is_in(&elem[1], list, link) ); |
| ring_test.c | 80 | | assert ( m_ring_is_in(&elem[2], list, link) ); |
| ring_test.c | 81 | | assert ( m_ring_is_in(&elem[3], list, link) ); |
| ring_test.c | 83 | | assert (!m_ring_is_in(&elem[0], list, link) ); |
| ring_test.c | 84 | | assert (!m_ring_is_in(&elem[1], list, link) ); |
| ring_test.c | 85 | | assert ( m_ring_is_in(&elem[3], list, link) ); |
| ring_test.c | 86 | | assert ( m_ring_is_in(&elem[2], list, link) ); |
| ring_test.c | 88 | | assert (!m_ring_is_in(&elem[0], list, link) ); |
| ring_test.c | 89 | | assert (!m_ring_is_in(&elem[1], list, link) ); |
| ring_test.c | 90 | | assert (!m_ring_is_in(&elem[2], list, link) ); |
| ring_test.c | 91 | | assert ( m_ring_is_in(&elem[3], list, link) ); |
| ring_test.c | 93 | | assert (!m_ring_is_in(&elem[0], list, link) ); |
| ring_test.c | 94 | | assert (!m_ring_is_in(&elem[1], list, link) ); |
| ring_test.c | 95 | | assert (!m_ring_is_in(&elem[2], list, link) ); |
| ring_test.c | 96 | | assert (!m_ring_is_in(&elem[3], list, link) ); |
|
File |
Line |
|
Context |
| ring.h | 117 | | * <pre>ring_ptr = m_ring_link(ring_ptr, field, node);</pre> |
| ring_alloc.c | 195 | | pool->free = m_ring_link(pool->free, brother, pool->mem); |
| ring_alloc.c | 295 | | mempool->alloc = m_ring_link(mempool->alloc, brother, best); |
| ring_alloc.c | 299 | | mempool->alloc = m_ring_link(mempool->alloc, brother, best); |
| ring_alloc.c | 343 | | mempool->free = m_ring_link(mempool->free, brother, umem); |
| ring_alloc.c | 376 | | mempool->alloc = m_ring_link(mempool->alloc, brother, umem); |
| ring_alloc.c | 380 | | mempool->alloc = m_ring_link(mempool->alloc, brother, umem); |
| ring_test.c | 30 | | assert ( (list = m_ring_link(list, link, &elem[0])) ); |
| ring_test.c | 31 | | assert ( !(list = m_ring_link(list, link, &elem[0])) && errno == EEXIST); errno = 0; |
| ring_test.c | 35 | | assert(list = m_ring_link(list, link, &elem[i]) ); |
| ring_test.c | 77 | | assert (list = m_ring_link(list, link, &elem[3]) ); |
|
File |
Line |
|
Context |
| ring.h | 188 | | * for (node = ring; !node; node = m_ring_list(list, node, brother) ) { ... } |
| ring_alloc.c | 104 | | for (mem = pool->alloc; mem; mem = m_ring_list(pool->alloc, mem, brother)) { |
| ring_alloc.c | 111 | | for (mem = pool->free; mem; mem = m_ring_list(pool->free, mem, brother) ) { |
| ring_alloc.c | 154 | | for (blk = mempool->free; blk; blk = m_ring_list(mempool->free, blk, brother)) { |
| ring_alloc.c | 163 | | for (blk = mempool->alloc; blk; blk = m_ring_list(mempool->alloc, blk, brother)) { |
| ring_alloc.c | 278 | | for (blk = mempool->free; blk; blk = m_ring_list(mempool->free, blk, brother)) { |
| ring_alloc.c | 326 | | for (blk = mempool->free; blk; blk = m_ring_list(mempool->free, blk, brother)) { |
| ring_alloc.c | 335 | | for (blk = mempool->free; blk; blk = m_ring_list(mempool->free, blk, brother)) { |
| ring_alloc.c | 363 | | for (blk = mempool->free; blk; blk = m_ring_list(mempool->free, blk, brother)) { |
| ring_test.c | 54 | | for ( node = list; node; node = m_ring_list(list, node, link) ) { |
|
File |
Line |
|
Context |
| ring.h | 143 | | * <pre>ring_ptr = m_ring_unlink(node, field);</pre> |
| ring_alloc.c | 298 | | mempool->free = m_ring_unlink(best, brother); |
| ring_alloc.c | 324 | | mempool->alloc = m_ring_unlink(umem, brother); |
| ring_alloc.c | 329 | | mempool->free = m_ring_unlink(blk, brother); |
| ring_alloc.c | 365 | | mempool->free = m_ring_unlink(blk, brother); |
| ring_alloc.c | 379 | | mempool->free = m_ring_unlink(umem, brother); |
| ring_test.c | 67 | | assert( (list = m_ring_unlink(&elem[3], link)) && errno == 0); |
| ring_test.c | 72 | | assert( (list = m_ring_unlink(&elem[1], link)) && errno == 0); |
| ring_test.c | 82 | | assert( (list = m_ring_unlink(&elem[0], link)) && errno == 0); |
| ring_test.c | 87 | | assert( (list = m_ring_unlink(&elem[2], link)) && errno == 0); |
| ring_test.c | 92 | | assert( !(list = m_ring_unlink(&elem[3], link)) && errno == 0); |
|
File |
Line |
|
Context |
| ring_alloc.c | 138 | | assert( mempool->chk_1 == rotate(RING_ALLOC_POOL_CHK,1) ); |
| ring_alloc.c | 139 | | assert( mempool->chk_2 == rotate(RING_ALLOC_POOL_CHK,2) ); |
| ring_alloc.c | 140 | | assert( mempool->chk_3 == rotate(RING_ALLOC_POOL_CHK,3) ); |
| ring_alloc.c | 141 | | assert( mempool->chk_4 == rotate(RING_ALLOC_POOL_CHK,4) ); |
| ring_alloc.c | 142 | | assert( mempool->chk_5 == rotate(RING_ALLOC_POOL_CHK,5) ); |
| ring_alloc.c | 186 | | pool->chk_1 = rotate(RING_ALLOC_POOL_CHK,1); |
| ring_alloc.c | 187 | | pool->chk_2 = rotate(RING_ALLOC_POOL_CHK,2); |
| ring_alloc.c | 188 | | pool->chk_3 = rotate(RING_ALLOC_POOL_CHK,3); |
| ring_alloc.c | 189 | | pool->chk_4 = rotate(RING_ALLOC_POOL_CHK,4); |
| ring_alloc.c | 190 | | pool->chk_5 = rotate(RING_ALLOC_POOL_CHK,5); |
| ring_alloc.c | 74 | | blk->chk_1[0] = rotate(RING_ALLOC_BLK_CHK,1) ; \ |
| ring_alloc.c | 75 | | blk->chk_1[1] = rotate(RING_ALLOC_BLK_CHK,2) ; \ |
| ring_alloc.c | 76 | | blk->chk_2[0] = rotate(RING_ALLOC_BLK_CHK,3) ; \ |
| ring_alloc.c | 77 | | blk->chk_2[1] = rotate(RING_ALLOC_BLK_CHK,4) ; \ |
| ring_alloc.c | 89 | | assert( blk->chk_1[0] == rotate(RING_ALLOC_BLK_CHK,1) ); |
| ring_alloc.c | 90 | | assert( blk->chk_1[1] == rotate(RING_ALLOC_BLK_CHK,2) ); |
| ring_alloc.c | 91 | | assert( blk->chk_2[0] == rotate(RING_ALLOC_BLK_CHK,3) ); |
| ring_alloc.c | 92 | | assert( blk->chk_2[1] == rotate(RING_ALLOC_BLK_CHK,4) ); |
|
File |
Line |
|
Context |
| ring_alloc.c | 102 | | // printf("\nblk (%08x <-> %08x)\n", blk, ((char *)blk + blk->size + sizeof(struct s_blk)) ); |
| ring_alloc.c | 105 | | // printf("alloc (%08x <-> %08x)\n", mem, ((char *)mem + mem->size + sizeof(struct s_blk)) ); |
| ring_alloc.c | 107 | | if ( ((char *)mem + mem->size + sizeof(struct s_blk)) == (char *)blk ) neibourgs |= 1; |
| ring_alloc.c | 109 | | if ( ((char *)blk + blk->size + sizeof(struct s_blk)) == (char *)mem ) neibourgs |= 2; |
| ring_alloc.c | 112 | | // printf("free (%08x <-> %08x)\n", mem, ((char *)mem + mem->size + sizeof(struct s_blk)) ); |
| ring_alloc.c | 114 | | if ( ((char *)mem + mem->size + sizeof(struct s_blk)) == (char *)blk ) neibourgs |= 1; |
| ring_alloc.c | 116 | | if ( ((char *)blk + blk->size + sizeof(struct s_blk)) == (char *)mem ) neibourgs |= 2; |
| ring_alloc.c | 120 | | if ( ((char *)blk + blk->size + sizeof(struct s_blk)) == ((char *)pool->mem + pool->size - sizeof(struct s_mempool)) ) neibourgs |= 2; |
| ring_alloc.c | 135 | | struct s_blk *blk = mempool->free; |
| ring_alloc.c | 147 | | assert( (sizeof(struct s_blk) * ( |
| ring_alloc.c | 172 | | assert( (sizeof(struct s_blk) * (b_count_a + b_count_f) + o_count_a + o_count_f) |
| ring_alloc.c | 183 | | if ( size < sizeof(struct s_mempool) + sizeof(struct s_blk)) { errno = ENOMEM; return 0; } |
| ring_alloc.c | 196 | | pool->free->size = pool->size -sizeof(struct s_mempool) -sizeof(struct s_blk) ; |
| ring_alloc.c | 221 | | info->block_head_size = sizeof(struct s_blk); |
| ring_alloc.c | 245 | | mempool->stats.instant.bytes.free -= sizeof(struct s_blk); \ |
| ring_alloc.c | 251 | | mempool->stats.instant.bytes.free += (size) + (nb_cat)*sizeof(struct s_blk); \ |
| ring_alloc.c | 272 | | struct s_blk *blk = mempool->free, *best = 0; |
| ring_alloc.c | 286 | | if ( sizeof(struct s_blk) < best->size - size ) { |
| ring_alloc.c | 289 | | best->size -= (sizeof(struct s_blk) + size); |
| ring_alloc.c | 291 | | best = (struct s_blk *)((char *)best + sizeof(struct s_blk) + best->size); |
| ring_alloc.c | 291 | | best = (struct s_blk *)((char *)best + sizeof(struct s_blk) + best->size); |
| ring_alloc.c | 307 | | struct s_blk *blk = mempool->free; |
| ring_alloc.c | 308 | | struct s_blk *umem = (typeof(blk))mem -1; |
| ring_alloc.c | 314 | | ((char *)mempool->mem + mempool->size) <= ((char *)umem + sizeof(struct s_blk) + umem->size) ) { |
| ring_alloc.c | 328 | | if ( ((char *)umem + umem->size + sizeof(struct s_blk)) == (char *)blk ) { |
| ring_alloc.c | 330 | | umem->size += blk->size + sizeof(struct s_blk); |
| ring_alloc.c | 337 | | if ( ((char *)blk + blk->size + sizeof(struct s_blk)) == (char *)umem ) { |
| ring_alloc.c | 338 | | blk->size += umem->size + sizeof(struct s_blk); |
| ring_alloc.c | 351 | | struct s_blk *blk = mempool->free; |
| ring_alloc.c | 352 | | struct s_blk *umem = (typeof(blk))mem -1; |
| ring_alloc.c | 356 | | ((char *)mempool->mem + mempool->size) <= ((char *)umem + sizeof(struct s_blk) + umem->size) ) { |
| ring_alloc.c | 364 | | if ( ((char *)umem + umem->size + sizeof(struct s_blk)) == (char *)blk ) { |
| ring_alloc.c | 366 | | umem->size += blk->size + sizeof(struct s_blk); |
| ring_alloc.c | 368 | | if ( sizeof(struct s_blk) < umem->size - size ) { |
| ring_alloc.c | 371 | | umem->size -= sizeof(struct s_blk) + size; |
| ring_alloc.c | 373 | | umem = (struct s_blk *)((char *)umem + sizeof(struct s_blk) + size); |
| ring_alloc.c | 373 | | umem = (struct s_blk *)((char *)umem + sizeof(struct s_blk) + size); |
| ring_alloc.c | 60 | | struct s_blk *alloc; |
| ring_alloc.c | 64 | | struct s_blk *free; |
| ring_alloc.c | 68 | | struct s_blk mem[0]; |
| ring_alloc.c | 80 | | int f_mempool_check_blk(struct s_mempool *pool, struct s_blk *list, struct s_blk *blk) { |
| ring_alloc.c | 80 | | int f_mempool_check_blk(struct s_mempool *pool, struct s_blk *list, struct s_blk *blk) { |
| ring_alloc.c | 81 | | struct s_blk *mem; |
| ring_alloc.c | 87 | | assert( ((char *)blk + sizeof(struct s_blk) + blk->size) < ((char *)pool->mem + pool->size) ); |
|
File |
Line |
|
Context |
| ring.c | 256 | | bool f_dring_selftest(struct s_dring *ring, size_t offset) { |
| ring.c | 280 | | bool f_dring_is_in(struct s_dring *is, struct s_dring *in, size_t offset) { |
| ring.c | 280 | | bool f_dring_is_in(struct s_dring *is, struct s_dring *in, size_t offset) { |
| ring.c | 304 | | void *f_dring_move(struct s_dring *ring, int hops, bool check, size_t offset) { |
| ring.c | 333 | | void *f_dring_link(struct s_dring *ring, struct s_dring *new, size_t offset) { |
| ring.c | 333 | | void *f_dring_link(struct s_dring *ring, struct s_dring *new, size_t offset) { |
| ring.c | 356 | | void *f_dring_unlink(struct s_dring *node, size_t offset) { |
| ring.h | 324 | | bool f_dring_selftest(struct s_dring *ring, size_t offset); |
| ring.h | 330 | | bool f_dring_is_in(struct s_dring *is, struct s_dring *in, size_t offset); |
| ring.h | 330 | | bool f_dring_is_in(struct s_dring *is, struct s_dring *in, size_t offset); |
| ring.h | 335 | | void *f_dring_unlink(struct s_dring *node, size_t offset); |
| ring.h | 340 | | void *f_dring_link(struct s_dring *ring, struct s_dring *_new, size_t offset); |
| ring.h | 340 | | void *f_dring_link(struct s_dring *ring, struct s_dring *_new, size_t offset); |
| ring.h | 346 | | void *f_dring_move(struct s_dring *ring, int hops, bool check, size_t offset); |
| ring.h | 360 | | struct s_dring *f_dring_next(struct s_dring *ring); |
| ring.h | 360 | | struct s_dring *f_dring_next(struct s_dring *ring); |
| ring.h | 361 | | struct s_dring *f_dring_prev(struct s_dring *ring); |
| ring.h | 361 | | struct s_dring *f_dring_prev(struct s_dring *ring); |
| ring.h | 362 | | struct s_dring *f_dring_move(struct s_dring *ring, int hops, bool check); |
| ring.h | 362 | | struct s_dring *f_dring_move(struct s_dring *ring, int hops, bool check); |
| ring.h | 364 | | struct s_dring *f_dring_link(struct s_dring *ring, struct s_dring *new); |
| ring.h | 364 | | struct s_dring *f_dring_link(struct s_dring *ring, struct s_dring *new); |
| ring.h | 364 | | struct s_dring *f_dring_link(struct s_dring *ring, struct s_dring *new); |
| ring.h | 365 | | struct s_dring *f_dring_unlink(struct s_dring *node); |
| ring.h | 365 | | struct s_dring *f_dring_unlink(struct s_dring *node); |
| ring_test.c | 191 | | struct s_dring link; |
|
File |
Line |
|
Context |
| ring_alloc.c | 103 | | // printf("pool (%08x <-> %08x)\n", pool->mem, ((char *)pool->mem + pool->size - sizeof(struct s_mempool)) ); |
| ring_alloc.c | 120 | | if ( ((char *)blk + blk->size + sizeof(struct s_blk)) == ((char *)pool->mem + pool->size - sizeof(struct s_mempool)) ) neibourgs |= 2; |
| ring_alloc.c | 132 | | int f_mempool_check(struct s_mempool *mempool) { |
| ring_alloc.c | 152 | | == (mempool->size - sizeof(struct s_mempool)) ); |
| ring_alloc.c | 173 | | == (mempool->size - sizeof(struct s_mempool)) ); |
| ring_alloc.c | 181 | | struct s_mempool *pool = (typeof(pool))(start); |
| ring_alloc.c | 183 | | if ( size < sizeof(struct s_mempool) + sizeof(struct s_blk)) { errno = ENOMEM; return 0; } |
| ring_alloc.c | 184 | | memset(pool, 0, sizeof(struct s_mempool)); |
| ring_alloc.c | 196 | | pool->free->size = pool->size -sizeof(struct s_mempool) -sizeof(struct s_blk) ; |
| ring_alloc.c | 220 | | info->pool_head_size = sizeof(struct s_mempool); /* gcc bug ? */ |
| ring_alloc.c | 80 | | int f_mempool_check_blk(struct s_mempool *pool, struct s_blk *list, struct s_blk *blk) { |
| ring_alloc.h | 17 | | typedef struct s_mempool *to_mempool; |
|
File |
Line |
|
Context |
| ring.c | 384 | | bool f_ndring_selftest(struct s_ndring *ring, size_t offset) { |
| ring.c | 408 | | bool f_ndring_is_in(struct s_ndring *is, struct s_ndring *in, size_t offset) { |
| ring.c | 408 | | bool f_ndring_is_in(struct s_ndring *is, struct s_ndring *in, size_t offset) { |
| ring.c | 433 | | void *f_ndring_move(struct s_ndring *ring, int hops, bool check, size_t offset) { |
| ring.c | 458 | | void *f_ndring_find(struct s_ndring *ring, const char *name, size_t offset) { |
| ring.c | 483 | | void *f_ndring_link(struct s_ndring *ring, struct s_ndring *new, size_t offset) { |
| ring.c | 483 | | void *f_ndring_link(struct s_ndring *ring, struct s_ndring *new, size_t offset) { |
| ring.c | 511 | | void *f_ndring_unlink(struct s_ndring *node, size_t offset) { |
| ring.h | 326 | | bool f_ndring_selftest(struct s_ndring *ring, size_t offset); |
| ring.h | 331 | | bool f_ndring_is_in(struct s_ndring *is, struct s_ndring *in, size_t offset); |
| ring.h | 331 | | bool f_ndring_is_in(struct s_ndring *is, struct s_ndring *in, size_t offset); |
| ring.h | 336 | | void *f_ndring_unlink(struct s_ndring *node, size_t offset); |
| ring.h | 341 | | void *f_ndring_link(struct s_ndring *ring, struct s_ndring *_new, size_t offset); |
| ring.h | 341 | | void *f_ndring_link(struct s_ndring *ring, struct s_ndring *_new, size_t offset); |
| ring.h | 344 | | void *f_ndring_find(struct s_ndring *ring, const char *name, size_t offset); |
| ring.h | 347 | | void *f_ndring_move(struct s_ndring *ring, int hops, bool check, size_t offset); |
| ring_test.c | 284 | | struct s_ndring link; |
|
File |
Line |
|
Context |
| ring.c | 139 | | bool f_nring_selftest(struct s_nring *ring, size_t offset) { |
| ring.c | 157 | | bool f_nring_is_in(struct s_nring *is, struct s_nring *in, size_t offset) { |
| ring.c | 157 | | bool f_nring_is_in(struct s_nring *is, struct s_nring *in, size_t offset) { |
| ring.c | 177 | | void *f_nring_find(struct s_nring *ring, const char *name, size_t offset) { |
| ring.c | 202 | | void *f_nring_link(struct s_nring *ring, struct s_nring *new, size_t offset) { |
| ring.c | 202 | | void *f_nring_link(struct s_nring *ring, struct s_nring *new, size_t offset) { |
| ring.c | 229 | | void *f_nring_unlink(struct s_nring *node, size_t offset) { |
| ring.h | 325 | | bool f_nring_selftest(struct s_nring *ring, size_t offset); |
| ring.h | 329 | | bool f_nring_is_in(struct s_nring *is, struct s_nring *in, size_t offset); |
| ring.h | 329 | | bool f_nring_is_in(struct s_nring *is, struct s_nring *in, size_t offset); |
| ring.h | 334 | | void *f_nring_unlink(struct s_nring *node, size_t offset); |
| ring.h | 339 | | void *f_nring_link(struct s_nring *ring, struct s_nring *_new, size_t offset); |
| ring.h | 339 | | void *f_nring_link(struct s_nring *ring, struct s_nring *_new, size_t offset); |
| ring.h | 343 | | void *f_nring_find(struct s_nring *ring, const char *name, size_t offset); |
| ring.h | 355 | | struct s_nring *f_nring_next(struct s_nring *ring); |
| ring.h | 355 | | struct s_nring *f_nring_next(struct s_nring *ring); |
| ring.h | 356 | | struct s_nring *f_nring_link(struct s_nring *ring, struct s_nring *new); |
| ring.h | 356 | | struct s_nring *f_nring_link(struct s_nring *ring, struct s_nring *new); |
| ring.h | 356 | | struct s_nring *f_nring_link(struct s_nring *ring, struct s_nring *new); |
| ring.h | 357 | | struct s_nring *f_nring_unlink(struct s_nring *node); |
| ring.h | 357 | | struct s_nring *f_nring_unlink(struct s_nring *node); |
| ring.h | 358 | | struct s_nring *f_nring_find(struct s_nring *ring, const char *name); |
| ring.h | 358 | | struct s_nring *f_nring_find(struct s_nring *ring, const char *name); |
| ring_test.c | 102 | | struct s_nring link; |
|
File |
Line |
|
Context |
| ring.c | 112 | | void *f_ring_unlink(struct s_ring *node, size_t offset) { |
| ring.c | 135 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 152 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 252 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 275 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 380 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 403 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 43 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 47 | | bool f_ring_selftest(struct s_ring *ring, size_t offset) { |
| ring.c | 60 | | * @param offset (IN) offset of structure s_ring |
| ring.c | 65 | | bool f_ring_is_in(struct s_ring *is, struct s_ring *in, size_t offset) { |
| ring.c | 65 | | bool f_ring_is_in(struct s_ring *is, struct s_ring *in, size_t offset) { |
| ring.c | 89 | | void *f_ring_link(struct s_ring *ring, struct s_ring *new, size_t offset) { |
| ring.c | 89 | | void *f_ring_link(struct s_ring *ring, struct s_ring *new, size_t offset) { |
| ring.h | 29 | | struct s_ring sibling; |
| ring.h | 323 | | bool f_ring_selftest(struct s_ring *ring, size_t offset); |
| ring.h | 328 | | bool f_ring_is_in(struct s_ring *is, struct s_ring *in, size_t offset); |
| ring.h | 328 | | bool f_ring_is_in(struct s_ring *is, struct s_ring *in, size_t offset); |
| ring.h | 333 | | void *f_ring_unlink(struct s_ring *node, size_t offset); |
| ring.h | 338 | | void *f_ring_link(struct s_ring *ring, struct s_ring *_new, size_t offset); |
| ring.h | 338 | | void *f_ring_link(struct s_ring *ring, struct s_ring *_new, size_t offset); |
| ring.h | 351 | | struct s_ring *f_ring_next(struct s_ring *node); |
| ring.h | 351 | | struct s_ring *f_ring_next(struct s_ring *node); |
| ring.h | 352 | | struct s_ring *f_ring_link(struct s_ring *ring, struct s_ring *node); |
| ring.h | 352 | | struct s_ring *f_ring_link(struct s_ring *ring, struct s_ring *node); |
| ring.h | 352 | | struct s_ring *f_ring_link(struct s_ring *ring, struct s_ring *node); |
| ring.h | 353 | | struct s_ring *f_ring_unlink(struct s_ring *node); |
| ring.h | 353 | | struct s_ring *f_ring_unlink(struct s_ring *node); |
| ring_alloc.c | 40 | | struct s_ring brother; |
| ring_test.c | 25 | | struct s_ring link; |
|
File |
Line |
|
Context |
| ring_alloc.c | 180 | | to_mempool f_mempool_init(size_t size, void *start) { |
| ring_alloc.c | 227 | | int f_mempool_stats(to_mempool mempool, struct s_mempool_stats *stats) { |
| ring_alloc.c | 261 | | int f_mempool_stats(to_mempool mempool, struct s_mempool_stats *stats) { |
| ring_alloc.c | 270 | | void *f_mempool_malloc(to_mempool mempool, size_t size) { |
| ring_alloc.c | 305 | | int f_mempool_free(to_mempool mempool, void *mem) { |
| ring_alloc.c | 349 | | void *f_mempool_realloc(to_mempool mempool, void *mem, size_t size) { |
| ring_alloc.c | 391 | | void *f_mempool_calloc(to_mempool mempool, size_t nmemb, size_t size) { |
| ring_alloc.h | 19 | | to_mempool f_mempool_init(size_t size, void *start); |
| ring_alloc.h | 34 | | int f_mempool_stats(to_mempool mempool, struct s_mempool_stats *stats); |
| ring_alloc.h | 36 | | void *f_mempool_malloc(to_mempool mempool, size_t size); |
| ring_alloc.h | 38 | | int f_mempool_free(to_mempool mempool, void *mem); |
| ring_alloc.h | 40 | | void *f_mempool_realloc(to_mempool mempool, void *mem, size_t size); |
| ring_alloc.h | 42 | | void *f_mempool_calloc(to_mempool mempool, size_t nmemb, size_t size); |
| ring_alloc_test.c | 21 | | to_mempool mempool; |