Home
last modified time | relevance | path

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

/drivers/staging/vt6656/
Dioctl.c60 SNodeList sNodeList; in private_ioctl() local
551 sNodeList.uItem = cbListCount; in private_ioctl()
552 if (copy_to_user(pReq->data, &sNodeList, sizeof(SNodeList))) { in private_ioctl()
560 if (copy_from_user(&sNodeList, pReq->data, sizeof(SNodeList))) { in private_ioctl()
564 if (sNodeList.uItem > (ULONG_MAX - sizeof(SNodeList)) / sizeof(SNodeItem)) { in private_ioctl()
568 pNodeList = kmalloc(sizeof(SNodeList) + (sNodeList.uItem * sizeof(SNodeItem)), (int)GFP_ATOMIC); in private_ioctl()
573 pNodeList->uItem = sNodeList.uItem; in private_ioctl()
578 pNodeList->sNodeList[jj].wAID = pNode->wAID; in private_ioctl()
579 memcpy(pNodeList->sNodeList[jj].abyMACAddr, pNode->abyMACAddr, WLAN_ADDR_LEN); in private_ioctl()
580 pNodeList->sNodeList[jj].wTxDataRate = pNode->wTxDataRate; in private_ioctl()
[all …]
Diocmd.h216 SNodeItem sNodeList[0]; member
/drivers/staging/vt6655/
Dioctl.c60 SNodeList sNodeList; in private_ioctl() local
564 sNodeList.uItem = cbListCount; in private_ioctl()
565 if (copy_to_user(pReq->data, &sNodeList, sizeof(SNodeList))) { in private_ioctl()
573 if (copy_from_user(&sNodeList, pReq->data, sizeof(SNodeList))) { in private_ioctl()
577 if (sNodeList.uItem > (ULONG_MAX - sizeof(SNodeList)) / sizeof(SNodeItem)) { in private_ioctl()
581 …pNodeList = (PSNodeList)kmalloc(sizeof(SNodeList) + (sNodeList.uItem * sizeof(SNodeItem)), (int)GF… in private_ioctl()
586 pNodeList->uItem = sNodeList.uItem; in private_ioctl()
591 pNodeList->sNodeList[jj].wAID = pNode->wAID; in private_ioctl()
592 memcpy(pNodeList->sNodeList[jj].abyMACAddr, pNode->abyMACAddr, WLAN_ADDR_LEN); in private_ioctl()
593 pNodeList->sNodeList[jj].wTxDataRate = pNode->wTxDataRate; in private_ioctl()
[all …]
Diocmd.h373 SNodeItem sNodeList[0]; member