Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/aacraid/
Dcommctrl.c62 struct hw_fib * kfib; in ioctl_send_fib() local
77 kfib = fibptr->hw_fib_va; in ioctl_send_fib()
81 if (copy_from_user((void *)kfib, arg, sizeof(struct aac_fibhdr))) { in ioctl_send_fib()
90 size = le16_to_cpu(kfib->header.Size) + sizeof(struct aac_fibhdr); in ioctl_send_fib()
91 if (size < le16_to_cpu(kfib->header.SenderSize)) in ioctl_send_fib()
92 size = le16_to_cpu(kfib->header.SenderSize); in ioctl_send_fib()
101 kfib = pci_alloc_consistent(dev->pdev, size, &daddr); in ioctl_send_fib()
102 if (!kfib) { in ioctl_send_fib()
110 fibptr->hw_fib_va = kfib; in ioctl_send_fib()
112 memset(((char *)kfib) + dev->max_fib_size, 0, size - dev->max_fib_size); in ioctl_send_fib()
[all …]