ib_cancel_mad(agent, id); 
ib_cancel_mad(agent, mad_buf); 
void ib_sa_cancel_query(int id, struct ib_sa_query *query){	unsigned long flags;	struct ib_mad_agent *agent;	spin_lock_irqsave(&idr_lock, flags);	if (idr_find(&query_idr, id) != query) {		spin_unlock_irqrestore(&idr_lock, flags);		return;	}	agent = query->port->agent;	spin_unlock_irqrestore(&idr_lock, flags);	ib_cancel_mad(agent, id);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/34816ad98efe4d47ffd858a0345321f9d85d9420/sa_query.c/clean/drivers/infiniband/core/sa_query.c