Lines Matching refs:map_size
1084 Py_ssize_t map_size; in new_mmap_object() local
1094 &fd, &map_size, &flags, &prot, in new_mmap_object()
1097 if (map_size < 0) { in new_mmap_object()
1156 if (map_size == 0) { in new_mmap_object()
1172 map_size = (Py_ssize_t) (st.st_size - offset); in new_mmap_object()
1173 } else if (offset > st.st_size || st.st_size - offset < map_size) { in new_mmap_object()
1183 m_obj->size = map_size; in new_mmap_object()
1213 m_obj->data = mmap(NULL, map_size, in new_mmap_object()
1243 Py_ssize_t map_size; in new_mmap_object() local
1260 &fileno, &map_size, in new_mmap_object()
1283 if (map_size < 0) { in new_mmap_object()
1344 if (!map_size) { in new_mmap_object()
1376 m_obj->size = map_size; in new_mmap_object()
1377 size = offset + map_size; in new_mmap_object()
1381 m_obj->size = map_size; in new_mmap_object()
1382 size = offset + map_size; in new_mmap_object()