/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | server_glue_v1.c | 42 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 D | kt_findrealm.c | 39 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 D | bootparams_getbyname.c | 77 void *ent, /* really (char *) */ 74 str2bootent( const char *instr, int lenstr, void *ent, char *buffer, int buflen ) argument
|
H A D | ether_addr.c | 183 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 185 uchar_t *ether = (uchar_t *)ent;
|
H A D | netmasks.c | 221 * 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 D | hash.c | 57 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 D | ldap_krbcontainer.c | 81 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 D | gethostent6.c | 57 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 D | gethostent_r.c | 52 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 D | getauthattr.c | 64 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 D | getauuser.c | 68 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 D | getprofattr.c | 63 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 D | getuserattr.c | 71 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 D | gethostent.c | 106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument 109 struct hostent *host = (struct hostent *)ent;
|
H A D | getrpcent_r.c | 119 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 D | Pfdinfo.c | 91 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 D | chmod.c | 158 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 D | clnt_policy.c | 113 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 D | nss_printer.c | 78 str2printer(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_bargs.c | 161 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 D | libgrub_entry.c | 100 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 D | zones_lofs.c | 63 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 D | ns_generic.c | 212 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 D | directory_server.c | 286 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 D | mm.c | 63 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...] |