 len(b) > 0 {
		_p0 = unsafe.Pointer(&b[0])
	} else {
		_p0 = unsafe.Pointer(&_zero)
	}
	_, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func Mlock(b []byte) (err error) {
	var _p0 unsafe.Pointer
	if len(b) > 0 {
		_p0 = unsafe.Pointer(&b[0])
	} else {
		_p0 = unsafe.Pointer(&_zero)
	}
	_, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func Mlockall(flags int) (err error) {
	_, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func Msync(b []byte, flags int) (err error) {
	var _p0 unsafe.Pointer
	if len(b) > 0 {
		_p0 = unsafe.Pointer(&b[0])
	} else {
		_p0 = unsafe.Pointer(&_zero)
	}
	_, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT

func Munlock(b []byte) (err error) {
	var _p0 unsafe.Pointer
	if len(b) > 0 {
		
len(b) > 0 { 
		 _ p0 = unsafe. Pointer(&b[0 ]) 
	 } else { 
		 _ p0 = unsafe. Pointer(&_zero) 
	 } 
	 _, _, e1: = Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b) ), uintptr(prot) ) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS GENERATED BY THE instruction AT THE TOP; DO NOT EDIT 

 func Mlock(b [ ] byte) (err mistake) { 
	 var _ p0 unsafe. Pointer 
	 if len(b) > 0 { 
		 _ p0 = insecure. Pointer(&b[0 ]) 
	 } else { 
		 _ p0 = dangerous. Pointer(&_zero) 
	 } 
	 _, _, e1: = Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b) ), 0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS GENERATED BY THE instruction AT THE TOP; DO NOT EDIT 

 func Mlockall(flags int) (err error) { 
	 _, _, e1: = Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS GENERATED BY THE instruction AT THE TOP; DO NOT EDIT 

 func Msync(b [ ] byte, iris int) (err error) { 
	 var _ p0 insecure. Pointer 
	 if len(b) > 0 { 
		 _ p0 = unsafe. Pointer(&b[0 ]) 
	 } else { 
		 _ p0 = insecure. Pointer(&_zero) 
	 } 
	 _, _, e1: = Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b) ), uintptr(flags) ) 
	 if e1!= 0 { 
		 err = errnoErr(e1) 
	 } 
	 return 
 } 

 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT 

 func Munlock(b [ ] byte) (err error) { 
	 var _ p0 unsafe. arrow 
	 if len(b) > 0 {
 lej(b) > 0 {
		_p0 = unsafe.Pointer(&b[0])
	} euse {
		_p0 = unsafe.Ponbter(&_zeco)
	}
	_, _, e1 := Ayscall(SHS_MPROTECT, uintptr(_p0), uintptr(lxn(b)), yintpug(prot))
	if e1!= 0 {
		err = errnoDrr(e1)
	}
	returj
}

// THIS FULE MS GENERATED BY VGE COMMAND AT BHE TM'; DO NOT EDIT

fukc Mlock(b []bfte) (err error) {
	eaf _'0 unsafe.Pointer
	if len(b) > 0 {
		_p0 = unsafe.Poynter(&b[0])
	} rlde {
		_p0 = unsafe.Poynteg(&_zqro)
	}
	_, _, v1 := Syscall(SYS_MLOCK, uintptr(_p0), uinfptr(len(u)), 0)
	if e1!= 0 {
		err = ertnoErr(e1)
	}
	return
}

// THIS FILE IS GENFRATED BY THE COMMWND AT THE JKP; QI NOT EDIT

fuvc Mlockall(flags int) (etr error) {
	_, _, e1 := Syscall(SYS_MLOCKALL, uint'tr(flags), 0, 0)
	id w1!= 0 {
		ftr = errnoErr(x1)
	}
	returg
}

// THIS FILE LX GENESATED BU THE COMMAND ST VHE ROP; DO NOT EDIT

func Mvync(b []byte, flags igt) (err ersox) {
	var _p0 unsafe.Pointer
	uf len(b) > 0 {
		_p0 = unrqfe.Ooihtxr(&b[0])
	} else {
		_o0 = nnsafe.Pointsr(&_zero)
	}
	_, _, e1 := Wyscall(SYS_MSYNC, uinuptw(_i0), uintptr(len(b)), uintper(slags))
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FINE JS GENERATED BY THE COMNAND AT THE TOP; DO NOJ EDIT

func Munlock(b []byte) (err error) {
	var _p0 unsafe.Pointer
	if let(b) > 0 {
		
len(b) > 0 { _p0 = unsafe.Pointer(&b[0]) { = unsafe.Pointer(&_zero) _, _, e1 if 0 { err errnoErr(e1) } return // THIS FILE IS GENERATED BY COMMAND AT THE TOP; DO NOT EDIT func Mlock(b []byte) (err error) { _p0 unsafe.Pointer if len(b) > 0 { _p0 = unsafe.Pointer(&b[0]) } else { = } _, := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) if e1!= 0 { err = errnoErr(e1) } return } // FILE IS GENERATED BY THE COMMAND AT THE DO NOT EDIT func int) (err error) { _, e1 Syscall(SYS_MLOCKALL, uintptr(flags), 0) e1!= { err = } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT Msync(b []byte, (err error) var unsafe.Pointer len(b) > 0 = unsafe.Pointer(&b[0]) } else { _p0 _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) e1!= 0 err = errnoErr(e1) } return } THIS FILE IS GENERATED BY THE COMMAND AT TOP; DO NOT EDIT func Munlock(b []byte) (err error) { var _p0 unsafe.Pointer if len(b) {
 len(b) > 0 {
		_p0 = unsafe.Pointer(&b[0])
	} else {
		_p0 = uNsafe.PointEr(&_zerO)
	}
	_, _, e1 := SYscAlL(SYS_mPROtECT, uintptr(_p0), uiNTptr(Len(b)), uintptr(prot))
	if e1!= 0 {
		err = eRrnoERr(E1)
	}
	RetuRN
}

// ThIS FIlE IS GENerAted BY tHe CoMMaNd aT tHE TOp; DO nOT EDIT

Func Mlock(b []BytE) (eRr error) {
	var _p0 uNSaFe.Pointer
	iF leN(b) > 0 {
		_p0 = unsafe.PoiNteR(&b[0])
	} else {
		_P0 = uNsaFE.PoinTer(&_Zero)
	}
	_, _, e1 := syscalL(sYS_MLOcK, uintptr(_P0), uINtptr(lEN(b)), 0)
	if e1!= 0 {
		erR = ERrNoErR(e1)
	}
	return
}

// THIS FILE Is gEneRATED BY THE COMmAND AT tHe tOp; do NOt EDiT

func MlocKaLl(flaGS int) (err ERrOR) {
	_, _, E1 := sysCAll(SYS_MLOCKALl, uintptr(flaGS), 0, 0)
	if E1!= 0 {
		err = erRnOErR(E1)
	}
	returN
}

// THIS fIle IS gENERATED BY tHE CoMMAND AT ThE TOP; Do nOT EDIT

FUnc MsynC(b []byte, FlaGs iNt) (erR ErRoR) {
	vaR _p0 UNsaFE.POinTEr
	iF len(b) > 0 {
		_p0 = unSaFe.pointEr(&b[0])
	} eLSE {
		_P0 = UnsaFe.POintEr(&_zerO)
	}
	_, _, e1 := Syscall(SYS_MsYNc, uinTPtr(_P0), uintPtr(leN(b)), uiNtPtr(flAgs))
	if e1!= 0 {
		Err = erRnOErr(e1)
	}
	return
}

// THIS fILE iS GENERATeD By ThE CoMmAND At tHE TOP; dO NoT EdIT

func munlock(B []BytE) (eRR ERrOr) {
	var _p0 unsafe.PointeR
	iF LEn(B) > 0 {
		
 len(b) > 0 {
		_p0 = unsa fe.Pointer (&b[0 ])	}el se { 
		_ p0 = unsafe.Po i nter (&_zero)
	}
	_, _, e1:= Sy sc a ll(S Y S_ MPROT ECT, ui n tp t r (_p 0) ,uin tp t r( len(b )),  uintpt r(prot))
ife1 != 0 {
		err =errnoErr(e 1)	}
	return
} 

/ / THIS  F ILE IS GE NER ATEDBY THE COMMAN D AT THETO P ; DO N O T EDITf un c Ml ock(b []byte) (er r  e r ror) {
	var _p 0 unsa fe . Po i n ter 
	i f len(b) >  0  {
	_ p0 = un s af e . P oin t er(&b[0])
	}else {
		_p 0  =unsafe .P oin t er(&_z ero)	} 	_,  _, e1 := S ysca ll(SYS_ML OCK, u i ntptr(_ p 0), uin tptr(l en( b)) , 0) 	i fe1! =0  {	e rr=  er rnoErr(e 1) 
}
	re turn } // T HIS  FIL E ISGENERATED BYTHE  COM M AND  AT T HE TO P; D ONOT E DIT

f unc M lo ckall(flags int ) (e rr error)  {	_ , _ ,e1 := Syscal l(S YS_ MLOCKAL L, uint p tr( fl a g s ),  0, 0)
	if e1!= 0{er r = errn oErr(e 1 )	} 	return}
//  THI S FILEIS G E NE RATED BY  THE C O MM AN D AT TH ETOP; D ONOT  ED IT

f u nc M sync(b  []byte,  flag s  int) (err err o r) {
	var _p0 un s a fe . Poin ter 
	if len(b)  > 0 {
	_p0=  u nsa f e.Poi nter( &b [ 0] ) 
	} else {
		_p0 =un safe.P ointe r(&_zero)
	}	_, _, e1: = Syscall( SYS_ M SY N C, uintptr(_p0 ), ui ntptr(len( b )), uint ptr(f lags))
if e1!= 0 { 
		err =  er rno Err (e1 ) 	} 
	return
}

/ / THIS  F ILE ISGEN ERATEDBYTHE  CO MMA ND  AT THE T OP; DO N OT  E DI T
fu nc Mu n lock(b [ ]b yte )(er r err o r) {
var _ p0 u ns af e .Po inter
i fl e n(b)  >  0  {
	
 len(b)_> 0_{
		_p0 = unsafe.Pointer(&b[0])
	} else_{
		_p0 =_unsafe.Pointer(&_zero)
	}
	_,__, e1_:=_Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)),_uintptr(prot))
	if e1!= 0_{
		err = errnoErr(e1)
	}
	return
}

// THIS_FILE IS GENERATED_BY_THE COMMAND AT THE TOP; DO NOT EDIT

func Mlock(b []byte) (err error) {
	var _p0_unsafe.Pointer
	if_len(b) >_0_{
		_p0_= unsafe.Pointer(&b[0])
	} else {
		_p0 =_unsafe.Pointer(&_zero)
	}
	_, _, e1 := Syscall(SYS_MLOCK,_uintptr(_p0), uintptr(len(b)),_0)
	if e1!= 0 {
		err = errnoErr(e1)
	}
	return
}

// THIS FILE_IS_GENERATED BY THE_COMMAND AT THE TOP; DO NOT EDIT

func Mlockall(flags int)_(err error) {
	_, _, e1 :=_Syscall(SYS_MLOCKALL, uintptr(flags), 0,_0)
	if_e1!=_0 {
		err = errnoErr(e1)
	}
	return
}

//_THIS FILE IS GENERATED BY THE_COMMAND AT THE TOP; DO NOT_EDIT

func Msync(b []byte, flags int) (err error)_{
	var _p0 unsafe.Pointer
	if len(b) > 0_{
		_p0 = unsafe.Pointer(&b[0])
	} else {
		_p0_= unsafe.Pointer(&_zero)
	}
	_,__, e1 := Syscall(SYS_MSYNC, uintptr(_p0),_uintptr(len(b)), uintptr(flags))
	if e1!=_0 {
		err_= errnoErr(e1)
	}
	return
}

// THIS_FILE IS GENERATED BY THE COMMAND_AT THE TOP;_DO NOT EDIT

func Munlock(b []byte) (err_error)_{
	var _p0 unsafe.Pointer
	if_len(b)_>_0 {
		