Searched refs:last_buf (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/char/drm/ |
D | gamma_dma.c | 353 drm_buf_t *last_buf = NULL; in gamma_dma_priority() local 459 if (last_buf) { in gamma_dma_priority() 460 gamma_free_buffer(dev, last_buf); in gamma_dma_priority() 462 last_buf = buf; in gamma_dma_priority() 467 if (last_buf) { in gamma_dma_priority() 469 gamma_free_buffer(dev, last_buf); in gamma_dma_priority() 485 drm_buf_t *last_buf = NULL; in gamma_dma_send_buffers() local 490 last_buf = dma->buflist[d->send_indices[d->send_count-1]]; in gamma_dma_send_buffers() 491 add_wait_queue(&last_buf->dma_wait, &entry); in gamma_dma_send_buffers() 496 remove_wait_queue(&last_buf->dma_wait, &entry); in gamma_dma_send_buffers() [all …]
|
D | radeon_cp.c | 1252 dev_priv->last_buf = 0; in radeon_do_init_cp() 1473 if ( ++dev_priv->last_buf >= dma->buf_count ) in radeon_freelist_get() 1474 dev_priv->last_buf = 0; in radeon_freelist_get() 1476 start = dev_priv->last_buf; in radeon_freelist_get() 1513 if ( ++dev_priv->last_buf >= dma->buf_count ) 1514 dev_priv->last_buf = 0; 1516 start = dev_priv->last_buf; 1543 dev_priv->last_buf = 0; in radeon_freelist_reset()
|
D | radeon_drv.h | 86 int last_buf; member
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | gamma_dma.c | 393 drm_buf_t *last_buf = NULL; in gamma_dma_priority() local 500 if (last_buf) { in gamma_dma_priority() 501 drm_free_buffer(dev, last_buf); in gamma_dma_priority() 503 last_buf = buf; in gamma_dma_priority() 508 if (last_buf) { in gamma_dma_priority() 510 drm_free_buffer(dev, last_buf); in gamma_dma_priority() 526 drm_buf_t *last_buf = NULL; in gamma_dma_send_buffers() local 531 last_buf = dma->buflist[d->send_indices[d->send_count-1]]; in gamma_dma_send_buffers() 532 add_wait_queue(&last_buf->dma_wait, &entry); in gamma_dma_send_buffers() 537 remove_wait_queue(&last_buf->dma_wait, &entry); in gamma_dma_send_buffers() [all …]
|
D | radeon_cp.c | 820 dev_priv->last_buf = 0; in radeon_do_init_cp() 1144 buf->idx, dev_priv->last_buf ); 1152 if ( ++dev_priv->last_buf >= dma->buf_count ) 1153 dev_priv->last_buf = 0; 1154 start = dev_priv->last_buf; 1175 …DRM_DEBUG( " ret buf=%d last=%d age=%d done=%d\n", buf->idx, dev_priv->last_buf, buf_priv->age, d… 1201 dev_priv->last_buf = 0;
|
D | radeon_drv.h | 80 int last_buf; member
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_da_btree.c | 1793 xfs_dabuf_t *dead_buf, *last_buf, *sib_buf, *par_buf; in xfs_da_swap_lastblock() local 1828 if ((error = xfs_da_read_buf(tp, ip, last_blkno, -1, &last_buf, w))) in xfs_da_swap_lastblock() 1833 memcpy(dead_buf->data, last_buf->data, mp->m_dirblksize); in xfs_da_swap_lastblock() 1981 *dead_bufp = last_buf; in xfs_da_swap_lastblock() 1988 xfs_da_brelse(tp, last_buf); in xfs_da_swap_lastblock()
|