/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 232 fmd_asru_asru_hash_insert(fmd_asru_hash_t *ahp, fmd_asru_link_t *alp, in fmd_asru_asru_hash_insert() argument 238 alp->al_asru_next = ahp->ah_asru_hash[h]; in fmd_asru_asru_hash_insert() 239 ahp->ah_asru_hash[h] = alp; in fmd_asru_asru_hash_insert() 244 fmd_asru_case_hash_insert(fmd_asru_hash_t *ahp, fmd_asru_link_t *alp, in fmd_asru_case_hash_insert() argument 250 alp->al_case_next = ahp->ah_case_hash[h]; in fmd_asru_case_hash_insert() 251 ahp->ah_case_hash[h] = alp; in fmd_asru_case_hash_insert() 255 fmd_asru_fru_hash_insert(fmd_asru_hash_t *ahp, fmd_asru_link_t *alp, char *name) in fmd_asru_fru_hash_insert() argument 260 alp->al_fru_next = ahp->ah_fru_hash[h]; in fmd_asru_fru_hash_insert() 261 ahp->ah_fru_hash[h] = alp; in fmd_asru_fru_hash_insert() 265 fmd_asru_label_hash_insert(fmd_asru_hash_t *ahp, fmd_asru_link_t *alp, in fmd_asru_label_hash_insert() argument [all …]
|
H A D | fmd_case.c | 313 fmd_case_set_lst(fmd_asru_link_t *alp, void *arg) in fmd_case_set_lst() argument 321 if (nvlist_lookup_boolean_value(alp->al_event, FM_SUSPECT_MESSAGE, in fmd_case_set_lst() 325 state = fmd_asru_al_getstate(alp); in fmd_case_set_lst() 334 if (alp->al_reason == FMD_ASRU_REPAIRED) in fmd_case_set_lst() 336 else if (alp->al_reason == FMD_ASRU_REPLACED) in fmd_case_set_lst() 338 else if (alp->al_reason == FMD_ASRU_ACQUITTED) in fmd_case_set_lst() 340 entryp->fcl_nva[*entryp->fcl_countp] = alp->al_event; in fmd_case_set_lst() 345 fmd_case_faulty(fmd_asru_link_t *alp, void *arg) in fmd_case_faulty() argument 349 *faultyp |= (alp->al_flags & FMD_ASRU_FAULTY); in fmd_case_faulty() 353 fmd_case_usable(fmd_asru_link_t *alp, void *arg) in fmd_case_usable() argument [all …]
|
H A D | fmd_asru.h | 208 extern void fmd_asru_update_status(fmd_asru_link_t *alp, void *arg); 217 extern void fmd_asru_set_on_proxy(fmd_asru_link_t *alp, void *arg); 219 extern void fmd_asru_update_containees(fmd_asru_link_t *alp, void *arg); 225 extern void fmd_asru_close_status(fmd_asru_link_t *alp, void *arg);
|
H A D | fmd_api.c | 2183 fmd_rsrc_has_fault(fmd_asru_link_t *alp, void *arg) in fmd_rsrc_has_fault() argument 2189 if (alp->al_flags & FMD_ASRU_FAULTY) in fmd_rsrc_has_fault() 2192 if ((alp->al_flags & FMD_ASRU_FAULTY) && in fmd_rsrc_has_fault() 2193 alp->al_event != NULL && nvlist_lookup_string(alp->al_event, in fmd_rsrc_has_fault()
|
/titanic_50/usr/src/cmd/sgs/rtld/common/ |
H A D | audit.c | 197 Audit_list *alp; in _audit_objfilter() local 201 for (APLIST_TRAVERSE(list, idx, alp)) { in _audit_objfilter() 203 Rt_map *almp = alp->al_lmp; in _audit_objfilter() 207 if (alp->al_objfilter == NULL) in _audit_objfilter() 215 alp->al_libname, NAME(frlmp), NAME(felmp), ref)); in _audit_objfilter() 218 ret = (*alp->al_objfilter)(&(fracp->ac_cookie), ref, in _audit_objfilter() 224 alp->al_libname, NAME(frlmp), NULL, NULL)); in _audit_objfilter() 266 Audit_list *alp; in _audit_objsearch() local 270 for (APLIST_TRAVERSE(list, idx, alp)) { in _audit_objsearch() 272 Rt_map *almp = alp->al_lmp; in _audit_objsearch() [all …]
|
H A D | tsort.c | 248 APlist *alp = NULL; in visit() local 282 if (tracing && (aplist_append(&alp, tlmp, in visit() 295 if (tracing && (aplist_append(&sort->s_scc, alp, in visit() 298 } else if (alp) in visit() 299 free(alp); in visit() 470 APlist *alp; in trace_find_scc() local 473 for (APLIST_TRAVERSE(sort->s_scc, idx1, alp)) { in trace_find_scc() 477 for (APLIST_TRAVERSE(alp, idx2, lmp2)) { in trace_find_scc() 479 return (alp); in trace_find_scc() 492 APlist *alp; in trace_sort() local [all …]
|
H A D | move.c | 47 static APlist *alp = NULL; variable 168 (aplist_append(&alp, (void *)addr, AL_CNT_MOVES) == NULL)) in move_data() 180 if (moves && (alp == NULL)) in move_data() 196 for (APLIST_TRAVERSE(alp, idx, maddr)) { in is_move_data()
|
H A D | remove.c | 148 Alist *alp = *alpp; in remove_alist() local 150 if (alp) { in remove_alist() 152 free((void *)alp); in remove_alist() 155 alist_reset(alp); in remove_alist() 1546 APlist *alp; in remove_hdl() local 1555 alp = hdl_alp[HDLIST_ORP]; in remove_hdl() 1559 for (APLIST_TRAVERSE(alp, idx, ghp)) { in remove_hdl() 1566 (void) aplist_delete_value(alp, oghp); in remove_hdl() 1580 (void) aplist_delete_value(alp, oghp); in remove_hdl() 1583 if (alp) in remove_hdl() [all …]
|
H A D | paths.c | 69 print_default_dirs(Lm_list *lml, Alist *alp, int search) in print_default_dirs() argument 79 for (ALIST_TRAVERSE(alp, idx, pdp)) { in print_default_dirs() 307 Alist *alp; in get_next_dir() local 317 ((alp = *sdp->sp_dalpp) != NULL) && in get_next_dir() 318 (alist_nitems(alp) > sdp->sp_idx)) { in get_next_dir() 319 return (alist_item(alp, sdp->sp_idx++)); in get_next_dir() 1001 is_path_unique(Alist *alp, const char *path) in is_path_unique() argument 1006 for (ALIST_TRAVERSE(alp, idx, pdp)) { in is_path_unique()
|
H A D | analyze.c | 469 APlist *alp; in relocate_lmc() local 571 while ((alp = plmc->lc_now) != NULL) { in relocate_lmc() 582 for (APLIST_TRAVERSE(alp, idx, lmp)) { in relocate_lmc() 623 free(alp); in relocate_lmc()
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 56 action_list *alp, in mount_autofs() argument 148 alp->action.action = AUTOFS_MOUNT_RQ; in mount_autofs() 149 if ((alp->action.action_list_entry_u.mounta.spec = in mount_autofs() 152 if ((alp->action.action_list_entry_u.mounta.dir = in mount_autofs() 171 alp->action.action_list_entry_u.mounta.optptr = buf; in mount_autofs() 172 alp->action.action_list_entry_u.mounta.optlen = strlen(buf) + 1; in mount_autofs() 173 alp->action.action_list_entry_u.mounta.flags = in mount_autofs() 175 if ((alp->action.action_list_entry_u.mounta.fstype = in mount_autofs() 178 alp->action.action_list_entry_u.mounta.dataptr = (char *)fnip; in mount_autofs() 179 alp->action.action_list_entry_u.mounta.datalen = sizeof (*fnip); in mount_autofs() [all …]
|
H A D | autod_mount.c | 85 action_list *alp, *prev, *tmp; in do_mount1() local 171 alp = (action_list *)malloc( in do_mount1() 173 if (alp == NULL) { in do_mount1() 178 memset(alp, 0, sizeof (action_list)); in do_mount1() 180 alp = NULL; in do_mount1() 183 &alp); in do_mount1() 201 if (alp) { in do_mount1() 202 free(alp); in do_mount1() 203 alp = NULL; in do_mount1() 208 if (alp) { in do_mount1() [all …]
|
H A D | autod_main.c | 449 action_list *alp = NULL; in autofs_mntinfo_1_r() local 462 (uint_t)m->isdirect, m->uid, &alp, DOMOUNT_USER); in autofs_mntinfo_1_r() 467 if (alp != NULL) { in autofs_mntinfo_1_r() 468 free_action_list(alp); in autofs_mntinfo_1_r() 469 alp = NULL; in autofs_mntinfo_1_r() 472 if (alp != NULL) { in autofs_mntinfo_1_r() 477 res->mr_type.mount_result_type_u.list = alp; in autofs_mntinfo_1_r() 565 free_action_list(action_list *alp) in free_action_list() argument 570 for (p = alp; p != NULL; p = next) { in free_action_list()
|
H A D | autod_nfs.c | 237 action_list *alp; in mount_nfs() local 241 alp = *alpp; in mount_nfs() 280 overlay, uid, alp); in mount_nfs() 640 action_list *alp) in nfsmount() argument 2347 if (alp == NULL) { in nfsmount() 2374 alp->action.action = AUTOFS_MOUNT_RQ; in nfsmount() 2375 alp->action.action_list_entry_u.mounta.spec = in nfsmount() 2377 alp->action.action_list_entry_u.mounta.dir = strdup(mntpnt); in nfsmount() 2378 alp->action.action_list_entry_u.mounta.flags = in nfsmount() 2380 alp->action.action_list_entry_u.mounta.fstype = in nfsmount() [all …]
|
/titanic_50/usr/src/lib/libast/common/string/ |
H A D | base64.c | 44 static const char alp[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; variable 63 m = (unsigned char*)alp; in base64encode() 179 for (tp = (unsigned char*)alp; c = *tp; tp++) in base64decode() 180 m[c] = tp - (unsigned char*)alp; in base64decode()
|
/titanic_50/usr/src/uts/common/fs/autofs/ |
H A D | auto_subr.c | 251 action_list *alp = NULL; in auto_mount_thread() local 267 error = auto_mount_request(fnip, name, &alp, cred, TRUE); in auto_mount_thread() 269 error = auto_perform_actions(fnip, fnp, alp, cred); in auto_mount_thread() 875 auto_free_action_list(action_list *alp) in auto_free_action_list() argument 881 m = &alp->action.action_list_entry_u.mounta; in auto_free_action_list() 882 while (alp != NULL) { in auto_free_action_list() 883 fstype = alp->action.action_list_entry_u.mounta.fstype; in auto_free_action_list() 884 m = &alp->action.action_list_entry_u.mounta; in auto_free_action_list() 898 lastalp = alp; in auto_free_action_list() 899 alp = alp->next; in auto_free_action_list() [all …]
|
/titanic_50/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 2318 array_list_t *alp; in realloc_data_ext() local 2355 alp = lstatp->al; in realloc_data_ext() 2356 for (; alp != NULL; ) { in realloc_data_ext() 2357 if (i + alp->nelem > *lstatp->countp) { in realloc_data_ext() 2362 for (j = 0; j < alp->nelem; i++, j++) { in realloc_data_ext() 2363 cldp[i] = alp->array[j]; in realloc_data_ext() 2365 alp = alp->next; in realloc_data_ext() 2836 array_list_t *alp, *alp2 = NULL; in stat_plugin_v2() local 2843 if ((alp = config_calloc_check(1, sizeof (array_list_t), in stat_plugin_v2() 2848 alp->array = NULL; in stat_plugin_v2() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | diskmon_conf.c | 587 ind_action_t *alp; in check_consistent_ind_indrules() local 609 alp = indrp->action_list; in check_consistent_ind_indrules() 610 while (alp != NULL && rv == E_NO_ERROR) { in check_consistent_ind_indrules() 611 len = strlen(alp->ind_name) + 2; in check_consistent_ind_indrules() 614 alp->ind_state == INDICATOR_ON ? '+' : '-', in check_consistent_ind_indrules() 615 alp->ind_name); in check_consistent_ind_indrules() 621 *offender = alp; in check_consistent_ind_indrules() 629 alp = alp->next; in check_consistent_ind_indrules()
|
/titanic_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | statistics.c | 64 rel_cache_statistics(Ofl_desc *ofl, const char *title, APlist *alp) in rel_cache_statistics() argument 73 for (APLIST_TRAVERSE(alp, idx, rcp)) { in rel_cache_statistics() 80 EC_WORD(aplist_nitems(alp)), in rel_cache_statistics()
|
H A D | entry.c | 77 Dbg_ent_print(Lm_list *lml, uchar_t osabi, Half mach, APlist *alp) in Dbg_ent_print() argument 88 for (APLIST_TRAVERSE(alp, ndx, enp)) { in Dbg_ent_print()
|
/titanic_50/usr/src/lib/libeti/form/common/ |
H A D | regex.c | 150 __advance(char *alp, char *aep) in __advance() argument 156 lp = alp; in __advance()
|
/titanic_50/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 389 waiter(struct active **alp) in waiter() argument 403 for (lap = NULL, ap = *alp; ap != NULL; lap = ap, ap = ap->nxt) { in waiter() 414 *alp = ap->nxt; in waiter()
|
/titanic_50/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 212 sdf_find(const char *name, APlist *alp) in sdf_find() argument 217 for (APLIST_TRAVERSE(alp, idx, sdf)) in sdf_find()
|
H A D | version.c | 36 ld_vers_find(const char *name, Word hash, APlist *alp) in ld_vers_find() argument 41 for (APLIST_TRAVERSE(alp, idx, vdp)) { in ld_vers_find()
|
H A D | sections.c | 819 make_array(Ofl_desc *ofl, Word shtype, const char *sectname, APlist *alp) in make_array() argument 832 if (alp == NULL) in make_array() 836 for (APLIST_TRAVERSE(alp, idx, sdp)) in make_array() 885 for (APLIST_TRAVERSE(alp, idx, sdp)) { in make_array()
|