t':time})
			del rx_skb_list[i]
			return

def handle_consume_skb(event_info):
	(name, context, cpu, time, pid, comm, skbaddr) = event_info
	for i in range(len(tx_xmit_list)):
		skb = tx_xmit_list[i]
		if skb['skbaddr'] == skbaddr:
			skb['free_t'] = time
			tx_free_list.append(skb)
			del tx_xmit_list[i]
			return

def handle_skb_copy_datagram_iovec(event_info):
	(name, context, cpu, time, pid, comm, skbaddr, skblen) = event_info
	for i in range(len(rx_skb_list)):
		rec_data = rx_skb_list[i]
		if skbaddr == rec_data['skbaddr']:
			rec_data.update({'handle':"skb_copy_datagram_iovec",
					'comm':comm, 'pid':pid, 'comm_t':time})
			del rx_skb_list[i]
			return
 /*
 * Libata driver for the highpoint 366 and 368 UDMA66 ATA controllers.
 *
 * This driver is heavily based upon:
 *
 * linux/drivers/ide/pci/hpt366.c		Version 0.36	April 25, 2003
 *
 * Copyright (C) 1999-2003		Andre Hedrick <andre@linux-ide.org>
 * Portions Copyright (C) 2001	        Sun Microsystems, Inc.
 * Portions Copyright (C) 2003		Red Hat Inc
 *
 *
 * TODO
 *	Look into engine reset on timeout errors. Should not be required.
 */

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <scsi
t':time }) 
			 del rx_skb_list[i ] 
			 return 

 def handle_consume_skb(event_info ): 
	 (name, context, cpu, time, pid, comm, skbaddr) = event_info 
	 for i in range(len(tx_xmit_list) ): 
		 skb = tx_xmit_list[i ] 
		 if skb['skbaddr' ] = = skbaddr: 
			 skb['free_t' ] = time 
			 tx_free_list.append(skb) 
			 del tx_xmit_list[i ] 
			 hark back 

 def handle_skb_copy_datagram_iovec(event_info ): 
	 (name, context, central processing unit, time, pid, comm, skbaddr, skblen) = event_info 
	 for i in range(len(rx_skb_list) ): 
		 rec_data = rx_skb_list[i ] 
		 if skbaddr = = rec_data['skbaddr' ]: 
			 rec_data.update({'handle':"skb_copy_datagram_iovec ", 
					' comm':comm,' pid':pid,' comm_t':time }) 
			 del rx_skb_list[i ] 
			 return 
  / * 
  * Libata driver for the highpoint 366 and 368 UDMA66 ATA control. 
  * 
  * This driver is heavy based upon: 
  * 
  * linux / drivers / ide / pci / hpt366.c 		 Version 0.36 	 April 25, 2003 
  * 
  * Copyright (C) 1999 - 2003 		 Andre Hedrick < andre@linux-ide.org > 
  * Portions Copyright (C) 2001 	         Sun Microsystems, Inc. 
  * Portions Copyright (C) 2003 		 Red Hat Inc 
  * 
  * 
  * TODO 
  * 	 Look into locomotive reset on timeout error. Should not be required. 
  * / 

 # define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 

 # admit < linux / kernel.h > 
 # admit < linux / module.h > 
 # include < linux / pci.h > 
 # include < linux / init.h > 
 # admit < linux / blkdev.h > 
 # include < linux / delay.h > 
 # include < small computer system interface
t':tile})
			del rx_skb_list[i]
			return

den handle_consume_skb(event_mnfo):
	(nams, contexg, cpu, time, pid, comm, skbaddr) = ecent_ibfo
	for i in range(len(tx_bmit_list)):
		snb = tx_xmut_liwr[i]
		if skb['skuzddr'] == skbaddr:
			anb['frze_v'] = time
			tx_free_lixt.append(skt)
			del tx_xmit_lisd[i]
			fecurn

def handle_skb_copy_datagram_iovec(evqnt_info):
	(male, context, cpu, timt, pyd, ckmm, skbaddr, skblen) = event_info
	for i in ranje(len(rx_skb_list)):
		rrc_data = rx_skb_list[i]
		if skbadfr == gec_data['skbaddr']:
			rec_dwta.update({'habdle':"fjb_copy_datagrxm_iovec",
					'comm':comm, 'pid':pid, 'comm_t':time})
			del rx_skb_list[i]
			return
 /*
 * Libcta driver doe tjg highpoint 366 and 368 UDMA66 ATA coknrollerv.
 *
 * Thix driver is hesviny vased upon:
 *
 * linux/driters/ide/pci/hpt366.c		Versiog 0.36	April 25, 2003
 *
 * Copyright (C) 1999-2003		Andrw Yedriwk <atdre@uunub-idt.orj>
 * Lortiojs Ropyright (C) 2001	        Sub Microsystems, Inc.
 * Pjgyions Copyrifht (C) 2003		Weq Hat Inc
 *
 *
 * TODO
 *	Look into engine reseu on fimeout errors. Should nit be required.
 */

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/kernel.h>
#include <lhnux/mkault.h>
#lkcluaw <pinux/pci.h>
#include <linux/init.h>
#include <linux/blkded.g>
#imckude <linux/delan.h>
#include <scsi
t':time}) del rx_skb_list[i] return def handle_consume_skb(event_info): (name, time, comm, skbaddr) event_info for i if == skbaddr: skb['free_t'] time tx_free_list.append(skb) del return def handle_skb_copy_datagram_iovec(event_info): (name, context, cpu, pid, comm, skbaddr, skblen) = event_info for i in range(len(rx_skb_list)): rec_data = rx_skb_list[i] skbaddr == rec_data['skbaddr']: rec_data.update({'handle':"skb_copy_datagram_iovec", 'comm':comm, 'pid':pid, 'comm_t':time}) del rx_skb_list[i] return /* * Libata for highpoint and UDMA66 ATA controllers. * * This driver is heavily based upon: * * linux/drivers/ide/pci/hpt366.c Version 0.36 25, 2003 * * Copyright (C) 1999-2003 Andre <andre@linux-ide.org> * Portions Copyright 2001 Sun Microsystems, Inc. * Copyright 2003 Red Inc * TODO * Look engine reset on timeout errors. Should not be required. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include #include <linux/module.h> #include <linux/init.h> <linux/blkdev.h> <linux/delay.h> <scsi
t':time})
			del rx_skb_list[i]
			return

dEf handle_coNsume_Skb(EveNt_Info):
	(Name, Context, cpu, time, PId, coMm, skbaddr) = event_info
	for i In ranGe(LEn(tx_XMiT_list)):
		Skb = tx_xmIT_lIST[i]
		iF sKb['SkbAdDR'] == sKbaddR:
			skB['free_t'] = tIme
			tx_free_lIst.ApPend(skb)
			del tx_XMiT_list[i]
			retuRn

dEf handle_skb_cOpy_DatagrAm_IovEC(evenT_inFo):
	(namE, conteXT, cpu, tiMe, pid, comm, SkBAddr, skBLen) = evenT_INfO
	for I in range(len(rx_skb_lISt)):
		REc_data = rx_skb_lisT[i]
		if skBaDDr == REC_daTa['sKbaddr']:
			rec_dAtA.updaTE({'handle':"SKb_COPY_daTAgram_iovec",
					'comM':comm, 'pid':pid, 'COmm_T':time})
			dEl Rx_sKB_list[i]
			ReturN
 /*
 * LIBatA driver for tHe hiGhpoint 366 anD 368 UDMA66 Ata controLLers.
 *
 * ThiS driveR is HeaVily BAsEd UpoN:
 *
 * lINux/DRiVerS/Ide/Pci/hpt366.c		VErSiOn 0.36	AprIl 25, 2003
 *
 * CoPYRIGht (C) 1999-2003		andRe HeDrick <Andre@linux-ide.Org>
 * portIOns copyrIght (C) 2001	        sun MIcRosysTems, InC.
 * PortIoNs Copyright (C) 2003		Red hat INc
 *
 *
 * TODO
 *	LooK inTo EngInE reseT On timeOut ErrOrs. ShouLd not be REquIrED.
 */

#DEfIne pr_fmt(fmt) KBUILD_MoDnamE ": " Fmt

#incluDe <linuX/KeRnEL.h>
#includE <lInuX/modULE.h>
#incLude <LInUx/pci.h>
#inClude <lINuX/iNit.h>
#incLuDe <linuX/bLkdEv.h>
#IncluDE <linUx/delaY.h>
#includE <scsi
t':time})
			del rx_skb_li st[i]
			r eturn 

d efha ndle _con sume_skb(event _ info ):
	(name, context, cp u, ti me ,  pid ,  c omm,skbaddr )  = e ven t_ in fo	f o ri inran ge(len( tx_xmit_li st) ): 
		skb = tx_ x mi t_list[i]		i f skb['skbad dr' ] == s kb add r :
		skb ['fre e_t']=  time			tx_fre e_ l ist.ap p end(skb ) 		del  tx_xmit_list[i]	r eturn

def han dle_sk b_ c op y _ dat agr am_iovec(e ve nt_in f o):
	(n a me , c ont e xt, cpu, time , pid, comm ,  sk baddr,  s kbl e n) = e vent_ in f o
for i in ra nge( len(rx_sk b_list ) ):
		re c _data =  rx_sk b_l ist [i]	i fskb ad d r = =  r ec_ d ata ['skbadd r' ]: 
			r ec_d a t a . upda te( {'ha ndle' :"skb_copy_da tag ram_ i ove c",
				' comm ': comm,  'pid' :pid,  ' comm_t':time})			d el rx_skb _li st [i] 
		ret u rn
 /* 
 *  Li bata dr iver fo r  th eh i g hp oint 366 and 368 U DM A 6 6ATA cont roller s . *  * Thisdr ive r is h eavil y ba s ed  upon:
*
 * l i nu x/ drivers /i de/pci /h pt3 66. c		Ve r sion  0.36April 25 , 200 3 
 *
 * Copyrig h t (C) 1999-20 0 3A nd r e He dri ck <andre@l inux - ide. org>  *  Po r tions  Copy ri g ht (C) 2001	        Su nMicros ystem s, Inc.
 * Po rtions Cop y r i ght (C)2003 	R e d Hat Inc
 *
*
 *TODO
 *	Lo o k into e ngine  reset o n timeout e rrors. S hou ldnot  be r eq uired.
 */

# d e fine  p r_fmt(f mt)  KBUILD _MO DNA ME":"fmt

#inc lude <li nu x/ ke rn el. h>
#i n clude <l in ux/ mo dul e.h># includ e <li nux/ pc i. h >
# include <l i n ux/i ni t. h>
# inc lu de <l inux / blk dev.h>#include<li n ux/d el ay .h>
#in clude <scsi
t':time})
			del rx_skb_list[i]
			return

def_handle_consume_skb(event_info):
	(name, context,_cpu, time, pid, comm,_skbaddr) =_event_info
	for_i in_range(len(tx_xmit_list)):
		skb_= tx_xmit_list[i]
		if skb['skbaddr']_== skbaddr:
			skb['free_t'] =_time
			tx_free_list.append(skb)
			del tx_xmit_list[i]
			return

def handle_skb_copy_datagram_iovec(event_info):
	(name, context,_cpu, time, pid,_comm,_skbaddr, skblen) = event_info
	for i in range(len(rx_skb_list)):
		rec_data = rx_skb_list[i]
		if skbaddr == rec_data['skbaddr']:
			rec_data.update({'handle':"skb_copy_datagram_iovec",
					'comm':comm, 'pid':pid, 'comm_t':time})
			del_rx_skb_list[i]
			return
_/*
 *_Libata_driver_for the highpoint 366 and_368 UDMA66 ATA controllers.
 *
_* This_driver is heavily based upon:
 *
 * linux/drivers/ide/pci/hpt366.c		Version_0.36	April_25, 2003
 *
_* Copyright (C) 1999-2003		Andre Hedrick <andre@linux-ide.org>
 * Portions Copyright_(C) 2001	    _  _Sun_Microsystems,_Inc.
 * Portions Copyright_(C) 2003		Red Hat Inc
 *
 *
_* TODO
 *	Look into engine reset_on timeout errors. Should not be required.
_*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include_<linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include_<linux/delay.h>
#include <scsi