fib 129 arch/s390/include/asm/pci_insn.h u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status); fib 114 arch/s390/pci/pci.c struct zpci_fib fib = {0}; fib 118 arch/s390/pci/pci.c fib.pba = base; fib 119 arch/s390/pci/pci.c fib.pal = limit; fib 120 arch/s390/pci/pci.c fib.iota = iota | ZPCI_IOTA_RTTO_FLAG; fib 121 arch/s390/pci/pci.c return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; fib 128 arch/s390/pci/pci.c struct zpci_fib fib = {0}; fib 131 arch/s390/pci/pci.c cc = zpci_mod_fc(req, &fib, &status); fib 141 arch/s390/pci/pci.c struct zpci_fib fib = {0}; fib 157 arch/s390/pci/pci.c fib.fmb_addr = virt_to_phys(zdev->fmb); fib 158 arch/s390/pci/pci.c cc = zpci_mod_fc(req, &fib, &status); fib 170 arch/s390/pci/pci.c struct zpci_fib fib = {0}; fib 177 arch/s390/pci/pci.c cc = zpci_mod_fc(req, &fib, &status); fib 33 arch/s390/pci/pci_insn.c static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) fib 41 arch/s390/pci/pci_insn.c : [cc] "=d" (cc), [req] "+d" (req), [fib] "+Q" (*fib) fib 47 arch/s390/pci/pci_insn.c u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status) fib 52 arch/s390/pci/pci_insn.c cc = __mpcifc(req, fib, status); fib 42 arch/s390/pci/pci_irq.c struct zpci_fib fib = {0}; fib 45 arch/s390/pci/pci_irq.c fib.fmt0.isc = PCI_ISC; fib 46 arch/s390/pci/pci_irq.c fib.fmt0.sum = 1; /* enable summary notifications */ fib 47 arch/s390/pci/pci_irq.c fib.fmt0.noi = airq_iv_end(zdev->aibv); fib 48 arch/s390/pci/pci_irq.c fib.fmt0.aibv = (unsigned long) zdev->aibv->vector; fib 49 arch/s390/pci/pci_irq.c fib.fmt0.aibvo = 0; /* each zdev has its own interrupt vector */ fib 50 arch/s390/pci/pci_irq.c fib.fmt0.aisb = (unsigned long) zpci_sbv->vector + (zdev->aisb/64)*8; fib 51 arch/s390/pci/pci_irq.c fib.fmt0.aisbo = zdev->aisb & 63; fib 53 arch/s390/pci/pci_irq.c return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; fib 60 arch/s390/pci/pci_irq.c struct zpci_fib fib = {0}; fib 63 arch/s390/pci/pci_irq.c cc = zpci_mod_fc(req, &fib, &status); fib 75 arch/s390/pci/pci_irq.c struct zpci_fib fib = {0}; fib 78 arch/s390/pci/pci_irq.c fib.fmt = 1; fib 79 arch/s390/pci/pci_irq.c fib.fmt1.noi = zdev->msi_nr_irqs; fib 80 arch/s390/pci/pci_irq.c fib.fmt1.dibvo = zdev->msi_first_bit; fib 82 arch/s390/pci/pci_irq.c return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; fib 89 arch/s390/pci/pci_irq.c struct zpci_fib fib = {0}; fib 92 arch/s390/pci/pci_irq.c fib.fmt = 1; fib 93 arch/s390/pci/pci_irq.c cc = zpci_mod_fc(req, &fib, &status); fib 150 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib *fib, fib 153 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib *fib); fib 386 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib; fib 457 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib; fib 461 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = kzalloc(sizeof(*fib), GFP_KERNEL); fib 462 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!fib) fib 464 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = rhashtable_init(&fib->ht, &mlxsw_sp_fib_ht_params); fib 467 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c INIT_LIST_HEAD(&fib->node_list); fib 468 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->proto = proto; fib 469 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->vr = vr; fib 470 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->lpm_tree = lpm_tree; fib 472 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_vr_lpm_tree_bind(mlxsw_sp, fib, lpm_tree->id); fib 475 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return fib; fib 480 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c kfree(fib); fib 485 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib) fib 487 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_vr_lpm_tree_unbind(mlxsw_sp, fib); fib 488 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_lpm_tree_put(mlxsw_sp, fib->lpm_tree); fib 489 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c WARN_ON(!list_empty(&fib->node_list)); fib 490 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c rhashtable_destroy(&fib->ht); fib 491 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c kfree(fib); fib 710 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib *fib, u8 tree_id) fib 714 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_raltb_pack(raltb_pl, fib->vr->id, fib 715 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c (enum mlxsw_reg_ralxx_protocol) fib->proto, fib 721 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib *fib) fib 726 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_raltb_pack(raltb_pl, fib->vr->id, fib 727 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c (enum mlxsw_reg_ralxx_protocol) fib->proto, 0); fib 870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto); fib 874 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib->lpm_tree->id == tree_id) fib 880 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib, fib 883 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_lpm_tree *old_tree = fib->lpm_tree; fib 886 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->lpm_tree = new_tree; fib 888 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_vr_lpm_tree_bind(mlxsw_sp, fib, new_tree->id); fib 896 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->lpm_tree = old_tree; fib 901 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib, fib 904 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_sp_l3proto proto = fib->proto; fib 1124 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_node_lookup(struct mlxsw_sp_fib *fib, const void *addr, fib 1164 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib; fib 1173 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, proto); fib 1188 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_lookup(fib, addrp, addr_len, fib 3055 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_fib *fib, fib 3063 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c (enum mlxsw_reg_ralxx_protocol) fib->proto, fib 3064 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->vr->id, adj_index, ecmp_size, new_adj_index, fib 3074 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = NULL; fib 3078 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib == fib_entry->fib_node->fib) fib 3080 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = fib_entry->fib_node->fib; fib 3081 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_adj_index_mass_update_vr(mlxsw_sp, fib, fib 3983 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->fib_node->fib->proto) { fib 4112 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->fib_node->fib->proto) { fib 4125 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_entry->fib_node->fib->proto) { fib 4160 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = fib_entry->fib_node->fib; fib 4164 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c proto = (enum mlxsw_reg_ralxx_protocol) fib->proto; fib 4166 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib->proto) { fib 4169 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_ralue_pack4(ralue_pl, proto, op, fib->vr->id, fib 4174 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_ralue_pack6(ralue_pl, proto, op, fib->vr->id, fib 4439 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib; fib 4445 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, MLXSW_SP_L3_PROTO_IPV4); fib 4447 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_lookup(fib, &fen_info->dst, fib 4473 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static int mlxsw_sp_fib_node_insert(struct mlxsw_sp_fib *fib, fib 4476 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return rhashtable_insert_fast(&fib->ht, &fib_node->ht_node, fib 4480 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_fib_node_remove(struct mlxsw_sp_fib *fib, fib 4483 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c rhashtable_remove_fast(&fib->ht, &fib_node->ht_node, fib 4488 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_node_lookup(struct mlxsw_sp_fib *fib, const void *addr, fib 4496 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return rhashtable_lookup_fast(&fib->ht, &key, mlxsw_sp_fib_ht_params); fib 4500 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_node_create(struct mlxsw_sp_fib *fib, const void *addr, fib 4510 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_add(&fib_node->list, &fib->node_list); fib 4536 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = fib_node->fib; fib 4540 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c lpm_tree = mlxsw_sp->router->lpm.proto_trees[fib->proto]; fib 4547 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->proto); fib 4551 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_vrs_lpm_tree_replace(mlxsw_sp, fib, lpm_tree); fib 4567 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_lpm_tree *lpm_tree = fib_node->fib->lpm_tree; fib 4569 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = fib_node->fib; fib 4581 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib->proto); fib 4585 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_vrs_lpm_tree_replace(mlxsw_sp, fib, lpm_tree); fib 4597 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib) fib 4601 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_fib_node_insert(fib, fib_node); fib 4604 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node->fib = fib; fib 4613 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node->fib = NULL; fib 4614 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_node_remove(fib, fib_node); fib 4621 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = fib_node->fib; fib 4624 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node->fib = NULL; fib 4625 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_node_remove(fib, fib_node); fib 4634 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib; fib 4641 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, proto); fib 4643 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_lookup(fib, addr, addr_len, prefix_len); fib 4647 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_create(fib, addr, addr_len, prefix_len); fib 4653 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c err = mlxsw_sp_fib_node_init(mlxsw_sp, fib_node, fib); fib 4669 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_vr *vr = fib_node->fib->vr; fib 5522 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib; fib 5528 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib = mlxsw_sp_vr_fib(vr, MLXSW_SP_L3_PROTO_IPV6); fib 5530 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_lookup(fib, &rt->fib6_dst.addr, fib 5852 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (fib_node->fib->proto) { fib 5866 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto); fib 5869 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(fib_node, tmp, &fib->node_list, list) { fib 5870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c bool do_break = &tmp->list == &fib->node_list; fib 31 drivers/net/netdevsim/fib.c struct nsim_fib_entry fib; fib 49 drivers/net/netdevsim/fib.c entry = &fib_data->ipv4.fib; fib 55 drivers/net/netdevsim/fib.c entry = &fib_data->ipv6.fib; fib 76 drivers/net/netdevsim/fib.c entry = &fib_data->ipv4.fib; fib 82 drivers/net/netdevsim/fib.c entry = &fib_data->ipv6.fib; fib 168 drivers/net/netdevsim/fib.c err = nsim_fib_account(&data->ipv4.fib, add, extack); fib 171 drivers/net/netdevsim/fib.c err = nsim_fib_account(&data->ipv6.fib, add, extack); fib 209 drivers/net/netdevsim/fib.c data->ipv4.fib.num = 0ULL; fib 212 drivers/net/netdevsim/fib.c data->ipv6.fib.num = 0ULL; fib 227 drivers/net/netdevsim/fib.c data->ipv4.fib.max = (u64)-1; fib 230 drivers/net/netdevsim/fib.c data->ipv6.fib.max = (u64)-1; fib 333 drivers/scsi/aacraid/aachba.c struct fib *fibptr) { fib 360 drivers/scsi/aacraid/aachba.c struct fib * fibptr; fib 454 drivers/scsi/aacraid/aachba.c struct fib * fibptr; fib 520 drivers/scsi/aacraid/aachba.c static void get_container_name_callback(void *context, struct fib * fibptr) fib 572 drivers/scsi/aacraid/aachba.c struct fib * cmd_fibcontext; fib 621 drivers/scsi/aacraid/aachba.c static void _aac_probe_container2(void * context, struct fib * fibptr) fib 680 drivers/scsi/aacraid/aachba.c static void _aac_probe_container1(void * context, struct fib * fibptr) fib 734 drivers/scsi/aacraid/aachba.c struct fib * fibptr; fib 976 drivers/scsi/aacraid/aachba.c static void get_container_serial_callback(void *context, struct fib * fibptr) fib 1104 drivers/scsi/aacraid/aachba.c struct fib * cmd_fibcontext; fib 1209 drivers/scsi/aacraid/aachba.c static void io_callback(void *context, struct fib * fibptr); fib 1211 drivers/scsi/aacraid/aachba.c static int aac_read_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) fib 1213 drivers/scsi/aacraid/aachba.c struct aac_dev *dev = fib->dev; fib 1217 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1222 drivers/scsi/aacraid/aachba.c readcmd2 = (struct aac_raw_io2 *) fib_data(fib); fib 1239 drivers/scsi/aacraid/aachba.c readcmd = (struct aac_raw_io *) fib_data(fib); fib 1256 drivers/scsi/aacraid/aachba.c BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); fib 1261 drivers/scsi/aacraid/aachba.c fib, fib 1269 drivers/scsi/aacraid/aachba.c static int aac_read_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) fib 1275 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1276 drivers/scsi/aacraid/aachba.c readcmd = (struct aac_read64 *) fib_data(fib); fib 1290 drivers/scsi/aacraid/aachba.c BUG_ON (fibsize > (fib->dev->max_fib_size - fib 1296 drivers/scsi/aacraid/aachba.c fib, fib 1304 drivers/scsi/aacraid/aachba.c static int aac_read_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) fib 1308 drivers/scsi/aacraid/aachba.c struct aac_dev *dev = fib->dev; fib 1311 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1312 drivers/scsi/aacraid/aachba.c readcmd = (struct aac_read *) fib_data(fib); fib 1325 drivers/scsi/aacraid/aachba.c BUG_ON (fibsize > (fib->dev->max_fib_size - fib 1331 drivers/scsi/aacraid/aachba.c fib, fib 1339 drivers/scsi/aacraid/aachba.c static int aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) fib 1341 drivers/scsi/aacraid/aachba.c struct aac_dev *dev = fib->dev; fib 1345 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1350 drivers/scsi/aacraid/aachba.c writecmd2 = (struct aac_raw_io2 *) fib_data(fib); fib 1358 drivers/scsi/aacraid/aachba.c (((aac_cache & 5) != 5) || !fib->dev->cache_protected)) ? fib 1370 drivers/scsi/aacraid/aachba.c writecmd = (struct aac_raw_io *) fib_data(fib); fib 1377 drivers/scsi/aacraid/aachba.c (((aac_cache & 5) != 5) || !fib->dev->cache_protected)) ? fib 1390 drivers/scsi/aacraid/aachba.c BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); fib 1395 drivers/scsi/aacraid/aachba.c fib, fib 1403 drivers/scsi/aacraid/aachba.c static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) fib 1409 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1410 drivers/scsi/aacraid/aachba.c writecmd = (struct aac_write64 *) fib_data(fib); fib 1424 drivers/scsi/aacraid/aachba.c BUG_ON (fibsize > (fib->dev->max_fib_size - fib 1430 drivers/scsi/aacraid/aachba.c fib, fib 1438 drivers/scsi/aacraid/aachba.c static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) fib 1442 drivers/scsi/aacraid/aachba.c struct aac_dev *dev = fib->dev; fib 1445 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1446 drivers/scsi/aacraid/aachba.c writecmd = (struct aac_write *) fib_data(fib); fib 1461 drivers/scsi/aacraid/aachba.c BUG_ON (fibsize > (fib->dev->max_fib_size - fib 1467 drivers/scsi/aacraid/aachba.c fib, fib 1475 drivers/scsi/aacraid/aachba.c static struct aac_srb * aac_scsi_common(struct fib * fib, struct scsi_cmnd * cmd) fib 1481 drivers/scsi/aacraid/aachba.c aac_fib_init(fib); fib 1498 drivers/scsi/aacraid/aachba.c srbcmd = (struct aac_srb*) fib_data(fib); fib 1513 drivers/scsi/aacraid/aachba.c static struct aac_hba_cmd_req *aac_construct_hbacmd(struct fib *fib, fib 1523 drivers/scsi/aacraid/aachba.c hbacmd = (struct aac_hba_cmd_req *)fib->hw_fib_va; fib 1551 drivers/scsi/aacraid/aachba.c address = (u64)fib->hw_error_pa; fib 1559 drivers/scsi/aacraid/aachba.c static void aac_srb_callback(void *context, struct fib * fibptr); fib 1561 drivers/scsi/aacraid/aachba.c static int aac_scsi_64(struct fib * fib, struct scsi_cmnd * cmd) fib 1564 drivers/scsi/aacraid/aachba.c struct aac_srb * srbcmd = aac_scsi_common(fib, cmd); fib 1580 drivers/scsi/aacraid/aachba.c BUG_ON (fibsize > (fib->dev->max_fib_size - fib 1586 drivers/scsi/aacraid/aachba.c return aac_fib_send(ScsiPortCommand64, fib, fib 1592 drivers/scsi/aacraid/aachba.c static int aac_scsi_32(struct fib * fib, struct scsi_cmnd * cmd) fib 1595 drivers/scsi/aacraid/aachba.c struct aac_srb * srbcmd = aac_scsi_common(fib, cmd); fib 1611 drivers/scsi/aacraid/aachba.c BUG_ON (fibsize > (fib->dev->max_fib_size - fib 1617 drivers/scsi/aacraid/aachba.c return aac_fib_send(ScsiPortCommand, fib, fibsize, FsaNormal, 0, 1, fib 1621 drivers/scsi/aacraid/aachba.c static int aac_scsi_32_64(struct fib * fib, struct scsi_cmnd * cmd) fib 1623 drivers/scsi/aacraid/aachba.c if ((sizeof(dma_addr_t) > 4) && fib->dev->needs_dac && fib 1624 drivers/scsi/aacraid/aachba.c (fib->dev->adapter_info.options & AAC_OPT_SGMAP_HOST64)) fib 1626 drivers/scsi/aacraid/aachba.c return aac_scsi_32(fib, cmd); fib 1629 drivers/scsi/aacraid/aachba.c static int aac_adapter_hba(struct fib *fib, struct scsi_cmnd *cmd) fib 1631 drivers/scsi/aacraid/aachba.c struct aac_hba_cmd_req *hbacmd = aac_construct_hbacmd(fib, cmd); fib 1638 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize, (u64)fib->hw_sgl_pa); fib 1645 drivers/scsi/aacraid/aachba.c fib->hbacmd_size = 64 + le32_to_cpu(hbacmd->emb_data_desc_count) * fib 1648 drivers/scsi/aacraid/aachba.c return aac_hba_send(HBA_IU_TYPE_SCSI_CMD_REQ, fib, fib 1656 drivers/scsi/aacraid/aachba.c struct fib *fibptr; fib 2030 drivers/scsi/aacraid/aachba.c struct fib* fibptr; fib 2307 drivers/scsi/aacraid/aachba.c static void io_callback(void *context, struct fib * fibptr) fib 2412 drivers/scsi/aacraid/aachba.c struct fib * cmd_fibcontext; fib 2514 drivers/scsi/aacraid/aachba.c struct fib * cmd_fibcontext; fib 2600 drivers/scsi/aacraid/aachba.c static void synchronize_callback(void *context, struct fib *fibptr) fib 2644 drivers/scsi/aacraid/aachba.c struct fib *cmd_fibcontext; fib 2762 drivers/scsi/aacraid/aachba.c static void aac_start_stop_callback(void *context, struct fib *fibptr) fib 2781 drivers/scsi/aacraid/aachba.c struct fib *cmd_fibcontext; fib 3470 drivers/scsi/aacraid/aachba.c static void aac_srb_callback(void *context, struct fib * fibptr) fib 3762 drivers/scsi/aacraid/aachba.c void aac_hba_callback(void *context, struct fib *fibptr) fib 3829 drivers/scsi/aacraid/aachba.c struct fib* cmd_fibcontext; fib 3871 drivers/scsi/aacraid/aachba.c struct fib *cmd_fibcontext; fib 893 drivers/scsi/aacraid/aacraid.h struct fib; fib 911 drivers/scsi/aacraid/aacraid.h int (*adapter_deliver)(struct fib * fib); fib 913 drivers/scsi/aacraid/aacraid.h int (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count); fib 914 drivers/scsi/aacraid/aacraid.h int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua); fib 915 drivers/scsi/aacraid/aacraid.h int (*adapter_scsi)(struct fib * fib, struct scsi_cmnd * cmd); fib 1223 drivers/scsi/aacraid/aacraid.h typedef void (*fib_callback)(void *ctxt, struct fib *fibctx); fib 1551 drivers/scsi/aacraid/aacraid.h struct fib *fibs; fib 1553 drivers/scsi/aacraid/aacraid.h struct fib *free_fib; fib 1661 drivers/scsi/aacraid/aacraid.h struct fib *sync_fib; fib 1702 drivers/scsi/aacraid/aacraid.h #define aac_adapter_deliver(fib) \ fib 1703 drivers/scsi/aacraid/aacraid.h ((fib)->dev)->a_ops.adapter_deliver(fib) fib 1708 drivers/scsi/aacraid/aacraid.h #define aac_adapter_read(fib,cmd,lba,count) \ fib 1709 drivers/scsi/aacraid/aacraid.h ((fib)->dev)->a_ops.adapter_read(fib,cmd,lba,count) fib 1711 drivers/scsi/aacraid/aacraid.h #define aac_adapter_write(fib,cmd,lba,count,fua) \ fib 1712 drivers/scsi/aacraid/aacraid.h ((fib)->dev)->a_ops.adapter_write(fib,cmd,lba,count,fua) fib 1714 drivers/scsi/aacraid/aacraid.h #define aac_adapter_scsi(fib,cmd) \ fib 1715 drivers/scsi/aacraid/aacraid.h ((fib)->dev)->a_ops.adapter_scsi(fib,cmd) fib 2334 drivers/scsi/aacraid/aacraid.h char __user *fib; fib 2679 drivers/scsi/aacraid/aacraid.h struct fib *aac_fib_alloc(struct aac_dev *dev); fib 2680 drivers/scsi/aacraid/aacraid.h struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd); fib 2683 drivers/scsi/aacraid/aacraid.h void aac_fib_free(struct fib * context); fib 2684 drivers/scsi/aacraid/aacraid.h void aac_fib_init(struct fib * context); fib 2686 drivers/scsi/aacraid/aacraid.h int aac_fib_send(u16 command, struct fib * context, unsigned long size, int priority, int wait, int reply, fib_callback callback, void *ctxt); fib 2687 drivers/scsi/aacraid/aacraid.h int aac_hba_send(u8 command, struct fib *context, fib 2691 drivers/scsi/aacraid/aacraid.h int aac_fib_complete(struct fib * context); fib 2692 drivers/scsi/aacraid/aacraid.h void aac_hba_callback(void *context, struct fib *fibptr); fib 2712 drivers/scsi/aacraid/aacraid.h int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify); fib 2723 drivers/scsi/aacraid/aacraid.h int aac_fib_adapter_complete(struct fib * fibptr, unsigned short size); fib 2730 drivers/scsi/aacraid/aacraid.h int aac_rx_deliver_producer(struct fib * fib); fib 49 drivers/scsi/aacraid/commctrl.c struct fib *fibptr; fib 241 drivers/scsi/aacraid/commctrl.c struct fib *fib; fib 295 drivers/scsi/aacraid/commctrl.c fib = list_entry(entry, struct fib, fiblink); fib 298 drivers/scsi/aacraid/commctrl.c if (copy_to_user(f.fib, fib->hw_fib_va, sizeof(struct hw_fib))) { fib 299 drivers/scsi/aacraid/commctrl.c kfree(fib->hw_fib_va); fib 300 drivers/scsi/aacraid/commctrl.c kfree(fib); fib 306 drivers/scsi/aacraid/commctrl.c kfree(fib->hw_fib_va); fib 307 drivers/scsi/aacraid/commctrl.c kfree(fib); fib 340 drivers/scsi/aacraid/commctrl.c struct fib *fib; fib 352 drivers/scsi/aacraid/commctrl.c fib = list_entry(entry, struct fib, fiblink); fib 357 drivers/scsi/aacraid/commctrl.c kfree(fib->hw_fib_va); fib 358 drivers/scsi/aacraid/commctrl.c kfree(fib); fib 465 drivers/scsi/aacraid/commctrl.c struct fib* srbfib; fib 316 drivers/scsi/aacraid/comminit.c struct fib * fibctx; fib 106 drivers/scsi/aacraid/commsup.c struct fib *fibptr = NULL; fib 134 drivers/scsi/aacraid/commsup.c struct fib *fibptr; fib 172 drivers/scsi/aacraid/commsup.c fibptr->size = sizeof(struct fib); fib 222 drivers/scsi/aacraid/commsup.c struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd) fib 224 drivers/scsi/aacraid/commsup.c struct fib *fibptr; fib 247 drivers/scsi/aacraid/commsup.c struct fib *aac_fib_alloc(struct aac_dev *dev) fib 249 drivers/scsi/aacraid/commsup.c struct fib * fibptr; fib 263 drivers/scsi/aacraid/commsup.c fibptr->size = sizeof(struct fib); fib 283 drivers/scsi/aacraid/commsup.c void aac_fib_free(struct fib *fibptr) fib 311 drivers/scsi/aacraid/commsup.c void aac_fib_init(struct fib *fibptr) fib 331 drivers/scsi/aacraid/commsup.c static void fib_dealloc(struct fib * fibptr) fib 419 drivers/scsi/aacraid/commsup.c int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify) fib 481 drivers/scsi/aacraid/commsup.c int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, fib 705 drivers/scsi/aacraid/commsup.c int aac_hba_send(u8 command, struct fib *fibptr, fib_callback callback, fib 869 drivers/scsi/aacraid/commsup.c int aac_fib_adapter_complete(struct fib *fibptr, unsigned short size) fib 941 drivers/scsi/aacraid/commsup.c int aac_fib_complete(struct fib *fibptr) fib 1061 drivers/scsi/aacraid/commsup.c static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr) fib 1516 drivers/scsi/aacraid/commsup.c struct fib *fib = &aac->fibs[index]; fib 1517 drivers/scsi/aacraid/commsup.c __le32 XferState = fib->hw_fib_va->header.XferState; fib 1525 drivers/scsi/aacraid/commsup.c || fib->flags & FIB_CONTEXT_FLAG_WAIT) { fib 1527 drivers/scsi/aacraid/commsup.c spin_lock_irqsave(&fib->event_lock, flagv); fib 1528 drivers/scsi/aacraid/commsup.c complete(&fib->event_wait); fib 1529 drivers/scsi/aacraid/commsup.c spin_unlock_irqrestore(&fib->event_lock, flagv); fib 1686 drivers/scsi/aacraid/commsup.c struct fib * fibctx = aac_fib_alloc(aac); fib 1762 drivers/scsi/aacraid/commsup.c struct fib * fib; fib 1790 drivers/scsi/aacraid/commsup.c fib = kzalloc(sizeof(struct fib), GFP_ATOMIC); fib 1791 drivers/scsi/aacraid/commsup.c if (fib && hw_fib) { fib 1794 drivers/scsi/aacraid/commsup.c fib->hw_fib_va = hw_fib; fib 1795 drivers/scsi/aacraid/commsup.c fib->dev = aac; fib 1796 drivers/scsi/aacraid/commsup.c aac_fib_init(fib); fib 1797 drivers/scsi/aacraid/commsup.c fib->type = FSAFS_NTC_FIB_CONTEXT; fib 1798 drivers/scsi/aacraid/commsup.c fib->size = sizeof (struct fib); fib 1799 drivers/scsi/aacraid/commsup.c fib->data = hw_fib->data; fib 1812 drivers/scsi/aacraid/commsup.c list_add_tail(&fib->fiblink, &fibctx->fib_list); fib 1821 drivers/scsi/aacraid/commsup.c kfree(fib); fib 1970 drivers/scsi/aacraid/commsup.c static void aac_handle_sa_aif(struct aac_dev *dev, struct fib *fibptr) fib 2040 drivers/scsi/aacraid/commsup.c struct fib **fib_pool, fib 2044 drivers/scsi/aacraid/commsup.c struct fib **fib_p; fib 2055 drivers/scsi/aacraid/commsup.c *(fib_p) = kmalloc(sizeof(struct fib), GFP_KERNEL); fib 2071 drivers/scsi/aacraid/commsup.c struct fib **fib_pool, fib 2072 drivers/scsi/aacraid/commsup.c struct fib *fib, fib 2079 drivers/scsi/aacraid/commsup.c struct fib **fib_p; fib 2082 drivers/scsi/aacraid/commsup.c struct fib *newfib; fib 2143 drivers/scsi/aacraid/commsup.c memcpy(newfib, fib, sizeof(struct fib)); fib 2163 drivers/scsi/aacraid/commsup.c aac_fib_adapter_complete(fib, sizeof(u32)); fib 2171 drivers/scsi/aacraid/commsup.c struct fib *fib; fib 2183 drivers/scsi/aacraid/commsup.c struct fib **fib_pool, **fib_p; fib 2193 drivers/scsi/aacraid/commsup.c fib = list_entry(entry, struct fib, fiblink); fib 2194 drivers/scsi/aacraid/commsup.c hw_fib = fib->hw_fib_va; fib 2197 drivers/scsi/aacraid/commsup.c aac_handle_sa_aif(dev, fib); fib 2198 drivers/scsi/aacraid/commsup.c aac_fib_adapter_complete(fib, (u16)sizeof(u32)); fib 2207 drivers/scsi/aacraid/commsup.c memset(fib, 0, sizeof(struct fib)); fib 2208 drivers/scsi/aacraid/commsup.c fib->type = FSAFS_NTC_FIB_CONTEXT; fib 2209 drivers/scsi/aacraid/commsup.c fib->size = sizeof(struct fib); fib 2210 drivers/scsi/aacraid/commsup.c fib->hw_fib_va = hw_fib; fib 2211 drivers/scsi/aacraid/commsup.c fib->data = hw_fib->data; fib 2212 drivers/scsi/aacraid/commsup.c fib->dev = dev; fib 2220 drivers/scsi/aacraid/commsup.c aac_handle_aif(dev, fib); fib 2222 drivers/scsi/aacraid/commsup.c aac_fib_adapter_complete(fib, (u16)sizeof(u32)); fib 2233 drivers/scsi/aacraid/commsup.c aac_handle_aif(dev, fib); fib 2248 drivers/scsi/aacraid/commsup.c fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL); fib 2265 drivers/scsi/aacraid/commsup.c fib, hw_fib, num); fib 2281 drivers/scsi/aacraid/commsup.c kfree(fib); fib 2299 drivers/scsi/aacraid/commsup.c struct fib *fibptr; fib 2398 drivers/scsi/aacraid/commsup.c struct fib *fibptr; fib 44 drivers/scsi/aacraid/dpcsup.c struct fib * fib; fib 60 drivers/scsi/aacraid/dpcsup.c fib = &dev->fibs[index >> 2]; fib 61 drivers/scsi/aacraid/dpcsup.c hwfib = fib->hw_fib_va; fib 74 drivers/scsi/aacraid/dpcsup.c if (unlikely(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { fib 76 drivers/scsi/aacraid/dpcsup.c aac_fib_complete(fib); fib 77 drivers/scsi/aacraid/dpcsup.c aac_fib_free(fib); fib 89 drivers/scsi/aacraid/dpcsup.c fib->flags |= FIB_CONTEXT_FLAG_FASTRESP; fib 110 drivers/scsi/aacraid/dpcsup.c fib->callback(fib->callback_data, fib); fib 113 drivers/scsi/aacraid/dpcsup.c spin_lock_irqsave(&fib->event_lock, flagv); fib 114 drivers/scsi/aacraid/dpcsup.c if (!fib->done) { fib 115 drivers/scsi/aacraid/dpcsup.c fib->done = 1; fib 116 drivers/scsi/aacraid/dpcsup.c complete(&fib->event_wait); fib 118 drivers/scsi/aacraid/dpcsup.c spin_unlock_irqrestore(&fib->event_lock, flagv); fib 125 drivers/scsi/aacraid/dpcsup.c if (fib->done == 2) { fib 126 drivers/scsi/aacraid/dpcsup.c spin_lock_irqsave(&fib->event_lock, flagv); fib 127 drivers/scsi/aacraid/dpcsup.c fib->done = 0; fib 128 drivers/scsi/aacraid/dpcsup.c spin_unlock_irqrestore(&fib->event_lock, flagv); fib 129 drivers/scsi/aacraid/dpcsup.c aac_fib_complete(fib); fib 130 drivers/scsi/aacraid/dpcsup.c aac_fib_free(fib); fib 172 drivers/scsi/aacraid/dpcsup.c struct fib fibctx; fib 175 drivers/scsi/aacraid/dpcsup.c struct fib *fib = &fibctx; fib 186 drivers/scsi/aacraid/dpcsup.c if((fib = kmalloc(sizeof(struct fib), GFP_ATOMIC)) == NULL) fib 187 drivers/scsi/aacraid/dpcsup.c fib = &fibctx; fib 189 drivers/scsi/aacraid/dpcsup.c memset(fib, 0, sizeof(struct fib)); fib 190 drivers/scsi/aacraid/dpcsup.c INIT_LIST_HEAD(&fib->fiblink); fib 191 drivers/scsi/aacraid/dpcsup.c fib->type = FSAFS_NTC_FIB_CONTEXT; fib 192 drivers/scsi/aacraid/dpcsup.c fib->size = sizeof(struct fib); fib 193 drivers/scsi/aacraid/dpcsup.c fib->hw_fib_va = hw_fib; fib 194 drivers/scsi/aacraid/dpcsup.c fib->data = hw_fib->data; fib 195 drivers/scsi/aacraid/dpcsup.c fib->dev = dev; fib 198 drivers/scsi/aacraid/dpcsup.c if (dev->aif_thread && fib != &fibctx) { fib 199 drivers/scsi/aacraid/dpcsup.c list_add_tail(&fib->fiblink, &q->cmdq); fib 209 drivers/scsi/aacraid/dpcsup.c aac_fib_adapter_complete(fib, sizeof(u32)); fib 227 drivers/scsi/aacraid/dpcsup.c static void aac_aif_callback(void *context, struct fib * fibptr) fib 229 drivers/scsi/aacraid/dpcsup.c struct fib *fibctx; fib 234 drivers/scsi/aacraid/dpcsup.c fibctx = (struct fib *)context; fib 277 drivers/scsi/aacraid/dpcsup.c struct fib * fib; fib 287 drivers/scsi/aacraid/dpcsup.c || (!(fib = kzalloc(sizeof(struct fib),GFP_ATOMIC)))) fib 290 drivers/scsi/aacraid/dpcsup.c kfree (fib); fib 294 drivers/scsi/aacraid/dpcsup.c fib->hbacmd_size = index; /* store event type */ fib 302 drivers/scsi/aacraid/dpcsup.c INIT_LIST_HEAD(&fib->fiblink); fib 303 drivers/scsi/aacraid/dpcsup.c fib->type = FSAFS_NTC_FIB_CONTEXT; fib 304 drivers/scsi/aacraid/dpcsup.c fib->size = sizeof(struct fib); fib 305 drivers/scsi/aacraid/dpcsup.c fib->hw_fib_va = hw_fib; fib 306 drivers/scsi/aacraid/dpcsup.c fib->data = hw_fib->data; fib 307 drivers/scsi/aacraid/dpcsup.c fib->dev = dev; fib 310 drivers/scsi/aacraid/dpcsup.c list_add_tail(&fib->fiblink, &q->cmdq); fib 315 drivers/scsi/aacraid/dpcsup.c struct fib *fibctx; fib 333 drivers/scsi/aacraid/dpcsup.c struct fib *fib = &dev->fibs[index]; fib 346 drivers/scsi/aacraid/dpcsup.c if (unlikely(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { fib 347 drivers/scsi/aacraid/dpcsup.c aac_fib_complete(fib); fib 348 drivers/scsi/aacraid/dpcsup.c aac_fib_free(fib); fib 354 drivers/scsi/aacraid/dpcsup.c if (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) { fib 357 drivers/scsi/aacraid/dpcsup.c fib->flags |= FIB_CONTEXT_FLAG_FASTRESP; fib 359 drivers/scsi/aacraid/dpcsup.c if (fib->callback) { fib 366 drivers/scsi/aacraid/dpcsup.c spin_lock_irqsave(&fib->event_lock, flagv); fib 367 drivers/scsi/aacraid/dpcsup.c if (fib->done == 2) { fib 368 drivers/scsi/aacraid/dpcsup.c fib->done = 1; fib 371 drivers/scsi/aacraid/dpcsup.c fib->done = 1; fib 372 drivers/scsi/aacraid/dpcsup.c complete(&fib->event_wait); fib 374 drivers/scsi/aacraid/dpcsup.c spin_unlock_irqrestore(&fib->event_lock, flagv); fib 383 drivers/scsi/aacraid/dpcsup.c aac_fib_complete(fib); fib 386 drivers/scsi/aacraid/dpcsup.c struct hw_fib *hwfib = fib->hw_fib_va; fib 393 drivers/scsi/aacraid/dpcsup.c fib->flags |= FIB_CONTEXT_FLAG_FASTRESP; fib 418 drivers/scsi/aacraid/dpcsup.c spin_lock_irqsave(&fib->event_lock, flagv); fib 419 drivers/scsi/aacraid/dpcsup.c if (fib->done == 2) { fib 420 drivers/scsi/aacraid/dpcsup.c fib->done = 1; fib 423 drivers/scsi/aacraid/dpcsup.c fib->done = 1; fib 424 drivers/scsi/aacraid/dpcsup.c complete(&fib->event_wait); fib 426 drivers/scsi/aacraid/dpcsup.c spin_unlock_irqrestore(&fib->event_lock, flagv); fib 435 drivers/scsi/aacraid/dpcsup.c aac_fib_complete(fib); fib 445 drivers/scsi/aacraid/dpcsup.c if (likely(fib->callback && fib->callback_data)) { fib 446 drivers/scsi/aacraid/dpcsup.c fib->callback(fib->callback_data, fib); fib 448 drivers/scsi/aacraid/dpcsup.c aac_fib_complete(fib); fib 449 drivers/scsi/aacraid/dpcsup.c aac_fib_free(fib); fib 682 drivers/scsi/aacraid/linit.c struct fib *fib; fib 693 drivers/scsi/aacraid/linit.c fib = &aac->fibs[count]; fib 694 drivers/scsi/aacraid/linit.c if (*(u8 *)fib->hw_fib_va != 0 && fib 695 drivers/scsi/aacraid/linit.c (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && fib 696 drivers/scsi/aacraid/linit.c (fib->callback_data == cmd)) { fib 705 drivers/scsi/aacraid/linit.c fib = aac_fib_alloc(aac); fib 706 drivers/scsi/aacraid/linit.c if (!fib) fib 709 drivers/scsi/aacraid/linit.c tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; fib 715 drivers/scsi/aacraid/linit.c address = (u64)fib->hw_error_pa; fib 720 drivers/scsi/aacraid/linit.c fib->hbacmd_size = sizeof(*tmf); fib 723 drivers/scsi/aacraid/linit.c status = aac_hba_send(HBA_IU_TYPE_SCSI_TM_REQ, fib, fib 762 drivers/scsi/aacraid/linit.c struct fib *fib = &aac->fibs[count]; fib 764 drivers/scsi/aacraid/linit.c if (fib->hw_fib_va->header.XferState && fib 765 drivers/scsi/aacraid/linit.c (fib->flags & FIB_CONTEXT_FLAG) && fib 766 drivers/scsi/aacraid/linit.c (fib->callback_data == cmd)) { fib 767 drivers/scsi/aacraid/linit.c fib->flags |= fib 784 drivers/scsi/aacraid/linit.c struct fib *fib = &aac->fibs[count]; fib 786 drivers/scsi/aacraid/linit.c command = fib->callback_data; fib 788 drivers/scsi/aacraid/linit.c if ((fib->hw_fib_va->header.XferState & fib 791 drivers/scsi/aacraid/linit.c (fib->flags & FIB_CONTEXT_FLAG) && fib 794 drivers/scsi/aacraid/linit.c fib->flags |= fib 809 drivers/scsi/aacraid/linit.c struct fib *fib, u64 tmf_lun) fib 815 drivers/scsi/aacraid/linit.c tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; fib 821 drivers/scsi/aacraid/linit.c address = (u64)fib->hw_error_pa; fib 827 drivers/scsi/aacraid/linit.c fib->hbacmd_size = sizeof(*tmf); fib 833 drivers/scsi/aacraid/linit.c struct fib *fib) fib 839 drivers/scsi/aacraid/linit.c rst = (struct aac_hba_reset_req *)fib->hw_fib_va; fib 843 drivers/scsi/aacraid/linit.c address = (u64)fib->hw_error_pa; fib 847 drivers/scsi/aacraid/linit.c fib->hbacmd_size = sizeof(*rst); fib 852 drivers/scsi/aacraid/linit.c void aac_tmf_callback(void *context, struct fib *fibptr) fib 892 drivers/scsi/aacraid/linit.c struct fib *fib; fib 912 drivers/scsi/aacraid/linit.c fib = aac_fib_alloc(aac); fib 913 drivers/scsi/aacraid/linit.c if (!fib) fib 917 drivers/scsi/aacraid/linit.c command = aac_eh_tmf_lun_reset_fib(info, fib, dev->lun); fib 921 drivers/scsi/aacraid/linit.c status = aac_hba_send(command, fib, fib 951 drivers/scsi/aacraid/linit.c struct fib *fib; fib 970 drivers/scsi/aacraid/linit.c fib = aac_fib_alloc(aac); fib 971 drivers/scsi/aacraid/linit.c if (!fib) fib 976 drivers/scsi/aacraid/linit.c command = aac_eh_tmf_hard_reset_fib(info, fib); fib 980 drivers/scsi/aacraid/linit.c status = aac_hba_send(command, fib, fib 1014 drivers/scsi/aacraid/linit.c struct fib *fib = &aac->fibs[count]; fib 1016 drivers/scsi/aacraid/linit.c if (fib->hw_fib_va->header.XferState && fib 1017 drivers/scsi/aacraid/linit.c (fib->flags & FIB_CONTEXT_FLAG) && fib 1018 drivers/scsi/aacraid/linit.c (fib->flags & FIB_CONTEXT_FLAG_SCSI_CMD)) { fib 1022 drivers/scsi/aacraid/linit.c cmd = (struct scsi_cmnd *)fib->callback_data; fib 1030 drivers/scsi/aacraid/linit.c fib->flags |= FIB_CONTEXT_FLAG_EH_RESET; fib 1549 drivers/scsi/aacraid/linit.c struct fib *fib = &aac->fibs[i]; fib 1550 drivers/scsi/aacraid/linit.c if (!(fib->hw_fib_va->header.XferState & cpu_to_le32(NoResponseExpected | Async)) && fib 1551 drivers/scsi/aacraid/linit.c (fib->hw_fib_va->header.XferState & cpu_to_le32(ResponseExpected))) fib 1552 drivers/scsi/aacraid/linit.c complete(&fib->event_wait); fib 1675 drivers/scsi/aacraid/linit.c sizeof(struct fib), fib 388 drivers/scsi/aacraid/rx.c int aac_rx_deliver_producer(struct fib * fib) fib 390 drivers/scsi/aacraid/rx.c struct aac_dev *dev = fib->dev; fib 395 drivers/scsi/aacraid/rx.c aac_queue_get( dev, &Index, AdapNormCmdQueue, fib->hw_fib_va, 1, fib, &nointr); fib 411 drivers/scsi/aacraid/rx.c static int aac_rx_deliver_message(struct fib * fib) fib 413 drivers/scsi/aacraid/rx.c struct aac_dev *dev = fib->dev; fib 434 drivers/scsi/aacraid/rx.c addr = fib->hw_fib_pa; fib 439 drivers/scsi/aacraid/rx.c writel(le16_to_cpu(fib->hw_fib_va->header.Size), device); fib 103 drivers/scsi/aacraid/src.c struct fib, fib 474 drivers/scsi/aacraid/src.c static int aac_src_deliver_message(struct fib *fib) fib 476 drivers/scsi/aacraid/src.c struct aac_dev *dev = fib->dev; fib 490 drivers/scsi/aacraid/src.c native_hba = (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) ? 1 : 0; fib 494 drivers/scsi/aacraid/src.c (native_hba || fib->hw_fib_va->header.Command != AifRequest)) { fib 500 drivers/scsi/aacraid/src.c vector_no = fib->vector_no; fib 503 drivers/scsi/aacraid/src.c if (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA_TMF) { fib 507 drivers/scsi/aacraid/src.c fib->hw_fib_va; fib 511 drivers/scsi/aacraid/src.c fib->hw_fib_va)->reply_qid fib 514 drivers/scsi/aacraid/src.c fib->hw_fib_va)->request_id fib 518 drivers/scsi/aacraid/src.c fib->hw_fib_va)->reply_qid fib 521 drivers/scsi/aacraid/src.c fib->hw_fib_va)->request_id fib 526 drivers/scsi/aacraid/src.c fib->hw_fib_va)->reply_qid fib 529 drivers/scsi/aacraid/src.c fib->hw_fib_va)->request_id fib 533 drivers/scsi/aacraid/src.c fib->hw_fib_va->header.Handle += (vector_no << 16); fib 542 drivers/scsi/aacraid/src.c address = fib->hw_fib_pa; fib 543 drivers/scsi/aacraid/src.c fibsize = (fib->hbacmd_size + 127) / 128 - 1; fib 550 drivers/scsi/aacraid/src.c spin_lock_irqsave(&fib->dev->iq_lock, flags); fib 554 drivers/scsi/aacraid/src.c spin_unlock_irqrestore(&fib->dev->iq_lock, flags); fib 560 drivers/scsi/aacraid/src.c fibsize = (le16_to_cpu(fib->hw_fib_va->header.Size) fib 563 drivers/scsi/aacraid/src.c address = fib->hw_fib_pa; fib 564 drivers/scsi/aacraid/src.c fib->hw_fib_va->header.StructType = FIB_MAGIC2; fib 565 drivers/scsi/aacraid/src.c fib->hw_fib_va->header.SenderFibAddress = fib 567 drivers/scsi/aacraid/src.c fib->hw_fib_va->header.u.TimeStamp = 0; fib 572 drivers/scsi/aacraid/src.c le16_to_cpu(fib->hw_fib_va->header.Size) fib 576 drivers/scsi/aacraid/src.c ((unsigned char *)fib->hw_fib_va - fib 578 drivers/scsi/aacraid/src.c pFibX->Handle = fib->hw_fib_va->header.Handle; fib 580 drivers/scsi/aacraid/src.c cpu_to_le64((u64)fib->hw_fib_pa); fib 582 drivers/scsi/aacraid/src.c le16_to_cpu(fib->hw_fib_va->header.Size)); fib 583 drivers/scsi/aacraid/src.c address = fib->hw_fib_pa - fib 593 drivers/scsi/aacraid/src.c spin_lock_irqsave(&fib->dev->iq_lock, flags); fib 597 drivers/scsi/aacraid/src.c spin_unlock_irqrestore(&fib->dev->iq_lock, flags); fib 3 include/trace/events/fib.h #define TRACE_SYSTEM fib