Lines Matching refs:image
45 int file_image_open (file_image * image, const char * filename) in file_image_open() argument
52 if (image == NULL) in file_image_open()
55 image->m_base = MAP_FAILED, image->m_size = 0; in file_image_open()
73 image->m_base = p, image->m_size = st.st_size; in file_image_open()
83 int file_image_pagein (file_image * image) in file_image_pagein() argument
90 if (image == NULL) in file_image_pagein()
93 if ((w.m_base = image->m_base) == NULL) in file_image_pagein()
95 if ((w.m_size = image->m_size) == 0) in file_image_pagein()
136 int file_image_close (file_image * image) in file_image_close() argument
138 if (image == NULL) in file_image_close()
141 if (munmap (image->m_base, image->m_size) == -1) in file_image_close()
144 image->m_base = NULL, image->m_size = 0; in file_image_close()