| 1052 | } |
| 1053 | |
| 1054 | static inline int |
| 1055 | stats_voi_update_abs_u64(struct statsblob *sb, int32_t voi_id, uint64_t voival) |
| 1056 | { |
| 1057 | |
| 1058 | if (sb == NULL) |
| 1059 | return (0); |
| 1060 | |
| 1061 | struct voistatdata tmp; |
| 1062 | tmp.int64.u64 = voival; |
| 1063 | |
| 1064 | return (stats_v1_voi_update((struct statsblobv1 *)sb, voi_id, |
| 1065 | VSD_DTYPE_INT_U64, &tmp, 0)); |
| 1066 | } |
| 1067 | |
| 1068 | static inline int |
| 1069 | stats_voi_update_rel_u64(struct statsblob *sb, int32_t voi_id, uint64_t voival) |
no test coverage detected