/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | defaults.c | 75 char entry[1024]; local 92 while (fgets(entry, sizeof (entry), fp) != NULL) { 93 for (i = 0; entry[i] == ' '; i++) 96 end = strrchr(entry, '\n'); 97 value = strchr(entry, '='); 98 if (end == NULL || value == NULL || entry[i] == '#') 110 if ((param = strchr(entry, '.')) == NULL) { 111 pastv6 = param = entry; 133 if (nvlist_add_string(nvlist, &entry[ [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_systemfile.c | 357 char entry[MDDB_BOOTLIST_MAX_LEN]; local 426 (void) snprintf(entry, sizeof (entry), " %s:%lu:%ld:%s", 429 if ((strlen(line) + strlen(entry) + 4) > sizeof (line)) 431 (void) strcat(line, entry);
|
/illumos-gate/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 87 int entry; local 106 drv, &entry) != 2) { 110 *major = entry;
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | ldap_utils.c | 45 curEntry = result->entry; 47 printf("entry %d has attr_count = %d \n", 50 printf("entry %d has attr_pair[%d] = %s \n", 56 printf("entry %d has " 76 ns_ldap_entry_t *entry; local 83 entry = result->entry; 90 return (entry->attr_pair[i]);
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_write.c | 154 char *t, *entry, *pentry; local 166 entry = pentry; 169 entry = buf; 171 (void) fprintf(ofp, "%s\n", entry);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_privilege.c | 149 smb_privinfo_t *entry; local 156 entry = &priv_table[i]; 158 if (smb_strcasecmp(name, entry->name, 0) == 0) 159 return (entry);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | acquire_cred.c | 156 krb5_keytab_entry entry; local 189 if ((code = krb5_kt_get_entry(context, kt, princ, 0, 0, &entry))) { 207 krb5_kt_free_entry(context, &entry);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclcheck.c | 32 * There must be exactly one USER_OBJ, GROUP_OBJ, and OTHER_OBJ entry. 36 * CLASS_OBJ entry. 47 struct entry { struct 53 struct entry user_obj; 54 struct entry user; 55 struct entry group_obj; 56 struct entry group; 57 struct entry other_obj; 58 struct entry class_obj; 59 struct entry def_user_ob [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_getalias.c | 118 ns_ldap_entry_t *entry = NULL; local 185 entry = result->entry; 187 attr_value = __ns_ldap_getAttr(entry, MAIL_MEMBER);
|
/illumos-gate/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 31 * in a transient entry in /[stub]boot/grub/menu.lst 244 * bother to update the temp menu entry. 250 /* are we rebooting to a GRUB menu entry? */ 252 int entry = strtol(bargs, NULL, 10); local 255 altroot, entry);
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 31 * in a transient entry in /[stub]boot/grub/menu.lst 244 * bother to update the temp menu entry. 250 /* are we rebooting to a GRUB menu entry? */ 252 int entry = strtol(bargs, NULL, 10); local 255 altroot, entry);
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | revnetgroup.c | 153 groupentrylist entry; local 157 if (entry = grouptable[i]) { 158 while (entry) { 159 fputs(entry->name, stdout); 161 for (groups = entry->groups; groups; 169 entry = entry->next;
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | addbib.c | 25 char prompt[20]; /* prompt user for entry */ 58 main(int argc, char *argv[]) /* addbib: bibliography entry program */ 254 int entry, i, j; local 261 for (entry = 0; fgets(str, BUFSIZ, pfp); entry++) { 263 bibskel[entry].prompt[i] = str[i]; 264 bibskel[entry].prompt[i] = NULL; 273 bibskel[entry].keylet[j] = str[i]; 274 bibskel[entry].keylet[j] = NULL; 276 if (entry > [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 273 dhcp_symbol_t *entry; local 544 entry = NULL; 548 entry = inittab_getbycode( 551 if (entry == NULL) { 560 prmpt = entry->ds_name; 566 free(entry); 571 entry = inittab_getbycode( 574 if (entry == NULL) { 585 prmpt = entry->ds_name; 587 decoded_opt = inittab_decode(entry, star [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devalloc.c | 170 * Or finds the correct entry to remove, and removes it. 180 deventry_t *entry = NULL, *dentry = NULL; local 244 for (entry = dentry; entry != NULL; entry = entry->next) { 245 if (strcmp(entry->devinfo.devname, devname) == 0) 248 (void) _update_dev(entry, action, NULL, devname, NULL); 285 deventry_t newentry, *entry; local 303 for (entry [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/ |
H A D | emlxs.c | 93 emlxs_msg_entry_t entry; local 182 /* Get last entry id saved */ 202 if (mdb_vread(&entry, sizeof (emlxs_msg_entry_t), 203 (uintptr_t)&log.entry[idx]) != sizeof (emlxs_msg_entry_t)) { 204 mdb_warn("Cannot read log entry. index=%d count=%d\n", 210 (uintptr_t)entry.msg) != sizeof (emlxs_msg_t)) { 242 if (entry.vpi == 0) { 244 DRIVER_NAME, entry.instance); 247 DRIVER_NAME, entry.instance, entry [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 138 fab_fire_tbl_t *entry; local 141 for (entry = fab_fire_pec_ce_tbl; entry->err_class; entry++) { 142 if (STRCMP(class, entry->err_class)) 166 fab_fire_tbl_t *entry; local 171 for (entry = fab_fire_pec_ue_tbl; entry->err_class; entry++) { 172 if (STRCMP(class, entry 257 fab_fire_tbl_t *entry; local 318 fab_fire_tbl_t *entry; local [all...] |
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | eventlog.c | 177 dp_event_log_entry_t entry; local 196 entryhdrsize = sizeof (entry) - sizeof (entry.param); 197 (void) memcpy(&entry, datap, entryhdrsize); 199 (void) memcpy(&entry.param, datap, entry.paramLen); 201 gmtime((time_t *)&entry.eventTime)); 203 entry.eventId); 204 len = expandEventLogMessage(entry.eventId, entry 225 dp_event_log_entry_t entry; local [all...] |
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctdusg.c | 51 struct disk *next; /* next entry at same hash tbl index */ 82 struct disk *entry; local 105 if ((entry = hash_find(pw->pw_uid)) == NULL) 106 entry = hash_insert(pw->pw_uid); 107 validate_entry(entry, pw); 135 * create a new entry and insert. 145 "for hash table entry\n"); 157 * return the disk entry for given uid. return NULL if not found. 184 struct disk *entry; local 187 for (entry 203 validate_entry(struct disk *entry, struct passwd *pw) argument 214 struct disk *entry; local 271 struct disk *entry; local [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | cryptoadm.h | 75 typedef struct entry { struct
|
/illumos-gate/usr/src/cmd/gss/gsscred/ |
H A D | gsscred_file.c | 59 static int matchEntry(const char *entry, const gss_buffer_t name, 65 * Adds a new entry to the gsscred table. 104 char entry[MAX_ENTRY_LEN+1]; local 109 (void) snprintf(entry, sizeof (entry), 112 *errDetails = strdup(entry); 119 while (fgets(entry, MAX_ENTRY_LEN, fp) != NULL) { 122 (void) fprintf(stdout, "%s", entry); 126 if (matchEntry(entry, name, uid, NULL)) 127 (void) fprintf(stdout, "%s", entry); 148 char entry[MAX_ENTRY_LEN+1]; local 177 char entry[MAX_ENTRY_LEN+1]; local 258 matchEntry(const char *entry, const gss_buffer_t name, const char *uid, uid_t *uidOut) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_a.out.c | 53 * Takes the address of the PLT entry where the call originated, 55 * relocation entry and the address of the link map (rt_private_map struct) 56 * for the entry. 59 * entry to invoke the function directly. 71 int rndx, entry; local 79 * For compatibility with libthread (TI_VERSION 1) we track the entry 84 entry = enter(0); 143 * Print binding information and rebuild PLT entry. 157 * link-map know on entry to this routine. 159 if (entry) [all...] |
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_find.c | 232 * files that do not have a hash entry in the smf/manifest table 295 manifest_info_t **entry; local 301 for (entry = array; *entry != NULL; entry++) { 302 info = *entry;
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | ksetpw.c | 263 krb5_keytab_entry entry; local 269 code = krb5_kt_get_entry(ctx, kt, princ, 0, 0, &entry); 272 gettext("Could not retrieve entry in keytab")); 276 krb5_kt_free_entry(ctx, &entry); 284 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) { 285 if (krb5_principal_compare(ctx, princ, entry.principal)) { 295 code = krb5_kt_remove_entry(ctx, kt, &entry); 298 gettext("While deleting entry " 311 krb5_kt_free_entry(ctx, &entry); 333 krb5_keytab_entry *entry; local [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 58 retval = krb5_kt_free_entry(context, lp->entry); 59 free((char *)lp->entry); 70 * Delete a numbered entry in a kt_list. Takes a pointer to a kt_list 95 * Create a new keytab entry and add it to the keytab list. 109 krb5_keytab_entry *entry; local 143 entry = (krb5_keytab_entry *) malloc(sizeof(krb5_keytab_entry)); 144 if (!entry) { 147 memset((char *) entry, 0, sizeof(*entry)); 163 lp->entry 254 krb5_keytab_entry *entry; local 382 krb5_keytab_entry *entry; local [all...] |