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()
223 struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd) in aac_fib_alloc_tag()
225 struct fib *fibptr; in aac_fib_alloc_tag()
253 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
255 struct fib * fibptr; in aac_fib_alloc()
269 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
289 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
317 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
337 static void fib_dealloc(struct fib * fibptr) in fib_dealloc()
425 …_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned … in aac_queue_get()
487 int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, in aac_fib_send()
711 int aac_hba_send(u8 command, struct fib *fibptr, fib_callback callback, in aac_hba_send()
875 int aac_fib_adapter_complete(struct fib *fibptr, unsigned short size) in aac_fib_adapter_complete()
947 int aac_fib_complete(struct fib *fibptr) in aac_fib_complete()
1066 static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr) in aac_handle_aif()
1525 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter() local
1526 __le32 XferState = fib->hw_fib_va->header.XferState; in _aac_reset_adapter()
1534 || fib->flags & FIB_CONTEXT_FLAG_WAIT) { in _aac_reset_adapter()
1536 spin_lock_irqsave(&fib->event_lock, flagv); in _aac_reset_adapter()
1537 complete(&fib->event_wait); in _aac_reset_adapter()
1538 spin_unlock_irqrestore(&fib->event_lock, flagv); in _aac_reset_adapter()
1670 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter()
1746 struct fib * fib; in aac_check_health() local
1774 fib = kzalloc(sizeof(struct fib), GFP_ATOMIC); in aac_check_health()
1775 if (fib && hw_fib) { in aac_check_health()
1778 fib->hw_fib_va = hw_fib; in aac_check_health()
1779 fib->dev = aac; in aac_check_health()
1780 aac_fib_init(fib); in aac_check_health()
1781 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_check_health()
1782 fib->size = sizeof (struct fib); in aac_check_health()
1783 fib->data = hw_fib->data; in aac_check_health()
1796 list_add_tail(&fib->fiblink, &fibctx->fib_list); in aac_check_health()
1805 kfree(fib); in aac_check_health()
1964 static void aac_handle_sa_aif(struct aac_dev *dev, struct fib *fibptr) in aac_handle_sa_aif()
2034 struct fib **fib_pool, in fillup_pools()
2038 struct fib **fib_p; in fillup_pools()
2049 *(fib_p) = kmalloc(sizeof(struct fib), GFP_KERNEL); in fillup_pools()
2065 struct fib **fib_pool, in wakeup_fibctx_threads()
2066 struct fib *fib, in wakeup_fibctx_threads() argument
2073 struct fib **fib_p; in wakeup_fibctx_threads()
2076 struct fib *newfib; in wakeup_fibctx_threads()
2137 memcpy(newfib, fib, sizeof(struct fib)); in wakeup_fibctx_threads()
2157 aac_fib_adapter_complete(fib, sizeof(u32)); in wakeup_fibctx_threads()
2165 struct fib *fib; in aac_process_events() local
2177 struct fib **fib_pool, **fib_p; in aac_process_events()
2187 fib = list_entry(entry, struct fib, fiblink); in aac_process_events()
2188 hw_fib = fib->hw_fib_va; in aac_process_events()
2191 aac_handle_sa_aif(dev, fib); in aac_process_events()
2192 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2201 memset(fib, 0, sizeof(struct fib)); in aac_process_events()
2202 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_process_events()
2203 fib->size = sizeof(struct fib); in aac_process_events()
2204 fib->hw_fib_va = hw_fib; in aac_process_events()
2205 fib->data = hw_fib->data; in aac_process_events()
2206 fib->dev = dev; in aac_process_events()
2214 aac_handle_aif(dev, fib); in aac_process_events()
2216 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2227 aac_handle_aif(dev, fib); in aac_process_events()
2242 fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); in aac_process_events()
2259 fib, hw_fib, num); in aac_process_events()
2275 kfree(fib); in aac_process_events()
2293 struct fib *fibptr; in aac_send_wellness_command()
2392 struct fib *fibptr; in aac_send_hosttime()