/linux/drivers/scsi/aacraid/ |
H A D | dpcsup.c | 44 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 …]
|
H A D | linit.c | 697 struct fib *fib; in aac_eh_abort() local 708 fib = &aac->fibs[count]; in aac_eh_abort() 709 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort() 710 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort() 711 (fib->callback_data == cmd)) { in aac_eh_abort() 720 fib = aac_fib_alloc(aac); in aac_eh_abort() 721 if (!fib) in aac_eh_abort() 724 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort() 730 address = (u64)fib->hw_error_pa; in aac_eh_abort() 735 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort() [all …]
|
H A D | aachba.c | 333 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 …]
|
H A D | src.c | 103 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 …]
|
H A D | commctrl.c | 49 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 …]
|
H A D | rx.c | 397 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()
|
/linux/arch/s390/pci/ |
H A D | pci_irq.c | 36 struct zpci_fib fib = {0}; in zpci_set_airq() local 39 fib.fmt0.isc = PCI_ISC; in zpci_set_airq() 40 fib.fmt0.sum = 1; /* enable summary notifications */ in zpci_set_airq() 41 fib.fmt0.noi = airq_iv_end(zdev->aibv); in zpci_set_airq() 42 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in zpci_set_airq() 43 fib.fmt0.aibvo = 0; /* each zdev has its own interrupt vector */ in zpci_set_airq() 44 fib.fmt0.aisb = virt_to_phys(zpci_sbv->vector) + (zdev->aisb / 64) * 8; in zpci_set_airq() 45 fib.fmt0.aisbo = zdev->aisb & 63; in zpci_set_airq() 46 fib.gd = zdev->gisa; in zpci_set_airq() 48 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in zpci_set_airq() [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | fib.sh | 114 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 136 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 143 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 151 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 167 echo "y" > $DEBUGFS_DIR/fib/fail_route_delete 181 echo "n" > $DEBUGFS_DIR/fib/fail_route_delete 253 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 278 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 303 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100 310 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 [all …]
|
H A D | nexthop.sh | 356 echo 1 > $DEBUGFS_NET_DIR/fib/fail_res_nexthop_group_replace 375 echo 0 > $DEBUGFS_NET_DIR/fib/fail_res_nexthop_group_replace 389 > $DEBUGFS_NET_DIR/fib/nexthop_bucket_activity 850 echo 1 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace 870 echo 0 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace 953 echo 1 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace 968 echo 0 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace
|
H A D | devlink.sh | 319 local occ=$(res_val_get testns1 IPv4 fib occ) 324 devlink -N testns1 resource set $DL_HANDLE path IPv4/fib size $limit 326 local size_new=$(res_val_get testns1 IPv4 fib size_new) 332 local size=$(res_val_get testns1 IPv4 fib size) 364 devlink -N testns2 resource set $DL_HANDLE path IPv4/fib size ' -1'
|
/linux/tools/perf/tests/shell/ |
H A D | test_java_symbol.sh | 42 int fib(int x) { 43 return x > 1 ? fib(x - 2) + fib(x - 1) : 1; 49 q += fib(i);
|
/linux/net/netfilter/ |
H A D | nft_fib.c | 170 const struct nft_fib *fib; in nft_fib_reduce() local 193 fib = nft_expr_priv(track->regs[priv->dreg].selector); in nft_fib_reduce() 194 if (priv->result != fib->result || in nft_fib_reduce() 195 priv->flags != fib->flags) { in nft_fib_reduce()
|
/linux/Documentation/networking/devlink/ |
H A D | netdevsim.rst | 53 $ devlink resource set netdevsim/netdevsim0 path /IPv4/fib size 96 54 $ devlink resource set netdevsim/netdevsim0 path /IPv4/fib-rules size 16 55 $ devlink resource set netdevsim/netdevsim0 path /IPv6/fib size 64 56 $ devlink resource set netdevsim/netdevsim0 path /IPv6/fib-rules size 16
|
H A D | devlink-resource.rst | 14 For example, the ``netdevsim`` driver enables ``/IPv4/fib`` and 15 ``/IPv4/fib-rules`` as resources to limit the number of IPv4 FIB entries and 23 specify the path of the resource. For example ``/IPv4/fib`` is the id for 24 the ``fib`` sub-resource under the ``IPv4`` resource.
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 168 const struct mlxsw_sp_fib *fib, 171 const struct mlxsw_sp_fib *fib); 467 struct mlxsw_sp_fib *fib; member 537 struct mlxsw_sp_fib *fib; in mlxsw_sp_fib_create() local 541 fib = kzalloc(sizeof(*fib), GFP_KERNEL); in mlxsw_sp_fib_create() 542 if (!fib) in mlxsw_sp_fib_create() 544 err = rhashtable_init(&fib->ht, &mlxsw_sp_fib_ht_params); in mlxsw_sp_fib_create() 547 INIT_LIST_HEAD(&fib->node_list); in mlxsw_sp_fib_create() 548 fib->proto = proto; in mlxsw_sp_fib_create() 549 fib->vr = vr; in mlxsw_sp_fib_create() [all …]
|
/linux/drivers/net/netdevsim/ |
H A D | fib.c | 41 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 …]
|
H A D | Makefile | 6 netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nft_fib.sh | 42 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 55 fib saddr . iif oif gt 0 accept 69 ip daddr 1.1.1.1 fib saddr . iif oif missing counter drop 70 ip6 daddr 1c3::c01d fib saddr . iif oif missing counter drop
|
H A D | rpath.sh | 98 fib saddr . iif oif exists counter 100 fib saddr . iif oif exists counter
|
H A D | conntrack_vrf.sh | 231 meta iifname veth0 ip daddr $DUMMYNET.2 fib daddr oif dummy0 counter name fibcount notrack
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | mp.h | 23 } fib; member
|
/linux/arch/s390/kvm/ |
H A D | pci.h | 23 struct zpci_fib fib; member
|
/linux/arch/s390/include/asm/ |
H A D | pci_insn.h | 149 u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status);
|
/linux/include/trace/events/ |
H A D | fib.h | 3 #define TRACE_SYSTEM fib
|
/linux/tools/testing/selftests/net/ |
H A D | Makefile | 11 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh
|