Lines Matching refs:group
30 * Display group information and walk all elements of a group
33 #include "group.h"
36 #include <sys/group.h>
39 * Display group information
44 group(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
46 group_t group;
69 if (mdb_vread(&group, sizeof (struct group), addr) == -1) {
70 mdb_warn("unable to read 'group' at %p", addr);
80 addr, group.grp_size, group.grp_capacity, group.grp_set);
86 * Walk all elements in the group set.
98 * Initialize the walk structure with the copy of a group set, its size and the
105 group_t group;
109 if (mdb_vread(&group, sizeof (struct group), wsp->walk_addr) == -1) {
110 mdb_warn("couldn't read 'group' at %p", wsp->walk_addr);
114 gw->gw_size = group.grp_size;
119 mdb_warn("invalid group at %p", wsp->walk_addr);
129 gw->gw_set = mdb_alloc(group.grp_size * sizeof (uintptr_t),
132 if (mdb_vread(gw->gw_set, group.grp_size * sizeof (uintptr_t),
133 (uintptr_t)group.grp_set) == -1) {
134 mdb_warn("couldn't read 'group set' at %p", group.grp_set);