Home
last modified time | relevance | path

Searched refs:tpriv (Results 1 – 4 of 4) sorted by relevance

/external/libusb/libusb/os/
Dlinux_usbfs.c1834 struct linux_transfer_priv *tpriv = usbi_get_transfer_priv(itransfer); in discard_urbs() local
1842 urb = tpriv->iso_urbs[i]; in discard_urbs()
1844 urb = &tpriv->urbs[i]; in discard_urbs()
1864 static void free_iso_urbs(struct linux_transfer_priv *tpriv) in free_iso_urbs() argument
1868 for (i = 0; i < tpriv->num_urbs; i++) { in free_iso_urbs()
1869 struct usbfs_urb *urb = tpriv->iso_urbs[i]; in free_iso_urbs()
1876 free(tpriv->iso_urbs); in free_iso_urbs()
1877 tpriv->iso_urbs = NULL; in free_iso_urbs()
1884 struct linux_transfer_priv *tpriv = usbi_get_transfer_priv(itransfer); in submit_bulk_transfer() local
1949 tpriv->urbs = urbs; in submit_bulk_transfer()
[all …]
Ddarwin_usb.c1873 struct darwin_transfer_priv *tpriv = usbi_get_transfer_priv(itransfer); in submit_iso_transfer() local
1885 if (tpriv->num_iso_packets != transfer->num_iso_packets) { in submit_iso_transfer()
1886 free(tpriv->isoc_framelist); in submit_iso_transfer()
1887 tpriv->isoc_framelist = NULL; in submit_iso_transfer()
1890 if (!tpriv->isoc_framelist) { in submit_iso_transfer()
1891 tpriv->num_iso_packets = transfer->num_iso_packets; in submit_iso_transfer()
1892tpriv->isoc_framelist = (IOUSBIsocFrame*) calloc ((size_t)transfer->num_iso_packets, sizeof(IOUSBI… in submit_iso_transfer()
1893 if (!tpriv->isoc_framelist) in submit_iso_transfer()
1901 tpriv->isoc_framelist[i].frReqCount = (UInt16)length; in submit_iso_transfer()
1919 free(tpriv->isoc_framelist); in submit_iso_transfer()
[all …]
Dsunos_usb.c1154 struct sunos_transfer_priv *tpriv = in sunos_async_callback() local
1156 struct libusb_transfer *xfer = tpriv->transfer; in sunos_async_callback()
1157 struct aiocb *aiocb = &tpriv->aiocb; in sunos_async_callback()
1196 struct sunos_transfer_priv *tpriv; in sunos_do_async_io() local
1200 tpriv = usbi_get_transfer_priv(LIBUSB_TRANSFER_TO_USBI_TRANSFER(transfer)); in sunos_do_async_io()
1204 tpriv->transfer = transfer; in sunos_do_async_io()
1205 aiocb = &tpriv->aiocb; in sunos_do_async_io()
1214 aiocb->aio_sigevent.sigev_value.sival_ptr = tpriv; in sunos_do_async_io()
1423 sunos_xfer_priv_t *tpriv; in sunos_cancel_transfer() local
1430 tpriv = usbi_get_transfer_priv(itransfer); in sunos_cancel_transfer()
[all …]
/external/openssh/
Dssh-pkcs11.c1315 CK_ATTRIBUTE tpub[16], tpriv[16]; in pkcs11_rsa_generate_private_key() local
1340 FILL_ATTR(tpriv, npriv, CKA_TOKEN, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1341 FILL_ATTR(tpriv, npriv, CKA_LABEL, plabel, strlen(plabel)); in pkcs11_rsa_generate_private_key()
1342 FILL_ATTR(tpriv, npriv, CKA_PRIVATE, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1343 FILL_ATTR(tpriv, npriv, CKA_SENSITIVE, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1344 FILL_ATTR(tpriv, npriv, CKA_DECRYPT, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1345 FILL_ATTR(tpriv, npriv, CKA_SIGN, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1346 FILL_ATTR(tpriv, npriv, CKA_SIGN_RECOVER, &false_val, in pkcs11_rsa_generate_private_key()
1348 FILL_ATTR(tpriv, npriv, CKA_UNWRAP, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1349 FILL_ATTR(tpriv, npriv, CKA_DERIVE, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
[all …]