_obj_ 262 dev/raidframe/rf_freelist.h #define RF_FREELIST_GET_INIT(_fl_,_obj_,_nextp_,_cast_,_init_) \ _obj_ 267 dev/raidframe/rf_freelist.h RF_ASSERT(sizeof(*(_obj_)) == ((_fl_)->obj_size)); \ _obj_ 269 dev/raidframe/rf_freelist.h _obj_ = _cast_((_fl_)->objlist); \ _obj_ 270 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)((_obj_)->_nextp_); \ _obj_ 279 dev/raidframe/rf_freelist.h RF_Calloc(_obj_, 1, (_fl_)->obj_size, _cast_); \ _obj_ 280 dev/raidframe/rf_freelist.h if (_obj_) { \ _obj_ 281 dev/raidframe/rf_freelist.h if (_init_(_obj_)) { \ _obj_ 282 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 283 dev/raidframe/rf_freelist.h _obj_ = NULL; \ _obj_ 322 dev/raidframe/rf_freelist.h #define RF_FREELIST_GET_INIT_ARG(_fl_,_obj_,_nextp_,_cast_,_init_,_arg_) \ _obj_ 327 dev/raidframe/rf_freelist.h RF_ASSERT(sizeof(*(_obj_)) == ((_fl_)->obj_size)); \ _obj_ 329 dev/raidframe/rf_freelist.h _obj_ = _cast_((_fl_)->objlist); \ _obj_ 330 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)((_obj_)->_nextp_); \ _obj_ 339 dev/raidframe/rf_freelist.h RF_Calloc(_obj_, 1, (_fl_)->obj_size, _cast_); \ _obj_ 340 dev/raidframe/rf_freelist.h if (_obj_) { \ _obj_ 341 dev/raidframe/rf_freelist.h if (_init_(_obj_, _arg_)) { \ _obj_ 342 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 343 dev/raidframe/rf_freelist.h _obj_ = NULL; \ _obj_ 381 dev/raidframe/rf_freelist.h #define RF_FREELIST_GET_INIT_NOUNLOCK(_fl_,_obj_,_nextp_,_cast_,_init_) \ _obj_ 386 dev/raidframe/rf_freelist.h RF_ASSERT(sizeof(*(_obj_)) == ((_fl_)->obj_size)); \ _obj_ 388 dev/raidframe/rf_freelist.h _obj_ = _cast_((_fl_)->objlist); \ _obj_ 389 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)((_obj_)->_nextp_); \ _obj_ 398 dev/raidframe/rf_freelist.h RF_Calloc(_obj_, 1, (_fl_)->obj_size, _cast_); \ _obj_ 399 dev/raidframe/rf_freelist.h if (_obj_) { \ _obj_ 400 dev/raidframe/rf_freelist.h if (_init_(_obj_)) { \ _obj_ 401 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 402 dev/raidframe/rf_freelist.h _obj_ = NULL; \ _obj_ 438 dev/raidframe/rf_freelist.h #define RF_FREELIST_GET(_fl_,_obj_,_nextp_,_cast_) \ _obj_ 443 dev/raidframe/rf_freelist.h RF_ASSERT(sizeof(*(_obj_)) == ((_fl_)->obj_size)); \ _obj_ 445 dev/raidframe/rf_freelist.h _obj_ = _cast_((_fl_)->objlist); \ _obj_ 446 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)((_obj_)->_nextp_); \ _obj_ 455 dev/raidframe/rf_freelist.h RF_Calloc(_obj_, 1, (_fl_)->obj_size, _cast_); \ _obj_ 456 dev/raidframe/rf_freelist.h if (_obj_) { \ _obj_ 483 dev/raidframe/rf_freelist.h #define RF_FREELIST_GET_N(_fl_,_obj_,_nextp_,_cast_,_num_) \ _obj_ 490 dev/raidframe/rf_freelist.h RF_ASSERT(sizeof(*(_obj_)) == ((_fl_)->obj_size)); \ _obj_ 493 dev/raidframe/rf_freelist.h _obj_ = _cast_((_fl_)->objlist); \ _obj_ 494 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)((_obj_)->_nextp_); \ _obj_ 503 dev/raidframe/rf_freelist.h RF_Calloc(_obj_, 1, (_fl_)->obj_size, _cast_); \ _obj_ 504 dev/raidframe/rf_freelist.h if (_obj_) { \ _obj_ 523 dev/raidframe/rf_freelist.h _f = _obj_; \ _obj_ 524 dev/raidframe/rf_freelist.h if (_obj_) { \ _obj_ 525 dev/raidframe/rf_freelist.h (_cast_(_obj_))->_nextp_ = _l; \ _obj_ 526 dev/raidframe/rf_freelist.h _l = _obj_; \ _obj_ 543 dev/raidframe/rf_freelist.h #define RF_FREELIST_FREE(_fl_,_obj_,_nextp_) \ _obj_ 547 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 551 dev/raidframe/rf_freelist.h (_obj_)->_nextp_ = (_fl_)->objlist; \ _obj_ 552 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)(_obj_); \ _obj_ 565 dev/raidframe/rf_freelist.h #define RF_FREELIST_FREE_N(_fl_,_obj_,_nextp_,_cast_,_num_) \ _obj_ 571 dev/raidframe/rf_freelist.h while(_obj_) { \ _obj_ 572 dev/raidframe/rf_freelist.h _no = (_cast_(_obj_))->_nextp_; \ _obj_ 574 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 579 dev/raidframe/rf_freelist.h (_obj_)->_nextp_ = (_fl_)->objlist; \ _obj_ 580 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)(_obj_); \ _obj_ 584 dev/raidframe/rf_freelist.h _obj_ = _no; \ _obj_ 597 dev/raidframe/rf_freelist.h #define RF_FREELIST_FREE_CLEAN(_fl_,_obj_,_nextp_,_clean_) \ _obj_ 601 dev/raidframe/rf_freelist.h _clean_(_obj_); \ _obj_ 602 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 606 dev/raidframe/rf_freelist.h (_obj_)->_nextp_ = (_fl_)->objlist; \ _obj_ 607 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)(_obj_); \ _obj_ 621 dev/raidframe/rf_freelist.h #define RF_FREELIST_FREE_CLEAN_ARG(_fl_,_obj_,_nextp_,_clean_,_arg_) \ _obj_ 625 dev/raidframe/rf_freelist.h _clean_(_obj_, _arg_); \ _obj_ 626 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 630 dev/raidframe/rf_freelist.h (_obj_)->_nextp_ = (_fl_)->objlist; \ _obj_ 631 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)(_obj_); \ _obj_ 644 dev/raidframe/rf_freelist.h #define RF_FREELIST_FREE_CLEAN_NOUNLOCK(_fl_,_obj_,_nextp_,_clean_) \ _obj_ 648 dev/raidframe/rf_freelist.h _clean_(_obj_); \ _obj_ 649 dev/raidframe/rf_freelist.h RF_Free(_obj_, (_fl_)->obj_size); \ _obj_ 653 dev/raidframe/rf_freelist.h (_obj_)->_nextp_ = (_fl_)->objlist; \ _obj_ 654 dev/raidframe/rf_freelist.h (_fl_)->objlist = (void *)(_obj_); \