Searched refs:histfsize (Results 1 – 1 of 1) sorted by relevance
69 static off_t histfsize; variable549 histfsize = 0; in sethistfile()798 histfsize = lseek(histfd, (off_t)0, SEEK_END); in hist_persist_init()799 if (histfsize > MKSH_MAXHISTFSIZE) { in hist_persist_init()802 } else if (histfsize > 2) { in hist_persist_init()804 base = (void *)mmap(NULL, (size_t)histfsize, PROT_READ, in hist_persist_init()809 munmap(caddr_cast(base), (size_t)histfsize); in hist_persist_init()813 lines = histload(hist_source, base + 2, (size_t)histfsize - 2); in hist_persist_init()814 munmap(caddr_cast(base), (size_t)histfsize); in hist_persist_init()862 } else if (histfsize != 0) { in hist_persist_init()[all …]