Home
last modified time | relevance | path

Searched refs:buffer_storage (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-ioread.c31 char *buffer_storage[BUFFER_COUNT]; member
57 cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL); in pvr2_ioread_init()
58 if (!(cp->buffer_storage[idx])) break; in pvr2_ioread_init()
64 if (!(cp->buffer_storage[idx])) continue; in pvr2_ioread_init()
65 kfree(cp->buffer_storage[idx]); in pvr2_ioread_init()
78 if (!(cp->buffer_storage[idx])) continue; in pvr2_ioread_done()
79 kfree(cp->buffer_storage[idx]); in pvr2_ioread_done()
228 cp->buffer_storage[idx], in pvr2_ioread_setup()
297 cp->c_data_ptr = cp->buffer_storage[ in pvr2_ioread_get_buffer()
Dpvrusb2-dvb.c54 adap->buffer_storage[ in pvr2_dvb_feed_func()
130 if (!(adap->buffer_storage[idx])) continue; in pvr2_dvb_stream_end()
131 kfree(adap->buffer_storage[idx]); in pvr2_dvb_stream_end()
132 adap->buffer_storage[idx] = NULL; in pvr2_dvb_stream_end()
155 adap->buffer_storage[idx] = kmalloc(PVR2_DVB_BUFFER_SIZE, in pvr2_dvb_stream_do_start()
157 if (!(adap->buffer_storage[idx])) return -ENOMEM; in pvr2_dvb_stream_do_start()
169 adap->buffer_storage[idx], in pvr2_dvb_stream_do_start()
Dpvrusb2-dvb.h32 char *buffer_storage[PVR2_DVB_BUFFER_COUNT]; member