Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177850712
D61782.1795430122.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D61782.1795430122.diff
View Options
diff --git a/sys/sys/stats.h b/sys/sys/stats.h
--- a/sys/sys/stats.h
+++ b/sys/sys/stats.h
@@ -852,7 +852,7 @@
stats_voistat_fetch_s64(struct statsblob *sb, int32_t voi_id,
enum voi_stype stype, int64_t *ret)
{
- struct voistatdata *vsd;
+ struct voistatdata * __single vsd;
enum vsd_dtype vs_dtype;
int error;
@@ -870,7 +870,7 @@
stats_voistat_fetch_u64(struct statsblob *sb, int32_t voi_id,
enum voi_stype stype, uint64_t *ret)
{
- struct voistatdata *vsd;
+ struct voistatdata * __single vsd;
enum vsd_dtype vs_dtype;
int error;
@@ -888,7 +888,7 @@
stats_voistat_fetch_s32(struct statsblob *sb, int32_t voi_id,
enum voi_stype stype, int32_t *ret)
{
- struct voistatdata *vsd;
+ struct voistatdata * __single vsd;
enum vsd_dtype vs_dtype;
int error;
@@ -906,7 +906,7 @@
stats_voistat_fetch_u32(struct statsblob *sb, int32_t voi_id,
enum voi_stype stype, uint32_t *ret)
{
- struct voistatdata *vsd;
+ struct voistatdata * __single vsd;
enum vsd_dtype vs_dtype;
int error;
@@ -924,7 +924,7 @@
stats_voistat_fetch_slong(struct statsblob *sb, int32_t voi_id,
enum voi_stype stype, long *ret)
{
- struct voistatdata *vsd;
+ struct voistatdata * __single vsd;
enum vsd_dtype vs_dtype;
int error;
@@ -942,7 +942,7 @@
stats_voistat_fetch_ulong(struct statsblob *sb, int32_t voi_id,
enum voi_stype stype, unsigned long *ret)
{
- struct voistatdata *vsd;
+ struct voistatdata * __single vsd;
enum vsd_dtype vs_dtype;
int error;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 10:35 AM (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41879844
Default Alt Text
D61782.1795430122.diff (1 KB)
Attached To
Mode
D61782: stats: build the voistat fetch helpers under bounds-safety
Attached
Detach File
Event Timeline