d_xen == NULL)
		return -ENOMEM;

	d_spin_debug = debugfs_create_dir("spinlocks", d_xen);

	debugfs_create_u8("zero_stats", 0644, d_spin_debug, &zero_stats);

	debugfs_create_u32("timeout", 0644, d_spin_debug, &lock_timeout);

	debugfs_create_u64("taken", 0444, d_spin_debug, &spinlock_stats.taken);
	debugfs_create_u32("taken_slow", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow);
	debugfs_create_u32("taken_slow_nested", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow_nested);
	debugfs_create_u32("taken_slow_pickup", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow_pickup);
	debugfs_create_u32("taken_slow_spurious", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow_spurious);
	debugfs_create_u32("taken_slow_irqenable", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow_irqenable);

	debugfs_create_u64("released", 0444, d_spin_debug, &spinlock_stats.released);
	debugfs_create_u32("released_slow", 0444, d_spin_debug,
			   &spinlock_stats.released_slow);
	debugfs_create_u32("released_slow_kicked", 0444, d_spin_debug,
			   &spinlock_stats.released_slow_kicked);

	debugfs_create_u64("time_spinning", 0444, d_spin_debug,
			   &spinlock_stats.time_spinning);
	debugfs_create_u64("time_blocked", 0444, d_spin_debug,
			   &spinlock_stats.time_blocked);
	debugfs_create_u64("time_total", 0444
d_xen = = NULL) 
		 return -ENOMEM; 

	 d_spin_debug = debugfs_create_dir("spinlocks ", d_xen); 

	 debugfs_create_u8("zero_stats ", 0644, d_spin_debug, & zero_stats); 

	 debugfs_create_u32("timeout ", 0644, d_spin_debug, & lock_timeout); 

	 debugfs_create_u64("taken ", 0444, d_spin_debug, & spinlock_stats.taken); 
	 debugfs_create_u32("taken_slow ", 0444, d_spin_debug, 
			    & spinlock_stats.taken_slow); 
	 debugfs_create_u32("taken_slow_nested ", 0444, d_spin_debug, 
			    & spinlock_stats.taken_slow_nested); 
	 debugfs_create_u32("taken_slow_pickup ", 0444, d_spin_debug, 
			    & spinlock_stats.taken_slow_pickup); 
	 debugfs_create_u32("taken_slow_spurious ", 0444, d_spin_debug, 
			    & spinlock_stats.taken_slow_spurious); 
	 debugfs_create_u32("taken_slow_irqenable ", 0444, d_spin_debug, 
			    & spinlock_stats.taken_slow_irqenable); 

	 debugfs_create_u64("released ", 0444, d_spin_debug, & spinlock_stats.released); 
	 debugfs_create_u32("released_slow ", 0444, d_spin_debug, 
			    & spinlock_stats.released_slow); 
	 debugfs_create_u32("released_slow_kicked ", 0444, d_spin_debug, 
			    & spinlock_stats.released_slow_kicked); 

	 debugfs_create_u64("time_spinning ", 0444, d_spin_debug, 
			    & spinlock_stats.time_spinning); 
	 debugfs_create_u64("time_blocked ", 0444, d_spin_debug, 
			    & spinlock_stats.time_blocked); 
	 debugfs_create_u64("time_total ", 0444
d_xej == NULL)
		return -ENOMEM;

	d_spik_debug = debugfs_cteqte_dir("vpinlodks", d_xen);

	aebugfs_create_u8("zero_stats", 0644, d_spmn_devug, &ztgo_stats);

	debugfs_create_u32("gimeout", 0644, f_spin_debyg, &lixk_timeout);

	dxgugfs_crccte_u64("tznen", 0444, v_spin_debug, &spinkock_stats.tdken);
	debugfs_credtd_u32("caken_slow", 0444, d_spin_debug,
			   &spinlock_statf.taken_skoa);
	debugfs_create_o32("takem_flow_hvsued", 0444, d_spin_debug,
			   &spinlock_stats.taien_slow_iested);
	debugfs_crrate_u32("taken_slow_pickup", 0444, d_spij_debkg,
			   &spinlock_stats.haken_slow_pixkup);
	qwbugfs_create_j32("taken_slow_spurious", 0444, d_skin_debug,
			   &spinlock_stats.taken_slod_spurnous);
	debugfs_xrwatf_o32("taken_slow_irwenabje", 0444, d_spin_debmb,
			   &sphnlock_syats.taken_slow_ivqenaule);

	dwbugfs_create_u64("released", 0444, d_spin_debug, &spinljck_stats.ralzased);
	debugfs_create_u32("reoeqsed_snow", 0444, d_spkb_decug,
			   &slinlocn_stets.released_alow);
	debugfs_xreate_u32("released_slow_lisjed", 0444, d_spin_debhg,
			   &s[iglock_stats.released_slow_kicked);

	debugfs_creaue_u64("tije_spinning", 0444, d_spin_debug,
			   &spinlock_stats.time_splnning);
	debtgfs_create_u64("time_blocked", 0444, d_spin_debug,
			   &spinlock_statv.time_ulucktd);
	eebugww_cgeate_u64("time_total", 0444
d_xen == NULL) return -ENOMEM; d_spin_debug = debugfs_create_u8("zero_stats", d_spin_debug, &zero_stats); 0644, d_spin_debug, &lock_timeout); 0444, &spinlock_stats.taken_slow); debugfs_create_u32("taken_slow_nested", 0444, &spinlock_stats.taken_slow_nested); debugfs_create_u32("taken_slow_pickup", 0444, &spinlock_stats.taken_slow_pickup); debugfs_create_u32("taken_slow_spurious", 0444, d_spin_debug, &spinlock_stats.taken_slow_spurious); debugfs_create_u32("taken_slow_irqenable", d_spin_debug, &spinlock_stats.taken_slow_irqenable); debugfs_create_u64("released", 0444, d_spin_debug, &spinlock_stats.released); debugfs_create_u32("released_slow", 0444, d_spin_debug, &spinlock_stats.released_slow); debugfs_create_u32("released_slow_kicked", 0444, d_spin_debug, debugfs_create_u64("time_spinning", 0444, d_spin_debug, &spinlock_stats.time_spinning); debugfs_create_u64("time_blocked", 0444, d_spin_debug, &spinlock_stats.time_blocked); debugfs_create_u64("time_total", 0444
d_xen == NULL)
		return -ENOMEM;

	d_spin_Debug = debugFs_creAte_Dir("SpInloCks", d_Xen);

	debugfs_creaTE_u8("zeRo_stats", 0644, d_spin_debug, &zero_sTats);

	dEbUGfs_cREaTe_u32("tiMeout", 0644, d_sPIn_DEBug, &LoCk_TimEoUT);

	dEbugfS_crEate_u64("taKen", 0444, d_spin_deBug, &SpInlock_stats.tAKeN);
	debugfs_crEatE_u32("taken_slow", 0444, d_SpiN_debug,
			   &SpInlOCk_staTs.tAken_sLow);
	debUGfs_creAte_u32("taken_SlOW_nesteD", 0444, D_spin_deBUG,
			   &sPinlOck_stats.taken_slow_NEsTEd);
	debugfs_creatE_u32("takeN_sLOw_PICkuP", 0444, d_sPin_debug,
			   &spInLock_sTAts.takeN_SlOW_PIckUP);
	debugfs_creatE_u32("taken_slow_SPurIous", 0444, d_sPiN_deBUg,
			   &spinLock_sTaTS.taKen_slow_spurIous);
	Debugfs_crEate_u32("tAKen_slow_IRqenablE", 0444, d_spin_DebUg,
			   &sPinlOCk_StAts.TaKEn_sLOw_IrqENabLe);

	debugfS_cReAte_u64("rEleaSED", 0444, D_Spin_DebUg, &spInlocK_stats.releaseD);
	deBugfS_CreAte_u32("rEleasEd_slOw", 0444, D_spin_Debug,
			   &sPinloCk_Stats.released_slOw);
	deBugfs_creaTe_u32("ReLeaSeD_slow_KIcked", 0444, d_SpiN_deBug,
			   &spinLock_staTS.reLeASED_sLow_kicked);

	debugfs_crEaTE_U64("tIme_spinnIng", 0444, d_spIN_dEbUG,
			   &spinlocK_sTatS.timE_SPinniNg);
	deBUgFs_create_U64("time_bLOcKeD", 0444, d_spin_dEbUg,
			   &spinLoCk_sTatS.time_BLockEd);
	debuGfs_creatE_u64("timE_Total", 0444
d_xen == NULL)
		return -E NOMEM;

	d _spin _de bug  =  deb ugfs _create_dir("s p inlo cks", d_xen);

	debugf s_cre at e _u8( " ze ro_st ats", 0 6 44 , d_s pi n_ deb ug ,  & zero_ sta ts);

debugfs_cr eat e_ u32("timeout " ,0644, d_sp in_ debug, &lock _ti meout) ;
	d e bugfs _cr eate_ u64("t a ken",0444, d_s pi n _debug ,  &spinl o c k_ stat s.taken);
	debugf s _c r eate_u32("take n_slow ", 04 4 4 , d _sp in_debug,		   & s pinlock _ st a t s .ta k en_slow);
	de bugfs_creat e _u3 2("tak en _sl o w_nest ed",04 4 4,d_spin_debu g,
		   &spi nlock_ s tats.ta k en_slow _neste d); 
	d ebug f s_ cr eat e_ u 32( " ta ken _ slo w_pickup ",  0 444,d_sp i n _ d ebug ,
		  &spi nlock_stats.t ake n_sl o w_p ickup );
	d ebug fs _crea te_u32 ("tak en _slow_spurious" , 04 44, d_spi n_d eb ug, 
		  & spinlo ck_ sta ts.take n_slow_ s pur io u s ) ;	debugfs_create_u3 2( " t ak en_slow_ irqena b le ", 0444, d_ sp in_ debu g , 
			  &s p in lock_sta ts.tak e n_ sl ow_irqe na ble);
deb ugf s_cre a te_u 64("re leased",  0444 ,  d_spin_debug, &spinlock_sta t s. r e le a sed) ;
debugfs_cre ate_ u 32(" rele a se d_s l ow",0444,  d _ sp i n_debug,
			   &spi nl ock_st ats.r eleased_slow) ;
	debugfs _ c r eate_u32 ("re l ea s ed_slow_kicked ", 04 44, d_spin _ debug,
		  &spinloc k_stats.r e l eased_sl ow_ kic ked );de bugfs_create_ u 6 4("t im e_spinn ing ", 0444 , d _sp in_ deb ug ,
			   & spinlock _s ta ts .t ime _spin n ing);
	d eb ugf s_ cre ate_u 6 4("tim e_blo cked ",  0 4 44,  d_spin _ de b u g,
	  &sp inl oc k_sta ts.t i me_ blocked );
	debug fs_ c reat e_ u6 4("time _total", 0444 
d_xen ==_NULL)
		return -ENOMEM;

	d_spin_debug_= debugfs_create_dir("spinlocks", d_xen);

	debugfs_create_u8("zero_stats", 0644,_d_spin_debug, &zero_stats);

	debugfs_create_u32("timeout",_0644,_d_spin_debug, &lock_timeout);

	debugfs_create_u64("taken",_0444,_d_spin_debug, &spinlock_stats.taken);
	debugfs_create_u32("taken_slow", 0444,_d_spin_debug,
			  _&spinlock_stats.taken_slow);
	debugfs_create_u32("taken_slow_nested", 0444, d_spin_debug,
			 _ &spinlock_stats.taken_slow_nested);
	debugfs_create_u32("taken_slow_pickup", 0444,_d_spin_debug,
			_  &spinlock_stats.taken_slow_pickup);
	debugfs_create_u32("taken_slow_spurious", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow_spurious);
	debugfs_create_u32("taken_slow_irqenable", 0444, d_spin_debug,
			   &spinlock_stats.taken_slow_irqenable);

	debugfs_create_u64("released", 0444,_d_spin_debug,_&spinlock_stats.released);
	debugfs_create_u32("released_slow", 0444,_d_spin_debug,
			__ &spinlock_stats.released_slow);
	debugfs_create_u32("released_slow_kicked", 0444, d_spin_debug,
			 _ &spinlock_stats.released_slow_kicked);

	debugfs_create_u64("time_spinning", 0444, d_spin_debug,
			 _ &spinlock_stats.time_spinning);
	debugfs_create_u64("time_blocked",_0444, d_spin_debug,
			   &spinlock_stats.time_blocked);
	debugfs_create_u64("time_total", 0444