Home
last modified time | relevance | path

Searched refs:rctlblk_t (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/head/
H A Drctl.h39 hrtime_t rctlblk_get_firing_time(rctlblk_t *);
40 uint_t rctlblk_get_global_action(rctlblk_t *);
41 uint_t rctlblk_get_global_flags(rctlblk_t *);
42 uint_t rctlblk_get_local_action(rctlblk_t *, int *);
43 uint_t rctlblk_get_local_flags(rctlblk_t *);
44 id_t rctlblk_get_recipient_pid(rctlblk_t *);
45 rctl_priv_t rctlblk_get_privilege(rctlblk_t *);
46 rctl_qty_t rctlblk_get_value(rctlblk_t *);
47 rctl_qty_t rctlblk_get_enforced_value(rctlblk_t *);
49 void rctlblk_set_local_action(rctlblk_t *, uint_t, int);
[all …]
H A Dlibzonecfg.h566 extern boolean_t zonecfg_valid_rctlblk(const rctlblk_t *);
567 extern boolean_t zonecfg_valid_rctl(const char *, const rctlblk_t *);
569 rctlblk_t *);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drctlops.c73 rctlblk_get_global_action(rctlblk_t *rblk) in rctlblk_get_global_action()
81 rctlblk_get_local_action(rctlblk_t *rblk, int *signal) in rctlblk_get_local_action()
91 rctlblk_get_global_flags(rctlblk_t *rblk) in rctlblk_get_global_flags()
99 rctlblk_get_local_flags(rctlblk_t *rblk) in rctlblk_get_local_flags()
107 rctlblk_get_firing_time(rctlblk_t *rblk) in rctlblk_get_firing_time()
115 rctlblk_get_recipient_pid(rctlblk_t *rblk) in rctlblk_get_recipient_pid()
123 rctlblk_get_privilege(rctlblk_t *rblk) in rctlblk_get_privilege()
130 rctlblk_get_value(rctlblk_t *rblk) in rctlblk_get_value()
137 rctlblk_get_enforced_value(rctlblk_t *rblk) in rctlblk_get_enforced_value()
144 rctlblk_set_local_action(rctlblk_t *rblk, uint_t action, int signal) in rctlblk_set_local_action()
[all …]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Drctlsys.c36 getrctl(const char *name, rctlblk_t *old_rblk, rctlblk_t *new_rblk, in getrctl()
44 setrctl(const char *name, rctlblk_t *old_rblk, rctlblk_t *new_rblk, in setrctl()
66 rctlctl(const char *name, rctlblk_t *rblk, int flags) in rctlctl()
72 setprojrctl(const char *name, rctlblk_t *new_rblk, size_t size, int flags) in setprojrctl()
/illumos-gate/usr/src/uts/common/sys/
H A Drctl_impl.h42 extern int rctlctl(const char *, rctlblk_t *, int);
44 extern int setprojrctl(const char *, rctlblk_t *, size_t, int);
64 #define RCTLBLK_INC(blk, n) (rctlblk_t *)(((char *)blk) \
H A Drctl.h106 typedef struct rctlblk rctlblk_t; typedef
108 extern int setrctl(const char *, rctlblk_t *, rctlblk_t *, int);
109 extern int getrctl(const char *, rctlblk_t *, rctlblk_t *, int);
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c113 rctlblk_t *gblk; in rctl_save_walk_cb()
236 if (rctlctl(name, (rctlblk_t *)gblk, in rctladm_read_config()
270 if (rctlctl(rctl_name, (rctlblk_t *)gblk, RCTLCTL_GET) == -1) in rctladm_modify_action()
292 if (rctlctl(rctl_name, (rctlblk_t *)gblk, RCTLCTL_SET) == -1) { in rctladm_modify_action()
356 rctlblk_display(FILE *f, rctlblk_t *gblk) in rctlblk_display()
409 rctlblk_t *gblk; in rctl_walk_cb()
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c74 rctlblk_t *rblk;
146 static prctl_value_t *store_value_entry(rctlblk_t *rblk, prctl_list_t *list);
150 static int change_action(rctlblk_t *blk);
153 rctlblk_t *, rctlblk_t *, uint_t);
155 static int match_rctl(struct ps_prochandle *Pr, rctlblk_t **rctl, char *name,
158 static int match_rctl_blk(rctlblk_t *rctl, char *valuestringin,
212 rctlblk_t *rctlblkA = NULL; in main()
213 rctlblk_t *rctlblkB = NULL; in main()
214 rctlblk_t *tmp = NULL; in main()
1130 rctlblk_t *rblk2, *rblk_tmp, *rblk1 = NULL; in store_rctls()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrctl.c40 rctlblk_t *old_blk, rctlblk_t *new_blk, int rflag) in pr_getrctl()
122 rctlblk_t *old_blk, rctlblk_t *new_blk, int rflag) in pr_setrctl()
204 rctlblk_t *new_blk, size_t size, int rflag) in pr_setprojrctl()
H A Dlibproc.h388 const char *, rctlblk_t *, rctlblk_t *, int);
390 const char *, rctlblk_t *, rctlblk_t *, int);
396 rctlblk_t *, size_t, int);
/illumos-gate/usr/src/lib/libproject/common/
H A Dsetproject.c74 build_rctlblk(rctlblk_t *blk, int comp_num, char *component) in build_rctlblk()
181 reinit_blk(rctlblk_t *blk, int local_action) in reinit_blk()
197 rctlblk_t *blk; in rctl_set()
198 rctlblk_t *ablk; in rctl_set()
203 rctlblk_t *rnext; in rctl_set()
228 (rctlblk_t *)malloc(rctlblk_size() * count)) == NULL)) { in rctl_set()
360 if ((rnext = (rctlblk_t *)malloc(rctlblk_size())) == NULL) { in rctl_set()
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_main.c842 rctlblk_t *rblk; in vscand_set_resource_limits()
845 rblk = (rctlblk_t *)malloc(rctlblk_size()); in vscand_set_resource_limits()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c3588 rctlblk_t *rctlblk = alloca(rctlblk_size()); in zonecfg_add_rctl_value()
3913 get_priv_rctl(struct ps_prochandle *pr, char *name, rctlblk_t *rblk) in get_priv_rctl()
3937 rctlblk_t *rblk; in zonecfg_apply_rctls()
3944 if ((rblk = (rctlblk_t *)malloc(rctlblk_size())) == NULL) { in zonecfg_apply_rctls()
5998 rctlblk_t *rctlblk) in zonecfg_construct_rctlblk()
6080 zonecfg_valid_rctlblk(const rctlblk_t *rctlblk) in zonecfg_valid_rctlblk()
6082 rctl_priv_t priv = rctlblk_get_privilege((rctlblk_t *)rctlblk); in zonecfg_valid_rctlblk()
6083 uint_t action = rctlblk_get_local_action((rctlblk_t *)rctlblk, NULL); in zonecfg_valid_rctlblk()
6093 zonecfg_valid_rctl(const char *name, const rctlblk_t *rctlblk) in zonecfg_valid_rctl()
6095 rctlblk_t *current, *next; in zonecfg_valid_rctl()
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c2168 rctlblk_t *rblk; in zsd_get_zone_rctl_limit()
2170 rblk = (rctlblk_t *)alloca(rctlblk_size()); in zsd_get_zone_rctl_limit()
2181 rctlblk_t *rblk; in zsd_get_zone_rctl_usage()
2183 rblk = (rctlblk_t *)alloca(rctlblk_size()); in zsd_get_zone_rctl_usage()
4022 rctlblk_t *rblk, *rblk_last; in zsd_get_system_rctl()
4024 rblk = (rctlblk_t *)alloca(rctlblk_size()); in zsd_get_system_rctl()
4025 rblk_last = (rctlblk_t *)alloca(rctlblk_size()); in zsd_get_system_rctl()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2081 rctlblk_t *rctlblk; in verify_rctls()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c3432 rctlblk_t *rctlblk = NULL; in get_rctls()
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c4452 rctlblk_t *blk; in show_rctlblk()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c2349 rctlblk_t *rctlblk; in do_complex_rctl_val()