/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | isreloc.c | 145 while (*entry && !isspace(*entry)) { in has_rel_path() 146 entry++; in has_rel_path() 151 while (*entry && isspace(*entry)) { in has_rel_path() 152 entry++; in has_rel_path() 161 if (*entry == '\0' || strchr(IGNORE_TYPE, *entry)) in has_rel_path() 167 while (*entry && !isspace(*entry)) { in has_rel_path() 172 while (*entry && isspace(*entry)) { in has_rel_path() 199 if (entry && *entry) { in is_relative() 209 entry = strtok_r(entry, "/", lasts); in is_relative() 225 entry = getenv(entry); in is_relative() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_llist.c | 108 entry->flink = entry; in dapl_llist_add_head() 109 entry->blink = entry; in dapl_llist_add_head() 118 *head = entry; in dapl_llist_add_head() 138 entry->flink = entry; in dapl_llist_add_tail() 139 entry->blink = entry; in dapl_llist_add_tail() 168 entry->flink = entry; in dapl_llist_add_entry() 169 entry->blink = entry; in dapl_llist_add_entry() 283 entry->flink->blink = entry->blink; in dapl_llist_remove_entry() 284 entry->blink->flink = entry->flink; in dapl_llist_remove_entry() 355 entry, in dapl_llist_debug_print_list() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_xdr.c | 91 content->length = entry->len + entry->e_length; 183 memcpy(nextloc, entry->e_data, entry->e_length); 329 entry->e_length = entry->len - KRB5_KDB_V1_BASE_LENGTH; 330 if ((entry->e_data = (krb5_octet *)malloc(entry->e_length))) { 331 memcpy(entry->e_data, nextloc, entry->e_length); 395 if (entry->n_key_data && ((entry->key_data = (krb5_key_data *) 463 if (entry->e_data) 464 free(entry->e_data); 465 if (entry->princ) 489 free(entry->key_data); [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_policy.c | 107 if ((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL)) in kadm5_create_policy_internal() 114 pent.name = entry->policy; in kadm5_create_policy_internal() 115 p = entry->policy; in kadm5_create_policy_internal() 130 if(entry->pw_min_life > entry->pw_max_life && entry->pw_max_life != 0) in kadm5_create_policy_internal() 145 if(entry->pw_min_classes > MAX_PW_CLASSES || entry->pw_min_classes < MIN_PW_CLASSES) in kadm5_create_policy_internal() 172 osa_policy_ent_t entry; in kadm5_delete_policy() local 225 if((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL)) in kadm5_modify_policy_internal() 278 kadm5_policy_ent_t entry) in kadm5_get_policy() argument 297 entry = &entry_local; in kadm5_get_policy() 326 free(entry->policy); in kadm5_get_policy() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_db.c | 163 return (cv_timedwait(entry->dbe_cv, entry->dbe_lock, timeout)); in rfs4_dbe_twait() 535 entry->dbe_indices[i].entry = entry; in rfs4_dbe_create() 543 INVALIDATE_ADDR(entry->dbe_indices[i].entry); in rfs4_dbe_create() 548 entry->dbe_data->dbe = entry; in rfs4_dbe_create() 559 return (entry); in rfs4_dbe_create() 702 VALIDATE_ADDR(entry->dbe_indices[idx->dbi_tblidx].entry); in rfs4_dbsearch() 793 entry = l->entry; in rfs4_dbe_walk() 828 entry = l->entry; in rfs4_dbe_reap() 856 entry = t->entry; in rfs4_dbe_reap() 945 (void *)entry, entry->dbe_table->dbt_name); in rfs4_dbe_debug() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_cache.c | 168 entry = NULL; in smb_netbios_cache_lookup() 173 return (entry); in smb_netbios_cache_lookup() 290 *entry = *name; in smb_netbios_cache_insert() 291 entry->addr_list.forw = entry->addr_list.back = &entry->addr_list; in smb_netbios_cache_insert() 292 entry->attributes |= entry->addr_list.attributes; in smb_netbios_cache_insert() 295 free(entry); in smb_netbios_cache_insert() 342 &entry); in smb_netbios_cache_insert_list() 344 entry.addr_list.refresh_ttl = entry.addr_list.ttl = in smb_netbios_cache_insert_list() 609 if (entry == 0) in smb_netbios_name_freeaddrs() 612 while ((addr = entry->addr_list.forw) != &entry->addr_list) { in smb_netbios_name_freeaddrs() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_gen_util.c | 81 ASSERT(entry); in delete_genlist() 83 if (entry->prev) { in delete_genlist() 84 entry->prev->next = entry->next; in delete_genlist() 89 if (entry->next) { in delete_genlist() 90 entry->next->prev = entry->prev; in delete_genlist() 96 entry->prev = entry->next = NULL; in delete_genlist() 116 return (entry); in remove_genlist_head() 128 while (entry) { in flush_genlist() 148 entry->next = NULL; in insert_genlist_tail() 152 list->tail = entry; in insert_genlist_tail() [all …]
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 58 struct entry { struct 67 static struct entry *entry; variable 107 entry = malloc(sizeof (struct entry) * total_entries); in main() 162 free(entry); in main() 187 free(entry); in main() 202 if ((tmp = realloc(entry, sizeof (struct entry) in singlehost() 268 if ((tmp = realloc(entry, sizeof (struct entry) in collectnames() 395 if ((tmp = realloc(entry, sizeof (struct entry) in collectnames_3() 513 hcompare(const struct entry *a, const struct entry *b) in hcompare() 519 ucompare(const struct entry *a, const struct entry *b) in ucompare() [all …]
|
H A D | rup.c | 58 struct entry { struct 69 struct entry *entry; argument 91 entry = malloc(sizeof (struct entry) * total_entries); in main() 128 free(entry); in main() 171 free(entry); in main() 190 tmp = realloc((struct entry *)entry, sizeof (struct entry) 195 entry = tmp; 319 tmp = realloc((struct entry *)entry, sizeof (struct entry) 441 machinecmp(struct entry *a, struct entry *b) in machinecmp() 447 uptimecmp(struct entry *a, struct entry *b) in uptimecmp() [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | handles.c | 33 struct entry { struct 41 struct entry *entry; argument 54 entry = (entry == NULL) ? malloc(sz) : realloc(entry, sz); in efi_register_handles() 61 entry[idx].dev = sw; in efi_register_handles() 62 entry[idx].unit = unit; in efi_register_handles() 88 if (entry[idx].handle != h && entry[idx].alias != h) in efi_handle_lookup() 91 *dev = entry[idx].dev; in efi_handle_lookup() 110 entry[idx].dev = dev; in efi_handle_update_dev() 111 entry[idx].unit = unit; in efi_handle_update_dev() 112 entry[idx].alias = NULL; in efi_handle_update_dev() [all …]
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctdusg.c | 82 struct disk *entry; in main() local 184 struct disk *entry; in output() local 188 entry != NULL; entry = entry->next) { in output() 191 entry->dsk_uid, in output() 207 entry->validuser = 1; in validate_entry() 214 struct disk *entry; in charge() local 258 if (entry != NULL && entry->validuser) { in charge() 271 struct disk *entry; in pdisk() local 275 entry != NULL; entry = entry->next) { in pdisk() 278 entry->dsk_uid, in pdisk() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 144 memset((char *) entry, 0, sizeof(*entry)); 160 lp->entry = entry; 268 if (!entry) { 272 memset((char *)entry, 0, sizeof (*entry)); 294 lp->entry = entry; 296 if (entry) 402 memset((char *)entry, 0, sizeof (*entry)); 444 lp->entry = entry; 514 lp1->entry = lp->entry; 523 if (M(lp1->entry->vno) < M(lp->entry->vno)) [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | dba.c | 87 struct macro_entry *entry; in dba_free() local 91 for (entry = ohash_first(macro, &slot); entry != NULL; in dba_free() 94 free(entry); in dba_free() 172 entry = NULL; in dba_page_new() 191 char *entry; in dba_page_add() local 207 entry++; in dba_page_add() 221 char *entry; in dba_page_alias() local 230 *entry |= maskbyte; in dba_page_alias() 350 entry = mandoc_malloc(sizeof(*entry) + len); in get_macro_entry() 355 return entry; in get_macro_entry() [all …]
|
H A D | tag.c | 73 free(entry->nodes); in tag_free() 74 free(entry); in tag_free() 138 if (entry == NULL) { in tag_put() 139 entry = mandoc_malloc(sizeof(*entry) + len + 1); in tag_put() 143 entry->maxnodes = entry->nnodes = 0; in tag_put() 163 nold = entry->nodes[--entry->nnodes]; in tag_put() 176 if (entry->maxnodes == entry->nnodes) { in tag_put() 178 entry->nodes = mandoc_reallocarray(entry->nodes, in tag_put() 179 entry->maxnodes, sizeof(*entry->nodes)); in tag_put() 181 entry->nodes[entry->nnodes++] = n; in tag_put() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/installf/ |
H A D | dofinal.c | 59 struct cfextra entry; in dofinal() local 63 entry.cf_ent.pinfo = NULL; in dofinal() 64 entry.fsys_value = BADFSYS; in dofinal() 65 entry.fsys_base = BADFSYS; in dofinal() 81 (entry.cf_ent.path && *(entry.cf_ent.path)) ? in dofinal() 92 entry.cf_ent.path = save_path; in dofinal() 124 pinfo = entry->cf_ent.pinfo; in check_db_entry() 146 if (entry->cf_ent.npkgs) { in check_db_entry() 166 save_path = entry->cf_ent.path; in check_db_entry() 168 entry->cf_ent.path = tp; in check_db_entry() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | part.c | 361 entry = malloc(sizeof (*entry)); in ptable_gptread() 447 entry = malloc(sizeof (*entry)); in ptable_ebrread() 451 entry->part.end = entry->part.start + end - 1; in ptable_ebrread() 528 entry = malloc(sizeof (*entry)); in ptable_bsdread() 532 entry->part.end = entry->part.start + in ptable_bsdread() 608 entry = malloc(sizeof (*entry)); in ptable_vtoc8read() 694 entry = malloc(sizeof (*entry)); in ptable_dklabelread() 735 entry = malloc(sizeof (*entry)); in ptable_iso9660read() 872 entry = malloc(sizeof (*entry)); in ptable_open() 940 STAILQ_FOREACH(entry, &table->entries, entry) { in ptable_getpart() [all …]
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_logon.c | 155 smb_audit_t *entry; in smbd_logon_audit() local 233 entry->sa_uid = uid; in smbd_logon_audit() 234 entry->sa_gid = gid; in smbd_logon_audit() 278 smb_audit_t *entry; in smbd_user_nonauth_logon() local 283 while (entry) { in smbd_user_nonauth_logon() 289 entry = entry->sa_next; in smbd_user_nonauth_logon() 305 smb_audit_t *entry; in smbd_user_auth_logoff() local 342 free(entry); in smbd_user_auth_logoff() 373 smb_audit_t *entry; in smbd_audit_unlink() local 380 entry = *ppe; in smbd_audit_unlink() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 166 entry->prev->next = entry->next; in emlxs_event_destroy() 169 entry->next->prev = entry->prev; in emlxs_event_destroy() 196 entry->evt->destroy(entry); in emlxs_event_destroy() 200 if (entry->bp && entry->size) { in emlxs_event_destroy() 275 entry->prev->next = entry; in emlxs_event() 330 entry = entry->next; in emlxs_timer_check_events() 446 for (entry = eventq->first; entry != NULL; entry = entry->next) { in emlxs_flush_ct_event() 849 entry = entry->next; in emlxs_get_dfc_eventinfo() 949 entry = entry->next; in emlxs_get_dfc_eventinfo() 1051 entry = entry->next; in emlxs_get_dfc_event() [all …]
|
H A D | emlxs_msg.c | 49 if (log->entry) { in emlxs_msg_log_create() 92 if (!log->entry) { in emlxs_msg_lock_reinit() 117 if (!log->entry) { in emlxs_msg_log_destroy() 168 entry = &log->entry[last]; in emlxs_msg_log() 238 entry = &log->entry[log->next]; in emlxs_msg_log() 249 entry->msg = msg; in emlxs_msg_log() 650 entry->instance, entry->vpi); in emlxs_msg_sprintf() 658 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf() 665 hsecs, entry->id, entry->fileno, entry->line, in emlxs_msg_sprintf() 672 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf() [all …]
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vscan.d | 172 fbt:vscan:vscan_svc_do_scan:entry 218 fbt:vscan:vscan_door_open:entry, 272 fbt:vscan:vscan_drv_open:entry 278 fbt:vscan:vscan_drv_close:entry 284 fbt:vscan:vscan_drv_ioctl:entry 298 fbt:vscan:vscan_drv_detach:entry 336 pid$target::vs_svc_init:entry 385 pid$target::vs_stats_set:entry 397 pid$target::vs_eng_get:entry, 448 pid$target::vscand_fini:entry, [all …]
|
/illumos-gate/usr/src/cmd/gss/gsscred/ |
H A D | gsscred_file.c | 102 char entry[MAX_ENTRY_LEN+1]; in file_getGssCredEntry() local 107 (void) snprintf(entry, sizeof (entry), in file_getGssCredEntry() 110 *errDetails = strdup(entry); in file_getGssCredEntry() 146 char entry[MAX_ENTRY_LEN+1]; in file_getGssCredUid() local 175 char entry[MAX_ENTRY_LEN+1]; in file_deleteGssCredEntry() local 184 (void) snprintf(entry, sizeof (entry), in file_deleteGssCredEntry() 201 (void) snprintf(entry, sizeof (entry), in file_deleteGssCredEntry() 204 *errDetails = strdup(entry); in file_deleteGssCredEntry() 212 (void) snprintf(entry, sizeof (entry), in file_deleteGssCredEntry() 216 *errDetails = strdup(entry); in file_deleteGssCredEntry() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | qemu_loader.c | 77 struct qemu_loader_entry entry; member 103 element->entry.alloc.zone = zone; in qemu_loader_alloc() 165 element->entry.add_pointer.size = size; in qemu_loader_add_pointer() 223 switch (le32toh(entry->cmd_le)) { in qemu_loader_dump_entry() 228 le32toh(entry->alloc.alignment_le)); in qemu_loader_dump_entry() 237 le32toh(entry->add_pointer.off_le)); in qemu_loader_dump_entry() 244 le32toh(entry->add_checksum.off_le)); in qemu_loader_dump_entry() 246 le32toh(entry->add_checksum.start_le)); in qemu_loader_dump_entry() 248 le32toh(entry->add_checksum.len_le)); in qemu_loader_dump_entry() 257 le32toh(entry->write_pointer.src_off_le)); in qemu_loader_dump_entry() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 241 for (entry = uu_list_first(g_ipmi_cache); entry != NULL; in platform_update_fru() 242 entry = uu_list_next(g_ipmi_cache, entry)) { in platform_update_fru() 249 if (entry == NULL) { in platform_update_fru() 306 for (entry = uu_list_first(g_ipmi_cache); entry != NULL; in platform_set_sensor() 307 entry = uu_list_next(g_ipmi_cache, entry)) { in platform_set_sensor() 313 if (entry == NULL) { in platform_set_sensor() 428 for (entry = uu_list_first(g_ipmi_cache); entry != NULL; in dm_platform_resync() 429 entry = uu_list_next(g_ipmi_cache, entry)) { in dm_platform_resync() 435 for (entry = uu_list_first(g_ipmi_cache); entry != NULL; in dm_platform_resync() 436 entry = uu_list_next(g_ipmi_cache, entry)) { in dm_platform_resync() [all …]
|
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | udat_sr_parser.c | 331 (entry->is_default)) { in dat_sr_is_valid_entry() 347 DAT_SR_ENTRY entry; in dat_sr_load_entry() local 365 entry.lib_handle = NULL; in dat_sr_load_entry() 366 entry.ref_count = 0; in dat_sr_load_entry() 372 return (dat_sr_insert(&entry.info, &entry)); in dat_sr_load_entry() 425 DAT_SR_CONF_ENTRY entry; in dat_sr_parse_entry() local 454 entry.ia_name, in dat_sr_parse_entry() 458 entry.is_thread_safe, in dat_sr_parse_entry() 459 entry.is_default, in dat_sr_parse_entry() 460 entry.lib_path, in dat_sr_parse_entry() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_event.c | 396 ASSERT(entry); in uverbs_release_event_file() 838 entry = kmem_zalloc(sizeof (*entry), KM_NOSLEEP); in uverbs_async_event_common() 839 if (!entry) { in uverbs_async_event_common() 850 llist_head_init(&entry->ev_list, entry); in uverbs_async_event_common() 851 llist_head_init(&entry->ev_obj_list, entry); in uverbs_async_event_common() 857 &entry->ev_list, entry); in uverbs_async_event_common() 862 &entry->ev_obj_list, entry); in uverbs_async_event_common() 921 ASSERT(entry); in uverbs_release_ucq_channel() 970 ASSERT(entry); in uverbs_release_ucq_uevents() 1014 ASSERT(entry); in uverbs_release_uqp_uevents() [all …]
|