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()
249 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
251 struct fib * fibptr; in aac_fib_alloc()
265 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
285 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
313 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
333 static void fib_dealloc(struct fib * fibptr) in fib_dealloc()
421 …_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned … in aac_queue_get()
483 int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, in aac_fib_send()
707 int aac_hba_send(u8 command, struct fib *fibptr, fib_callback callback, in aac_hba_send()
871 int aac_fib_adapter_complete(struct fib *fibptr, unsigned short size) in aac_fib_adapter_complete()
943 int aac_fib_complete(struct fib *fibptr) in aac_fib_complete()
1062 static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr) in aac_handle_aif()
1520 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter() local
1521 __le32 XferState = fib->hw_fib_va->header.XferState; in _aac_reset_adapter()
1529 || fib->flags & FIB_CONTEXT_FLAG_WAIT) { in _aac_reset_adapter()
1531 spin_lock_irqsave(&fib->event_lock, flagv); in _aac_reset_adapter()
1532 complete(&fib->event_wait); in _aac_reset_adapter()
1533 spin_unlock_irqrestore(&fib->event_lock, flagv); in _aac_reset_adapter()
1665 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter()
1741 struct fib * fib; in aac_check_health() local
1769 fib = kzalloc(sizeof(struct fib), GFP_ATOMIC); in aac_check_health()
1770 if (fib && hw_fib) { in aac_check_health()
1773 fib->hw_fib_va = hw_fib; in aac_check_health()
1774 fib->dev = aac; in aac_check_health()
1775 aac_fib_init(fib); in aac_check_health()
1776 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_check_health()
1777 fib->size = sizeof (struct fib); in aac_check_health()
1778 fib->data = hw_fib->data; in aac_check_health()
1791 list_add_tail(&fib->fiblink, &fibctx->fib_list); in aac_check_health()
1800 kfree(fib); in aac_check_health()
1959 static void aac_handle_sa_aif(struct aac_dev *dev, struct fib *fibptr) in aac_handle_sa_aif()
2029 struct fib **fib_pool, in fillup_pools()
2033 struct fib **fib_p; in fillup_pools()
2044 *(fib_p) = kmalloc(sizeof(struct fib), GFP_KERNEL); in fillup_pools()
2060 struct fib **fib_pool, in wakeup_fibctx_threads()
2061 struct fib *fib, in wakeup_fibctx_threads() argument
2068 struct fib **fib_p; in wakeup_fibctx_threads()
2071 struct fib *newfib; in wakeup_fibctx_threads()
2132 memcpy(newfib, fib, sizeof(struct fib)); in wakeup_fibctx_threads()
2152 aac_fib_adapter_complete(fib, sizeof(u32)); in wakeup_fibctx_threads()
2160 struct fib *fib; in aac_process_events() local
2172 struct fib **fib_pool, **fib_p; in aac_process_events()
2182 fib = list_entry(entry, struct fib, fiblink); in aac_process_events()
2183 hw_fib = fib->hw_fib_va; in aac_process_events()
2186 aac_handle_sa_aif(dev, fib); in aac_process_events()
2187 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2196 memset(fib, 0, sizeof(struct fib)); in aac_process_events()
2197 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_process_events()
2198 fib->size = sizeof(struct fib); in aac_process_events()
2199 fib->hw_fib_va = hw_fib; in aac_process_events()
2200 fib->data = hw_fib->data; in aac_process_events()
2201 fib->dev = dev; in aac_process_events()
2209 aac_handle_aif(dev, fib); in aac_process_events()
2211 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2222 aac_handle_aif(dev, fib); in aac_process_events()
2237 fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); in aac_process_events()
2254 fib, hw_fib, num); in aac_process_events()
2270 kfree(fib); in aac_process_events()
2288 struct fib *fibptr; in aac_send_wellness_command()
2387 struct fib *fibptr; in aac_send_hosttime()