Lines Matching refs:retcode
168 int retcode = 0; in i830_map_buffer() local
185 retcode = (signed int)buf_priv->virtual; in i830_map_buffer()
190 return retcode; in i830_map_buffer()
196 int retcode = 0; in i830_unmap_buffer() local
202 retcode = DO_MUNMAP(current->mm, in i830_unmap_buffer()
210 return retcode; in i830_unmap_buffer()
219 int retcode = 0; in i830_dma_get_buffer() local
223 retcode = -ENOMEM; in i830_dma_get_buffer()
224 DRM_DEBUG("retcode=%d\n", retcode); in i830_dma_get_buffer()
225 return retcode; in i830_dma_get_buffer()
228 retcode = i830_map_buffer(buf, filp); in i830_dma_get_buffer()
229 if(retcode) { in i830_dma_get_buffer()
231 DRM_ERROR("mapbuf failed, retcode %d\n", retcode); in i830_dma_get_buffer()
232 return retcode; in i830_dma_get_buffer()
241 return retcode; in i830_dma_get_buffer()
484 int retcode = 0; in i830_dma_init() local
494 retcode = i830_dma_initialize(dev, dev_priv, &init); in i830_dma_init()
497 retcode = i830_dma_cleanup(dev); in i830_dma_init()
500 retcode = -EINVAL; in i830_dma_init()
504 return retcode; in i830_dma_init()
1487 int retcode = 0; in i830_getbuf() local
1505 retcode = i830_dma_get_buffer(dev, &d, filp); in i830_getbuf()
1508 current->pid, retcode, d.granted); in i830_getbuf()
1514 return retcode; in i830_getbuf()