Lines Matching refs:map_size
1037 Py_ssize_t map_size; in new_mmap_object() local
1047 &fd, &map_size, &flags, &prot, in new_mmap_object()
1050 if (map_size < 0) { in new_mmap_object()
1109 if (map_size == 0) { in new_mmap_object()
1125 map_size = (Py_ssize_t) (status.st_size - offset); in new_mmap_object()
1126 } else if (offset > status.st_size || status.st_size - offset < map_size) { in new_mmap_object()
1135 m_obj->size = map_size; in new_mmap_object()
1166 m_obj->data = mmap(NULL, map_size, in new_mmap_object()
1196 Py_ssize_t map_size; in new_mmap_object() local
1213 &fileno, &map_size, in new_mmap_object()
1236 if (map_size < 0) { in new_mmap_object()
1296 if (!map_size) { in new_mmap_object()
1328 m_obj->size = map_size; in new_mmap_object()
1329 size = offset + map_size; in new_mmap_object()
1333 m_obj->size = map_size; in new_mmap_object()
1334 size = offset + map_size; in new_mmap_object()