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