Lines Matching refs:cb
89 int (*cb)(const char *, kva_t *, void *, void *), in _enum_common_p()
127 if (cb != NULL && (!wantattr || pa != NULL && pa->attr != NULL)) in _enum_common_p()
128 res = cb(prof, pa ? pa->attr : NULL, ctxt, pres); in _enum_common_p()
132 res = _enum_common_p(GETPROF(pa->attr), cb, in _enum_common_p()
151 int (*cb)(const char *, kva_t *, void *, void *), in _enum_common()
160 if (cb == NULL) in _enum_common()
168 res = cb(NULL, ua->attr, ctxt, pres); in _enum_common()
171 cb, ctxt, pres, wantattr, &cnt, profs); in _enum_common()
184 res = _enum_common_p(GETCONSPROF(kattrs), cb, ctxt, pres, in _enum_common()
188 res = _enum_common_p(GETPROF(kattrs), cb, ctxt, pres, in _enum_common()
193 res = cb(NULL, kattrs, ctxt, pres); in _enum_common()
208 int (*cb)(const char *, kva_t *, void *, void *), in _enum_profs()
211 return (_enum_common(username, cb, ctxt, pres, B_FALSE)); in _enum_profs()
219 int (*cb)(const char *, kva_t *, void *, void *), in _enum_attrs()
222 return (_enum_common(username, cb, ctxt, pres, B_TRUE)); in _enum_attrs()
230 _enum_auths_a(const char *cauths, int (*cb)(const char *, void *, void *), in _enum_auths_a()
236 if (cauths == NULL || cb == NULL) in _enum_auths_a()
244 res = cb(auth, ctxt, pres); in _enum_auths_a()
257 int (*cb)(const char *, void *, void *); member
270 return (_enum_auths_a(auths, ca->cb, ca->ctxt, pres)); in comm2auth()
278 int (*cb)(const char *, void *, void *), in _enum_auths()
283 if (cb == NULL) in _enum_auths()
286 c2a.cb = cb; in _enum_auths()