Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/fs/orangefs/
Dorangefs-bufmap.h23 void orangefs_bufmap_put(int buffer_index);
27 void orangefs_readdir_index_put(int buffer_index);
30 int buffer_index,
34 int buffer_index,
Dfile.c54 int buffer_index = -1; in wait_for_direct_io() local
68 buffer_index = orangefs_bufmap_get(); in wait_for_direct_io()
69 if (buffer_index < 0) { in wait_for_direct_io()
70 ret = buffer_index; in wait_for_direct_io()
81 buffer_index); in wait_for_direct_io()
84 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io()
98 ret = orangefs_bufmap_copy_from_iovec(iter, buffer_index, in wait_for_direct_io()
130 orangefs_bufmap_put(buffer_index); in wait_for_direct_io()
131 buffer_index = -1; in wait_for_direct_io()
207 ret = orangefs_bufmap_copy_to_iovec(iter, buffer_index, in wait_for_direct_io()
[all …]
Dorangefs-bufmap.c458 void orangefs_bufmap_put(int buffer_index) in orangefs_bufmap_put() argument
460 put(&rw_map, buffer_index); in orangefs_bufmap_put()
479 void orangefs_readdir_index_put(int buffer_index) in orangefs_readdir_index_put() argument
481 put(&readdir_map, buffer_index); in orangefs_readdir_index_put()
489 int buffer_index, in orangefs_bufmap_copy_from_iovec() argument
497 __func__, buffer_index, size); in orangefs_bufmap_copy_from_iovec()
499 to = &__orangefs_bufmap->desc_array[buffer_index]; in orangefs_bufmap_copy_from_iovec()
517 int buffer_index, in orangefs_bufmap_copy_to_iovec() argument
523 from = &__orangefs_bufmap->desc_array[buffer_index]; in orangefs_bufmap_copy_to_iovec()
526 __func__, buffer_index, size); in orangefs_bufmap_copy_to_iovec()
/Linux-v4.19/drivers/staging/comedi/drivers/
Dcb_pcidas64.c2868 unsigned int buffer_index; in prev_ao_dma_index() local
2871 buffer_index = AO_DMA_RING_COUNT - 1; in prev_ao_dma_index()
2873 buffer_index = devpriv->ao_dma_index - 1; in prev_ao_dma_index()
2874 return buffer_index; in prev_ao_dma_index()
2880 unsigned int buffer_index; in last_ao_dma_load_completed() local
2884 buffer_index = prev_ao_dma_index(dev); in last_ao_dma_load_completed()
2891 if (transfer_address != devpriv->ao_buffer_bus_addr[buffer_index]) in last_ao_dma_load_completed()
2940 unsigned int buffer_index = devpriv->ao_dma_index; in load_ao_dma_buffer() local
2947 devpriv->ao_buffer[buffer_index], in load_ao_dma_buffer()
2953 devpriv->ao_dma_desc[buffer_index].transfer_size = cpu_to_le32(nbytes); in load_ao_dma_buffer()
[all …]
/Linux-v4.19/drivers/hid/
Dhid-sensor-hub.c255 int buffer_index = 0; in sensor_hub_get_feature() local
282 if (buffer_index >= ret) in sensor_hub_get_feature()
285 memcpy(&((u8 *)buffer)[buffer_index], val_ptr, in sensor_hub_get_feature()
288 buffer_index += (report->field[field_index]->report_size / 8); in sensor_hub_get_feature()
/Linux-v4.19/sound/pci/lx6464es/
Dlx_core.c829 u32 buffer_index) in lx_buffer_cancel() argument
838 chip->rmh.cmd[0] |= buffer_index; in lx_buffer_cancel()
1054 u32 buffer_index = 0; in lx_interrupt_request_new_buffer() local
1069 &buffer_index); in lx_interrupt_request_new_buffer()
1072 buffer_index, (unsigned long)buf, period_bytes); in lx_interrupt_request_new_buffer()
Dlx_core.h174 u32 buffer_index);
Dlx6464es.c444 u32 buffer_index = 0; in lx_trigger_start() local
453 &buffer_index); in lx_trigger_start()
456 buffer_index, (unsigned long)buf, period_bytes); in lx_trigger_start()
/Linux-v4.19/sound/soc/fsl/
Dfsl_asrc.h357 unsigned int buffer_index; member