Lines Matching refs:vsd

1938 stats_voistatdata_tostr(const struct voistatdata *vsd, enum vsd_dtype voi_dtype,  argument
1944 if (vsd == NULL || buf == NULL || voi_dtype >= VSD_NUM_DTYPES ||
1964 (const struct voistatdata *)&CONSTVSD(voistate, vsd)->prev,
1968 sbuf_printf(buf, "%d", vsd->int32.s32);
1971 sbuf_printf(buf, "%u", vsd->int32.u32);
1974 sbuf_printf(buf, "%jd", (intmax_t)vsd->int64.s64);
1977 sbuf_printf(buf, "%ju", (uintmax_t)vsd->int64.u64);
1980 sbuf_printf(buf, "%ld", vsd->intlong.slong);
1983 sbuf_printf(buf, "%lu", vsd->intlong.ulong);
1987 char qstr[Q_MAXSTRLEN(vsd->q32.sq32, 10)];
1988 Q_TOSTR((s32q_t)vsd->q32.sq32, -1, 10, qstr, sizeof(qstr));
1994 char qstr[Q_MAXSTRLEN(vsd->q32.uq32, 10)];
1995 Q_TOSTR((u32q_t)vsd->q32.uq32, -1, 10, qstr, sizeof(qstr));
2001 char qstr[Q_MAXSTRLEN(vsd->q64.sq64, 10)];
2002 Q_TOSTR((s64q_t)vsd->q64.sq64, -1, 10, qstr, sizeof(qstr));
2008 char qstr[Q_MAXSTRLEN(vsd->q64.uq64, 10)];
2009 Q_TOSTR((u64q_t)vsd->q64.uq64, -1, 10, qstr, sizeof(qstr));
2019 stats_voistatdata_hist_tostr(voi_dtype, CONSTVSD(hist, vsd),
2025 CONSTVSD(tdgst, vsd), vsd_dtype, vsd_sz, fmt, buf,
2042 void *vsd; local
2085 vsd = BLOB_OFFSET(sb, vs->data_off);
2092 stats_voistatdata_tostr(vsd, v->dtype, vs->dtype, vs->dsz,
2104 void *vsd; local
2166 vsd = BLOB_OFFSET(sb, vs->data_off);
2191 stats_voistatdata_tostr(vsd, v->dtype, vs->dtype, vs->dsz,
2303 void *vsd; local
2308 vsd = BLOB_OFFSET(sb, vs->data_off);
2315 Q_SIFVAL(VSD(q32, vsd)->sq32, 0);
2318 Q_SIFVAL(VSD(q32, vsd)->uq32, 0);
2321 Q_SIFVAL(VSD(q64, vsd)->sq64, 0);
2324 Q_SIFVAL(VSD(q64, vsd)->uq64, 0);
2327 bzero(vsd, vs->dsz);
2334 Q_SIFVAL(VSD(q32, vsd)->sq32,
2335 Q_IFMINVAL(VSD(q32, vsd)->sq32));
2338 Q_SIFVAL(VSD(q32, vsd)->uq32,
2339 Q_IFMINVAL(VSD(q32, vsd)->uq32));
2342 Q_SIFVAL(VSD(q64, vsd)->sq64,
2343 Q_IFMINVAL(VSD(q64, vsd)->sq64));
2346 Q_SIFVAL(VSD(q64, vsd)->uq64,
2347 Q_IFMINVAL(VSD(q64, vsd)->uq64));
2350 memcpy(vsd, &numeric_limits[LIM_MIN][vs->dtype],
2358 Q_SIFVAL(VSD(q32, vsd)->sq32,
2359 Q_IFMAXVAL(VSD(q32, vsd)->sq32));
2362 Q_SIFVAL(VSD(q32, vsd)->uq32,
2363 Q_IFMAXVAL(VSD(q32, vsd)->uq32));
2366 Q_SIFVAL(VSD(q64, vsd)->sq64,
2367 Q_IFMAXVAL(VSD(q64, vsd)->sq64));
2370 Q_SIFVAL(VSD(q64, vsd)->uq64,
2371 Q_IFMAXVAL(VSD(q64, vsd)->uq64));
2374 memcpy(vsd, &numeric_limits[LIM_MAX][vs->dtype],
2386 hist = VSD(hist, vsd);
2434 tdgst = VSD(tdgst, vsd);
2502 struct voistatdata *voival, struct voistat *vs, void *vsd) argument
2513 if (VSD(int32, vsd)->s32 < voival->int32.s32) {
2514 VSD(int32, vsd)->s32 = voival->int32.s32;
2519 if (VSD(int32, vsd)->u32 < voival->int32.u32) {
2520 VSD(int32, vsd)->u32 = voival->int32.u32;
2525 if (VSD(int64, vsd)->s64 < voival->int64.s64) {
2526 VSD(int64, vsd)->s64 = voival->int64.s64;
2531 if (VSD(int64, vsd)->u64 < voival->int64.u64) {
2532 VSD(int64, vsd)->u64 = voival->int64.u64;
2537 if (VSD(intlong, vsd)->slong < voival->intlong.slong) {
2538 VSD(intlong, vsd)->slong = voival->intlong.slong;
2543 if (VSD(intlong, vsd)->ulong < voival->intlong.ulong) {
2544 VSD(intlong, vsd)->ulong = voival->intlong.ulong;
2549 if (Q_QLTQ(VSD(q32, vsd)->sq32, voival->q32.sq32) &&
2550 (0 == (error = Q_QCPYVALQ(&VSD(q32, vsd)->sq32,
2556 if (Q_QLTQ(VSD(q32, vsd)->uq32, voival->q32.uq32) &&
2557 (0 == (error = Q_QCPYVALQ(&VSD(q32, vsd)->uq32,
2563 if (Q_QLTQ(VSD(q64, vsd)->sq64, voival->q64.sq64) &&
2564 (0 == (error = Q_QCPYVALQ(&VSD(q64, vsd)->sq64,
2570 if (Q_QLTQ(VSD(q64, vsd)->uq64, voival->q64.uq64) &&
2571 (0 == (error = Q_QCPYVALQ(&VSD(q64, vsd)->uq64,
2586 struct voistatdata *voival, struct voistat *vs, void *vsd) argument
2597 if (VSD(int32, vsd)->s32 > voival->int32.s32) {
2598 VSD(int32, vsd)->s32 = voival->int32.s32;
2603 if (VSD(int32, vsd)->u32 > voival->int32.u32) {
2604 VSD(int32, vsd)->u32 = voival->int32.u32;
2609 if (VSD(int64, vsd)->s64 > voival->int64.s64) {
2610 VSD(int64, vsd)->s64 = voival->int64.s64;
2615 if (VSD(int64, vsd)->u64 > voival->int64.u64) {
2616 VSD(int64, vsd)->u64 = voival->int64.u64;
2621 if (VSD(intlong, vsd)->slong > voival->intlong.slong) {
2622 VSD(intlong, vsd)->slong = voival->intlong.slong;
2627 if (VSD(intlong, vsd)->ulong > voival->intlong.ulong) {
2628 VSD(intlong, vsd)->ulong = voival->intlong.ulong;
2633 if (Q_QGTQ(VSD(q32, vsd)->sq32, voival->q32.sq32) &&
2634 (0 == (error = Q_QCPYVALQ(&VSD(q32, vsd)->sq32,
2640 if (Q_QGTQ(VSD(q32, vsd)->uq32, voival->q32.uq32) &&
2641 (0 == (error = Q_QCPYVALQ(&VSD(q32, vsd)->uq32,
2647 if (Q_QGTQ(VSD(q64, vsd)->sq64, voival->q64.sq64) &&
2648 (0 == (error = Q_QCPYVALQ(&VSD(q64, vsd)->sq64,
2654 if (Q_QGTQ(VSD(q64, vsd)->uq64, voival->q64.uq64) &&
2655 (0 == (error = Q_QCPYVALQ(&VSD(q64, vsd)->uq64,
2670 struct voistatdata *voival, struct voistat *vs, void *vsd) argument
2681 VSD(int32, vsd)->s32 += voival->int32.s32;
2684 VSD(int32, vsd)->u32 += voival->int32.u32;
2687 VSD(int64, vsd)->s64 += voival->int64.s64;
2690 VSD(int64, vsd)->u64 += voival->int64.u64;
2693 VSD(intlong, vsd)->slong += voival->intlong.slong;
2696 VSD(intlong, vsd)->ulong += voival->intlong.ulong;
2699 error = Q_QADDQ(&VSD(q32, vsd)->sq32, voival->q32.sq32);
2702 error = Q_QADDQ(&VSD(q32, vsd)->uq32, voival->q32.uq32);
2705 error = Q_QADDQ(&VSD(q64, vsd)->sq64, voival->q64.sq64);
2708 error = Q_QADDQ(&VSD(q64, vsd)->uq64, voival->q64.uq64);
3528 void *statevsd, *vsd; local
3603 vsd = BLOB_OFFSET(sb, vs->data_off);
3608 vs, vsd);
3612 vs, vsd);
3616 vs, vsd);
3620 vs, vsd);
3624 vs, vsd);