Lines Matching refs:errno
168 ALOGE("memfd_create failed: %s, no memfd support.\n", strerror(errno)); in __has_memfd_support()
173 ALOGE("fcntl(F_ADD_SEALS) failed: %s, no memfd support.\n", strerror(errno)); in __has_memfd_support()
196 ALOGE("Failed to read %s: %s.\n", boot_id_path.c_str(), strerror(errno)); in get_ashmem_device_path()
217 int saved_errno = errno; in __ashmem_open_locked()
223 ashmem_device_path.c_str(), strerror(saved_errno), strerror(errno)); in __ashmem_open_locked()
230 int save_errno = errno; in __ashmem_open_locked()
232 errno = save_errno; in __ashmem_open_locked()
237 errno = ENOTTY; in __ashmem_open_locked()
303 errno = ENOTTY; in __ashmem_is_ashmem()
309 if (result == -1 && errno == ENOTTY) __ashmem_is_ashmem(fd, 1); in __ashmem_check_failure()
343 ALOGE("memfd_create(%s, %zd) failed: %s\n", name, size, strerror(errno)); in memfd_create_region()
348 ALOGE("ftruncate(%s, %zd) failed for memfd creation: %s\n", name, size, strerror(errno)); in memfd_create_region()
402 save_errno = errno; in ashmem_create_region()
404 errno = save_errno; in ashmem_create_region()
411 ALOGE("memfd_set_prot_region(%d, %d): F_GET_SEALS failed: %s\n", fd, prot, strerror(errno)); in memfd_set_prot_region()
421 errno = EINVAL; // inline with ashmem error code, if already in in memfd_set_prot_region()
431 fd, prot, strerror(errno)); in memfd_set_prot_region()
485 ALOGE("ashmem_get_size_region(%d): fstat failed: %s\n", fd, strerror(errno)); in ashmem_get_size_region()