Home
last modified time | relevance | path

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

12

/linux/drivers/scsi/aacraid/
H A 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 …]
H A Dlinit.c697 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 Dcommsup.c98 struct fib *fibptr = NULL; in aac_fib_vector_assign()
126 struct fib *fibptr; in aac_fib_setup()
164 fibptr->size = sizeof(struct fib); in aac_fib_setup()
215 struct fib *aac_fib_alloc_tag(struct aac_dev *dev, struct scsi_cmnd *scmd) in aac_fib_alloc_tag()
217 struct fib *fibptr; in aac_fib_alloc_tag()
241 struct fib *aac_fib_alloc(struct aac_dev *dev) in aac_fib_alloc()
243 struct fib * fibptr; in aac_fib_alloc()
257 fibptr->size = sizeof(struct fib); in aac_fib_alloc()
277 void aac_fib_free(struct fib *fibptr) in aac_fib_free()
305 void aac_fib_init(struct fib *fibptr) in aac_fib_init()
[all …]
H A 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 …]
H A 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 …]
H A Daacraid.h890 struct fib;
908 int (*adapter_deliver)(struct fib * fib);
910 int (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count);
911 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua);
912 int (*adapter_scsi)(struct fib * fib, struct scsi_cmnd * cmd);
1220 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
1288 struct fib { struct
1548 struct fib *fibs;
1550 struct fib *free_fib;
1659 struct fib *sync_fib;
[all …]
H A 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 …]
/linux/arch/s390/kvm/
H A Dpci.c161 struct zpci_fib fib = {}; in kvm_zpci_set_airq() local
164 fib.fmt0.isc = zdev->kzdev->fib.fmt0.isc; in kvm_zpci_set_airq()
165 fib.fmt0.sum = 1; /* enable summary notifications */ in kvm_zpci_set_airq()
166 fib.fmt0.noi = airq_iv_end(zdev->aibv); in kvm_zpci_set_airq()
167 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in kvm_zpci_set_airq()
168 fib.fmt0.aibvo = 0; in kvm_zpci_set_airq()
169 fib.fmt0.aisb = virt_to_phys(aift->sbv->vector) + (zdev->aisb / 64) * 8; in kvm_zpci_set_airq()
170 fib.fmt0.aisbo = zdev->aisb & 63; in kvm_zpci_set_airq()
171 fib.gd = zdev->gisa; in kvm_zpci_set_airq()
173 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in kvm_zpci_set_airq()
[all …]
H A Dpci.h23 struct zpci_fib fib; member
/linux/arch/s390/pci/
H A Dpci_irq.c36 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 …]
H A Dpci_insn.c59 static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) in __mpcifc() argument
66 : CC_OUT(cc, cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc()
73 u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status) in zpci_mod_fc() argument
79 cc = __mpcifc(req, fib, status); in zpci_mod_fc()
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_fib.sh46 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop
59 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop
72 fib saddr . iif oif gt 0 accept
86 fib daddr type local counter comment "daddr configured on other iface"
87 fib daddr . iif type local counter comment "daddr configured on iif"
88 fib daddr type unicast counter comment "daddr not local"
89 fib daddr . iif type unicast counter comment "daddr not configured on iif"
93 fib daddr type unicast counter
94 fib daddr . oif type unicast counter
95 fib daddr type local counter
[all …]
H A Dnft_fib_nexthop.sh77 iif "veth0" ip6 daddr dead:dead::/64 fib daddr . iif oif eq "veth0" counter name nf_ok
78 iif "veth0" ip6 daddr dead:dead::/64 fib daddr . iif oif missing counter name nf_bad
H A Drpath.sh90 fib saddr . iif oif exists counter
92 fib saddr . iif oif exists counter
H A Dconntrack_vrf.sh
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dfib.sh114 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 Dnexthop.sh356 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 Ddevlink.sh426 local occ=$(res_val_get testns1 IPv4 fib occ)
429 # Set fib size limit to handle one another route only.
431 devlink -N testns1 resource set $DL_HANDLE path IPv4/fib size $limit
432 check_err $? "Failed to set IPv4/fib resource size"
433 local size_new=$(res_val_get testns1 IPv4 fib size_new)
439 local size=$(res_val_get testns1 IPv4 fib size)
471 devlink -N testns2 resource set $DL_HANDLE path IPv4/fib size ' -1'
472 check_err $? "Failed to reset IPv4/fib resource size"
H A DMakefile11 fib.sh \
/linux/tools/perf/tests/shell/
H A Dtest_java_symbol.sh46 int fib(int x) {
47 return x > 1 ? fib(x - 2) + fib(x - 1) : 1;
53 q += fib(i);
/linux/Documentation/networking/devlink/
H A Dnetdevsim.rst53 $ 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
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c168 const struct mlxsw_sp_fib *fib,
171 const struct mlxsw_sp_fib *fib);
467 struct mlxsw_sp_fib *fib; member
521 u32 tb_id; /* kernel fib table id */
537 struct mlxsw_sp_fib *fib; in mlxsw_sp_fib_create() local
541 fib = kzalloc_obj(*fib); 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 in mlxsw_sp_fib_create()
565 mlxsw_sp_fib_destroy(struct mlxsw_sp * mlxsw_sp,struct mlxsw_sp_fib * fib) mlxsw_sp_fib_destroy() argument
791 mlxsw_sp_vr_lpm_tree_bind(struct mlxsw_sp * mlxsw_sp,const struct mlxsw_sp_fib * fib,u8 tree_id) mlxsw_sp_vr_lpm_tree_bind() argument
802 mlxsw_sp_vr_lpm_tree_unbind(struct mlxsw_sp * mlxsw_sp,const struct mlxsw_sp_fib * fib) mlxsw_sp_vr_lpm_tree_unbind() argument
957 struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto); mlxsw_sp_vr_lpm_tree_should_replace() local
967 mlxsw_sp_vr_lpm_tree_replace(struct mlxsw_sp * mlxsw_sp,struct mlxsw_sp_fib * fib,struct mlxsw_sp_lpm_tree * new_tree) mlxsw_sp_vr_lpm_tree_replace() argument
988 mlxsw_sp_vrs_lpm_tree_replace(struct mlxsw_sp * mlxsw_sp,struct mlxsw_sp_fib * fib,struct mlxsw_sp_lpm_tree * new_tree) mlxsw_sp_vrs_lpm_tree_replace() argument
1348 struct mlxsw_sp_fib *fib; mlxsw_sp_router_ip2me_fib_entry_find() local
3387 mlxsw_sp_nexthop_group_vr_entry_lookup(struct mlxsw_sp_nexthop_group * nh_grp,const struct mlxsw_sp_fib * fib) mlxsw_sp_nexthop_group_vr_entry_lookup() argument
3400 mlxsw_sp_nexthop_group_vr_entry_create(struct mlxsw_sp_nexthop_group * nh_grp,const struct mlxsw_sp_fib * fib) mlxsw_sp_nexthop_group_vr_entry_create() argument
3439 mlxsw_sp_nexthop_group_vr_link(struct mlxsw_sp_nexthop_group * nh_grp,const struct mlxsw_sp_fib * fib) mlxsw_sp_nexthop_group_vr_link() argument
3454 mlxsw_sp_nexthop_group_vr_unlink(struct mlxsw_sp_nexthop_group * nh_grp,const struct mlxsw_sp_fib * fib) mlxsw_sp_nexthop_group_vr_unlink() argument
6183 struct mlxsw_sp_fib *fib = fib_entry->fib_node->fib; mlxsw_sp_fib_entry_ralue_pack() local
6538 struct mlxsw_sp_fib *fib; mlxsw_sp_fib4_entry_lookup() local
6570 mlxsw_sp_fib_node_insert(struct mlxsw_sp_fib * fib,struct mlxsw_sp_fib_node * fib_node) mlxsw_sp_fib_node_insert() argument
6577 mlxsw_sp_fib_node_remove(struct mlxsw_sp_fib * fib,struct mlxsw_sp_fib_node * fib_node) mlxsw_sp_fib_node_remove() argument
6585 mlxsw_sp_fib_node_lookup(struct mlxsw_sp_fib * fib,const void * addr,size_t addr_len,unsigned char prefix_len) mlxsw_sp_fib_node_lookup() argument
6597 mlxsw_sp_fib_node_create(struct mlxsw_sp_fib * fib,const void * addr,size_t addr_len,unsigned char prefix_len) mlxsw_sp_fib_node_create() argument
6623 struct mlxsw_sp_fib *fib = fib_node->fib; mlxsw_sp_fib_lpm_tree_link() local
6656 struct mlxsw_sp_fib *fib = fib_node->fib; mlxsw_sp_fib_lpm_tree_unlink() local
6684 mlxsw_sp_fib_node_init(struct mlxsw_sp * mlxsw_sp,struct mlxsw_sp_fib_node * fib_node,struct mlxsw_sp_fib * fib) mlxsw_sp_fib_node_init() argument
6708 struct mlxsw_sp_fib *fib = fib_node->fib; mlxsw_sp_fib_node_fini() local
6721 struct mlxsw_sp_fib *fib; mlxsw_sp_fib_node_get() local
7455 struct mlxsw_sp_fib *fib; mlxsw_sp_fib6_entry_lookup() local
7759 struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto); mlxsw_sp_vr_fib_flush() local
[all...]
/linux/drivers/net/netdevsim/
H A Dfib.c41 struct nsim_fib_entry fib; member
59 spinlock_t fib_event_queue_lock; /* Protects fib event queue list */
105 struct list_head list; /* node in fib queue */
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()
200 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported fib rule entries"); in nsim_fib_rule_account()
378 nsim_fib_account(&data->ipv4.fib, false); in nsim_fib4_rt_add()
392 err = nsim_fib_account(&data->ipv4.fib, fals in nsim_fib4_rt_replace()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmp.h23 } fib; member
/linux/tools/testing/selftests/net/
H A DMakefile35 fib-onlink-tests.sh \

12