Searched refs:zflags (Results 1 – 2 of 2) sorted by relevance
53 int zflags = p2z(prot, flags); in mmap() local55 if ((len == 0) || (zflags == -1)) { in mmap()82 virt = k_mem_map(len, zflags); in mmap()88 zflags); in mmap()
274 static int lfs_flags_from_zephyr(unsigned int zflags) in lfs_flags_from_zephyr() argument276 int flags = (zflags & FS_O_CREATE) ? LFS_O_CREAT : 0; in lfs_flags_from_zephyr()281 flags |= (zflags & FS_O_READ) ? LFS_O_RDONLY : 0; in lfs_flags_from_zephyr()282 flags |= (zflags & FS_O_WRITE) ? LFS_O_WRONLY : 0; in lfs_flags_from_zephyr()284 flags |= (zflags & FS_O_APPEND) ? LFS_O_APPEND : 0; in lfs_flags_from_zephyr()290 fs_mode_t zflags) in littlefs_open() argument294 int flags = lfs_flags_from_zephyr(zflags); in littlefs_open()