/Linux-v5.15/drivers/scsi/aacraid/ |
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 …]
|
D | linit.c | 694 struct fib *fib; in aac_eh_abort() local 705 fib = &aac->fibs[count]; in aac_eh_abort() 706 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort() 707 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort() 708 (fib->callback_data == cmd)) { in aac_eh_abort() 717 fib = aac_fib_alloc(aac); in aac_eh_abort() 718 if (!fib) in aac_eh_abort() 721 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort() 727 address = (u64)fib->hw_error_pa; in aac_eh_abort() 732 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort() [all …]
|
D | commsup.c | 106 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 …]
|
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 …]
|
D | aachba.c | 332 struct fib *fibptr) { in aac_valid_context() 360 struct fib * fibptr; in aac_get_config_status() 454 struct fib * fibptr; in aac_get_containers() 520 static void get_container_name_callback(void *context, struct fib * fibptr) in get_container_name_callback() 572 struct fib * cmd_fibcontext; in aac_get_container_name() 621 static void _aac_probe_container2(void * context, struct fib * fibptr) in _aac_probe_container2() 680 static void _aac_probe_container1(void * context, struct fib * fibptr) in _aac_probe_container1() 734 struct fib * fibptr; in _aac_probe_container() 979 static void get_container_serial_callback(void *context, struct fib * fibptr) in get_container_serial_callback() 1107 struct fib * cmd_fibcontext; in aac_get_container_serial() [all …]
|
D | aacraid.h | 895 struct fib; 913 int (*adapter_deliver)(struct fib * fib); 915 int (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count); 916 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua); 917 int (*adapter_scsi)(struct fib * fib, struct scsi_cmnd * cmd); 1225 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx); 1293 struct fib { struct 1553 struct fib *fibs; 1555 struct fib *free_fib; 1664 struct fib *sync_fib; [all …]
|
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 …]
|
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-v5.15/arch/s390/pci/ |
D | pci_irq.c | 42 struct zpci_fib fib = {0}; in zpci_set_airq() local 45 fib.fmt0.isc = PCI_ISC; in zpci_set_airq() 46 fib.fmt0.sum = 1; /* enable summary notifications */ in zpci_set_airq() 47 fib.fmt0.noi = airq_iv_end(zdev->aibv); in zpci_set_airq() 48 fib.fmt0.aibv = (unsigned long) zdev->aibv->vector; in zpci_set_airq() 49 fib.fmt0.aibvo = 0; /* each zdev has its own interrupt vector */ in zpci_set_airq() 50 fib.fmt0.aisb = (unsigned long) zpci_sbv->vector + (zdev->aisb/64)*8; in zpci_set_airq() 51 fib.fmt0.aisbo = zdev->aisb & 63; in zpci_set_airq() 53 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in zpci_set_airq() 60 struct zpci_fib fib = {0}; in zpci_clear_airq() local [all …]
|
D | pci.c | 115 struct zpci_fib fib = {0}; in zpci_register_ioat() local 119 fib.pba = base; in zpci_register_ioat() 120 fib.pal = limit; in zpci_register_ioat() 121 fib.iota = iota | ZPCI_IOTA_RTTO_FLAG; in zpci_register_ioat() 122 cc = zpci_mod_fc(req, &fib, &status); in zpci_register_ioat() 132 struct zpci_fib fib = {0}; in zpci_unregister_ioat() local 135 cc = zpci_mod_fc(req, &fib, &status); in zpci_unregister_ioat() 145 struct zpci_fib fib = {0}; in zpci_fmb_enable_device() local 161 fib.fmb_addr = virt_to_phys(zdev->fmb); in zpci_fmb_enable_device() 162 cc = zpci_mod_fc(req, &fib, &status); in zpci_fmb_enable_device() [all …]
|
D | pci_insn.c | 33 static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) in __mpcifc() argument 41 : [cc] "=d" (cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc() 47 u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status) in zpci_mod_fc() argument 52 cc = __mpcifc(req, fib, status); in zpci_mod_fc()
|
/Linux-v5.15/tools/testing/selftests/drivers/net/netdevsim/ |
D | fib.sh | 111 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 133 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 140 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 148 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 229 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 254 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 279 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100 286 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 294 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
|
D | fib_notifications.sh | 243 echo "y"> $DEBUGFS_DIR/fib/fail_route_offload 266 echo "n"> $DEBUGFS_DIR/fib/fail_route_offload 359 echo "y"> $DEBUGFS_DIR/fib/fail_route_offload 382 echo "n"> $DEBUGFS_DIR/fib/fail_route_offload
|
D | devlink.sh | 297 local occ=$(res_val_get testns1 IPv4 fib occ) 302 devlink -N testns1 resource set $DL_HANDLE path IPv4/fib size $limit 304 local size_new=$(res_val_get testns1 IPv4 fib size_new) 310 local size=$(res_val_get testns1 IPv4 fib size) 342 devlink -N testns2 resource set $DL_HANDLE path IPv4/fib size ' -1'
|
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
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 128 const struct mlxsw_sp_fib *fib, 131 const struct mlxsw_sp_fib *fib); 367 struct mlxsw_sp_fib *fib; member 516 struct mlxsw_sp_fib *fib; in mlxsw_sp_fib_create() local 524 fib = kzalloc(sizeof(*fib), GFP_KERNEL); in mlxsw_sp_fib_create() 525 if (!fib) in mlxsw_sp_fib_create() 527 err = rhashtable_init(&fib->ht, &mlxsw_sp_fib_ht_params); in mlxsw_sp_fib_create() 530 INIT_LIST_HEAD(&fib->node_list); in mlxsw_sp_fib_create() 531 fib->proto = proto; in mlxsw_sp_fib_create() 532 fib->vr = vr; in mlxsw_sp_fib_create() [all …]
|
/Linux-v5.15/Documentation/networking/devlink/ |
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
|
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-v5.15/drivers/net/netdevsim/ |
D | fib.c | 40 struct nsim_fib_entry fib; member 140 entry = &fib_data->ipv4.fib; in nsim_fib_get_val() 146 entry = &fib_data->ipv6.fib; in nsim_fib_get_val() 168 entry = &fib_data->ipv4.fib; in nsim_fib_set_max() 174 entry = &fib_data->ipv6.fib; in nsim_fib_set_max() 375 nsim_fib_account(&data->ipv4.fib, false); in nsim_fib4_rt_add() 389 err = nsim_fib_account(&data->ipv4.fib, false); in nsim_fib4_rt_replace() 699 nsim_fib_account(&data->ipv6.fib, false); in nsim_fib6_rt_add() 712 err = nsim_fib_account(&data->ipv6.fib, false); in nsim_fib6_rt_replace() 909 err = nsim_fib_account(&data->ipv4.fib, true); in nsim_fib4_prepare_event() [all …]
|
D | Makefile | 6 netdev.o dev.o ethtool.o fib.o bus.o health.o udp_tunnels.o
|
/Linux-v5.15/tools/testing/selftests/netfilter/ |
D | nft_fib.sh | 63 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 76 ip daddr 1.1.1.1 fib saddr . iif oif missing counter drop 77 ip6 daddr 1c3::c01d fib saddr . iif oif missing counter drop
|
/Linux-v5.15/arch/s390/include/asm/ |
D | pci_insn.h | 129 u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status);
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | Makefile | 9 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh
|
/Linux-v5.15/include/trace/events/ |
D | fib.h | 3 #define TRACE_SYSTEM fib
|
/Linux-v5.15/Documentation/networking/ |
D | nexthop-group-resilient.rst | 283 # echo 10 23 > /sys/kernel/debug/netdevsim/netdevsim10/fib/nexthop_bucket_activity 288 # echo 1 > /sys/kernel/debug/netdevsim/netdevsim10/fib/fail_nexthop_bucket_replace
|