void (*minb) (struct rio_mport * mport, int mbox, 
void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, 
int rio_request_inb_mbox(struct rio_mport *mport,			 int mbox,			 int entries,			 void (*minb) (struct rio_mport * mport, int mbox,				       int slot)){	int rc = 0;	struct resource *res = kmalloc(sizeof(struct resource), GFP_KERNEL);	if (res) {		rio_init_mbox_res(res, mbox, mbox);		/* Make sure this mailbox isn't in use */		if ((rc =		     request_resource(&mport->riores[RIO_INB_MBOX_RESOURCE],				      res)) < 0) {			kfree(res);			goto out;		}		mport->inb_msg[mbox].res = res;		/* Hook the inbound message callback */		mport->inb_msg[mbox].mcback = minb;		rc = rio_open_inb_mbox(mport, mbox, entries);	} else		rc = -ENOMEM;      out:	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6978bbc097c2f665c336927a9d56ae39ef75fa56/rio.c/buggy/drivers/rapidio/rio.c