Lines Matching refs:map_size
1143 Py_ssize_t map_size; in new_mmap_object() local
1153 &fd, &map_size, &flags, &prot, in new_mmap_object()
1156 if (map_size < 0) { in new_mmap_object()
1202 fd, map_size, access, offset) < 0) { in new_mmap_object()
1220 if (map_size == 0) { in new_mmap_object()
1236 map_size = (Py_ssize_t) (status.st_size - offset); in new_mmap_object()
1237 } else if (offset > status.st_size || status.st_size - offset < map_size) { in new_mmap_object()
1246 m_obj->size = map_size; in new_mmap_object()
1284 m_obj->data = mmap(NULL, map_size, in new_mmap_object()
1314 Py_ssize_t map_size; in new_mmap_object() local
1331 &fileno, &map_size, in new_mmap_object()
1337 fileno, map_size, access, offset) < 0) { in new_mmap_object()
1359 if (map_size < 0) { in new_mmap_object()
1416 if (!map_size) { in new_mmap_object()
1448 m_obj->size = map_size; in new_mmap_object()
1449 size = offset + map_size; in new_mmap_object()
1453 m_obj->size = map_size; in new_mmap_object()
1454 size = offset + map_size; in new_mmap_object()