Lines Matching defs:pmem_fd
1251 OMX_U32 pmem_fd = -1;
1290 pmem_fd = recon_buff[count].ion_alloc_fd.fd;
1293 pmem_fd = open(MEM_DEVICE, O_RDWR);
1295 if ((int)(pmem_fd) < 0)
1307 if (ioctl(pmem_fd, PMEM_ALLOCATE_ALIGNED, &allocation) < 0)
1317 MAP_SHARED, pmem_fd, 0);
1321 close(pmem_fd);
1322 pmem_fd = -1;
1338 DEBUG_PRINT_HIGH("\n Allocated virt:%p, FD: %d of size %d \n", buf_addr, pmem_fd, size);
1341 recon_addr.pmem_fd = pmem_fd;
1346 recon_addr.pbuffer = (unsigned char *)(pmem_fd + 1);
1360 recon_buff[count].pmem_fd = pmem_fd;
1363 recon_buff[count].pmem_fd, recon_buff[count].size, count);
1374 if(recon_buff[cnt].pmem_fd)
1378 recon_addr.pmem_fd = recon_buff[cnt].pmem_fd;
1386 close(recon_buff[cnt].pmem_fd);
1398 recon_buff[cnt].pmem_fd = -1;