Searched defs:ent (Results 1 - 25 of 150) sorted by relevance

123456

/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_glue_v1.c42 kadm5_principal_ent_t_v1 *ent)
44 return kadm5_get_principal(server_handle, principal,(kadm5_principal_ent_t) ent, 0);
48 kadm5_policy_ent_t *ent)
50 return kadm5_get_policy(server_handle, name,(kadm5_policy_ent_t) ent);
40 kadm5_get_principal_v1(void *server_handle, krb5_principal principal, kadm5_principal_ent_t_v1 *ent) argument
47 kadm5_get_policy_v1(void *server_handle, kadm5_policy_t name, kadm5_policy_ent_t *ent) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_findrealm.c39 krb5_keytab_entry ent; local
49 while ((ret = krb5_kt_next_entry(context, keytab, &ent, &cur)) == 0) {
51 memcpy(&tmp_realm, &ent.principal->realm, sizeof (krb5_data));
52 memcpy(&ent.principal->realm, &princ->realm,
55 match = krb5_principal_compare(context, ent.principal, princ);
58 memcpy(&ent.principal->realm, &tmp_realm, sizeof (krb5_data));
66 &ent.principal->realm, realm);
68 krb5_kt_free_entry(context, &ent);
73 krb5_kt_free_entry(context, &ent);
77 krb5_kt_free_entry(context, &ent);
[all...]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dbootparams_getbyname.c77 void *ent, /* really (char *) */
74 str2bootent( const char *instr, int lenstr, void *ent, char *buffer, int buflen ) argument
H A Dether_addr.c183 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
185 uchar_t *ether = (uchar_t *)ent;
H A Dnetmasks.c221 * itself is placed in 'ent'.
224 str2addr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
227 struct in_addr *mask = (struct in_addr *)ent;
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dhash.c57 Hash_ent * ent; local
68 for (ent = tbl->t_entry[bucket]; ent != NULL;
69 ent = ent->e_next) {
71 if ((strcmp((const char *)ent->e_key,
73 (id == ent->e_id)))
74 return (ent);
76 if (ent->e_key == key)
77 return (ent);
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_krbcontainer.c81 LDAPMessage *result=NULL, *ent=NULL; local
156 if ((ent = ldap_first_entry(ld, result)) != NULL) {
157 if ((st=krb5_ldap_get_string(ld, ent, "krbcontainerreference",
174 if ((ent = ldap_first_entry(ld, result))) {
175 if ((st=krb5_ldap_get_string(ld, ent, "krbticketpolicyreference",
189 ent=ldap_first_entry(ld, result);
190 if (ent != NULL) {
191 krb5_ldap_get_value(ld, ent, "krbmaxtktlife", &(cparams->max_life));
192 krb5_ldap_get_value(ld, ent, "krbmaxrenewableage", &(cparams->max_renewable_life));
193 krb5_ldap_get_value(ld, ent, "krbticketflag
[all...]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgethostent6.c57 str2hostent6(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
59 return (__str2hostent(AF_INET6, instr, lenstr, ent, buffer, buflen));
H A Dgethostent_r.c52 str2hostent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
54 return (__str2hostent(AF_INET, instr, lenstr, ent, buffer, buflen));
H A Dgetauthattr.c64 str2authattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
68 authstr_t *auth = (authstr_t *)ent;
84 if (ent == (void *)NULL)
H A Dgetauuser.c68 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
72 au_user_str_t *au_user = (au_user_str_t *)ent;
89 if (ent == (void *)NULL)
H A Dgetprofattr.c63 str2profattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
67 profstr_t *prof = (profstr_t *)ent;
82 if (ent == (void *)NULL)
H A Dgetuserattr.c71 str2userattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
75 userstr_t *user = (userstr_t *)ent;
92 if (ent == (void *)NULL)
H A Dgethostent.c106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument
109 struct hostent *host = (struct hostent *)ent;
H A Dgetrpcent_r.c119 str2rpcent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
121 struct rpcent *rpc = (struct rpcent *)ent;
/illumos-gate/usr/src/lib/libproc/common/
H A DPfdinfo.c91 struct dirent *ent; local
104 ent = NULL;
105 while ((ent = readdir(dirp)) != NULL) {
111 if (!isdigit(ent->d_name[0]))
114 fd = atoi(ent->d_name);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dchmod.c158 register FTSENT*ent; local
262 while (!sh_checksig(context) && (ent = fts_read(fts)))
263 switch (ent->fts_info)
268 if (!(flags & FTS_PHYSICAL) || (flags & FTS_META) && ent->fts_level == 1)
269 fts_set(NiL, ent, FTS_FOLLOW);
278 mode = strperm(amode, &last, ent->fts_statp->st_mode);
279 if (show || (*chmodf)(ent->fts_accpath, mode) >= 0)
281 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM))
282 sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1);
285 error(ERROR_system(0), "%s: cannot change mode", ent
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c113 kadm5_get_policy(void *server_handle, char *name, kadm5_policy_ent_t ent) argument
133 entp = (kadm5_policy_ent_t *) ent;
144 memcpy(ent, &r->rec, sizeof(r->rec));
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_printer.c78 str2printer(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c161 grub_entry_get_boot_args(grub_entry_t *ent, grub_boot_args_t *fbarg) argument
165 if (IS_ENTRY_VALID(ent) && (rc = grub_entry_construct_barg(ent)) == 0)
166 return (barg2bootargs(&ent->ge_barg, fbarg));
180 grub_entry_t *ent; local
185 if ((ent = grub_menu_get_entry(mp, num)) == NULL)
188 return (grub_entry_get_boot_args(ent, fbarg));
H A Dlibgrub_entry.c100 grub_entry_construct_barg(grub_entry_t *ent) argument
107 assert(ent);
109 barg = &ent->ge_barg;
110 mp = ent->ge_menu;
116 barg->gb_entry = ent;
119 lend = ent->ge_end->gl_next;
120 for (lp = ent->ge_start; lp != lend; lp = lp->gl_next) {
141 grub_entry_get_fstyp(const grub_entry_t *ent) argument
143 if (IS_ENTRY_BARG_VALID(ent))
144 return (ent
150 grub_entry_get_kernel(const grub_entry_t *ent) argument
159 grub_entry_get_module(const grub_entry_t *ent) argument
168 grub_entry_get_error_desc(const grub_entry_t *ent) argument
175 grub_entry_get_rootfs(const grub_entry_t *ent) argument
184 grub_entry_get_cmdline(grub_entry_t *ent, char *cmdline, size_t size) argument
[all...]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c63 struct mnttab ent; local
81 while (getmntent(fp, &ent) == 0) {
84 (mountTableSize + MNTTAB_HUNK) * sizeof (ent));
93 if (ent.mnt_special != NULL)
94 entp->mnt_special = _z_strdup(ent.mnt_special);
95 if (ent.mnt_mntopts != NULL)
96 entp->mnt_mntopts = _z_strdup(ent.mnt_mntopts);
97 entp->mnt_mountp = _z_strdup(ent.mnt_mountp);
98 entp->mnt_fstype = _z_strdup(ent.mnt_fstype);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_generic.c212 struct hostent ent; local
236 while (gethostent_r(&ent, buffer, bufferlen, error)) {
240 if (add_dir_entry(ent.h_name, list, &last)) {
244 if (ent.h_aliases == NULL)
246 for (p = ent.h_aliases; *p != 0; p++) {
247 if (strcmp(*p, ent.h_name) != 0) {
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_server.c286 directory_entry_set_error(directory_entry_rpc *ent, directory_error_t de) argument
288 xdr_free(xdr_directory_entry_rpc, (char *)&ent);
289 ent->status = DIRECTORY_ERROR;
290 (void) directory_error_to_rpc(&ent->directory_entry_rpc_u.err, de);
/illumos-gate/usr/src/cmd/mdb/common/modules/mm/
H A Dmm.c63 mm_logentry_t *ent; local
66 ent = &kw->kmlw_entries[kw->kmlw_entry];
71 if (ent->mle_hrtime != 0) {
72 rval = wsp->walk_callback(kw->kmlw_addr + ((uintptr_t)ent -
73 (uintptr_t)kw->kmlw_entries), ent, wsp->walk_cbdata);
94 mm_logentry_t ent; local
109 if (mdb_vread(&ent, sizeof (ent), addr) == -1) {
115 addr, ent.mle_hrestime.tv_sec, ent
[all...]

Completed in 70 milliseconds

123456