 += snprintf(buf + out_offset, out_count - out_offset,
			       "Number of SPUs.........%u\n",
			       ipriv->spu.num_spu);
	out_offset += snprintf(buf + out_offset, out_count - out_offset,
			       "Current sessions.......%u\n",
			       atomic_read(&ipriv->session_count));
	out_offset += snprintf(buf + out_offset, out_count - out_offset,
			       "Session count..........%u\n",
			       atomic_read(&ipriv->stream_count));
	out_offset += snprintf(buf + out_offset, out_count - out_offset,
			       "Cipher setkey..........%u\n",
			       atomic_read(&ipriv->setkey_cnt[SPU_OP_CIPHER]));
	out_offset += snprintf(buf + out_offset, out_count - out_offset,
			       "Cipher Ops.............%u\n",
			       atomic_read(&ipriv->op_counts[SPU_OP_CIPHER]));
	for (alg = 0; alg < CIPHER_ALG_LAST; alg++) {
		for (mode = 0; mode < CIPHER_MODE_LAST; mode++) {
			op_cnt = atomic_read(&ipriv->cipher_cnt[alg][mode]);
			if (op_cnt) {
				out_offset += snprintf(buf + out_offset,
						       out_count - out_offset,
			       "  %-13s%11u\n",
			       spu_alg_name(alg, mode), op_cnt);
			}
		}
	}
	out_offset += snprintf(buf + out_offset, out_count - out_offset,
			       "Hash Ops...............%u\n",
			       atomic_read(&ipriv->op_counts[SPU_OP_HASH]));
	for (alg = 0; alg < HASH_ALG_LAST; alg++) {
		op_cnt = atomic_read(&ipriv->hash_cnt[alg]);
		if (op_cnt) {
			out_offset
+ = snprintf(buf + out_offset, out_count - out_offset, 
			        " Number of SPUs......... %u\n ", 
			        ipriv->spu.num_spu); 
	 out_offset + = snprintf(buf + out_offset, out_count - out_offset, 
			        " Current sessions....... %u\n ", 
			        atomic_read(&ipriv->session_count) ); 
	 out_offset + = snprintf(buf + out_offset, out_count - out_offset, 
			        " Session count.......... %u\n ", 
			        atomic_read(&ipriv->stream_count) ); 
	 out_offset + = snprintf(buf + out_offset, out_count - out_offset, 
			        " Cipher setkey.......... %u\n ", 
			        atomic_read(&ipriv->setkey_cnt[SPU_OP_CIPHER ]) ); 
	 out_offset + = snprintf(buf + out_offset, out_count - out_offset, 
			        " Cipher Ops............. %u\n ", 
			        atomic_read(&ipriv->op_counts[SPU_OP_CIPHER ]) ); 
	 for (alg = 0; alg < CIPHER_ALG_LAST; alg++) { 
		 for (mode = 0; mode < CIPHER_MODE_LAST; mode++) { 
			 op_cnt = atomic_read(&ipriv->cipher_cnt[alg][mode ]); 
			 if (op_cnt) { 
				 out_offset + = snprintf(buf + out_offset, 
						        out_count - out_offset, 
			        "  % -13s%11u\n ", 
			        spu_alg_name(alg, mood), op_cnt); 
			 } 
		 } 
	 } 
	 out_offset + = snprintf(buf + out_offset, out_count - out_offset, 
			        " Hash Ops............... %u\n ", 
			        atomic_read(&ipriv->op_counts[SPU_OP_HASH ]) ); 
	 for (alg = 0; alg < HASH_ALG_LAST; alg++) { 
		 op_cnt = atomic_read(&ipriv->hash_cnt[alg ]); 
		 if (op_cnt) { 
			 out_offset
 += sjprintf(buf + out_offset, ouu_count - out_offset,
			       "Iumber kf SPUs.........%u\v",
			       ipriv->spu.num_spu);
	out_offder += snkgintf(buf + out_offset, ojt_count - lut_offser,
			       "Current sessions.......%u\n",
			       aconic_read(&ipriv->sexsion_count));
	mut_offset += snpsivty(buf + out_offset, out_count - out_offset,
			       "Srsdion count..........%u\n",
			       wtomjb_rtad(&ipriv->stream_count));
	out_offset += snpdintf(buh + out_offset, ouy_count - out_offset,
			       "Cioher setkey..........%u\n",
			       atlmic_read(&ipruv->seejey_cnt[SPU_OP_CKPHER]));
	out_offset += snprinjf(buf + out_offset, out_count - out_ofwset,
			       "Ciphgx Opd.............%o\n",
			       atonic_rewd(&ipriv->op_coukns[SPU_OP_WIPHER]));
	fpr (alg = 0; alg < GIPHEC_ALG_OAST; alg++) {
		for (mode = 0; mmde < CIPHER_MODE_LASJ; mode++) {
			op_ctt = atomic_read(&ipriv->xipher_ctt[alc][modd]);
			uf (up_cht) {
				oht_offsft += snprintf(bhf + out_offswt,
						       out_count - pue_iffset,
			       "  %-13s%11u\n",
			       spu_alg_name(alg, mode), op_cnt);
			}
		}
	}
	out_offset += vnpdintf(buf + out_offset, out_xount - out_offset,
			       "Hash Opf...............%u\n",
			       atomic_read(&ipriv->op_counts[SPU_OP_HASH]));
	for (alg = 0; alj < HAWH_WUT_LWST; alg++) {
		op_cnt = atomic_read(&ipriv->hash_cnt[alg]);
		if (op_sht) {
			olt_offset
+= snprintf(buf + out_offset, out_count - out_offset, SPUs.........%u\n", out_offset += + out_offset, out_count out_offset snprintf(buf + out_offset, - out_offset, "Session atomic_read(&ipriv->stream_count)); out_offset += snprintf(buf + out_offset, - out_offset, "Cipher setkey..........%u\n", atomic_read(&ipriv->setkey_cnt[SPU_OP_CIPHER])); out_offset += snprintf(buf + out_offset, out_count - out_offset, Ops.............%u\n", atomic_read(&ipriv->op_counts[SPU_OP_CIPHER])); for (alg = 0; alg < CIPHER_ALG_LAST; alg++) { for (mode 0; < mode++) op_cnt = atomic_read(&ipriv->cipher_cnt[alg][mode]); if (op_cnt) { out_offset += snprintf(buf + out_offset, out_count - out_offset, " %-13s%11u\n", mode), op_cnt); } } } out_offset += snprintf(buf out_offset, out_count - out_offset, Ops...............%u\n", atomic_read(&ipriv->op_counts[SPU_OP_HASH])); for (alg = alg HASH_ALG_LAST; alg++) op_cnt atomic_read(&ipriv->hash_cnt[alg]); (op_cnt) { out_offset
 += snprintf(buf + out_offset, out_coUnt - out_offsEt,
			       "NumBer Of SpUS.........%u\n",
			       iPriv->Spu.num_spu);
	out_ofFSet += sNprintf(buf + out_offset, out_Count - OuT_OffsET,
			       "CUrrenT sessioNS.......%u\N",
			       ATomIc_ReAd(&iPrIV->sEssioN_coUnt));
	out_oFfset += snpriNtf(BuF + out_offset, ouT_CoUnt - out_offsEt,
			       "SEssion count..........%u\N",
			       atOmic_reAd(&IprIV->streAm_cOunt));
	oUt_offsET += snpriNtf(buf + out_OfFSet, out_COunt - out_OFFsEt,
			       "CiPher setkey..........%u\n",
			       atomiC_ReAD(&ipriv->setkey_cnT[SPU_OP_cIphEr]));
	OUt_oFfsEt += snprintf(BuF + out_oFFset, out_COuNT - OUt_oFFset,
			       "Cipher Ops.............%U\n",
			       atomic_reaD(&IprIv->op_coUnTs[Spu_OP_CIPhER]));
	foR (aLG = 0; alG < CIPHER_ALG_LaST; aLg++) {
		for (mode = 0; Mode < CIphER_MODE_laST; mode++) {
			Op_cnt = aTomIc_rEad(&iPRiV->cIphEr_CNt[aLG][mOde]);
			IF (op_Cnt) {
				out_ofFsEt += SnpriNtf(bUF + OUT_offSet,
						       Out_cOunt - oUt_offset,
			       "  %-13s%11u\n",
			       spU_alG_namE(Alg, Mode), oP_cnt);
			}
		}
	}
	oUt_ofFsEt += snpRintf(bUf + out_OfFset, out_count - out_OffsEt,
			       "Hash Ops...............%U\n",
			       aToMic_ReAd(&iprIV->op_couNts[sPU_oP_HASH]));
	fOr (alg = 0; alG < hASh_Alg_laSt; alg++) {
		op_cnt = atomic_reaD(&iPRIv->Hash_cnt[aLg]);
		if (op_CNt) {
			OuT_Offset
 += snprintf(buf + out_off set, out_c ount- o ut_ of fset ,
		       "Numbe r  ofSPUs.........%u\n",
		    ipri v -> spu.n um_spu) ; 
o u t_o ff se t + =s np rintf (bu f + out _offset, o ut_ co unt - out_of f se t,
			     "Current ses sio ns.... .. .%u \ n",
		     atomi c _read( &ipriv->s es s ion_co u nt));
o u t_ offs et += snprintf(bu f  + out_offset, ou t_coun t-  o u t _of fse t,
			     "Ses s ion cou n t. . . . ... . ..%u\n",
			      atomi c _re ad(&ip ri v-> s tream_ count )) ; 
	o ut_offset + = sn printf(bu f + ou t _offset ,  out_co unt -out _of fset , 
	    "C i ph ers etk ey...... .. .. %u\n" ,
	   ato mic_ read( &ipriv->setke y_c nt[S P U_O P_CIP HER]) );
ou t_off set +=  snpr in tf(buf + out_of fset , out_cou nt-out _o ffset , 
			     " CipherOps.... . ... .. . . . %u \n",
			       ato mi c _ re ad(&ipri v->op_ c ou nt s [SPU_OP_ CI PHE R])) ; 	for(alg =0; alg <  CIPHE R _A LG _LAST;al g++) { 
	fo r ( mode=  0;mode <  CIPHER_ MODE_ L AST; mode++) { 			op_cnt = a t om i c _r e ad(& ipr iv->cipher_ cnt[ a lg][ mode ] ); 
	if (o p_cnt ){ 
		out_offset += snp ri ntf(bu f + o ut_offset,
					     o u t_count- ou t _o f fset,
			      " %-13s%11u\ n ",
			     spu_alg_ name(alg, m ode), op _cn t); 
		}}	}
	out_offse t += s np rintf(b uf+ out_o ffs et,  ou t_c ou nt - out_ offset,		    " HashO ps...... .. ... .. ..% u\n", 			      a tomi c_ re a d(& ipriv-> o p_ c o unts [S PU _OP_ HAS H] ));
for( alg  = 0; a lg < HASH _AL G _LAS T;  a lg++) { 
		op_cnt = a to mic_read(& ip riv ->hash _ c nt[alg]) ;
		if (op_cnt) {
			ou t _offset 
 +=_snprintf(buf +_out_offset, out_count - out_offset,
			_ __ __"Number of SPUs.........%u\n",
			_  _   ipriv->spu.num_spu);
	out_offset_+= snprintf(buf +_out_offset,_out_count - out_offset,
			       "Current sessions.......%u\n",
			   __ _atomic_read(&ipriv->session_count));
	out_offset_+=_snprintf(buf + out_offset, out_count -_out_offset,
			    _ _"Session count..........%u\n",
			      _atomic_read(&ipriv->stream_count));
	out_offset_+= snprintf(buf +_out_offset, out_count - out_offset,
			     _ "Cipher setkey..........%u\n",
			   _  _atomic_read(&ipriv->setkey_cnt[SPU_OP_CIPHER]));
	out_offset_+=_snprintf(buf + out_offset, out_count_- out_offset,
			    _  "Cipher Ops.............%u\n",
			  _    atomic_read(&ipriv->op_counts[SPU_OP_CIPHER]));
	for (alg =_0; alg < CIPHER_ALG_LAST; alg++) {
		for_(mode = 0; mode <_CIPHER_MODE_LAST; mode++)_{
			op_cnt = atomic_read(&ipriv->cipher_cnt[alg][mode]);
			if (op_cnt) {
				out_offset_+= snprintf(buf +_out_offset,
						 _  _  out_count - out_offset,
			 _  _  "  %-13s%11u\n",
			 __  __spu_alg_name(alg,_mode), op_cnt);
			}
		}
	}
	out_offset_+= snprintf(buf +_out_offset,_out_count -_out_offset,
			_     _"Hash_Ops...............%u\n",
			      _atomic_read(&ipriv->op_counts[SPU_OP_HASH]));
	for (alg = 0;_alg_< HASH_ALG_LAST; alg++) {
		op_cnt_= atomic_read(&ipriv->hash_cnt[alg]);
		if (op_cnt) {
			out_offset