# fake_bti Namespace

# fake_bti

## Summary

| ### Functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/namespace/fake-bti#namespacefake__bti_1aedfa5527b30963a3543db090625a50b7()` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result< https://fuchsia.dev/reference/cpp/class/zx/bti#classzx_1_1bti >` |
| `https://fuchsia.dev/reference/cpp/namespace/fake-bti#namespacefake__bti_1a830125a5a2caac065b8e3fb5133d8a2a(https://fuchsia.dev/reference/cpp/other/singletoncpp20/span#singletoncpp20_1_1span< const zx_paddr_t > paddrs)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result< https://fuchsia.dev/reference/cpp/class/zx/bti#classzx_1_1bti >` |
| `https://fuchsia.dev/reference/cpp/namespace/fake-bti#namespacefake__bti_1a3a4893358509844832b61701fc9e34fb(https://fuchsia.dev/reference/cpp/other/singletonzx/unowned#singletonzx_1_1unowned bti)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result< std::vector< https://fuchsia.dev/reference/cpp/struct/fake-bti/fake-bti-pinned-vmo-info#structfake__bti_1_1_fake_bti_pinned_vmo_info > >` |
| `https://fuchsia.dev/reference/cpp/namespace/fake-bti#namespacefake__bti_1a048e0ea8d62c5b0d1be82ceb2b69b277(https://fuchsia.dev/reference/cpp/other/singletonzx/unowned#singletonzx_1_1unowned bti, https://fuchsia.dev/reference/cpp/struct/fake-bti/fake-bti-pinned-vmo-info#structfake__bti_1_1_fake_bti_pinned_vmo_info & vmo_info)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result< std::vector< zx_paddr_t > >` |
| `https://fuchsia.dev/reference/cpp/namespace/fake-bti#namespacefake__bti_1aa83102974255090cf73a457f0f2ff648(https://fuchsia.dev/reference/cpp/other/singletonzx/unowned#singletonzx_1_1unowned bti, https://fuchsia.dev/reference/cpp/other/singletoncpp20/span#singletoncpp20_1_1span< const zx_paddr_t > paddrs)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result` |

| ### Structs ||
|---|---|
| [fake_bti::FakeBtiPinnedVmoInfo](https://fuchsia.dev/reference/cpp/struct/fake-bti/fake-bti-pinned-vmo-info) |   |

## Functions

### CreateFakeBti

```c++
zx::result< zx::bti > CreateFakeBti()
```

### CreateFakeBtiWithPaddrs

```c++
zx::result< zx::bti > CreateFakeBtiWithPaddrs(
  cpp20::span< const zx_paddr_t > paddrs
)
```

### GetPinnedVmo

```c++
zx::result< std::vector< FakeBtiPinnedVmoInfo > > GetPinnedVmo(
  zx::unowned_bti bti
)
```

### GetVmoPhysAddress

```c++
zx::result< std::vector< zx_paddr_t > > GetVmoPhysAddress(
  zx::unowned_bti bti,
  FakeBtiPinnedVmoInfo & vmo_info
)
```

### SetPaddrs

```c++
zx::result SetPaddrs(
  zx::unowned_bti bti,
  cpp20::span< const zx_paddr_t > paddrs
)
```