/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_iov.c | 176 vf->vsi.num_rx_queues = vf->qtag.num_active; in ixl_vf_alloc_vsi() 177 vf->vsi.num_tx_queues = vf->qtag.num_active; in ixl_vf_alloc_vsi() 190 memcpy(&vf->vsi.info, &vsi_ctx.info, sizeof(vf->vsi.info)); in ixl_vf_alloc_vsi() 425 ixl_disable_rings(pf, &vf->vsi, &vf->qtag); in ixl_reinit_vf() 510 &vf->version, sizeof(vf->version)); in ixl_vf_version_msg() 686 vf->vf_num, info->vsi_id, vf->vsi.vsi_num); in ixl_vf_config_vsi_msg() 1151 ixl_add_filter(&vf->vsi, vf->mac, filter_list->vlan_id[i]); in ixl_vf_add_vlan_msg() 1186 ixl_del_filter(&vf->vsi, vf->mac, filter_list->vlan_id[i]); in ixl_vf_del_vlan_msg() 1282 vf->vf_num, key->vsi_id, vf->vsi.vsi_num); in ixl_vf_config_rss_key_msg() 1338 vf->vf_num, lut->vsi_id, vf->vsi.vsi_num); in ixl_vf_config_rss_lut_msg() [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_sriov.c | 208 struct ixgbe_vf *vf; in ixgbe_ping_all_vfs() local 211 vf = &sc->vfs[i]; in ixgbe_ping_all_vfs() 227 vf->vlan_tag = tag; in ixgbe_vf_set_default_vlan() 308 ixgbe_vf_set_default_vlan(sc, vf, vf->default_vlan); in ixgbe_process_vf_reset() 363 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, in ixgbe_vf_reset_msg() 401 ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, vf->pool, in ixgbe_vf_set_mac() 643 vf = &sc->vfs[i]; in ixgbe_handle_mbx() 760 ixgbe_vf_set_default_vlan(sc, vf, vf->vlan_tag); in ixgbe_init_vf() 766 vf->ether_addr, vf->pool, true); in ixgbe_init_vf() 842 vf = &sc->vfs[i]; in ixgbe_recalculate_max_frame() [all …]
|
H A D | if_ixv.c | 1711 if (sc->stats.vf.vfgprc || sc->stats.vf.vfgptc) { in ixv_save_stats() 1713 sc->stats.vf.vfgprc - sc->stats.vf.base_vfgprc; in ixv_save_stats() 1715 sc->stats.vf.vfgptc - sc->stats.vf.base_vfgptc; in ixv_save_stats() 1717 sc->stats.vf.vfgorc - sc->stats.vf.base_vfgorc; in ixv_save_stats() 1719 sc->stats.vf.vfgotc - sc->stats.vf.base_vfgotc; in ixv_save_stats() 1721 sc->stats.vf.vfmprc - sc->stats.vf.base_vfmprc; in ixv_save_stats() 1745 sc->stats.vf.base_vfgprc = sc->stats.vf.last_vfgprc; in ixv_init_stats() 1746 sc->stats.vf.base_vfgorc = sc->stats.vf.last_vfgorc; in ixv_init_stats() 1747 sc->stats.vf.base_vfgptc = sc->stats.vf.last_vfgptc; in ixv_init_stats() 1788 sc->stats.vf.last_vfgorc, sc->stats.vf.vfgorc); in ixv_update_stats() [all …]
|
/freebsd/sys/dev/vt/ |
H A D | vt_font.c | 110 stride = howmany(vf->vf_width, 8) * vf->vf_height; in vtfont_lookup() 119 return (vf); in vtfont_ref() 131 free(vf, M_VTFONT); in vtfont_unref() 161 struct vt_font *vf; in vtfont_load() local 186 vf = malloc(sizeof *vf, M_VTFONT, M_WAITOK | M_ZERO); in vtfont_load() 188 vf->vf_height = f->height; in vtfont_load() 189 vf->vf_width = f->width; in vtfont_load() 190 vf->vf_refcount = 1; in vtfont_load() 202 error = vtfont_validate_map(vf->vf_map[i], vf->vf_map_count[i], in vtfont_load() 214 *ret = vf; in vtfont_load() [all …]
|
H A D | vt_cpulogos.c | 154 struct vt_font *vf; in vt_fini_logos() local 180 vf = vw->vw_font; in vt_fini_logos() 181 if (vf == NULL) in vt_fini_logos() 184 vt_termsize(vd, vf, &size); in vt_fini_logos() 185 vt_winsize(vd, vf, &wsz); in vt_fini_logos() 211 struct vt_font *vf; in vt_init_logos() local 229 vf = vw->vw_font; in vt_init_logos() 230 if (vf == NULL) in vt_init_logos() 244 vt_termsize(vd, vf, &size); in vt_init_logos() 245 vt_winsize(vd, vf, &wsz); in vt_init_logos()
|
H A D | vt_core.c | 650 if (vf != NULL) { in vt_termsize() 669 if (vf != NULL) { in vt_termrect() 689 if (vf != NULL) { in vt_winsize() 716 vf = vw->vw_font; in vt_compute_drawable_area() 1283 vf = vw->vw_font; in vt_mark_mouse_position_as_dirty() 1288 if (vf != NULL) { in vt_mark_mouse_position_as_dirty() 1399 vf = vw->vw_font; in vt_bitblt_buffer() 1422 pattern, NULL, vf->vf_width, vf->vf_height, in vt_bitblt_buffer() 1485 vf = vw->vw_font; in vt_flush() 2131 if (vw->vw_font != vf && vw->vw_font != NULL && vf != NULL) { in vt_change_font() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_sriov.c | 234 return vf; in ecore_iov_get_vf_info() 761 if (!vf) in ecore_iov_set_vf_to_disable() 906 vf->abs_vf_id, ECORE_VF_ABS_ID(p_hwfn, vf)); in ecore_iov_enable_vf_access() 914 vf->abs_vf_id, vf->num_sbs); in ecore_iov_enable_vf_access() 1205 vf->relative_vf_id, i, vf->igu_sbs[i], in ecore_iov_init_hw_for_vf() 1558 if (!vf) in ecore_iov_get_public_vf_info() 1775 vf->abs_vf_id, vf->state); in ecore_iov_vf_mbx_acquire() 2219 vf->vport_id, vf->opaque_fid); in ecore_iov_vf_mbx_start_vport() 4643 if (!vf) in ecore_iov_spoofchk_set() 4774 if (!vf) in ecore_iov_configure_tx_rate() [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_vf_isr.c | 95 accel_dev->u1.vf.rpreset_sts = msg.data; in adf_pf2vf_handle_pf_rp_reset() 121 complete(&accel_dev->u1.vf.msg_received); in adf_pf2vf_handle_pf_rp_reset() 155 &accel_dev->u1.vf.pf2vf_bh_tasklet, in adf_cleanup_pf2vf_bh() 251 accel_dev->u1.vf.irq = in adf_request_msi_irq() 253 if (accel_dev->u1.vf.irq == NULL) { in adf_request_msi_irq() 258 accel_dev->u1.vf.irq, in adf_request_msi_irq() 263 &accel_dev->u1.vf.cookie); in adf_request_msi_irq() 276 accel_dev->u1.vf.irq_enabled = true; in adf_request_msi_irq() 296 if (accel_dev->u1.vf.irq_enabled) { in adf_vf_isr_resource_free() 298 accel_dev->u1.vf.irq, in adf_vf_isr_resource_free() [all …]
|
H A D | adf_pfvf_vf_proto.c | 39 &accel_dev->u1.vf.vf2pf_lock); in adf_send_vf2pf_msg() 58 accel_dev->u1.vf.pf_compat_ver); in adf_recv_pf2vf_msg() 81 reinit_completion(&accel_dev->u1.vf.msg_received); in adf_send_vf2pf_req() 93 wait_for_completion_timeout(&accel_dev->u1.vf.msg_received, in adf_send_vf2pf_req() 97 *resp = accel_dev->u1.vf.response; in adf_send_vf2pf_req() 100 accel_dev->u1.vf.response.type = 0; in adf_send_vf2pf_req() 351 accel_dev->u1.vf.response = msg; in adf_handle_pf2vf_msg() 352 complete(&accel_dev->u1.vf.msg_received); in adf_handle_pf2vf_msg()
|
/freebsd/sys/dev/vnic/ |
H A D | nic_main.c | 403 nic_get_mbx_addr(int vf) in nic_get_mbx_addr() argument 447 mbx.nic_cfg.vf_id = vf; in nic_mbx_send_ready() 454 if (vf < MAX_LMAC) { in nic_mbx_send_ready() 895 nic->mbx_lock[vf] = TRUE; in nic_handle_mbx_intr() 909 if (vf < MAX_LMAC) { in nic_handle_mbx_intr() 910 nic->link[vf] = 0; in nic_handle_mbx_intr() 911 nic->duplex[vf] = 0; in nic_handle_mbx_intr() 912 nic->speed[vf] = 0; in nic_handle_mbx_intr() 1004 for (vf = 0; vf < vf_per_mbx_reg; vf++) { in nic_mbx_intr_handler() 1200 uint8_t vf, bgx, lmac; in nic_poll_for_link() local [all …]
|
/freebsd/usr.bin/vgrind/ |
H A D | vgrind.sh | 37 vf="/usr/libexec/vfontedpr" 101 $vf $options -h "$head" $files 103 $vf $options $files 107 $vf $options -h "$head" $files 109 $vf $options $files 117 $vf $options -h "$head" $files 119 $vf $options $files 123 $vf $options -h "$head" $files 125 $vf $options $files
|
/freebsd/sys/netgraph/ |
H A D | ng_vlan.c | 277 if (vf->vid == 0 && vf->vid != vf->vlan) { in ng_vlan_rcvmsg() 278 vf->vid = vf->vlan; in ng_vlan_rcvmsg() 279 } else if (vf->vid != 0 && vf->vlan != 0 && in ng_vlan_rcvmsg() 280 vf->vid != vf->vlan) { in ng_vlan_rcvmsg() 286 vf->pcp & ~7 || in ng_vlan_rcvmsg() 287 vf->cfi & ~1) { in ng_vlan_rcvmsg() 316 EVL_MAKETAG(vf->vid, vf->pcp, vf->cfi))); in ng_vlan_rcvmsg() 399 vf = &t->filter[0]; in ng_vlan_rcvmsg() 415 vf->vlan = i; in ng_vlan_rcvmsg() 417 vf->vid = i; in ng_vlan_rcvmsg() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_file.c | 91 vdev_file_t *vf; in vdev_file_open() local 128 vf = vd->vdev_tsd; in vdev_file_open() 149 vf->vf_file = fp; in vdev_file_open() 182 vdev_file_t *vf = vd->vdev_tsd; in vdev_file_close() local 184 if (vd->vdev_reopening || vf == NULL) in vdev_file_close() 187 if (vf->vf_file != NULL) { in vdev_file_close() 188 (void) zfs_file_close(vf->vf_file); in vdev_file_close() 192 kmem_free(vf, sizeof (vdev_file_t)); in vdev_file_close() 201 vdev_file_t *vf = vd->vdev_tsd; in vdev_file_io_strategy() local 232 vdev_file_t *vf = zio->io_vd->vdev_tsd; in vdev_file_io_fsync() local [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_file.c | 91 vdev_file_t *vf; in vdev_file_open() local 128 vf = vd->vdev_tsd; in vdev_file_open() 150 vf->vf_file = fp; in vdev_file_open() 183 vdev_file_t *vf = vd->vdev_tsd; in vdev_file_close() local 185 if (vd->vdev_reopening || vf == NULL) in vdev_file_close() 188 if (vf->vf_file != NULL) { in vdev_file_close() 189 zfs_file_close(vf->vf_file); in vdev_file_close() 193 kmem_free(vf, sizeof (vdev_file_t)); in vdev_file_close() 214 vdev_file_t *vf; in vdev_file_io_strategy() local 225 vf = vd->vdev_tsd; in vdev_file_io_strategy() [all …]
|
/freebsd/tools/regression/usr.bin/cc/ |
H A D | float.c | 120 volatile float vf; in run_tests() local 185 vf = FLT_EPSILON; in run_tests() 189 1.0F + vf != 1.0F && 1.0 + vd != 1.0 && 1.0L + vld != 1.0L); in run_tests() 193 (float)(1.0F + vf * 0.5F) == 1.0F); in run_tests() 196 (float)(1.0 + vf * 0.5) == 1.0F); in run_tests() 199 (float)(1.0L + vf * 0.5L) == 1.0F); in run_tests() 217 TWICE(TWICE(TWICE(TWICE(1.0F + vf * 0.5F))))))))) in run_tests() 228 f = 1.0 + vf * 0.5; in run_tests() 232 f = 1.0F + vf * 0.5F; in run_tests() 238 tofloat(1.0 + vf * 0.5) == 1.0F && in run_tests()
|
/freebsd/contrib/hyperv/tools/scripts/ |
H A D | hyperv_vfup | 26 vf=`sysctl -n dev.hn.$hn_unit.vf` 27 if [ ! $vf ] 57 ifconfig $lagg laggproto failover laggport $hn laggport $vf 114 ifconfig $lagg | grep "laggport: $vf" > /dev/null 2>&1 117 ifconfig $lagg laggport $vf
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_virt.c | 33 int mlx5_ib_get_vf_config(struct ib_device *device, int vf, u8 port, in mlx5_ib_get_vf_config() argument 39 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf, in mlx5_ib_set_vf_link_state() argument 45 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf, in mlx5_ib_get_vf_stats() argument 51 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u8 port, in mlx5_ib_set_vf_guid() argument
|
/freebsd/usr.sbin/iovctl/ |
H A D | validate.c | 152 apply_defaults(nvlist_t *vf, const nvlist_t *defaults) in apply_defaults() argument 155 apply_subsystem_defaults(vf, DRIVER_CONFIG_NAME, defaults); in apply_defaults() 156 apply_subsystem_defaults(vf, IOV_CONFIG_NAME, defaults); in apply_defaults() 226 nvlist_t *defaults, *pf, *vf; in validate_config() local 250 vf = find_config(config, device_name); in validate_config() 253 apply_defaults(vf, defaults); in validate_config() 255 validate_device(vf, vf_schema, device_name); in validate_config() 256 nvlist_move_nvlist(config, device_name, vf); in validate_config()
|
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
H A D | aesopt.h | 696 box[bval(vf(x, 0, c), rf(0, c))], \ 697 box[bval(vf(x, 1, c), rf(1, c))], \ 698 box[bval(vf(x, 2, c), rf(2, c))], \ 699 box[bval(vf(x, 3, c), rf(3, c))]) 701 #define one_table(x, op, tab, vf, rf, c) \ argument 702 (tab[bval(vf(x, 0, c), rf(0, c))] \ 707 #define four_tables(x, tab, vf, rf, c) \ argument 708 (tab[0][bval(vf(x, 0, c), rf(0, c))] \ 709 ^ tab[1][bval(vf(x, 1, c), rf(1, c))] \ 710 ^ tab[2][bval(vf(x, 2, c), rf(2, c))] \ [all …]
|
/freebsd/sys/dev/pci/ |
H A D | pci_iov.c | 236 vf_driver = *vf; in pci_iov_build_schema() 237 *vf = NULL; in pci_iov_build_schema() 326 nvlist_t *vf; in pci_iov_get_vf_subsystem_schema() local 329 if (vf == NULL) in pci_iov_get_vf_subsystem_schema() 334 return (vf); in pci_iov_get_vf_subsystem_schema() 628 device_t bus, dev, vf; in pci_iov_enumerate_vfs() local 648 if (vf == NULL) in pci_iov_enumerate_vfs() 662 vfinfo->cfg.vf.index = i; in pci_iov_enumerate_vfs() 860 vf = devlist[i]; in pci_iov_delete_iov_children() 865 error = device_detach(vf); in pci_iov_delete_iov_children() [all …]
|
/freebsd/sys/dev/vt/hw/vga/ |
H A D | vt_vga.c | 612 const struct vt_font *vf; in vga_bitblt_one_text_pixels_block() local 622 vf = vw->vw_font; in vga_bitblt_one_text_pixels_block() 661 src = vtfont_lookup(vf, c); in vga_bitblt_one_text_pixels_block() 692 (col + 1) * vf->vf_width + in vga_bitblt_one_text_pixels_block() 696 x_count -= col * vf->vf_width + in vga_bitblt_one_text_pixels_block() 702 src, NULL, vf->vf_width, in vga_bitblt_one_text_pixels_block() 752 vf->vf_height); in vga_bitblt_one_text_pixels_block() 773 x, y, vf->vf_height); in vga_bitblt_one_text_pixels_block() 776 x, y, vf->vf_height); in vga_bitblt_one_text_pixels_block() 783 const struct vt_font *vf; in vga_bitblt_text_gfxmode() local [all …]
|
/freebsd/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 340 struct vt_font *vf; in vt_fb_bitblt_text() local 346 vf = vw->vw_font; in vt_fb_bitblt_text() 351 x = col * vf->vf_width + in vt_fb_bitblt_text() 353 y = row * vf->vf_height + in vt_fb_bitblt_text() 357 pattern = vtfont_lookup(vf, c); in vt_fb_bitblt_text() 371 pattern, NULL, vf->vf_width, vf->vf_height, in vt_fb_bitblt_text() 389 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_fb_bitblt_text() 390 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in vt_fb_bitblt_text() 391 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in vt_fb_bitblt_text() 392 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in vt_fb_bitblt_text()
|
/freebsd/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 250 struct vt_font *vf; in ofwfb_bitblt_text() local 255 vf = vw->vw_font; in ofwfb_bitblt_text() 260 x = col * vf->vf_width + in ofwfb_bitblt_text() 262 y = row * vf->vf_height + in ofwfb_bitblt_text() 266 pattern = vtfont_lookup(vf, c); in ofwfb_bitblt_text() 271 pattern, NULL, vf->vf_width, vf->vf_height, in ofwfb_bitblt_text() 282 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in ofwfb_bitblt_text() 283 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in ofwfb_bitblt_text() 284 drawn_area.tr_end.tp_col = area->tr_end.tp_col * vf->vf_width; in ofwfb_bitblt_text() 285 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in ofwfb_bitblt_text()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | common.h | 788 unsigned int vf, unsigned int nparams, const u32 *params, 794 unsigned int pf, unsigned int vf, 798 unsigned int vf, unsigned int nparams, const u32 *params, 801 unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl, 806 unsigned int port, unsigned int pf, unsigned int vf, 814 unsigned int pf, unsigned int vf, 874 unsigned int vf, unsigned int eqid); 876 unsigned int vf, unsigned int eqid); 878 unsigned int vf, unsigned int eqid); 880 unsigned int vf, unsigned int eqid); [all …]
|
/freebsd/sys/dev/qat/qat_hw/qat_4xxxvf/ |
H A D | adf_4xxxvf_hw_data.c | 306 mutex_lock(&accel_dev->u1.vf.rpreset_lock); in adf_4xxxvf_ring_pair_reset() 307 init_completion(&accel_dev->u1.vf.msg_received); in adf_4xxxvf_ring_pair_reset() 308 accel_dev->u1.vf.rpreset_sts = RPRESET_SUCCESS; in adf_4xxxvf_ring_pair_reset() 315 if (!wait_for_completion_timeout(&accel_dev->u1.vf.msg_received, in adf_4xxxvf_ring_pair_reset() 323 if (accel_dev->u1.vf.rpreset_sts != RPRESET_SUCCESS) { in adf_4xxxvf_ring_pair_reset() 332 mutex_unlock(&accel_dev->u1.vf.rpreset_lock); in adf_4xxxvf_ring_pair_reset()
|