Searched refs:map_ptr (Results 1 – 2 of 2) sorted by relevance
224 void *map_ptr; /* where it is currently mapped */ member888 if (tdb->map_ptr) { in tdb_write()889 memcpy(off + (char *)tdb->map_ptr, buf, len); in tdb_write()918 if (tdb->map_ptr) { in tdb_read()919 memcpy(buf, off + (char *)tdb->map_ptr, len); in tdb_read()947 if (tdb->map_ptr) { in tdb_next_hash_chain()949 if (0 != *(u32 *)(TDB_HASH_TOP(h) + (unsigned char *)tdb->map_ptr)) { in tdb_next_hash_chain()971 if (tdb->map_ptr) { in tdb_munmap()972 int ret = munmap(tdb->map_ptr, tdb->map_size); in tdb_munmap()977 tdb->map_ptr = NULL; in tdb_munmap()[all …]
332 Handle<External> map_ptr = External::New(GetIsolate(), obj); in WrapMap() local335 result->SetInternalField(0, map_ptr); in WrapMap()