Lines Matching refs:fib
106 struct fib *fibptr = NULL; in aac_fib_vector_assign()
134 struct fib *fibptr; in aac_fib_setup()
172 fibptr->size = sizeof(struct fib); in aac_fib_setup()
222 struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd) in aac_fib_alloc_tag()
224 struct fib *fibptr; in aac_fib_alloc_tag()
247 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
249 struct fib * fibptr; in aac_fib_alloc()
263 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
283 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
311 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
331 static void fib_dealloc(struct fib * fibptr) in fib_dealloc()
419 …_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned … in aac_queue_get()
481 int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, in aac_fib_send()
705 int aac_hba_send(u8 command, struct fib *fibptr, fib_callback callback, in aac_hba_send()
869 int aac_fib_adapter_complete(struct fib *fibptr, unsigned short size) in aac_fib_adapter_complete()
941 int aac_fib_complete(struct fib *fibptr) in aac_fib_complete()
1061 static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr) in aac_handle_aif()
1516 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter() local
1517 __le32 XferState = fib->hw_fib_va->header.XferState; in _aac_reset_adapter()
1525 || fib->flags & FIB_CONTEXT_FLAG_WAIT) { in _aac_reset_adapter()
1527 spin_lock_irqsave(&fib->event_lock, flagv); in _aac_reset_adapter()
1528 complete(&fib->event_wait); in _aac_reset_adapter()
1529 spin_unlock_irqrestore(&fib->event_lock, flagv); in _aac_reset_adapter()
1686 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter()
1762 struct fib * fib; in aac_check_health() local
1790 fib = kzalloc(sizeof(struct fib), GFP_ATOMIC); in aac_check_health()
1791 if (fib && hw_fib) { in aac_check_health()
1794 fib->hw_fib_va = hw_fib; in aac_check_health()
1795 fib->dev = aac; in aac_check_health()
1796 aac_fib_init(fib); in aac_check_health()
1797 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_check_health()
1798 fib->size = sizeof (struct fib); in aac_check_health()
1799 fib->data = hw_fib->data; in aac_check_health()
1812 list_add_tail(&fib->fiblink, &fibctx->fib_list); in aac_check_health()
1821 kfree(fib); in aac_check_health()
1970 static void aac_handle_sa_aif(struct aac_dev *dev, struct fib *fibptr) in aac_handle_sa_aif()
2040 struct fib **fib_pool, in fillup_pools()
2044 struct fib **fib_p; in fillup_pools()
2055 *(fib_p) = kmalloc(sizeof(struct fib), GFP_KERNEL); in fillup_pools()
2071 struct fib **fib_pool, in wakeup_fibctx_threads()
2072 struct fib *fib, in wakeup_fibctx_threads() argument
2079 struct fib **fib_p; in wakeup_fibctx_threads()
2082 struct fib *newfib; in wakeup_fibctx_threads()
2143 memcpy(newfib, fib, sizeof(struct fib)); in wakeup_fibctx_threads()
2163 aac_fib_adapter_complete(fib, sizeof(u32)); in wakeup_fibctx_threads()
2171 struct fib *fib; in aac_process_events() local
2183 struct fib **fib_pool, **fib_p; in aac_process_events()
2193 fib = list_entry(entry, struct fib, fiblink); in aac_process_events()
2194 hw_fib = fib->hw_fib_va; in aac_process_events()
2197 aac_handle_sa_aif(dev, fib); in aac_process_events()
2198 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2207 memset(fib, 0, sizeof(struct fib)); in aac_process_events()
2208 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_process_events()
2209 fib->size = sizeof(struct fib); in aac_process_events()
2210 fib->hw_fib_va = hw_fib; in aac_process_events()
2211 fib->data = hw_fib->data; in aac_process_events()
2212 fib->dev = dev; in aac_process_events()
2220 aac_handle_aif(dev, fib); in aac_process_events()
2222 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2233 aac_handle_aif(dev, fib); in aac_process_events()
2248 fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); in aac_process_events()
2265 fib, hw_fib, num); in aac_process_events()
2281 kfree(fib); in aac_process_events()
2299 struct fib *fibptr; in aac_send_wellness_command()
2398 struct fib *fibptr; in aac_send_hosttime()