Home
last modified time | relevance | path

Searched refs:buf_num (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c210 while (stream->buf_num) { in usb_free_stream_buffers()
211 stream->buf_num--; in usb_free_stream_buffers()
212 kfree(stream->buf_list[stream->buf_num]); in usb_free_stream_buffers()
224 stream->buf_num = 0; in usb_alloc_stream_buffers()
231 for (stream->buf_num = 0; stream->buf_num < num; stream->buf_num++) { in usb_alloc_stream_buffers()
232 stream->buf_list[stream->buf_num] = kzalloc(size, GFP_ATOMIC); in usb_alloc_stream_buffers()
233 if (!stream->buf_list[stream->buf_num]) { in usb_alloc_stream_buffers()
235 __func__, stream->buf_num); in usb_alloc_stream_buffers()
241 __func__, stream->buf_num, in usb_alloc_stream_buffers()
242 stream->buf_list[stream->buf_num], in usb_alloc_stream_buffers()
[all …]
Ddvb_usb.h300 int buf_num; member
/linux-4.19.296/include/net/
Dhwbm.h11 int buf_num; member
22 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num, gfp_t gfp);
26 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num, gfp_t gfp) in hwbm_pool_add() argument
/linux-4.19.296/fs/btrfs/
Dcompression.c1304 u64 buf_num; in radix_sort() local
1318 buf_num = array[i].count; in radix_sort()
1319 if (buf_num > max_num) in radix_sort()
1320 max_num = buf_num; in radix_sort()
1323 buf_num = ilog2(max_num); in radix_sort()
1324 bitlen = ALIGN(buf_num, RADIX_BASE * 2); in radix_sort()
1331 buf_num = array[i].count; in radix_sort()
1332 addr = get4bits(buf_num, shift); in radix_sort()
1340 buf_num = array[i].count; in radix_sort()
1341 addr = get4bits(buf_num, shift); in radix_sort()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Drtl2832_sdr.c145 int buf_num; member
323 while (dev->buf_num) { in rtl2832_sdr_free_stream_bufs()
324 dev->buf_num--; in rtl2832_sdr_free_stream_bufs()
325 dev_dbg(&pdev->dev, "free buf=%d\n", dev->buf_num); in rtl2832_sdr_free_stream_bufs()
327 dev->buf_list[dev->buf_num], in rtl2832_sdr_free_stream_bufs()
328 dev->dma_addr[dev->buf_num]); in rtl2832_sdr_free_stream_bufs()
340 dev->buf_num = 0; in rtl2832_sdr_alloc_stream_bufs()
346 for (dev->buf_num = 0; dev->buf_num < MAX_BULK_BUFS; dev->buf_num++) { in rtl2832_sdr_alloc_stream_bufs()
347 dev->buf_list[dev->buf_num] = usb_alloc_coherent(dev->udev, in rtl2832_sdr_alloc_stream_bufs()
349 &dev->dma_addr[dev->buf_num]); in rtl2832_sdr_alloc_stream_bufs()
[all …]
/linux-4.19.296/include/video/
Dimx-ipu-v3.h225 bool ipu_idmac_buffer_is_ready(struct ipuv3_channel *channel, u32 buf_num);
226 void ipu_idmac_select_buffer(struct ipuv3_channel *channel, u32 buf_num);
227 void ipu_idmac_clear_buffer(struct ipuv3_channel *channel, u32 buf_num);
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_fc.c631 static struct zfcp_fc_req *zfcp_fc_alloc_sg_env(int buf_num) in zfcp_fc_alloc_sg_env() argument
639 if (zfcp_sg_setup_table(&fc_req->sg_rsp, buf_num)) { in zfcp_fc_alloc_sg_env()
767 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local
772 buf_num = chain ? ZFCP_FC_GPN_FT_NUM_BUFS : 1; in zfcp_fc_scan_ports()
783 fc_req = zfcp_fc_alloc_sg_env(buf_num); in zfcp_fc_scan_ports()
797 zfcp_sg_free_table(&fc_req->sg_rsp, buf_num); in zfcp_fc_scan_ports()