aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/racct.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2011-07-07 17:44:42 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2011-07-07 17:44:42 +0000
commit4fe84775390405218ac1e5f46d8e91902bd37587 (patch)
tree9204405ac15a45e63263ff6d40deda2163af6537 /sys/sys/racct.h
parentcd6dac7dff9a54e49e7cd59b4fb21c398af1de0a (diff)
downloadsrc-4fe84775390405218ac1e5f46d8e91902bd37587.tar.gz
src-4fe84775390405218ac1e5f46d8e91902bd37587.zip
Style fix - macros are supposed to be uppercase.
Notes
Notes: svn path=/head/; revision=223844
Diffstat (limited to 'sys/sys/racct.h')
-rw-r--r--sys/sys/racct.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/racct.h b/sys/sys/racct.h
index 222dbcec1af6..9e6907d803d3 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -86,31 +86,31 @@ extern int racct_types[];
* visible to the userland. It gets fixed up when retrieving resource
* usage or adding rules.
*/
-#define racct_is_in_thousands(X) (racct_types[X] & RACCT_IN_THOUSANDS)
+#define RACCT_IS_IN_THOUSANDS(X) (racct_types[X] & RACCT_IN_THOUSANDS)
/*
* Resource usage can drop, as opposed to only grow.
*/
-#define racct_is_reclaimable(X) (racct_types[X] & RACCT_RECLAIMABLE)
+#define RACCT_IS_RECLAIMABLE(X) (racct_types[X] & RACCT_RECLAIMABLE)
/*
* Children inherit resource usage.
*/
-#define racct_is_inheritable(X) (racct_types[X] & RACCT_INHERITABLE)
+#define RACCT_IS_INHERITABLE(X) (racct_types[X] & RACCT_INHERITABLE)
/*
* racct_{add,set}(9) can actually return an error and not update resource
* usage counters. Note that even when resource is not deniable, allocating
* resource might cause signals to be sent by RCTL code.
*/
-#define racct_is_deniable(X) (racct_types[X] & RACCT_DENIABLE)
+#define RACCT_IS_DENIABLE(X) (racct_types[X] & RACCT_DENIABLE)
/*
* Per-process resource usage information makes no sense, but per-credential
* one does. This kind of resources are usually allocated for process, but
* freed using credentials.
*/
-#define racct_is_sloppy(X) (racct_types[X] & RACCT_SLOPPY)
+#define RACCT_IS_SLOPPY(X) (racct_types[X] & RACCT_SLOPPY)
/*
* The 'racct' structure defines resource consumption for a particular