Home
last modified time | relevance | path

Searched refs:totalLength (Results 1 – 7 of 7) sorted by relevance

/open-nvidia-gpu/src/nvidia/src/kernel/virtualization/hypervisor/
H A Dhypervisor.c166 NvU64 totalLength = 0; in _hypervisorDetection_HVM()
171 if (osGetSmbiosTable(&pSmbiosTable, &totalLength, &numSubTypes, &version) != NV_OK) in _hypervisorDetection_HVM()
181 while (i < totalLength) in _hypervisorDetection_HVM()
194 if ((i + 2ULL) <= totalLength) in _hypervisorDetection_HVM()
215 while (((i + 2ULL) <= totalLength) && (tableStart[i] || tableStart[i + 1])) in _hypervisorDetection_HVM()
219 if ((i + 2ULL) <= totalLength) in _hypervisorDetection_HVM()
237 osPutSmbiosTable(pSmbiosTable, totalLength); in _hypervisorDetection_HVM()
/open-nvidia-gpu/src/nvidia-modeset/src/
H A Dnvkms-utils.c123 char *s, NvU16 totalLength) in nvInitInfoString() argument
127 pInfoString->totalLength = totalLength; in nvInitInfoString()
138 size_t size = pInfoString->totalLength - pInfoString->length; in LogInfoString()
164 nvAssert(pInfoString->length < pInfoString->totalLength); in LogInfoString()
H A Dnvkms-dpy.c2795 NvU32 totalLength = 0; in nvGetDpyIdListStringEvo() local
2806 totalLength += lengths[index]; in nvGetDpyIdListStringEvo()
2809 totalLength += 2; /* nvkms_strlen(", ") */ in nvGetDpyIdListStringEvo()
2815 totalLength += 1; /* for nul terminator */ in nvGetDpyIdListStringEvo()
2821 listString = nvAlloc(totalLength); in nvGetDpyIdListStringEvo()
2848 nvAssert(currentOffset == totalLength); in nvGetDpyIdListStringEvo()
H A Dnvkms-evo.c186 .totalLength = 0,
/open-nvidia-gpu/src/nvidia/src/kernel/gpu/gr/
H A Dkernel_sm_debugger_session_ctrl.c102 NvU64 totalLength; in _nv83deCtrlCmdValidateRange() local
115 …ize == 0 || !portSafeAddU64(pParams->opsBuffer[i].gpuVA, pParams->opsBuffer[i].size, &totalLength)) in _nv83deCtrlCmdValidateRange()
509 NvU64 totalLength; in _nv83deCtrlCmdDebugAccessMemory() local
545 if ((length == 0) || (!portSafeAddU64(offset, length, &totalLength))) in _nv83deCtrlCmdDebugAccessMemory()
547 if (totalLength > pMemDesc->Size) in _nv83deCtrlCmdDebugAccessMemory()
/open-nvidia-gpu/src/nvidia-modeset/include/
H A Dnvkms-utils.h242 char *s, NvU16 totalLength);
H A Dnvkms-types.h2531 NvU16 totalLength; /*! number of bytes in the buffer pointed to by 's' */ member