Lines Matching defs:argp
38 static nss_status_t netid_lookup(struct nss_groupsbymem *argp);
45 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
47 return (_nss_nis_lookup(be, argp, 0,
48 "group.byname", argp->key.name, 0));
56 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a;
59 if (argp->key.gid > MAXUID)
61 (void) snprintf(gidstr, 12, "%d", argp->key.gid);
62 return (_nss_nis_lookup(be, argp, 0, "group.bygid", gidstr, 0));
128 struct nss_groupsbymem *argp = (struct nss_groupsbymem *)a;
130 if (strcmp(argp->username, "root") == 0) {
140 if (argp->force_slow_way != 1) {
141 switch (netid_lookup(argp)) {
147 return ((argp->numgids == argp->maxgids)
161 return (_nss_nis_do_all(be, argp, argp->username,
162 (nis_do_all_func_t)argp->process_cstr));
257 netid_lookup(struct nss_groupsbymem *argp)
276 if ((getpwnam_r(argp->username, &pw, pwbuf, sizeof (pwbuf)) == NULL) ||
292 parse_res = parse_netid(val, argp->gid_array, argp->maxgids,
293 &argp->numgids);