Home
last modified time | relevance | path

Searched refs:fib (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/aacraid/
Ddpcsup.c60 struct fib * fib; in aac_response_normal() local
76 fib = &dev->fibs[index >> 2]; in aac_response_normal()
77 hwfib = fib->hw_fib_va; in aac_response_normal()
90 if (unlikely(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { in aac_response_normal()
92 aac_fib_complete(fib); in aac_response_normal()
93 aac_fib_free(fib); in aac_response_normal()
105 fib->flags |= FIB_CONTEXT_FLAG_FASTRESP; in aac_response_normal()
126 fib->callback(fib->callback_data, fib); in aac_response_normal()
129 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
130 if (!fib->done) { in aac_response_normal()
[all …]
Dcommsup.c120 struct fib *fibptr = NULL; in aac_fib_vector_assign()
148 struct fib *fibptr; in aac_fib_setup()
186 fibptr->size = sizeof(struct fib); in aac_fib_setup()
236 struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd) in aac_fib_alloc_tag()
238 struct fib *fibptr; in aac_fib_alloc_tag()
261 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
263 struct fib * fibptr; in aac_fib_alloc()
277 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
297 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
325 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
[all …]
Dlinit.c692 struct fib *fib; in aac_eh_abort() local
704 fib = &aac->fibs[count]; in aac_eh_abort()
705 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort()
706 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort()
707 (fib->callback_data == cmd)) { in aac_eh_abort()
710 fib->hw_fib_va)->request_id; in aac_eh_abort()
718 fib = aac_fib_alloc(aac); in aac_eh_abort()
719 if (!fib) in aac_eh_abort()
722 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
728 address = (u64)fib->hw_error_pa; in aac_eh_abort()
[all …]
Dsrc.c117 struct fib, in aac_src_intr_message()
485 static int aac_src_deliver_message(struct fib *fib) in aac_src_deliver_message() argument
487 struct aac_dev *dev = fib->dev; in aac_src_deliver_message()
501 native_hba = (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) ? 1 : 0; in aac_src_deliver_message()
505 (native_hba || fib->hw_fib_va->header.Command != AifRequest)) { in aac_src_deliver_message()
511 vector_no = fib->vector_no; in aac_src_deliver_message()
514 if (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA_TMF) { in aac_src_deliver_message()
518 fib->hw_fib_va; in aac_src_deliver_message()
522 fib->hw_fib_va)->reply_qid in aac_src_deliver_message()
525 fib->hw_fib_va)->request_id in aac_src_deliver_message()
[all …]
Daachba.c347 struct fib *fibptr) { in aac_valid_context()
374 struct fib * fibptr; in aac_get_config_status()
468 struct fib * fibptr; in aac_get_containers()
534 static void get_container_name_callback(void *context, struct fib * fibptr) in get_container_name_callback()
586 struct fib * cmd_fibcontext; in aac_get_container_name()
635 static void _aac_probe_container2(void * context, struct fib * fibptr) in _aac_probe_container2()
694 static void _aac_probe_container1(void * context, struct fib * fibptr) in _aac_probe_container1()
748 struct fib * fibptr; in _aac_probe_container()
993 static void get_container_serial_callback(void *context, struct fib * fibptr) in get_container_serial_callback()
1121 struct fib * cmd_fibcontext; in aac_get_container_serial()
[all …]
Daacraid.h901 struct fib;
919 int (*adapter_deliver)(struct fib * fib);
921 int (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count);
922 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua);
923 int (*adapter_scsi)(struct fib * fib, struct scsi_cmnd * cmd);
1230 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
1298 struct fib { struct
1557 struct fib *fibs;
1559 struct fib *free_fib;
1664 struct fib *sync_fib;
[all …]
Dcommctrl.c64 struct fib *fibptr; in ioctl_send_fib()
256 struct fib *fib; in next_getadapter_fib() local
310 fib = list_entry(entry, struct fib, fiblink); in next_getadapter_fib()
313 if (copy_to_user(f.fib, fib->hw_fib_va, sizeof(struct hw_fib))) { in next_getadapter_fib()
314 kfree(fib->hw_fib_va); in next_getadapter_fib()
315 kfree(fib); in next_getadapter_fib()
321 kfree(fib->hw_fib_va); in next_getadapter_fib()
322 kfree(fib); in next_getadapter_fib()
355 struct fib *fib; in aac_close_fib_context() local
367 fib = list_entry(entry, struct fib, fiblink); in aac_close_fib_context()
[all …]
Drx.c402 int aac_rx_deliver_producer(struct fib * fib) in aac_rx_deliver_producer() argument
404 struct aac_dev *dev = fib->dev; in aac_rx_deliver_producer()
409 aac_queue_get( dev, &Index, AdapNormCmdQueue, fib->hw_fib_va, 1, fib, &nointr); in aac_rx_deliver_producer()
425 static int aac_rx_deliver_message(struct fib * fib) in aac_rx_deliver_message() argument
427 struct aac_dev *dev = fib->dev; in aac_rx_deliver_message()
448 addr = fib->hw_fib_pa; in aac_rx_deliver_message()
453 writel(le16_to_cpu(fib->hw_fib_va->header.Size), device); in aac_rx_deliver_message()
Dcomminit.c296 struct fib * fibctx; in aac_send_shutdown()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c401 struct mlxsw_sp_fib *fib; member
468 struct mlxsw_sp_fib *fib; in mlxsw_sp_fib_create() local
471 fib = kzalloc(sizeof(*fib), GFP_KERNEL); in mlxsw_sp_fib_create()
472 if (!fib) in mlxsw_sp_fib_create()
474 err = rhashtable_init(&fib->ht, &mlxsw_sp_fib_ht_params); in mlxsw_sp_fib_create()
477 INIT_LIST_HEAD(&fib->node_list); in mlxsw_sp_fib_create()
478 fib->proto = proto; in mlxsw_sp_fib_create()
479 fib->vr = vr; in mlxsw_sp_fib_create()
480 return fib; in mlxsw_sp_fib_create()
483 kfree(fib); in mlxsw_sp_fib_create()
[all …]