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()
1521 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter() local
1522 __le32 XferState = fib->hw_fib_va->header.XferState; in _aac_reset_adapter()
1530 || fib->flags & FIB_CONTEXT_FLAG_WAIT) { in _aac_reset_adapter()
1532 spin_lock_irqsave(&fib->event_lock, flagv); in _aac_reset_adapter()
1533 complete(&fib->event_wait); in _aac_reset_adapter()
1534 spin_unlock_irqrestore(&fib->event_lock, flagv); in _aac_reset_adapter()
1666 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter()
1742 struct fib * fib; in aac_check_health() local
1770 fib = kzalloc(sizeof(struct fib), GFP_ATOMIC); in aac_check_health()
1771 if (fib && hw_fib) { in aac_check_health()
1774 fib->hw_fib_va = hw_fib; in aac_check_health()
1775 fib->dev = aac; in aac_check_health()
1776 aac_fib_init(fib); in aac_check_health()
1777 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_check_health()
1778 fib->size = sizeof (struct fib); in aac_check_health()
1779 fib->data = hw_fib->data; in aac_check_health()
1792 list_add_tail(&fib->fiblink, &fibctx->fib_list); in aac_check_health()
1801 kfree(fib); in aac_check_health()
1960 static void aac_handle_sa_aif(struct aac_dev *dev, struct fib *fibptr) in aac_handle_sa_aif()
2030 struct fib **fib_pool, in fillup_pools()
2034 struct fib **fib_p; in fillup_pools()
2045 *(fib_p) = kmalloc(sizeof(struct fib), GFP_KERNEL); in fillup_pools()
2061 struct fib **fib_pool, in wakeup_fibctx_threads()
2062 struct fib *fib, in wakeup_fibctx_threads() argument
2069 struct fib **fib_p; in wakeup_fibctx_threads()
2072 struct fib *newfib; in wakeup_fibctx_threads()
2133 memcpy(newfib, fib, sizeof(struct fib)); in wakeup_fibctx_threads()
2153 aac_fib_adapter_complete(fib, sizeof(u32)); in wakeup_fibctx_threads()
2161 struct fib *fib; in aac_process_events() local
2173 struct fib **fib_pool, **fib_p; in aac_process_events()
2183 fib = list_entry(entry, struct fib, fiblink); in aac_process_events()
2184 hw_fib = fib->hw_fib_va; in aac_process_events()
2187 aac_handle_sa_aif(dev, fib); in aac_process_events()
2188 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2197 memset(fib, 0, sizeof(struct fib)); in aac_process_events()
2198 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_process_events()
2199 fib->size = sizeof(struct fib); in aac_process_events()
2200 fib->hw_fib_va = hw_fib; in aac_process_events()
2201 fib->data = hw_fib->data; in aac_process_events()
2202 fib->dev = dev; in aac_process_events()
2210 aac_handle_aif(dev, fib); in aac_process_events()
2212 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2223 aac_handle_aif(dev, fib); in aac_process_events()
2238 fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); in aac_process_events()
2255 fib, hw_fib, num); in aac_process_events()
2271 kfree(fib); in aac_process_events()
2289 struct fib *fibptr; in aac_send_wellness_command()
2388 struct fib *fibptr; in aac_send_hosttime()