MCPcopy Index your code
hub / github.com/git/git / xmmap

Function xmmap

wrapper.c:904–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904void *xmmap(void *start, size_t length,
905 int prot, int flags, int fd, off_t offset)
906{
907 void *ret = xmmap_gently(start, length, prot, flags, fd, offset);
908 if (ret == MAP_FAILED)
909 die_errno(_("mmap failed%s"), mmap_os_err());
910 return ret;
911}

Callers 14

open_midx_bitmap_1Function · 0.85
open_pack_bitmap_1Function · 0.85
verify_bitmap_fileFunction · 0.85
map_fdFunction · 0.85
index_coreFunction · 0.85
check_packed_git_idxFunction · 0.85
load_pack_mtimes_fileFunction · 0.85
load_revindex_from_diskFunction · 0.85
diff_populate_filespecFunction · 0.85
allocate_snapshot_bufferFunction · 0.85

Calls 3

xmmap_gentlyFunction · 0.85
die_errnoFunction · 0.85
mmap_os_errFunction · 0.85

Tested by

no test coverage detected