Lines Matching refs:pmem_fd
393 pMem->pmem_fd = ion_data.ion_alloc_fd.fd;
395 pMem->pmem_fd = open(PMEM_DEVICE, O_RDWR);
396 if ((int)(pMem->pmem_fd) < 0)
403 MAP_SHARED, pMem->pmem_fd, pMem->offset);
406 close(pMem->pmem_fd);
407 pMem->pmem_fd = -1;
420 D("allocated pMem->fd = %d pvirt=0x%x, pMem->phys=0x%x, size = %d", pMem->pmem_fd,
432 close(pMem->pmem_fd);
433 pMem->pmem_fd = -1;