Home
last modified time | relevance | path

Searched refs:pSid (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsSemaphore.c17 qatUtilsSemaphoreInit(struct sema **pSid, uint32_t start_value) in qatUtilsSemaphoreInit() argument
19 if (!pSid) in qatUtilsSemaphoreInit()
22 *pSid = malloc(sizeof(struct sema), M_QAT, M_WAITOK); in qatUtilsSemaphoreInit()
24 sema_init(*pSid, start_value, "qat sema"); in qatUtilsSemaphoreInit()
42 qatUtilsSemaphoreWait(struct sema **pSid, int32_t timeout) in qatUtilsSemaphoreWait() argument
48 if (!pSid) in qatUtilsSemaphoreWait()
64 sema_wait(*pSid); in qatUtilsSemaphoreWait()
66 if (sema_trywait(*pSid)) { in qatUtilsSemaphoreWait()
72 if (sema_timedwait(*pSid, timeoutTime)) { in qatUtilsSemaphoreWait()
81 qatUtilsSemaphoreTryWait(struct sema **pSid) in qatUtilsSemaphoreTryWait() argument
[all …]
/freebsd/crypto/krb5/src/ccapi/common/win/OldCC/
H A Dutil.cxx54 PSID pSid, // binary Sid in alloc_textual_sid() argument
68 if(!IsValidSid(pSid)) return ERROR_INVALID_PARAMETER; in alloc_textual_sid()
71 psia = GetSidIdentifierAuthority(pSid); in alloc_textual_sid()
74 dwSubAuthorities =* GetSidSubAuthorityCount(pSid); in alloc_textual_sid()
121 *GetSidSubAuthority(pSid, dwCounter) ); in alloc_textual_sid()
313 PSID pSid = 0; in alloc_own_security_descriptor_NT() local
327 pSid = (PSID) malloc_alloc_p(size); in alloc_own_security_descriptor_NT()
328 if (!pSid) status = GetLastError(); in alloc_own_security_descriptor_NT()
331 if (!CopySid(size, pSid, ptu->User.Sid)) status = GetLastError(); in alloc_own_security_descriptor_NT()
338 size += sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(pSid); in alloc_own_security_descriptor_NT()
[all …]
/freebsd/sys/dev/qat/qat_api/qat_utils/include/
H A Dqat_utils.h401 CpaStatus qatUtilsSemaphoreInit(struct sema **pSid, uint32_t start_value);
419 CpaStatus qatUtilsSemaphoreDestroy(struct sema **pSid);
439 CpaStatus qatUtilsSemaphoreWait(struct sema **pSid, int32_t timeout);
472 CpaStatus qatUtilsSemaphorePost(struct sema **pSid);