Changeset 671 for trunk/kernel/libk/grdxt.c
- Timestamp:
- Nov 19, 2020, 11:47:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/grdxt.c
r657 r671 82 82 uint32_t ix3; 83 83 84 assert( (rt != NULL) , "pointer on radix tree is NULL\n" );84 assert( __FUNCTION__, (rt != NULL) , "pointer on radix tree is NULL\n" ); 85 85 86 86 for( ix1=0 ; ix1 < (uint32_t)(1 << w1) ; ix1++ ) … … 136 136 137 137 // Check key value 138 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );138 assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key ); 139 139 140 140 // compute indexes … … 202 202 203 203 // Check key value 204 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );204 assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key ); 205 205 206 206 // compute indexes … … 244 244 245 245 // Check key value 246 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );246 assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key ); 247 247 248 248 void ** ptr1 = rt->root; … … 284 284 285 285 // Check key value 286 assert( ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key );286 assert( __FUNCTION__, ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key ); 287 287 288 288 // compute max indexes … … 407 407 for( ix2=0 ; ix2 < (uint32_t)(1 << w2) ; ix2++ ) 408 408 { 409 // get ptr 2409 // get ptr3 410 410 ptr3 = hal_remote_lpt( XPTR( rt_cxy , &ptr2[ix2] ) ); 411 411 … … 470 470 471 471 // Check key value 472 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );472 assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key ); 473 473 474 474 // compute indexes … … 585 585 586 586 // Check key value 587 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );587 assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key ); 588 588 589 589 // compute indexes … … 628 628 629 629 // Check key value 630 assert( ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key );630 assert( __FUNCTION__, ((key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", key ); 631 631 632 632 // compute indexes … … 678 678 679 679 // Check key value 680 assert( ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key );680 assert( __FUNCTION__, ((start_key >> (w1 + w2 + w3)) == 0 ), "illegal key value %x\n", start_key ); 681 681 682 682 // compute min indexes … … 734 734 735 735 // check rt_xp 736 assert( (rt_xp != XPTR_NULL) , "pointer on radix tree is NULL\n" );736 assert( __FUNCTION__, (rt_xp != XPTR_NULL) , "pointer on radix tree is NULL\n" ); 737 737 738 738 // get cluster and local pointer on remote rt descriptor
Note: See TracChangeset
for help on using the changeset viewer.