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

123456

/osnet-11/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.c32 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
33 return (_nss_nis_lookup(be, argp, 0, "project.byname",
34 argp->key.name, 0));
40 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
41 (void) snprintf(projstr, PROJNAME_MAX/2, "%ld", argp->key.projid);
42 return (_nss_nis_lookup(be, argp, 0, "project.byprojid", projstr, 0));
H A Dgetauthattr.c37 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
40 argp, 0, NIS_MAP_AUTHATTR, argp->key.name, 0));
H A Dgethostent.c45 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
51 for (s = argp->key.name; (c = *s) != '\0'; s++) {
56 if ((copy = strdup(argp->key.name)) == 0) {
59 for (mung = copy + (s - argp->key.name);
65 res = _nss_nis_lookup(be, argp, 1, "hosts.byname",
68 argp->h_errno = __nss2herrno(res);
72 res = _nss_nis_lookup(be, argp, 1,
73 "hosts.byname", argp->key.name, 0);
75 argp->h_errno = __nss2herrno(res);
84 nss_XbyY_args_t *argp local
[all...]
H A Dgethostent6.c46 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
52 for (s = argp->key.ipnode.name; (c = *s) != '\0'; s++) {
57 if ((copy = strdup(argp->key.ipnode.name)) == 0) {
60 for (mung = copy + (s - argp->key.ipnode.name);
66 res = _nss_nis_lookup(be, argp, 1, "ipnodes.byname",
69 argp->h_errno = __nss2herrno(res);
74 res = _nss_nis_lookup(be, argp, 1,
75 "ipnodes.byname", argp->key.ipnode.name, 0);
77 argp->h_errno = __nss2herrno(res);
86 nss_XbyY_args_t *argp local
[all...]
H A Dgetnetent.c47 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
49 return (_nss_nis_lookup(be, argp, 1, "networks.byname",
50 argp->key.name, 0));
58 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
63 if (nettoa((int)argp->key.netaddr.net, addrstr, 16, &pnull) != 0)
65 rc = _nss_nis_lookup(be, argp, 1, "networks.byaddr", addrstr, 0);
73 rc = _nss_nis_lookup(be, argp, 1, "networks.byaddr",
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_b_clnt.c46 ypbindproc_null_3(void *argp, CLIENT *clnt) argument
52 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS)
58 ypbindproc_domain_3(ypbind_domain *argp, CLIENT *clnt) argument
64 xdr_ypbind_domain, (char *)argp, xdr_ypbind_resp,
71 ypbindproc_setdom_3(ypbind_setdom *argp, CLIENT *clnt) argument
77 xdr_ypbind_setdom, (char *)argp, xdr_void, &res,
/osnet-11/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;
/osnet-11/usr/src/lib/libc/port/sys/
H A Dexecl.c47 char **argp; local
76 argp = argvec;
77 *argp++ = (char *)arg0;
79 *argp++ = nextarg;
82 *argp = (char *)0;
H A Dexecle.c49 char **argp; local
84 argp = argvec;
85 *argp++ = (char *)arg0;
87 *argp++ = nextarg;
90 *argp = (char *)0;
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dgetauuser.c37 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
39 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
H A Dgetspent.c32 check_spnamp(nss_XbyY_args_t *argp, const char *line, int linelen) argument
35 const char *keyp = argp->key.name;
52 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
54 return (_nss_files_XY_all(be, argp, 0, argp->key.name, check_spnamp));
H A Dbootparams_getbyname.c43 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
50 return (_nss_files_XY_bootparams(be, argp, argp->key.name));
H A Dgetnetent.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
78 return (AF_INET == argp->key.netaddr.type &&
79 linenet == argp->key.netaddr.net);
89 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
91 return (_nss_files_XY_all(be, argp, 1, 0, check_addr));
H A Dgetprotoent.c38 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
40 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
45 check_addr(nss_XbyY_args_t *argp, const char *line, int linelen) argument
62 return (proto == argp->key.number);
70 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
73 (void) snprintf(numstr, 12, "%d", argp->key.number);
74 return (_nss_files_XY_all(be, argp, 1, 0, check_addr));
H A Dgetrpcent.c38 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
40 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
45 check_rpcnum(nss_XbyY_args_t *argp, const char *line, int linelen) argument
62 return (r_number == argp->key.number);
71 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
74 (void) snprintf(numstr, 12, "%d", argp->key.number);
75 return (_nss_files_XY_all(be, argp, 1, numstr, check_rpcnum));
H A Dtsol_gettpent.c58 nss_XbyY_args_t *argp = (nss_XbyY_args_t *)a; local
60 if (argp->key.name == NULL)
63 return (_nss_files_XY_all(be, argp, 1, argp->key.name, check_name));
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_auto.c114 __log_register_args *argp; local
125 if ((ret = __log_register_read(dbtp->data, &argp)) != 0)
130 (u_long)argp->type,
131 (u_long)argp->txnid->txnid,
132 (u_long)argp->prev_lsn.file,
133 (u_long)argp->prev_lsn.offset);
134 printf("\topcode: %lu\n", (u_long)argp->opcode);
136 for (i = 0; i < argp->name.size; i++) {
137 ch = ((u_int8_t *)argp->name.data)[i];
145 for (i = 0; i < argp
168 __log_register_args *argp; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/txn/
H A Dtxn_rec.c78 __txn_regop_args *argp; local
87 if ((ret = __txn_regop_read(dbtp->data, &argp)) != 0)
90 if (argp->opcode != TXN_COMMIT)
93 if (__db_txnlist_find(info, argp->txnid->txnid) == DB_NOTFOUND)
94 ret = __db_txnlist_add(info, argp->txnid->txnid);
97 *lsnp = argp->prev_lsn;
98 __os_free(argp, 0);
117 __txn_xa_regop_args *argp; local
126 if ((ret = __txn_xa_regop_read(dbtp->data, &argp)) != 0)
129 if (argp
177 __txn_ckp_args *argp; local
218 __txn_child_args *argp; local
[all...]
/osnet-11/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 34 milliseconds

123456