Home
last modified time | relevance | path

Searched refs:buffer_list (Results 1 - 25 of 81) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/iio/
H A Dindustrialio-buffer.c36 return !list_empty(&buf->buffer_list); in iio_buffer_is_active()
205 INIT_LIST_HEAD(&buffer->buffer_list); in iio_buffer_init()
606 list_add(&buffer->buffer_list, &iio_dev_opaque->buffer_list); in iio_buffer_activate()
611 list_del_init(&buffer->buffer_list); in iio_buffer_deactivate()
622 &iio_dev_opaque->buffer_list, buffer_list) in iio_buffer_deactivate_all()
718 list_is_singular(&iio_dev_opaque->buffer_list)) in iio_verify_update()
723 list_for_each_entry(buffer, &iio_dev_opaque->buffer_list, buffer_list) { in iio_verify_update()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c255 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt()
273 mtt_entry[i + 2] = cpu_to_be64(buffer_list[i] | in __mthca_write_mtt()
291 buffer_list += i; in __mthca_write_mtt()
317 u64 *buffer_list, int list_len) in mthca_tavor_write_mtt_seg()
325 mthca_write64_raw(cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT), in mthca_tavor_write_mtt_seg()
331 u64 *buffer_list, int list_len) in mthca_arbel_write_mtt_seg()
352 mtts[i] = cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT); in mthca_arbel_write_mtt_seg()
359 int start_index, u64 *buffer_list, int list_len) in mthca_write_mtt()
366 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); in mthca_write_mtt()
372 buffer_list, chun in mthca_write_mtt()
254 __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) __mthca_write_mtt() argument
315 mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) mthca_tavor_write_mtt_seg() argument
329 mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) mthca_arbel_write_mtt_seg() argument
358 mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) mthca_write_mtt() argument
519 mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, u64 *buffer_list, int buffer_size_shift, int list_len, u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) mthca_mr_alloc_phys() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c253 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt()
271 mtt_entry[i + 2] = cpu_to_be64(buffer_list[i] | in __mthca_write_mtt()
289 buffer_list += i; in __mthca_write_mtt()
315 u64 *buffer_list, int list_len) in mthca_tavor_write_mtt_seg()
323 mthca_write64_raw(cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT), in mthca_tavor_write_mtt_seg()
329 u64 *buffer_list, int list_len) in mthca_arbel_write_mtt_seg()
350 mtts[i] = cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT); in mthca_arbel_write_mtt_seg()
357 int start_index, u64 *buffer_list, int list_len) in mthca_write_mtt()
364 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); in mthca_write_mtt()
370 buffer_list, chun in mthca_write_mtt()
252 __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) __mthca_write_mtt() argument
313 mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) mthca_tavor_write_mtt_seg() argument
327 mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) mthca_arbel_write_mtt_seg() argument
356 mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) mthca_write_mtt() argument
516 mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, u64 *buffer_list, int buffer_size_shift, int list_len, u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) mthca_mr_alloc_phys() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/
H A Dindustrialio-buffer.c38 return !list_empty(&buf->buffer_list); in iio_buffer_is_active()
334 INIT_LIST_HEAD(&buffer->buffer_list); in iio_buffer_init()
739 list_add(&buffer->buffer_list, &iio_dev_opaque->buffer_list); in iio_buffer_activate()
744 list_del_init(&buffer->buffer_list); in iio_buffer_deactivate()
755 &iio_dev_opaque->buffer_list, buffer_list) in iio_buffer_deactivate_all()
852 list_is_singular(&iio_dev_opaque->buffer_list)) in iio_verify_update()
857 list_for_each_entry(buffer, &iio_dev_opaque->buffer_list, buffer_list) { in iio_verify_update()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_qm.c912 struct list_head *buffer_list) in xfs_qm_reset_dqcounts_all()
958 xfs_buf_delwri_queue(bp, buffer_list); in xfs_qm_reset_dqcounts_all()
978 struct list_head *buffer_list) in xfs_qm_reset_dqcounts_buf()
1053 type, buffer_list); in xfs_qm_reset_dqcounts_buf()
1235 struct list_head *buffer_list = data; in xfs_qm_flush_one() local
1267 xfs_buf_delwri_pushbuf(bp, buffer_list); in xfs_qm_flush_one()
1278 xfs_buf_delwri_queue(bp, buffer_list); in xfs_qm_flush_one()
1295 LIST_HEAD (buffer_list); in xfs_qm_quotacheck()
1314 &buffer_list); in xfs_qm_quotacheck()
1322 &buffer_list); in xfs_qm_quotacheck()
906 xfs_qm_reset_dqcounts_all( struct xfs_mount *mp, xfs_dqid_t firstid, xfs_fsblock_t bno, xfs_filblks_t blkcnt, xfs_dqtype_t type, struct list_head *buffer_list) xfs_qm_reset_dqcounts_all() argument
974 xfs_qm_reset_dqcounts_buf( struct xfs_mount *mp, struct xfs_inode *qip, xfs_dqtype_t type, struct list_head *buffer_list) xfs_qm_reset_dqcounts_buf() argument
[all...]
H A Dxfs_log_recover.c1850 * - buffer_list for all buffers except cancelled/inode unlink buffers
1872 LIST_HEAD(buffer_list); in xlog_recover_reorder_trans()
1901 list_move_tail(&item->ri_list, &buffer_list); in xlog_recover_reorder_trans()
1920 if (!list_empty(&buffer_list)) in xlog_recover_reorder_trans()
1921 list_splice(&buffer_list, &trans->r_itemq); in xlog_recover_reorder_trans()
1946 struct list_head *buffer_list, in xlog_recover_items_pass2()
1957 error = item->ri_ops->commit_pass2(log, buffer_list, in xlog_recover_items_pass2()
1977 struct list_head *buffer_list) in xlog_recover_commit_trans()
2009 buffer_list, &ra_list); in xlog_recover_commit_trans()
2027 buffer_list, in xlog_recover_commit_trans()
1943 xlog_recover_items_pass2( struct xlog *log, struct xlog_recover *trans, struct list_head *buffer_list, struct list_head *item_list) xlog_recover_items_pass2() argument
1973 xlog_recover_commit_trans( struct xlog *log, struct xlog_recover *trans, int pass, struct list_head *buffer_list) xlog_recover_commit_trans() argument
2226 xlog_recovery_process_trans( struct xlog *log, struct xlog_recover *trans, char *dp, unsigned int len, unsigned int flags, int pass, struct list_head *buffer_list) xlog_recovery_process_trans() argument
2333 xlog_recover_process_ophdr( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead, char *dp, char *end, int pass, struct list_head *buffer_list) xlog_recover_process_ophdr() argument
2417 xlog_recover_process_data( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process_data() argument
2846 xlog_recover_process( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process() argument
[all...]
H A Dxfs_inode_item_recover.c70 * gather all the buffers we modify for writeback so we pass the buffer_list
79 struct list_head *buffer_list) in xfs_recover_inode_owner_change()
100 ip->i_ino, buffer_list); in xfs_recover_inode_owner_change()
108 ip->i_ino, buffer_list); in xfs_recover_inode_owner_change()
272 struct list_head *buffer_list, in xlog_recover_inode_commit_pass2()
533 buffer_list); in xlog_recover_inode_commit_pass2()
550 xfs_buf_delwri_queue(bp, buffer_list); in xlog_recover_inode_commit_pass2()
75 xfs_recover_inode_owner_change( struct xfs_mount *mp, struct xfs_dinode *dip, struct xfs_inode_log_format *in_f, struct list_head *buffer_list) xfs_recover_inode_owner_change() argument
270 xlog_recover_inode_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) xlog_recover_inode_commit_pass2() argument
H A Dxfs_dquot_item.c121 struct list_head *buffer_list)
159 if (!xfs_buf_delwri_queue(bp, buffer_list))
H A Dxfs_dquot_item_recover.c63 struct list_head *buffer_list, in xlog_recover_dquot_commit_pass2()
172 xfs_buf_delwri_queue(bp, buffer_list); in xlog_recover_dquot_commit_pass2()
61 xlog_recover_dquot_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) xlog_recover_dquot_commit_pass2() argument
H A Dxfs_icreate_item.c144 struct list_head *buffer_list, in xlog_recover_icreate_commit_pass2()
254 return xfs_ialloc_inode_init(mp, NULL, buffer_list, count, agno, agbno, in xlog_recover_icreate_commit_pass2()
142 xlog_recover_icreate_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) xlog_recover_icreate_commit_pass2() argument
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_inode_item_recover.c70 * gather all the buffers we modify for writeback so we pass the buffer_list
79 struct list_head *buffer_list) in xfs_recover_inode_owner_change()
100 ip->i_ino, buffer_list); in xfs_recover_inode_owner_change()
108 ip->i_ino, buffer_list); in xfs_recover_inode_owner_change()
198 struct list_head *buffer_list, in xlog_recover_inode_commit_pass2()
469 buffer_list); in xlog_recover_inode_commit_pass2()
475 xfs_buf_delwri_queue(bp, buffer_list); in xlog_recover_inode_commit_pass2()
75 xfs_recover_inode_owner_change( struct xfs_mount *mp, struct xfs_dinode *dip, struct xfs_inode_log_format *in_f, struct list_head *buffer_list) xfs_recover_inode_owner_change() argument
196 xlog_recover_inode_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) xlog_recover_inode_commit_pass2() argument
H A Dxfs_dquot_item.c121 struct list_head *buffer_list)
159 if (!xfs_buf_delwri_queue(bp, buffer_list))
268 struct list_head *buffer_list) in xfs_qm_qoff_logitem_push()
266 xfs_qm_qoff_logitem_push( struct xfs_log_item *lip, struct list_head *buffer_list) xfs_qm_qoff_logitem_push() argument
H A Dxfs_log_recover.c1830 * - buffer_list for all buffers except cancelled/inode unlink buffers
1852 LIST_HEAD(buffer_list); in xlog_recover_reorder_trans()
1881 list_move_tail(&item->ri_list, &buffer_list); in xlog_recover_reorder_trans()
1900 if (!list_empty(&buffer_list)) in xlog_recover_reorder_trans()
1901 list_splice(&buffer_list, &trans->r_itemq); in xlog_recover_reorder_trans()
1926 struct list_head *buffer_list, in xlog_recover_items_pass2()
1937 error = item->ri_ops->commit_pass2(log, buffer_list, in xlog_recover_items_pass2()
1957 struct list_head *buffer_list) in xlog_recover_commit_trans()
1989 buffer_list, &ra_list); in xlog_recover_commit_trans()
2007 buffer_list, in xlog_recover_commit_trans()
1923 xlog_recover_items_pass2( struct xlog *log, struct xlog_recover *trans, struct list_head *buffer_list, struct list_head *item_list) xlog_recover_items_pass2() argument
1953 xlog_recover_commit_trans( struct xlog *log, struct xlog_recover *trans, int pass, struct list_head *buffer_list) xlog_recover_commit_trans() argument
2206 xlog_recovery_process_trans( struct xlog *log, struct xlog_recover *trans, char *dp, unsigned int len, unsigned int flags, int pass, struct list_head *buffer_list) xlog_recovery_process_trans() argument
2313 xlog_recover_process_ophdr( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead, char *dp, char *end, int pass, struct list_head *buffer_list) xlog_recover_process_ophdr() argument
2397 xlog_recover_process_data( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process_data() argument
2827 xlog_recover_process( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process() argument
[all...]
H A Dxfs_dquot_item_recover.c62 struct list_head *buffer_list, in xlog_recover_dquot_commit_pass2()
157 xfs_buf_delwri_queue(bp, buffer_list); in xlog_recover_dquot_commit_pass2()
60 xlog_recover_dquot_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t current_lsn) xlog_recover_dquot_commit_pass2() argument
H A Dxfs_qm.c911 struct list_head *buffer_list) in xfs_qm_reset_dqcounts_all()
957 xfs_buf_delwri_queue(bp, buffer_list); in xfs_qm_reset_dqcounts_all()
977 struct list_head *buffer_list) in xfs_qm_reset_dqcounts_buf()
1052 type, buffer_list); in xfs_qm_reset_dqcounts_buf()
1222 struct list_head *buffer_list = data; in xfs_qm_flush_one() local
1250 xfs_buf_delwri_pushbuf(bp, buffer_list); in xfs_qm_flush_one()
1261 xfs_buf_delwri_queue(bp, buffer_list); in xfs_qm_flush_one()
1278 LIST_HEAD (buffer_list); in xfs_qm_quotacheck()
1297 &buffer_list); in xfs_qm_quotacheck()
1305 &buffer_list); in xfs_qm_quotacheck()
905 xfs_qm_reset_dqcounts_all( struct xfs_mount *mp, xfs_dqid_t firstid, xfs_fsblock_t bno, xfs_filblks_t blkcnt, xfs_dqtype_t type, struct list_head *buffer_list) xfs_qm_reset_dqcounts_all() argument
973 xfs_qm_reset_dqcounts_buf( struct xfs_mount *mp, struct xfs_inode *qip, xfs_dqtype_t type, struct list_head *buffer_list) xfs_qm_reset_dqcounts_buf() argument
[all...]
H A Dxfs_icreate_item.c143 struct list_head *buffer_list, in xlog_recover_icreate_commit_pass2()
253 return xfs_ialloc_inode_init(mp, NULL, buffer_list, count, agno, agbno, in xlog_recover_icreate_commit_pass2()
141 xlog_recover_icreate_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) xlog_recover_icreate_commit_pass2() argument
/kernel/linux/linux-5.10/include/linux/iio/
H A Diio-opaque.h10 * @buffer_list: list of all buffers currently attached
22 struct list_head buffer_list; member
H A Dbuffer_impl.h118 /* @buffer_list: Entry in the devices list of current buffers. */
119 struct list_head buffer_list; member
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_ag.h17 struct list_head buffer_list; /* buffer writeback list */ member
H A Dxfs_bmap_btree.c632 struct list_head *buffer_list) in xfs_bmbt_change_owner()
637 ASSERT(tp || buffer_list); in xfs_bmbt_change_owner()
638 ASSERT(!(tp && buffer_list)); in xfs_bmbt_change_owner()
646 error = xfs_btree_change_owner(cur, new_owner, buffer_list); in xfs_bmbt_change_owner()
627 xfs_bmbt_change_owner( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_ino_t new_owner, struct list_head *buffer_list) xfs_bmbt_change_owner() argument
/kernel/linux/linux-6.6/include/linux/iio/
H A Diio-opaque.h22 * @buffer_list: list of all buffers currently attached
55 struct list_head buffer_list; member
/kernel/linux/linux-5.10/drivers/media/usb/hackrf/
H A Dhackrf.c122 spinlock_t buffer_list_lock; /* Protects buffer_list */
438 struct list_head *buffer_list) in hackrf_get_next_buffer()
444 if (list_empty(buffer_list)) in hackrf_get_next_buffer()
447 buffer = list_entry(buffer_list->next, struct hackrf_buffer, list); in hackrf_get_next_buffer()
732 struct list_head *buffer_list; in hackrf_return_all_buffers() local
738 buffer_list = &dev->rx_buffer_list; in hackrf_return_all_buffers()
740 buffer_list = &dev->tx_buffer_list; in hackrf_return_all_buffers()
743 list_for_each_entry_safe(buffer, node, buffer_list, list) { in hackrf_return_all_buffers()
775 struct list_head *buffer_list; in hackrf_buf_queue() local
781 buffer_list in hackrf_buf_queue()
437 hackrf_get_next_buffer(struct hackrf_dev *dev, struct list_head *buffer_list) hackrf_get_next_buffer() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/hackrf/
H A Dhackrf.c122 spinlock_t buffer_list_lock; /* Protects buffer_list */
438 struct list_head *buffer_list) in hackrf_get_next_buffer()
444 if (list_empty(buffer_list)) in hackrf_get_next_buffer()
447 buffer = list_entry(buffer_list->next, struct hackrf_buffer, list); in hackrf_get_next_buffer()
732 struct list_head *buffer_list; in hackrf_return_all_buffers() local
738 buffer_list = &dev->rx_buffer_list; in hackrf_return_all_buffers()
740 buffer_list = &dev->tx_buffer_list; in hackrf_return_all_buffers()
743 list_for_each_entry_safe(buffer, node, buffer_list, list) { in hackrf_return_all_buffers()
775 struct list_head *buffer_list; in hackrf_buf_queue() local
781 buffer_list in hackrf_buf_queue()
437 hackrf_get_next_buffer(struct hackrf_dev *dev, struct list_head *buffer_list) hackrf_get_next_buffer() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_bmap_btree.c663 struct list_head *buffer_list) in xfs_bmbt_change_owner()
668 ASSERT(tp || buffer_list); in xfs_bmbt_change_owner()
669 ASSERT(!(tp && buffer_list)); in xfs_bmbt_change_owner()
675 error = xfs_btree_change_owner(cur, new_owner, buffer_list); in xfs_bmbt_change_owner()
658 xfs_bmbt_change_owner( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_ino_t new_owner, struct list_head *buffer_list) xfs_bmbt_change_owner() argument
/kernel/linux/linux-5.10/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c99 * @buffer_list: list of buffer in use
129 struct list_head buffer_list; member
234 if (list_empty(&vip->buffer_list)) {/* No available buffer */ in vip_active_buf_next()
238 vip->active = list_first_entry(&vip->buffer_list, in vip_active_buf_next()
306 list_add_tail(&vip_buf->list, &vip->buffer_list); in buffer_queue()
308 vip->active = list_first_entry(&vip->buffer_list, in buffer_queue()
359 list_for_each_entry_safe(vip_buf, node, &vip->buffer_list, list) { in stop_streaming()
861 INIT_LIST_HEAD(&vip->buffer_list); in sta2x11_vip_init_buffer()

Completed in 25 milliseconds

1234