Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/uts/sparc/fs/proc/
H A Dprmachdep.c95 gregset_t gr; in prgetprregs() local
99 getgregs(lwp, gr); in prgetprregs()
106 prp[R_G1] = gr[REG_G1]; in prgetprregs()
107 prp[R_G2] = gr[REG_G2]; in prgetprregs()
108 prp[R_G3] = gr[REG_G3]; in prgetprregs()
109 prp[R_G4] = gr[REG_G4]; in prgetprregs()
110 prp[R_G5] = gr[REG_G5]; in prgetprregs()
157 gregset_t gr; in prsetprregs() local
216 setgregs(lwp, gr); in prsetprregs()
314 gregset32_t gr; in prgetprregs32() local
[all …]
/illumos-gate/usr/src/cmd/scsi/smp/common/
H A Dsmp.c658 smp_report_general_resp_t *gr = in main() local
671 if (gr->srgr_configuring != 0) { in main()
674 if (gr->srgr_configures_others != 0) { in main()
680 if (gr->srgr_stp_continue_awt != 0) { in main()
712 if (gr->srgr_zoning_supported != 0) { in main()
717 if (gr->srgr_zoning_enabled != 0) { in main()
722 if (gr->srgr_zone_locked != 0) { in main()
736 if (gr->srgr_saving != 0) { in main()
748 gr->srgr_first_encl_conn_elem_idx); in main()
750 gr->srgr_number_encl_conn_elem_idxs); in main()
[all …]
/illumos-gate/usr/src/ucbcmd/groups/
H A Dgroups.c37 struct group *gr; in main() local
56 gr = getgrgid(groups[i]); in main()
57 if (gr == NULL) { in main()
62 (void) printf("%s%s", sep, gr->gr_name); in main()
73 struct group *gr; in showgroups() local
85 while (gr = getgrent()) { in showgroups()
86 if (pw->pw_gid == gr->gr_gid) { in showgroups()
91 (void) printf("%s%s", sep, gr->gr_name); in showgroups()
97 for (cp = gr->gr_mem; cp && *cp; cp++) in showgroups()
99 (void) printf("%s%s", sep, gr->gr_name); in showgroups()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c436 if (*gr == '-') { in smb_chk_hostaccess()
438 gr++; in smb_chk_hostaccess()
447 if (*gr == '@') { in smb_chk_hostaccess()
448 gr++; in smb_chk_hostaccess()
450 if (!isdigit(*gr) && *gr != '[') { in smb_chk_hostaccess()
472 gr = ++cstr; in smb_chk_hostaccess()
485 gr = ++cstr; in smb_chk_hostaccess()
522 gr = ++cstr; in smb_chk_hostaccess()
555 char *gr; in smb_netgroup_match() local
599 for (n = 0; i < grc; i++, n++, gr += strlen(gr) + 1) { in smb_netgroup_match()
[all …]
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c617 int gr, xr, cols = 2; in dumpregs_v8p() local
626 for (gr = R_G0, xr = XR_G0; gr <= R_G7; gr++, xr++) { in dumpregs_v8p()
628 (uint64_t)(uint32_t)reg[gr]; in dumpregs_v8p()
630 if ((gr + 1) % cols == 0) in dumpregs_v8p()
634 for (gr = R_O0, xr = XR_O0; gr <= R_O7; gr++, xr++) { in dumpregs_v8p()
636 (uint64_t)(uint32_t)reg[gr]; in dumpregs_v8p()
638 if ((gr + 1) % cols == 0) in dumpregs_v8p()
642 for (gr = R_L0; gr < NPRGREG; gr++) { in dumpregs_v8p()
644 regname[gr], (long)reg[gr]); in dumpregs_v8p()
645 if ((gr + 1) % cols == 0) in dumpregs_v8p()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnetgroup.c105 char *gr; in netgroup_check() local
134 for (i = 0, gr = glist; i < grc && !belong; ) { in netgroup_check()
140 response = (*gr != '-') ? 1 : 0; in netgroup_check()
146 for (n = 0; i < grc; i++, n++, gr += strlen(gr) + 1) { in netgroup_check()
147 if ((response && *gr == '-') || in netgroup_check()
148 (!response && *gr != '-')) in netgroup_check()
151 grl[n] = response ? gr : gr + 1; in netgroup_check()
H A Dexportlist.c78 char *gr, *p, *opts, *val, *lasts; in export() local
145 while ((gr = strtok_r(val, ":", &lasts)) in export()
148 grtail = newgroup(gr, grtail); in export()
H A Dmountd.c1920 if (*gr == '-') { in in_access_list()
1922 gr++; in in_access_list()
1931 if (*gr == '@') { in in_access_list()
1932 gr++; in in_access_list()
1935 if (!isdigit(*gr) && *gr != '[') { in in_access_list()
1994 if (*gr == '.') { in in_access_list()
2018 gr = ++cstr; in in_access_list()
2369 struct group *gr; in get_gid() local
2374 gr = getgrnam(value); in get_gid()
2375 if (gr == NULL) in get_gid()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/
H A Ddfshares.c164 struct groupnode *gr, *tmpgr; local
169 gr = ex->ex_groups;
170 while (gr) {
171 tmpgr = gr->gr_next;
172 free((char *)gr);
173 gr = tmpgr;
/illumos-gate/usr/src/cmd/groups/
H A Dgroups.c106 struct group *gr; in showgroups() local
124 if (gr = getgrgid(groups[0])) in showgroups()
125 (void) printf("%s", gr->gr_name); in showgroups()
130 if ((gr = getgrgid(groups[i]))) in showgroups()
131 (void) printf(" %s", gr->gr_name); in showgroups()
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c265 struct groupnode *gr; local
292 gr = ex->ex_groups;
293 if (gr == NULL) {
296 while (gr) {
297 printf("%s", gr->gr_name);
298 gr = gr->gr_next;
299 if (gr) {
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrgid.c73 register struct group* gr; in strgid() local
88 if (gr = getgrnam(name)) in strgid()
89 id = gr->gr_gid; in strgid()
103 else if (gr = getgrnam("Administrators")) in strgid()
104 id = gr->gr_gid; in strgid()
H A Dfmtgid.c64 register struct group* gr; in fmtgid() local
78 if (gr = getgrgid(gid)) in fmtgid()
80 name = gr->gr_name; in fmtgid()
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s378 ! gr = sticky = 0;
398 ! gr = (gr >> 1) | ((frac & 1) << 1);
405 ! gr <<= 1;
407 ! gr |= 1;
408 ! gr = (-gr & 7);
409 ! if (gr)
438 ! gr = 0;
444 ! gr = 0;
463 ! gr &= 3;
467 ! gr = (gr >> 1) | (gr & 1);
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil_helper.c99 struct group *gr = NULL; in drop_privileges() local
109 gr = getgrnam (HAL_GROUP); in drop_privileges()
110 if (!gr) { in drop_privileges()
116 if (initgroups (HAL_USER, gr->gr_gid)) { in drop_privileges()
122 if (setgid (gr->gr_gid)) { in drop_privileges()
/illumos-gate/usr/src/cmd/id/
H A Did.c79 struct group *gr; in main() local
208 if (gr = getgrgid(*idp)) in main()
210 gr->gr_name); in main()
246 if (gr = getgrgid(*idp)) in main()
248 gr->gr_name); in main()
320 struct group *gr; in pgid() local
322 if (nflag && (gr = getgrgid(gid)) != GRNULL) in pgid()
323 (void) printf("%s", gr->gr_name); in pgid()
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c56 register struct group *gr = NULL; variable
224 ((gr != NULL &&
225 gr->gr_gid == stbuf.st_gid) ||
226 (gr = getgrgid(stbuf.st_gid)) != NULL))
230 for (gp = gr->gr_mem; *gp != NULL; gp++)
338 ((gr != NULL && gr->gr_gid == st->st_gid) ||
339 (gr = getgrgid(st->st_gid)) != NULL))
343 for (gp = gr->gr_mem; *gp != NULL; gp++)
408 register struct group *gr = NULL; local
643 ((gr != NULL && gr->gr_gid == stbuf.st_gid) ||
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ng.c79 struct ng_old_struct *gr; member
155 if (pvt->fp == NULL || pvt->grouphead.gr == NULL || in ng_rewind()
170 pvt->nextgrp = pvt->grouphead.gr; in ng_rewind()
250 gp = pvt->grouphead.gr; in freelists()
262 pvt->grouphead.gr = NULL; in freelists()
302 grp->ng_next = pvt->grouphead.gr; in parse_netgrp()
303 pvt->grouphead.gr = grp; in parse_netgrp()
H A Dirpmarshall.c411 if (gr == NULL || len == NULL) { in irp_marshall_gr()
418 need += strlen(gr->gr_name) + 1; in irp_marshall_gr()
420 need += strlen(gr->gr_passwd) + 1; in irp_marshall_gr()
450 strcat(*buffer, gr->gr_passwd); in irp_marshall_gr()
535 gr->gr_name = name; in irp_unmarshall_gr()
537 gr->gr_passwd = pass; in irp_unmarshall_gr()
539 gr->gr_gid = grgid; in irp_unmarshall_gr()
540 gr->gr_mem = members; in irp_unmarshall_gr()
2206 struct group *gr; in main() local
2210 gr = &gr1; in main()
[all …]
H A Dirs_data.c75 if (net_data->gr != NULL) { in net_data_destroy()
76 (*net_data->gr->close)(net_data->gr); in net_data_destroy()
77 net_data->gr = NULL; in net_data_destroy()
H A Dgen.c236 if (irs->accessors[n].gr != NULL) in gen_close()
237 (*irs->accessors[n].gr->close)(irs->accessors[n].gr); in gen_close()
355 if (inst->gr == NULL && inst->acc->gr_map != NULL) in add_rule()
356 inst->gr = (*inst->acc->gr_map)(inst->acc); in add_rule()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c595 struct group *gr; in clgrnam() local
612 while ((gr = fgetgrent(gr_ptr)) != NULL) { in clgrnam()
613 if (strcmp(gr->gr_name, nam) == 0) { in clgrnam()
620 return (gr); in clgrnam()
673 struct group *gr; in clgrgid() local
689 while ((gr = fgetgrent(gr_ptr)) != NULL) { in clgrgid()
690 if (gr->gr_gid == gid) { in clgrgid()
697 return (gr); in clgrgid()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c307 #define protogroup() (gr ? gr->gr_name : group)
352 if (gr == NULL || gr->gr_gid != stb.st_gid) in sendf()
353 if ((gr = getgrgid(stb.st_gid)) == NULL) { in sendf()
356 gr = NULL; in sendf()
1192 if (gr == NULL || strcmp(group, gr->gr_name) != 0) { in chog()
1195 ((gr = getgrnam(group)) == NULL)) { in chog()
1201 gid = gr->gr_gid; in chog()
1203 gid = gr->gr_gid; in chog()
/illumos-gate/usr/src/cmd/chgrp/
H A Dchgrp.c63 static struct group *gr; variable
190 } else if ((gr = getgrnam(argv[0])) != NULL) { in main()
191 gid = gr->gr_gid; in main()
/illumos-gate/usr/src/data/bhyve/kbdlayout/
H A Dgr2 # (gr : Greek (104 keys))

123