Lines Matching refs:pmem_fd
1221 OMX_U32 pmem_fd = -1;
1257 pmem_fd = recon_buff[count].ion_alloc_fd.fd;
1259 pmem_fd = open(MEM_DEVICE, O_RDWR);
1261 if ((int)(pmem_fd) < 0)
1273 if (ioctl(pmem_fd, PMEM_ALLOCATE_ALIGNED, &allocation) < 0)
1282 MAP_SHARED, pmem_fd, 0);
1286 close(pmem_fd);
1287 pmem_fd = -1;
1302 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size);
1305 recon_addr.pmem_fd = pmem_fd;
1319 recon_buff[count].pmem_fd = pmem_fd;
1322 recon_buff[count].pmem_fd, recon_buff[count].size, count);
1332 if(recon_buff[cnt].pmem_fd)
1336 recon_addr.pmem_fd = recon_buff[cnt].pmem_fd;
1341 close(recon_buff[cnt].pmem_fd);
1353 recon_buff[cnt].pmem_fd = -1;