Searched refs:mapped (Results 1 - 4 of 4) sorted by relevance
| /PHP_5_5/main/streams/ |
| H A D | mmap.c | 32 range.mapped = NULL; 44 return range.mapped;
|
| H A D | php_stream_mmap.h | 33 /* Request a range and offset to be mapped; 34 * while mapped, you MUST NOT use any read/write functions 37 /* Unmap the last range that was mapped for the stream */ 50 * If length is 0, the whole file is mapped */ 56 /* returned mapped address */ 57 char *mapped; member in struct:__anon293 65 /* Returns 1 if the stream in its current state can be memory mapped, 73 /* un-maps the last mapped range */
|
| H A D | plain_wrapper.c | 668 range->mapped = (char*)mmap(NULL, range->length, prot, flags, fd, range->offset); 669 if (range->mapped == (char*)MAP_FAILED) { 670 range->mapped = NULL; 674 data->last_mapped_addr = range->mapped; 756 range->mapped = data->last_mapped_addr + delta;
|
| H A D | streams.c | 1394 size_t mapped; local 1396 p = php_stream_mmap_range(stream, php_stream_tell(stream), PHP_STREAM_MMAP_ALL, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped); 1399 PHPWRITE(p, mapped); 1401 php_stream_mmap_unmap_ex(stream, mapped); 1403 return mapped; 1522 size_t mapped; local 1524 p = php_stream_mmap_range(src, php_stream_tell(src), maxlen, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped); 1527 didwrite = php_stream_write(dest, p, mapped); 1529 php_stream_mmap_unmap_ex(src, mapped); 1536 if (mapped > [all...] |
Completed in 18 milliseconds