HomeSort by: relevance | last modified time | path
    Searched defs:bv (Results 1 - 18 of 18) sorted by relevancy

  /src/sys/compat/common/
bio_30.c 75 struct bioc_vol *bv = kmem_zalloc(sizeof(*bv), KM_SLEEP); local in function:compat_30_bio
77 (void)memcpy(bv, addr, sizeof(struct obioc_vol));
78 error = (*delegate)(cookie, BIOCVOL, bv);
80 kmem_free(bv, sizeof(*bv));
84 (void)memcpy(addr, bv, sizeof(struct obioc_vol));
85 kmem_free(bv, sizeof(*bv));
  /src/sys/arch/atari/pci/
pci_tseng.c 198 uint8_t bv; local in function:et6000_init
204 bv = ba[45];
205 ba[0x45] = bv | 0x40; /* Reset MDRAM's */
206 ba[0x45] = bv | 0x70; /* Program latency value */
208 ba[0x45] = bv; /* Back to normal */
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_bitvector_test.cc 29 // Check the 'bv' == 's' and that the indexes go in increasing order.
30 // Also check the BV::Iterator
31 template <class BV>
32 static void CheckBV(const BV &bv, const set<uptr> &s) {
33 BV t;
34 t.copyFrom(bv);
36 uptr last_idx = bv.size();
38 for (typename BV::Iterator it(bv); it.hasNext();)
80 BV bv, bv1, t_bv; local in function:TestBitVector
    [all...]
sanitizer_bvgraph_test.cc 69 template <class BV>
71 BVGraph<BV> g;
73 BV target;
93 uptr path[BV::kSize];
95 for (len = 1; len < BV::kSize; len++) {
99 EXPECT_LT(len, BV::kSize);
117 template <class BV>
120 BVGraph<BV> g;
122 BV bv; local in function:RemoveEdges
    [all...]
  /src/usr.sbin/btdevctl/
sdp.c 458 bool bv; local in function:parse_boolean
460 if (!sdp_get_bool(value, &bv))
463 return bv;
  /src/sys/dev/ic/
cac.c 655 cac_ioctl_vol(struct cac_softc *sc, struct bioc_vol *bv)
661 if (bv->bv_volid > sc->sc_nunits) {
665 bv->bv_volid, 0, CAC_CCB_DATA_IN, NULL)) {
669 bv->bv_volid, 0, CAC_CCB_DATA_IN, NULL)) {
674 bv->bv_size = (off_t)blks * CAC_GET2(dinfo.secsize);
675 bv->bv_level = cac_level[CAC_GET1(dinfo.mirror)]; /*XXX limit check */
676 bv->bv_nodisk = 0; /* XXX */
677 bv->bv_status = 0; /* XXX */
678 bv->bv_percent = -1;
679 bv->bv_seconds = 0
731 struct bioc_vol bv; local in function:cac_sensor_refresh
    [all...]
ciss.c 1521 ciss_ioctl_vol(struct ciss_softc *sc, struct bioc_vol *bv)
1530 if (bv->bv_volid < 0 || bv->bv_volid > sc->maxunits) {
1533 ldp = sc->sc_lds[bv->bv_volid];
1535 if ((error = ciss_ldid(sc, bv->bv_volid, ldid))) {
1538 bv->bv_status = BIOC_SVINVALID;
1541 bv->bv_size = blks * (u_quad_t)le16toh(ldid->blksize);
1542 bv->bv_level = ciss_level[ldid->type];
1549 bv->bv_nodisk = ldp->ndrives;
1550 strlcpy(bv->bv_dev, ldp->xname, sizeof(bv->bv_dev))
1680 struct bioc_vol bv; local in function:ciss_sensor_refresh
    [all...]
mfi.c 2038 mfi_ioctl_vol(struct mfi_softc *sc, struct bioc_vol *bv)
2044 DEVNAME(sc), bv->bv_volid);
2050 i = bv->bv_volid;
2060 if (bv->bv_volid >= sc->sc_ld_list.mll_no_ld) {
2062 rv = mfi_bio_hs(sc, bv->bv_volid, MFI_MGMT_VD, bv);
2066 strlcpy(bv->bv_dev, sc->sc_ld[i].ld_dev, sizeof(bv->bv_dev));
2070 bv->bv_status = BIOC_SVOFFLINE;
2075 bv->bv_status = BIOC_SVDEGRADED
2595 struct bioc_vol bv; local in function:mfi_sensor_refresh
    [all...]
  /src/sbin/bioctl/
bioctl.c 63 struct bioc_vol *bv; member in struct:biotmp
235 bio_show_volumes(struct biotmp *bt, struct bioc_vol *bv)
243 memset(bv, 0, sizeof(*bv));
244 bv->bv_cookie = bl.bl_cookie;
245 bv->bv_volid = bt->volid;
246 bv->bv_percent = -1;
247 bv->bv_seconds = 0;
249 if (ioctl(bt->fd, BIOCVOL, bv) == -1)
254 if (bv->bv_percent != -1
433 struct bioc_vol bv; local in function:bio_show_common
938 struct bioc_vol bv; local in function:bio_setblink
    [all...]
  /src/sys/dev/pci/
arcmsr.c 1317 arc_bio_vol(struct arc_softc *sc, struct bioc_vol *bv)
1326 error = arc_bio_getvol(sc, bv->bv_volid, volinfo);
1330 bv->bv_percent = -1;
1331 bv->bv_seconds = 0;
1336 bv->bv_status = BIOC_SVONLINE;
1338 bv->bv_status = BIOC_SVDEGRADED;
1340 bv->bv_status = BIOC_SVDEGRADED;
1342 bv->bv_status = BIOC_SVOFFLINE;
1344 bv->bv_status = BIOC_SVBUILDING;
1345 bv->bv_percent = htole32(volinfo->progress)
1769 struct bioc_vol bv; local in function:arc_create_sensors
1898 struct bioc_vol bv; local in function:arc_refresh_sensors
    [all...]
mpii.c 3480 mpii_ioctl_vol(struct mpii_softc *sc, struct bioc_vol *bv)
3491 DEVNAME(sc), bv->bv_volid);
3494 if ((dev = mpii_find_vol(sc, bv->bv_volid)) == NULL) {
3528 bv->bv_status = BIOC_SVONLINE;
3533 bv->bv_status = BIOC_SVREBUILD;
3534 bv->bv_percent = percent;
3536 bv->bv_status = BIOC_SVDEGRADED;
3539 bv->bv_status = BIOC_SVOFFLINE;
3542 bv->bv_status = BIOC_SVBUILDING;
3546 bv->bv_status = BIOC_SVINVALID
3942 struct bioc_vol bv; local in function:mpii_refresh_sensors
    [all...]
mfii.c 3103 mfii_ioctl_vol(struct mfii_softc *sc, struct bioc_vol *bv)
3108 DEVNAME(sc), bv->bv_volid);
3117 if (bv->bv_volid >= sc->sc_ld_list.mll_no_ld) {
3119 rv = mfii_bio_hs(sc, bv->bv_volid, MFI_MGMT_VD, bv);
3123 i = bv->bv_volid;
3124 strlcpy(bv->bv_dev, sc->sc_ld_details[i].mld_cfg.mlc_prop.mlp_name,
3125 sizeof(bv->bv_dev));
3129 bv->bv_status = BIOC_SVOFFLINE;
3134 bv->bv_status = BIOC_SVDEGRADED
3972 struct bioc_vol bv; local in function:mfii_refresh_ld_sensor
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_tv.c 68 u16 rv, gv, bv, av; member in struct:color_conversion
196 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
206 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
216 .rv = 0x035a, .gv = 0x0322, .bv = 0x06e1, .av = 0x0200,
226 .rv = 0x0399, .gv = 0x0356, .bv = 0x070a, .av = 0x0200,
236 .rv = 0x0353, .gv = 0x031c, .bv = 0x06dc, .av = 0x0200,
246 .rv = 0x0390, .gv = 0x034f, .bv = 0x0705, .av = 0x0200,
256 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
266 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
276 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/radeon/
ni_dpm.h 82 u32 bv; member in struct:ni_leakage_coeffients
radeon_si_dpm.c 1780 s64 temperature, t_slope, t_intercept, av, bv, t_ref; local in function:si_calculate_leakage_for_v_and_t_formula
1790 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000);
1796 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc)));
1824 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc)));
  /src/sys/net/
bpf.c 1280 struct bpf_version *bv = addr; local in function:bpf_ioctl
1282 bv->bv_major = BPF_MAJOR_VERSION;
1283 bv->bv_minor = BPF_MINOR_VERSION;
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_si_dpm.c 1872 s64 temperature, t_slope, t_intercept, av, bv, t_ref; local in function:si_calculate_leakage_for_v_and_t_formula
1882 bv = div64_s64(drm_int2fixp(coeff->bv), 100000000);
1888 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc)));
1916 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc)));
si_dpm.h 257 u32 bv; member in struct:ni_leakage_coeffients

Completed in 60 milliseconds