| 103 | } |
| 104 | |
| 105 | static void AddMountInternal(HContext ctx, const ArchiveMount& mount) |
| 106 | { |
| 107 | DM_MUTEX_SCOPED_LOCK(ctx->m_Mutex); |
| 108 | |
| 109 | if (ctx->m_Mounts.Full()) |
| 110 | ctx->m_Mounts.OffsetCapacity(2); |
| 111 | |
| 112 | ctx->m_Mounts.Push(mount); |
| 113 | SortMounts(ctx->m_Mounts); |
| 114 | |
| 115 | DM_RESOURCE_DBG_LOG(1, "Added archive %p with prio %d\n", mount.m_Archive, mount.m_Priority); |
| 116 | } |
| 117 | |
| 118 | static void DebugPrintMount(int level, const ArchiveMount& mount) |
| 119 | { |
no test coverage detected