Lines Matching defs:mmap_base
63 void *mmap_base; /* base address of mmap */
165 written = sss_atomic_write_s(fd, mc_ctx->mmap_base, mc_ctx->mmap_size);
1162 h = (struct sss_mc_header *)mc_ctx->mmap_base;
1167 h->hash_table = MC_PTR_DIFF(mc_ctx->hash_table, mc_ctx->mmap_base);
1168 h->free_table = MC_PTR_DIFF(mc_ctx->free_table, mc_ctx->mmap_base);
1169 h->data_table = MC_PTR_DIFF(mc_ctx->data_table, mc_ctx->mmap_base);
1189 if (mc_ctx->mmap_base != NULL) {
1190 ret = munmap(mc_ctx->mmap_base, mc_ctx->mmap_size);
1290 mc_ctx->mmap_base = mmap(NULL, mc_ctx->mmap_size,
1293 if (mc_ctx->mmap_base == MAP_FAILED) {
1301 mc_ctx->data_table = MC_PTR_ADD(mc_ctx->mmap_base, MC_HEADER_SIZE);