Home
last modified time | relevance | path

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

/drivers/scsi/aacraid/
Ddpcsup.c44 struct fib * fib; in aac_response_normal() local
60 fib = &dev->fibs[index >> 2]; in aac_response_normal()
61 hwfib = fib->hw_fib_va; in aac_response_normal()
74 if (unlikely(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { in aac_response_normal()
76 aac_fib_complete(fib); in aac_response_normal()
77 aac_fib_free(fib); in aac_response_normal()
89 fib->flags |= FIB_CONTEXT_FLAG_FASTRESP; in aac_response_normal()
111 fib->callback(fib->callback_data, fib); in aac_response_normal()
114 spin_lock_irqsave(&fib->event_lock, flagv); in aac_response_normal()
115 if (!fib->done) { in aac_response_normal()
[all …]
Dlinit.c696 struct fib *fib; in aac_eh_abort() local
707 fib = &aac->fibs[count]; in aac_eh_abort()
708 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort()
709 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort()
710 (fib->callback_data == cmd)) { in aac_eh_abort()
719 fib = aac_fib_alloc(aac); in aac_eh_abort()
720 if (!fib) in aac_eh_abort()
723 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
729 address = (u64)fib->hw_error_pa; in aac_eh_abort()
734 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort()
[all …]
Dcommsup.c106 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()
[all …]
Daachba.c333 struct fib *fibptr) { in aac_valid_context()
361 struct fib * fibptr; in aac_get_config_status()
455 struct fib * fibptr; in aac_get_containers()
532 static void get_container_name_callback(void *context, struct fib * fibptr) in get_container_name_callback()
584 struct fib * cmd_fibcontext; in aac_get_container_name()
633 static void _aac_probe_container2(void * context, struct fib * fibptr) in _aac_probe_container2()
693 static void _aac_probe_container1(void * context, struct fib * fibptr) in _aac_probe_container1()
748 struct fib * fibptr; in _aac_probe_container()
994 static void get_container_serial_callback(void *context, struct fib * fibptr) in get_container_serial_callback()
1122 struct fib * cmd_fibcontext; in aac_get_container_serial()
[all …]
Dsrc.c103 struct fib, in aac_src_intr_message()
483 static int aac_src_deliver_message(struct fib *fib) in aac_src_deliver_message() argument
485 struct aac_dev *dev = fib->dev; in aac_src_deliver_message()
499 native_hba = (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) ? 1 : 0; in aac_src_deliver_message()
503 (native_hba || fib->hw_fib_va->header.Command != AifRequest)) { in aac_src_deliver_message()
509 vector_no = fib->vector_no; in aac_src_deliver_message()
512 if (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA_TMF) { in aac_src_deliver_message()
516 fib->hw_fib_va; in aac_src_deliver_message()
520 fib->hw_fib_va)->reply_qid in aac_src_deliver_message()
523 fib->hw_fib_va)->request_id in aac_src_deliver_message()
[all …]
Daacraid.h896 struct fib;
914 int (*adapter_deliver)(struct fib * fib);
916 int (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count);
917 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua);
918 int (*adapter_scsi)(struct fib * fib, struct scsi_cmnd * cmd);
1226 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
1294 struct fib { struct
1554 struct fib *fibs;
1556 struct fib *free_fib;
1665 struct fib *sync_fib;
[all …]
Dcommctrl.c49 struct fib *fibptr; in ioctl_send_fib()
233 compat_uptr_t fib; member
247 struct fib *fib; in next_getadapter_fib() local
261 f.fib = compat_ptr(cf.fib); in next_getadapter_fib()
312 fib = list_entry(entry, struct fib, fiblink); in next_getadapter_fib()
315 if (copy_to_user(f.fib, fib->hw_fib_va, sizeof(struct hw_fib))) { in next_getadapter_fib()
316 kfree(fib->hw_fib_va); in next_getadapter_fib()
317 kfree(fib); in next_getadapter_fib()
323 kfree(fib->hw_fib_va); in next_getadapter_fib()
324 kfree(fib); in next_getadapter_fib()
[all …]
Drx.c397 int aac_rx_deliver_producer(struct fib * fib) in aac_rx_deliver_producer() argument
399 struct aac_dev *dev = fib->dev; in aac_rx_deliver_producer()
404 aac_queue_get( dev, &Index, AdapNormCmdQueue, fib->hw_fib_va, 1, fib, &nointr); in aac_rx_deliver_producer()
420 static int aac_rx_deliver_message(struct fib * fib) in aac_rx_deliver_message() argument
422 struct aac_dev *dev = fib->dev; in aac_rx_deliver_message()
443 addr = fib->hw_fib_pa; in aac_rx_deliver_message()
448 writel(le16_to_cpu(fib->hw_fib_va->header.Size), device); in aac_rx_deliver_message()
Dcomminit.c315 struct fib * fibctx; in aac_send_shutdown()
/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c105 mp->fib.mfi = fi; in mlx5_lag_fib_set()
106 mp->fib.priority = fi->fib_priority; in mlx5_lag_fib_set()
107 mp->fib.dst = dst; in mlx5_lag_fib_set()
108 mp->fib.dst_len = dst_len; in mlx5_lag_fib_set()
132 if (mp->fib.mfi == fi) in mlx5_lag_fib_route_event()
133 mp->fib.mfi = NULL; in mlx5_lag_fib_route_event()
138 if (mp->fib.mfi && mp->fib.mfi != fi && in mlx5_lag_fib_route_event()
139 (mp->fib.dst != fen_info->dst || mp->fib.dst_len != fen_info->dst_len) && in mlx5_lag_fib_route_event()
140 fi->fib_priority >= mp->fib.priority) in mlx5_lag_fib_route_event()
178 if (!mp->fib.mfi && !__mlx5_lag_is_active(ldev)) { in mlx5_lag_fib_route_event()
[all …]
Dmp.h23 } fib; member
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c138 const struct mlxsw_sp_fib *fib,
141 const struct mlxsw_sp_fib *fib);
437 struct mlxsw_sp_fib *fib; member
507 struct mlxsw_sp_fib *fib; in mlxsw_sp_fib_create() local
511 fib = kzalloc(sizeof(*fib), GFP_KERNEL); in mlxsw_sp_fib_create()
512 if (!fib) in mlxsw_sp_fib_create()
514 err = rhashtable_init(&fib->ht, &mlxsw_sp_fib_ht_params); in mlxsw_sp_fib_create()
517 INIT_LIST_HEAD(&fib->node_list); in mlxsw_sp_fib_create()
518 fib->proto = proto; in mlxsw_sp_fib_create()
519 fib->vr = vr; in mlxsw_sp_fib_create()
[all …]
/drivers/net/netdevsim/
Dfib.c41 struct nsim_fib_entry fib; member
143 entry = &fib_data->ipv4.fib; in nsim_fib_get_val()
149 entry = &fib_data->ipv6.fib; in nsim_fib_get_val()
171 entry = &fib_data->ipv4.fib; in nsim_fib_set_max()
177 entry = &fib_data->ipv6.fib; in nsim_fib_set_max()
378 nsim_fib_account(&data->ipv4.fib, false); in nsim_fib4_rt_add()
392 err = nsim_fib_account(&data->ipv4.fib, false); in nsim_fib4_rt_replace()
702 nsim_fib_account(&data->ipv6.fib, false); in nsim_fib6_rt_add()
715 err = nsim_fib_account(&data->ipv6.fib, false); in nsim_fib6_rt_replace()
912 err = nsim_fib_account(&data->ipv4.fib, true); in nsim_fib4_prepare_event()
[all …]
DMakefile6 netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o