/hardware/msm7k/libgralloc-qsd8k/ |
pmemalloc.h | 69 virtual int connectPmem(int fd, int master_fd) = 0; 98 master_fd = fd; 114 int master_fd; member in class:PmemUserspaceAllocator
|
/hardware/msm7k/libgralloc/ |
gralloc.cpp | 197 int master_fd = open("/dev/pmem", O_RDWR, 0); local 198 if (master_fd >= 0) { 202 if (ioctl(master_fd, PMEM_GET_TOTAL_SIZE, ®ion) < 0) { 211 PROT_READ|PROT_WRITE, MAP_SHARED, master_fd, 0); 215 close(master_fd); 216 master_fd = -1; 218 m->pmem_master = master_fd;
|
/external/ppp/pppd/ |
sys-linux.c | 179 static int master_fd = -1; /* pty for old-style demand mode, master */ variable 370 if (master_fd >= 0) 371 close(master_fd); 693 int master_fd; local 698 master_fd = open("/dev/ppp", O_RDWR); 699 if (master_fd < 0) 701 if (ioctl(master_fd, PPPIOCATTACH, &ifnum) < 0) { 703 close(master_fd); 710 modify_flags(master_fd, 0, SC_MULTILINK); 711 close(master_fd); [all...] |