deb_mem("buffer %d: %p (dma: %d)\n",d->buf_num,d->buf_list[d->buf_num],d->dma_addr[d->buf_num]); 
deb_mem("buffer %d: %p (dma: %llu)\n", d->buf_num, d->buf_list[d->buf_num], (unsigned long long)d->dma_addr[d->buf_num]); 
static int dvb_usb_allocate_stream_buffers(struct dvb_usb_device *d, int num, unsigned long size){	d->buf_num = 0;	d->buf_size = size;	deb_mem("all in all I will use %lu bytes for streaming\n",num*size);	if ((d->buf_list = kmalloc(num*sizeof(u8 *), GFP_ATOMIC)) == NULL)		return -ENOMEM;	if ((d->dma_addr = kmalloc(num*sizeof(dma_addr_t), GFP_ATOMIC)) == NULL) {		kfree(d->buf_list);		return -ENOMEM;	}	memset(d->buf_list,0,num*sizeof(u8 *));	memset(d->dma_addr,0,num*sizeof(dma_addr_t));	d->state |= DVB_USB_STATE_URB_BUF;	for (d->buf_num = 0; d->buf_num < num; d->buf_num++) {		deb_mem("allocating buffer %d\n",d->buf_num);		if (( d->buf_list[d->buf_num] =					usb_buffer_alloc(d->udev, size, SLAB_ATOMIC,					&d->dma_addr[d->buf_num]) ) == NULL) {			deb_mem("not enough memory for urb-buffer allocation.\n");			dvb_usb_free_stream_buffers(d);			return -ENOMEM;		}		deb_mem("buffer %d: %p (dma: %d)\n",d->buf_num,d->buf_list[d->buf_num],d->dma_addr[d->buf_num]);		memset(d->buf_list[d->buf_num],0,size);	}	deb_mem("allocation successful\n");	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d371d6a04c6b50125e8dbf9a2234cc694f6e3cdf/dvb-usb-urb.c/buggy/drivers/media/dvb/dvb-usb/dvb-usb-urb.c