Home
last modified time | relevance | path

Searched refs:fib (Results 1 - 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/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()
65 * Remove this fib from the Outstanding I/O queue. in aac_response_normal()
68 * If the fib has been timed out already, then just in aac_response_normal()
70 * the fib timed out. 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()
176 struct fib *fib = &fibctx; aac_command_normal() local
277 struct fib * fib; aac_intr_normal() local
333 struct fib *fib = &dev->fibs[index]; aac_intr_normal() local
[all...]
H A Dcommsup.c42 * fib_map_alloc - allocate the fib objects
75 * aac_fib_map_free - free the fib objects
106 struct fib *fibptr = NULL; in aac_fib_vector_assign()
129 * fib area, the unmapped fib data and also the free list
134 struct fib *fibptr; in aac_fib_setup()
172 fibptr->size = sizeof(struct fib); in aac_fib_setup()
204 * Add the fib chain to the free list in aac_fib_setup()
215 * aac_fib_alloc_tag-allocate a fib using tags
216 * @dev: Adapter to allocate the fib fo
1520 struct fib *fib = &aac->fibs[index]; _aac_reset_adapter() local
1741 struct fib * fib; aac_check_health() local
2058 wakeup_fibctx_threads(struct aac_dev *dev, struct hw_fib **hw_fib_pool, struct fib **fib_pool, struct fib *fib, struct hw_fib *hw_fib, unsigned int num) wakeup_fibctx_threads() argument
2160 struct fib *fib; aac_process_events() local
[all...]
H A Dlinit.c157 * In the future we should add a fib that reports the number of channels
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 in aac_eh_abort()
778 struct fib *fib = &aac->fibs[count]; aac_eh_abort() local
800 struct fib *fib = &aac->fibs[count]; aac_eh_abort() local
824 aac_eh_tmf_lun_reset_fib(struct aac_hba_map_info *info, struct fib *fib, u64 tmf_lun) aac_eh_tmf_lun_reset_fib() argument
848 aac_eh_tmf_hard_reset_fib(struct aac_hba_map_info *info, struct fib *fib) aac_eh_tmf_hard_reset_fib() argument
908 struct fib *fib; aac_eh_dev_reset() local
972 struct fib *fib; aac_eh_target_reset() local
1042 struct fib *fib = &aac->fibs[count]; aac_eh_bus_reset() local
1520 struct fib *fib = &aac->fibs[i]; __aac_shutdown() local
[all...]
H A Dsrc.c103 struct fib, in aac_src_intr_message()
479 * @fib: fib to issue
481 * Will send a fib, returning 0 if successful.
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 in aac_src_deliver_message()
[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()
521 static void get_container_name_callback(void *context, struct fib * fibptr) in get_container_name_callback()
573 struct fib * cmd_fibcontext; in aac_get_container_name()
622 static void _aac_probe_container2(void * context, struct fib * fibptr) in _aac_probe_container2()
681 static void _aac_probe_container1(void * context, struct fib * fibptr) in _aac_probe_container1()
735 struct fib * fibptr; in _aac_probe_container()
980 static void get_container_serial_callback(void *context, struct fib * fibptr) in get_container_serial_callback()
1108 struct fib * cmd_fibcontex in aac_get_container_serial()
1215 aac_read_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) aac_read_raw_io() argument
1273 aac_read_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) aac_read_block64() argument
1308 aac_read_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) aac_read_block() argument
1343 aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) aac_write_raw_io() argument
1407 aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) aac_write_block64() argument
1442 aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) aac_write_block() argument
1479 aac_scsi_common(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_common() argument
1518 aac_construct_hbacmd(struct fib *fib, struct scsi_cmnd *cmd) aac_construct_hbacmd() argument
1566 aac_scsi_64(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_64() argument
1597 aac_scsi_32(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_32() argument
1626 aac_scsi_32_64(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_32_64() argument
1634 aac_adapter_hba(struct fib *fib, struct scsi_cmnd *cmd) aac_adapter_hba() argument
[all...]
H A Daacraid.h895 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);
938 * dma mask such that fib memor
1293 struct fib { global() struct
2338 char __user *fib; global() member
[all...]
H A Dcommctrl.c43 * This routine sends a fib to the adapter on behalf of a user level
49 struct fib *fibptr; in ioctl_send_fib()
72 * Since we copy based on the fib header size, make sure that we in ioctl_send_fib()
120 * Since we didn't really send a fib, zero out the state to allow in ioctl_send_fib()
138 * the header) is less than or equal to the size of a fib, so we in ioctl_send_fib()
160 * open_getadapter_fib - Get the next fib
233 compat_uptr_t fib; member
237 * next_getadapter_fib - get the next fib
247 struct fib *fib; in next_getadapter_fib() local
357 struct fib *fib; aac_close_fib_context() local
[all...]
H A Drx.c393 * @fib: fib to issue
395 * Will send a fib, returning 0 if successful.
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()
416 * @fib: fib t
420 aac_rx_deliver_message(struct fib * fib) aac_rx_deliver_message() argument
[all...]
/kernel/linux/linux-6.6/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()
65 * Remove this fib from the Outstanding I/O queue. in aac_response_normal()
68 * If the fib has been timed out already, then just in aac_response_normal()
70 * the fib timed out. 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()
176 struct fib *fib = &fibctx; aac_command_normal() local
277 struct fib * fib; aac_intr_normal() local
333 struct fib *fib = &dev->fibs[index]; aac_intr_normal() local
[all...]
H A Dcommsup.c42 * fib_map_alloc - allocate the fib objects
75 * aac_fib_map_free - free the fib objects
106 struct fib *fibptr = NULL; in aac_fib_vector_assign()
129 * fib area, the unmapped fib data and also the free list
134 struct fib *fibptr; in aac_fib_setup()
172 fibptr->size = sizeof(struct fib); in aac_fib_setup()
204 * Add the fib chain to the free list in aac_fib_setup()
215 * aac_fib_alloc_tag-allocate a fib using tags
216 * @dev: Adapter to allocate the fib fo
1521 struct fib *fib = &aac->fibs[index]; _aac_reset_adapter() local
1742 struct fib * fib; aac_check_health() local
2059 wakeup_fibctx_threads(struct aac_dev *dev, struct hw_fib **hw_fib_pool, struct fib **fib_pool, struct fib *fib, struct hw_fib *hw_fib, unsigned int num) wakeup_fibctx_threads() argument
2161 struct fib *fib; aac_process_events() local
[all...]
H A Dlinit.c156 * In the future we should add a fib that reports the number of channels
695 struct fib *fib; in aac_eh_abort() local
706 fib = &aac->fibs[count]; in aac_eh_abort()
707 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort()
708 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort()
709 (fib->callback_data == cmd)) { in aac_eh_abort()
718 fib = aac_fib_alloc(aac); in aac_eh_abort()
719 if (!fib) in aac_eh_abort()
722 tmf = (struct aac_hba_tm_req *)fib in aac_eh_abort()
779 struct fib *fib = &aac->fibs[count]; aac_eh_abort() local
801 struct fib *fib = &aac->fibs[count]; aac_eh_abort() local
825 aac_eh_tmf_lun_reset_fib(struct aac_hba_map_info *info, struct fib *fib, u64 tmf_lun) aac_eh_tmf_lun_reset_fib() argument
849 aac_eh_tmf_hard_reset_fib(struct aac_hba_map_info *info, struct fib *fib) aac_eh_tmf_hard_reset_fib() argument
909 struct fib *fib; aac_eh_dev_reset() local
973 struct fib *fib; aac_eh_target_reset() local
1043 struct fib *fib = &aac->fibs[count]; aac_eh_bus_reset() local
1524 struct fib *fib = &aac->fibs[i]; __aac_shutdown() local
[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_fibcontex in aac_get_container_serial()
1228 aac_read_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) aac_read_raw_io() argument
1286 aac_read_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) aac_read_block64() argument
1321 aac_read_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) aac_read_block() argument
1356 aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) aac_write_raw_io() argument
1420 aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) aac_write_block64() argument
1455 aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) aac_write_block() argument
1492 aac_scsi_common(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_common() argument
1531 aac_construct_hbacmd(struct fib *fib, struct scsi_cmnd *cmd) aac_construct_hbacmd() argument
1579 aac_scsi_64(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_64() argument
1610 aac_scsi_32(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_32() argument
1639 aac_scsi_32_64(struct fib * fib, struct scsi_cmnd * cmd) aac_scsi_32_64() argument
1647 aac_adapter_hba(struct fib *fib, struct scsi_cmnd *cmd) aac_adapter_hba() argument
[all...]
H A Dsrc.c103 struct fib, in aac_src_intr_message()
479 * @fib: fib to issue
481 * Will send a fib, returning 0 if successful.
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 in aac_src_deliver_message()
[all...]
H A 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);
939 * dma mask such that fib memor
1294 struct fib { global() struct
2339 char __user *fib; global() member
[all...]
H A Dcommctrl.c43 * This routine sends a fib to the adapter on behalf of a user level
49 struct fib *fibptr; in ioctl_send_fib()
72 * Since we copy based on the fib header size, make sure that we in ioctl_send_fib()
120 * Since we didn't really send a fib, zero out the state to allow in ioctl_send_fib()
138 * the header) is less than or equal to the size of a fib, so we in ioctl_send_fib()
160 * open_getadapter_fib - Get the next fib
233 compat_uptr_t fib; member
237 * next_getadapter_fib - get the next fib
247 struct fib *fib; in next_getadapter_fib() local
357 struct fib *fib; aac_close_fib_context() local
[all...]
H A Drx.c393 * @fib: fib to issue
395 * Will send a fib, returning 0 if successful.
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()
416 * @fib: fib t
420 aac_rx_deliver_message(struct fib * fib) aac_rx_deliver_message() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/kvm/
H A Dpci.c162 struct zpci_fib fib = {}; in kvm_zpci_set_airq() local
165 fib.fmt0.isc = zdev->kzdev->fib.fmt0.isc; in kvm_zpci_set_airq()
166 fib.fmt0.sum = 1; /* enable summary notifications */ in kvm_zpci_set_airq()
167 fib.fmt0.noi = airq_iv_end(zdev->aibv); in kvm_zpci_set_airq()
168 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in kvm_zpci_set_airq()
169 fib.fmt0.aibvo = 0; in kvm_zpci_set_airq()
170 fib.fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_zpci_set_airq()
171 fib.fmt0.aisbo = zdev->aisb & 63; in kvm_zpci_set_airq()
172 fib in kvm_zpci_set_airq()
181 struct zpci_fib fib = {}; kvm_zpci_clear_airq() local
224 kvm_s390_pci_aif_enable(struct zpci_dev *zdev, struct zpci_fib *fib, bool assist) kvm_s390_pci_aif_enable() argument
610 struct zpci_fib fib = {}; kvm_s390_pci_zpci_reg_aen() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A 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()
160 if (mp->fib.mfi == fi) in mlx5_lag_fib_route_event()
161 mp->fib.mfi = NULL; in mlx5_lag_fib_route_event()
166 if (mp->fib.mfi && mp->fib.mfi != fi && in mlx5_lag_fib_route_event()
167 (mp->fib.dst != fen_info->dst || mp->fib in mlx5_lag_fib_route_event()
[all...]
/kernel/linux/linux-6.6/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, in zpci_set_airq()
55 struct zpci_fib fib = {0}; zpci_clear_airq() local
72 struct zpci_fib fib = {0}; zpci_set_directed_irq() local
87 struct zpci_fib fib = {0}; zpci_clear_directed_irq() local
[all...]
H A Dpci.c122 struct zpci_fib fib = {0}; in zpci_register_ioat() local
126 fib.pba = base; in zpci_register_ioat()
127 fib.pal = limit; in zpci_register_ioat()
128 fib.iota = iota | ZPCI_IOTA_RTTO_FLAG; in zpci_register_ioat()
129 fib.gd = zdev->gisa; in zpci_register_ioat()
130 cc = zpci_mod_fc(req, &fib, status); in zpci_register_ioat()
141 struct zpci_fib fib = {0}; in zpci_unregister_ioat() local
144 fib.gd = zdev->gisa; in zpci_unregister_ioat()
146 cc = zpci_mod_fc(req, &fib, &status); in zpci_unregister_ioat()
156 struct zpci_fib fib in zpci_fmb_enable_device() local
186 struct zpci_fib fib = {0}; zpci_fmb_disable_device() local
974 struct zpci_fib fib = {0}; zpci_clear_error_state() local
1001 struct zpci_fib fib = {0}; zpci_reset_load_store_blocked() local
[all...]
/kernel/linux/linux-5.10/arch/s390/pci/
H A Dpci_irq.c42 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 in zpci_clear_airq() local
75 struct zpci_fib fib = {0}; zpci_set_directed_irq() local
89 struct zpci_fib fib = {0}; zpci_clear_directed_irq() local
[all...]
/kernel/linux/linux-6.6/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
158 # of the "IPv4/fib" resource.
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 siz
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
H A Dfib.sh109 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
131 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
138 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
146 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
153 # of the "IPv4/fib" resource.
227 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
252 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
277 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 100
284 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
292 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib siz
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dtest_java_symbol.sh42 int fib(int x) {
43 return x > 1 ? fib(x - 2) + fib(x - 1) : 1;
49 q += fib(i);
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_fib.c173 const struct nft_fib *fib; in nft_fib_reduce() local
196 fib = nft_expr_priv(track->regs[priv->dreg].selector); in nft_fib_reduce()
197 if (priv->result != fib->result || in nft_fib_reduce()
198 priv->flags != fib->flags) { in nft_fib_reduce()

Completed in 31 milliseconds

123