Searched refs:mmap_base (Results 1 - 3 of 3) sorted by relevance

/sssd/src/sss_client/
H A Dnss_mc_common.c69 (struct sss_mc_header *)ctx->mmap_base,
90 ctx->data_table = MC_PTR_ADD(ctx->mmap_base, h.data_table);
91 ctx->hash_table = MC_PTR_ADD(ctx->mmap_base, h.hash_table);
96 ctx->data_table != MC_PTR_ADD(ctx->mmap_base, h.data_table) ||
97 ctx->hash_table != MC_PTR_ADD(ctx->mmap_base, h.hash_table) ||
121 if ((ctx->mmap_base != NULL) && (ctx->mmap_size != 0)) {
122 munmap(ctx->mmap_base, ctx->mmap_size);
171 ctx->mmap_base = mmap(NULL, ctx->mmap_size,
173 if (ctx->mmap_base == MAP_FAILED) {
H A Dnss_mc.h49 void *mmap_base; /* base address of mmap */ member in struct:sss_cli_mc_ctx
/sssd/src/responder/nss/
H A Dnsssrv_mmap_cache.c63 void *mmap_base; /* base address of mmap */ member in struct:sss_mc_ctx
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
[all...]

Completed in 1412 milliseconds