Lines Matching refs:fib
121 struct fib *fibptr = NULL; in aac_fib_vector_assign()
149 struct fib *fibptr; in aac_fib_setup()
187 fibptr->size = sizeof(struct fib); in aac_fib_setup()
237 struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd) in aac_fib_alloc_tag()
239 struct fib *fibptr; in aac_fib_alloc_tag()
262 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
264 struct fib * fibptr; in aac_fib_alloc()
278 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
298 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
326 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
346 static void fib_dealloc(struct fib * fibptr) in fib_dealloc()
434 …_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned … in aac_queue_get()
496 int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, in aac_fib_send()
720 int aac_hba_send(u8 command, struct fib *fibptr, fib_callback callback, in aac_hba_send()
884 int aac_fib_adapter_complete(struct fib *fibptr, unsigned short size) in aac_fib_adapter_complete()
956 int aac_fib_complete(struct fib *fibptr) in aac_fib_complete()
1076 static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr) in aac_handle_aif()
1529 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter() local
1530 __le32 XferState = fib->hw_fib_va->header.XferState; in _aac_reset_adapter()
1538 || fib->flags & FIB_CONTEXT_FLAG_WAIT) { in _aac_reset_adapter()
1540 spin_lock_irqsave(&fib->event_lock, flagv); in _aac_reset_adapter()
1541 up(&fib->event_wait); in _aac_reset_adapter()
1542 spin_unlock_irqrestore(&fib->event_lock, flagv); in _aac_reset_adapter()
1699 struct fib * fibctx = aac_fib_alloc(aac); in aac_reset_adapter()
1775 struct fib * fib; in aac_check_health() local
1803 fib = kzalloc(sizeof(struct fib), GFP_ATOMIC); in aac_check_health()
1804 if (fib && hw_fib) { in aac_check_health()
1807 fib->hw_fib_va = hw_fib; in aac_check_health()
1808 fib->dev = aac; in aac_check_health()
1809 aac_fib_init(fib); in aac_check_health()
1810 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_check_health()
1811 fib->size = sizeof (struct fib); in aac_check_health()
1812 fib->data = hw_fib->data; in aac_check_health()
1825 list_add_tail(&fib->fiblink, &fibctx->fib_list); in aac_check_health()
1834 kfree(fib); in aac_check_health()
1983 static void aac_handle_sa_aif(struct aac_dev *dev, struct fib *fibptr) in aac_handle_sa_aif()
2053 struct fib **fib_pool, in fillup_pools()
2057 struct fib **fib_p; in fillup_pools()
2068 *(fib_p) = kmalloc(sizeof(struct fib), GFP_KERNEL); in fillup_pools()
2084 struct fib **fib_pool, in wakeup_fibctx_threads()
2085 struct fib *fib, in wakeup_fibctx_threads() argument
2092 struct fib **fib_p; in wakeup_fibctx_threads()
2095 struct fib *newfib; in wakeup_fibctx_threads()
2156 memcpy(newfib, fib, sizeof(struct fib)); in wakeup_fibctx_threads()
2176 aac_fib_adapter_complete(fib, sizeof(u32)); in wakeup_fibctx_threads()
2184 struct fib *fib; in aac_process_events() local
2196 struct fib **fib_pool, **fib_p; in aac_process_events()
2206 fib = list_entry(entry, struct fib, fiblink); in aac_process_events()
2207 hw_fib = fib->hw_fib_va; in aac_process_events()
2210 aac_handle_sa_aif(dev, fib); in aac_process_events()
2211 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2220 memset(fib, 0, sizeof(struct fib)); in aac_process_events()
2221 fib->type = FSAFS_NTC_FIB_CONTEXT; in aac_process_events()
2222 fib->size = sizeof(struct fib); in aac_process_events()
2223 fib->hw_fib_va = hw_fib; in aac_process_events()
2224 fib->data = hw_fib->data; in aac_process_events()
2225 fib->dev = dev; in aac_process_events()
2233 aac_handle_aif(dev, fib); in aac_process_events()
2235 aac_fib_adapter_complete(fib, (u16)sizeof(u32)); in aac_process_events()
2246 aac_handle_aif(dev, fib); in aac_process_events()
2261 fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); in aac_process_events()
2278 fib, hw_fib, num); in aac_process_events()
2294 kfree(fib); in aac_process_events()
2312 struct fib *fibptr; in aac_send_wellness_command()
2411 struct fib *fibptr; in aac_send_hosttime()