require '_h2ph_pre.ph';

unless(defined(&_RF__RF_STRIPELOCKS_H_)) {
    eval 'sub _RF__RF_STRIPELOCKS_H_ () {1;}' unless defined(&_RF__RF_STRIPELOCKS_H_);
    require 'sys/buf.ph';
    require 'rf_types.ph';
    require 'rf_threadstuff.ph';
    require 'rf_general.ph';
    eval 'sub RF_ASSERT_VALID_LOCKREQ {
        local($_lr_) = @_;
	    eval q({  &RF_ASSERT( &RF_IO_IS_R_OR_W(($_lr_)-> &type)); });
    }' unless defined(&RF_ASSERT_VALID_LOCKREQ);
    eval 'sub RF_INIT_LOCK_REQ_DESC {
        local($_lrd, $_typ, $_cbf, $_cba, $_asm, $_defSize) = @_;
	    eval q({ . &type = $_typ; . &start2 = -1; . &stop2 = -1;  &if (-> &parityInfo) { . &start = -> ($parityInfo->{startSector}); . &stop = -> ($parityInfo->{startSector}) + -> ($parityInfo->{numSector})-1;  &if (-> ($parityInfo->{next})) { . &start2 = -> ($parityInfo->{next}->{startSector}); . &stop2 = -> ($parityInfo->{next}->{startSector}) + -> ($parityInfo->{next}->{numSector})-1; } }  &else { . &start = 0; . &stop = ; } . &templink=  &NULL; . &cbFunc = ; . &cbArg = ($_cba); });
    }' unless defined(&RF_INIT_LOCK_REQ_DESC);
}
1;
