Searched defs:argp (Results 1 - 25 of 298) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dbootparams_getbyname.c40 nss_XbyY_args_t *argp = (nss_XbyY_args_t *) a; local
42 return (_nss_nis_lookup(be, argp, 0, "bootparams",
43 argp->key.name, 0));
H A Dnetmasks.c51 nss_XbyY_args_t *argp = (nss_XbyY_args_t *) a; local
52 return (_nss_nis_lookup(be, argp, 0, "netmasks.byaddr",
53 argp->key.name, 0));
H A Dgetprinter.c38 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
40 return (_nss_nis_lookup(be, argp, 0, "printers.conf.byname",
41 argp->key.name, 0));
H A Dether_addr.c53 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
55 return (_nss_nis_lookup(be, argp, 0, "ethers.byname",
56 argp->key.name, 0));
64 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
66 uchar_t *e = argp->key.ether;
70 return (_nss_nis_lookup(be, argp, 0, "ethers.byaddr", etherstr, 0));
H A Dgetprotoent.c42 nss_XbyY_args_t *argp = (nss_XbyY_args_t *) a; local
44 return (_nss_nis_lookup(be, argp, 1, "protocols.byname",
45 argp->key.name, 0));
53 nss_XbyY_args_t *argp = (nss_XbyY_args_t *) a; local
56 (void) sprintf(numstr, "%d", argp->key.number);
57 return (_nss_nis_lookup(be, argp, 1, "protocols.bynumber",
H A Dgetauuser.c37 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
40 argp, 1, NIS_MAP_AUDITUSER, argp->key.name, 0));
H A Dgetprojent.c35 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
36 return (_nss_nis_lookup(be, argp, 0, "project.byname",
37 argp->key.name, 0));
43 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
44 (void) snprintf(projstr, PROJNAME_MAX, "%ld", argp->key.projid);
45 return (_nss_nis_lookup(be, argp, 0, "project.byprojid", projstr, 0));
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_b_clnt.c50 ypbindproc_null_3(void *argp, CLIENT *clnt) argument
56 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS)
62 ypbindproc_domain_3(ypbind_domain *argp, CLIENT *clnt) argument
68 xdr_ypbind_domain, (char *)argp, xdr_ypbind_resp,
75 ypbindproc_setdom_3(ypbind_setdom *argp, CLIENT *clnt) argument
81 xdr_ypbind_setdom, (char *)argp, xdr_void, &res,
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfsauth_xdr.c58 xdr_nfsauth_arg(XDR *xdrs, nfsauth_arg_t *argp) argument
60 if (!xdr_u_int(xdrs, &argp->cmd))
62 if (!xdr_netobj(xdrs, &argp->areq.req_client))
64 if (!xdr_string(xdrs, &argp->areq.req_netid, ~0))
66 if (!xdr_string(xdrs, &argp->areq.req_path, A_MAXPATH))
68 if (!xdr_int(xdrs, &argp->areq.req_flavor))
70 if (!xdr_uid_t(xdrs, &argp->areq.req_clnt_uid))
72 if (!xdr_gid_t(xdrs, &argp->areq.req_clnt_gid))
74 if (!xdr_array(xdrs, (caddr_t *)&argp->areq.req_clnt_gids.val,
75 &argp
82 xdr_nfsauth_res(XDR *xdrs, nfsauth_res_t *argp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_auth_xdr.c57 xdr_nfsauth_arg(XDR *xdrs, nfsauth_arg_t *argp) argument
59 if (!xdr_u_int(xdrs, &argp->cmd))
61 if (!xdr_netobj(xdrs, &argp->areq.req_client))
63 if (!xdr_string(xdrs, &argp->areq.req_netid, ~0))
65 if (!xdr_string(xdrs, &argp->areq.req_path, A_MAXPATH))
67 if (!xdr_int(xdrs, &argp->areq.req_flavor))
69 if (!xdr_uid_t(xdrs, &argp->areq.req_clnt_uid))
71 if (!xdr_gid_t(xdrs, &argp->areq.req_clnt_gid))
73 if (!xdr_array(xdrs, (caddr_t *)&argp->areq.req_clnt_gids.val,
74 &argp
81 xdr_nfsauth_res(XDR *xdrs, nfsauth_res_t *argp) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetauuser.c41 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgethostent6.c51 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
54 res = __nss_files_XY_hostbyname(be, argp, argp->key.ipnode.name,
57 argp->h_errno = __nss_files_2herrno(res);
62 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
64 return (__nss_files_check_addr(AF_INET6, argp, line, linelen));
72 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
76 res = _nss_files_XY_all(be, argp, 1, 0, check_addr);
78 argp->h_errno = __nss_files_2herrno(res);
H A Dgetspent.c35 check_spnamp(nss_XbyY_args_t *argp, const char *line, int linelen) argument
38 const char *keyp = argp->key.name;
55 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
57 return (_nss_files_XY_all(be, argp, 0, argp->key.name, check_spnamp));
H A Dbootparams_getbyname.c46 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
53 return (_nss_files_XY_bootparams(be, argp, argp->key.name));
H A Dgetauthattr.c41 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetnetent.c45 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
47 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
52 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
82 return (AF_INET == argp->key.netaddr.type &&
83 linenet == argp->key.netaddr.net);
93 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
95 return (_nss_files_XY_all(be, argp, 1, 0, check_addr));
H A Dgetprofattr.c41 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetprotoent.c41 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
48 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
65 return (proto == argp->key.number);
73 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
76 (void) snprintf(numstr, 12, "%d", argp->key.number);
77 return (_nss_files_XY_all(be, argp, 1, 0, check_addr));
H A Dgetrpcent.c41 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
48 check_rpcnum(nss_XbyY_args_t *argp, const char *line, int linelen) argument
65 return (r_number == argp->key.number);
74 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
77 (void) snprintf(numstr, 12, "%d", argp->key.number);
78 return (_nss_files_XY_all(be, argp, 1, numstr, check_rpcnum));
H A Dgetuserattr.c41 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
43 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_fcntl.c40 pr_fcntl(struct ps_prochandle *Pr, int fd, int cmd, void *argp) argument
48 return (fcntl(fd, cmd, argp));
85 adp++; /* argp argument */
86 if (argp == NULL) {
94 adp->arg_object = argp;
124 adp->arg_value = (long)argp;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dexecl.c50 char **argp; local
79 argp = argvec;
80 *argp++ = (char *)arg0;
82 *argp++ = nextarg;
85 *argp = (char *)0;
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_metamhd.c37 mhd_list_args_t *argp,
53 (void) mhd_list_drives(argp->path, argp->flags, resp, mhep);
63 mhd_tkown_args_t *argp,
77 (void) mhd_reserve_drives(&argp->set, &argp->timeouts, argp->ff_mode,
78 argp->options, mhep);
88 mhd_relown_args_t *argp,
102 (void) mhd_release_drives(&argp
36 mhd_list_1_svc( mhd_list_args_t *argp, mhd_list_res_t *resp, struct svc_req *rqstp ) argument
62 mhd_tkown_1_svc( mhd_tkown_args_t *argp, mhd_error_t *mhep, struct svc_req *rqstp ) argument
87 mhd_relown_1_svc( mhd_relown_args_t *argp, mhd_error_t *mhep, struct svc_req *rqstp ) argument
111 mhd_status_1_svc( mhd_status_args_t *argp, mhd_status_res_t *resp, struct svc_req *rqstp ) argument
[all...]
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_door.c69 char *argp = da->da_arg.data_ptr; local
84 if ((argp == NULL) || (arg_size < hdr_size)) {
89 if (smb_doorhdr_decode(hdr, (uint8_t *)argp, hdr_size) == -1) {
101 dop_arg.data = argp + hdr_size;
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c66 get_spnamp(argp)
67 nss_XbyY_args_t *argp;
69 struct spwd *s = (struct spwd *)argp->returnval;
75 check_spnamp(argp)
76 nss_XbyY_args_t *argp;
78 struct spwd *s = (struct spwd *)argp->returnval;
80 return (strcmp(s->sp_namp, argp->key.name) == 0);
88 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
90 return (_nss_compat_XY_all(be, argp, check_spnamp,
96 merge_spents(be, argp, field
[all...]

Completed in 64 milliseconds

1234567891011>>