HomeSort by: relevance | last modified time | path
    Searched defs:mappedsize (Results 1 - 6 of 6) sorted by relevancy

  /src/lib/libc/gen/
nlist_ecoff.c 62 ((size_t)off >= mappedsize || (size_t)(off + size) > mappedsize)
73 size_t mappedsize; local in function:__fdnlist_ecoff
97 mappedsize = (size_t)st.st_size;
98 mappedfile = mmap(NULL, mappedsize, PROT_READ, MAP_PRIVATE|MAP_FILE,
121 if ((symhdroff + sizeof *symhdrp) > mappedsize ||
181 munmap(__UNCONST(mappedfile), mappedsize);
nlist_coff.c 88 size_t mappedsize; local in function:__fdnlist_coff
111 mappedsize = (size_t)st.st_size;
112 mappedfile = mmap(NULL, mappedsize, PROT_READ, MAP_PRIVATE|MAP_FILE,
122 if (mappedsize < sizeof (struct coff_filehdr))
135 if (symoff + ES_LEN * nesyms > mappedsize)
190 munmap(mappedfile, mappedsize);
nlist_elf32.c 72 #define check(off, size) (off + size > mappedsize)
96 size_t mappedsize, nsyms; local in function:ELFNAMEEND
222 mappedsize = (size_t)st.st_size;
223 mappedfile = mmap(NULL, mappedsize, PROT_READ, MAP_PRIVATE|MAP_FILE,
337 munmap(mappedfile, mappedsize);
  /src/usr.sbin/kvm_mkdb/
nlist_coff.c 73 #define check(off, size) ((off < 0) || (off + size > mappedsize))
90 size_t mappedsize, symnamesize, fsymnamesize; local in function:create_knlist_coff
120 mappedsize = st.st_size;
121 mappedfile = mmap(NULL, mappedsize, PROT_READ, MAP_FILE|MAP_PRIVATE,
346 munmap(mappedfile, mappedsize);
nlist_ecoff.c 73 #define check(off, size) ((off < 0) || (off + size > mappedsize))
91 size_t mappedsize, symnamesize, fsymnamesize; local in function:create_knlist_ecoff
117 mappedsize = st.st_size;
118 mappedfile = mmap(NULL, mappedsize, PROT_READ, MAP_FILE|MAP_PRIVATE,
270 munmap(mappedfile, mappedsize);
nlist_elf32.c 86 #define check(off, size) ((off < 0) || (off + size > mappedsize))
101 size_t mappedsize, symnamesize, fsymnamesize; variable in typeref:typename:size_t
143 mappedsize = st.st_size;
147 if (mappedsize == 0) {
152 mappedfile = mmap(NULL, mappedsize, PROT_READ,
165 mappedsize = allocsiz;
167 allocsiz = mappedsize;
169 if ((mappedfile = malloc(mappedsize)) == NULL)
172 if ((readsz = read(fd, mappedfile, mappedsize)) < 0)
175 if (readsz != mappedsize) /* Sanity *
    [all...]

Completed in 38 milliseconds