Lines Matching refs:argp

116 _exec_ldap_exec2ent(ns_ldap_entry_t *entry, nss_XbyY_args_t *argp)  in _exec_ldap_exec2ent()  argument
128 buffer = argp->buf.buffer; in _exec_ldap_exec2ent()
129 buflen = (size_t)argp->buf.buflen; in _exec_ldap_exec2ent()
130 (void) memset(argp->buf.buffer, 0, buflen); in _exec_ldap_exec2ent()
131 exec = (execstr_t *)(argp->buf.result); in _exec_ldap_exec2ent()
266 _nss_ldap_exec2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) in _nss_ldap_exec2str() argument
279 (void) memset(argp->buf.buffer, 0, argp->buf.buflen); in _nss_ldap_exec2str()
330 if (len > argp->buf.buflen) { in _nss_ldap_exec2str()
334 if (argp->buf.result != NULL) { in _nss_ldap_exec2str()
341 buffer = argp->buf.buffer; in _nss_ldap_exec2str()
347 if (argp->buf.result != NULL) in _nss_ldap_exec2str()
356 _exec_process_val(ldap_backend_ptr be, nss_XbyY_args_t *argp) in _exec_process_val() argument
363 _priv_execattr *_priv_exec = (_priv_execattr *)(argp->key.attrp); in _exec_process_val()
365 argp->returnval = NULL; in _exec_process_val()
372 status = _exec_ldap_exec2ent(entry, argp); in _exec_process_val()
375 argp->returnval = argp->buf.result; in _exec_process_val()
378 if (_doexeclist(argp) == 0) { in _exec_process_val()
384 argp->erange = 1; in _exec_process_val()
409 get_wild(ldap_backend_ptr be, nss_XbyY_args_t *argp, int getby_flag) in get_wild() argument
419 _priv_execattr *_priv_exec = (_priv_execattr *)(argp->key.attrp); in get_wild()
474 nss_stat = _nss_ldap_nocb_lookup(be, argp, _EXECATTR, in get_wild()
487 exec_attr_process_val(ldap_backend_ptr be, nss_XbyY_args_t *argp) { in exec_attr_process_val() argument
489 _priv_execattr *_priv_exec = (_priv_execattr *)(argp->key.attrp); in exec_attr_process_val()
494 stat = (*be->ldapobj2str)(be, argp); in exec_attr_process_val()
497 if (argp->buf.result != NULL) { in exec_attr_process_val()
499 stat = (*argp->str2ent)(be->buffer, in exec_attr_process_val()
501 argp->buf.result, in exec_attr_process_val()
502 argp->buf.buffer, in exec_attr_process_val()
503 argp->buf.buflen); in exec_attr_process_val()
505 argp->returnval = argp->buf.result; in exec_attr_process_val()
506 argp->returnlen = 1; /* irrelevant */ in exec_attr_process_val()
509 argp->returnval = NULL; in exec_attr_process_val()
510 argp->returnlen = 0; in exec_attr_process_val()
515 argp->returnval = argp->buf.buffer; in exec_attr_process_val()
516 argp->returnlen = strlen(argp->buf.buffer); in exec_attr_process_val()
520 argp->returnval = NULL; in exec_attr_process_val()
521 argp->returnlen = 0; in exec_attr_process_val()
526 nss_stat = _exec_process_val(be, argp); in exec_attr_process_val()
527 _exec_cleanup(nss_stat, argp); in exec_attr_process_val()
542 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; in getbynam() local
543 _priv_execattr *_priv_exec = (_priv_execattr *)(argp->key.attrp); in getbynam()
560 nss_stat = _nss_ldap_nocb_lookup(be, argp, _EXECATTR, in getbynam()
564 nss_stat = exec_attr_process_val(be, argp); in getbynam()
573 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; in getbyid() local
575 nss_stat = get_wild(be, argp, NSS_DBOP_EXECATTR_BYID); in getbyid()
578 nss_stat = exec_attr_process_val(be, argp); in getbyid()
588 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; in getbynameid() local
590 nss_stat = get_wild(be, argp, NSS_DBOP_EXECATTR_BYNAMEID); in getbynameid()
593 nss_stat = exec_attr_process_val(be, argp); in getbynameid()