Lines Matching full:fib
39 * ioctl_send_fib - send a FIB from userspace
43 * This routine sends a fib to the adapter on behalf of a user level
49 struct fib *fibptr; in ioctl_send_fib()
72 * Since we copy based on the fib header size, make sure that we in ioctl_send_fib()
120 * Since we didn't really send a fib, zero out the state to allow in ioctl_send_fib()
138 * the header) is less than or equal to the size of a fib, so we in ioctl_send_fib()
160 * open_getadapter_fib - Get the next fib
164 * This routine will get the next Fib, if available, from the AdapterFibContext
233 compat_uptr_t fib; member
237 * next_getadapter_fib - get the next fib
241 * This routine will get the next Fib, if available, from the AdapterFibContext
247 struct fib *fib; in next_getadapter_fib() local
261 f.fib = compat_ptr(cf.fib); in next_getadapter_fib()
289 dprintk ((KERN_INFO "Fib Context not found\n")); in next_getadapter_fib()
296 dprintk ((KERN_INFO "Fib Context corrupt?\n")); in next_getadapter_fib()
307 * Pull the next fib from the fibs in next_getadapter_fib()
312 fib = list_entry(entry, struct fib, fiblink); in next_getadapter_fib()
315 if (copy_to_user(f.fib, fib->hw_fib_va, sizeof(struct hw_fib))) { in next_getadapter_fib()
316 kfree(fib->hw_fib_va); in next_getadapter_fib()
317 kfree(fib); in next_getadapter_fib()
321 * Free the space occupied by this copy of the fib. in next_getadapter_fib()
323 kfree(fib->hw_fib_va); in next_getadapter_fib()
324 kfree(fib); in next_getadapter_fib()
357 struct fib *fib; in aac_close_fib_context() local
365 * Pull the next fib from the fibs in aac_close_fib_context()
369 fib = list_entry(entry, struct fib, fiblink); in aac_close_fib_context()
372 * Free the space occupied by this copy of the fib. in aac_close_fib_context()
374 kfree(fib->hw_fib_va); in aac_close_fib_context()
375 kfree(fib); in aac_close_fib_context()
393 * close_getadapter_fib - close down user fib context
441 * check_revision - close down user fib context
481 struct fib* srbfib; in aac_send_raw_srb()
513 * Allocate and initialize a Fib then setup a SRB command in aac_send_raw_srb()
627 /* raw_srb FIB is not FastResponseCapable */ in aac_send_raw_srb()
928 dprintk((KERN_DEBUG"aacraid: Could not send raw srb fib to hba\n")); in aac_send_raw_srb()