<dec f='src/src/sys/external/bsd/drm2/dist/include/drm/drmP.h' l='1536' type='int drm_addbufs(struct drm_device * dev, void * data, struct drm_file * file_priv)'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/drm_bufs.c' l='1215' ll='1240' type='int drm_addbufs(struct drm_device * dev, void * data, struct drm_file * file_priv)'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/drm_bufs.c' l='1201'>/**
 * Add buffers for DMA transfers (ioctl).
 *
 * \param inode device inode.
 * \param file_priv DRM file private.
 * \param cmd command.
 * \param arg pointer to a struct drm_buf_desc request.
 * \return zero on success or a negative number on failure.
 *
 * According with the memory type specified in drm_buf_desc::flags and the
 * build options, it dispatches the call either to addbufs_agp(),
 * addbufs_sg() or addbufs_pci() for AGP, scatter-gather or consistent
 * PCI memory respectively.
 */</doc>
<use f='src/src/sys/external/bsd/drm2/drm/drm_drv.c' l='154'/>
<use f='src/src/sys/external/bsd/drm2/drm/drm_drv.c' l='154'/>
<use f='src/src/sys/external/bsd/drm2/drm/drm_drv.c' l='154'/>
<use f='src/src/sys/external/bsd/drm2/drm/drm_drv.c' l='154'/>
