/titanic_50/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_response.c | 144 struct smf_uuid_cache_ent *entp; in uuid_cache_gc() local 151 entp = &uuid_cache->entry[i]; in uuid_cache_gc() 153 if (entp->uuid[0] == '\0') in uuid_cache_gc() 156 if (fmd_case_uuisresolved(hdl, entp->uuid)) { in uuid_cache_gc() 157 bzero(entp->uuid, sizeof (entp->uuid)); in uuid_cache_gc() 158 bzero(entp->fmristr, sizeof (entp->fmristr)); in uuid_cache_gc() 159 entp->mark = 0; in uuid_cache_gc() 164 if (topo_fmri_str2nvl(thp, entp->fmristr, &svcfmri, in uuid_cache_gc() 167 entp->fmristr); in uuid_cache_gc() 174 (void) fmd_repair_asru(hdl, entp->fmristr); in uuid_cache_gc() [all …]
|
/titanic_50/usr/src/lib/libinstzones/common/ |
H A D | zones_lofs.c | 64 struct mnttab *entp; in z_createMountTable() local 86 entp = &mountTable[mountTableSize++]; in z_createMountTable() 91 (void) memset(entp, 0, sizeof (*entp)); in z_createMountTable() 94 entp->mnt_special = _z_strdup(ent.mnt_special); in z_createMountTable() 96 entp->mnt_mntopts = _z_strdup(ent.mnt_mntopts); in z_createMountTable() 97 entp->mnt_mountp = _z_strdup(ent.mnt_mountp); in z_createMountTable() 98 entp->mnt_fstype = _z_strdup(ent.mnt_fstype); in z_createMountTable()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ipmp.c | 603 ipmp_arpent_t *entp; in ipmp_illgrp_add_ipif() local 613 entp = ipmp_illgrp_lookup_arpent(illg, &ipif->ipif_lcl_addr); in ipmp_illgrp_add_ipif() 614 if (entp != NULL) in ipmp_illgrp_add_ipif() 615 ipmp_illgrp_destroy_arpent(illg, entp); in ipmp_illgrp_add_ipif() 841 ipmp_arpent_t *entp, *oentp; in ipmp_illgrp_create_arpent() local 845 if ((entp = kmem_alloc(sizeof (ipmp_arpent_t) + lladdr_len, in ipmp_illgrp_create_arpent() 852 if ((oentp = ipmp_illgrp_lookup_arpent(illg, &entp->ia_ipaddr)) != NULL) in ipmp_illgrp_create_arpent() 858 entp->ia_ipaddr = ipaddr; in ipmp_illgrp_create_arpent() 859 entp->ia_flags = flags; in ipmp_illgrp_create_arpent() 860 entp->ia_lladdr_len = lladdr_len; in ipmp_illgrp_create_arpent() [all …]
|
/titanic_50/usr/src/lib/krb5/kadm5/clnt/ |
H A D | clnt_policy.c | 131 kadm5_policy_ent_t *entp; in kadm5_get_policy() local 133 entp = (kadm5_policy_ent_t *) ent; in kadm5_get_policy() 135 if (!(*entp = (kadm5_policy_ent_t) in kadm5_get_policy() 138 memcpy(*entp, &r->rec, sizeof(**entp)); in kadm5_get_policy() 140 *entp = NULL; in kadm5_get_policy()
|
H A D | client_principal.c | 264 kadm5_principal_ent_t_v1 *entp; in kadm5_get_principal() local 266 entp = (kadm5_principal_ent_t_v1 *) ent; in kadm5_get_principal() 268 if (!(*entp = (kadm5_principal_ent_t_v1) in kadm5_get_principal() 274 memcpy(*entp, &r->rec, sizeof(**entp)); in kadm5_get_principal() 276 *entp = NULL; in kadm5_get_principal()
|
/titanic_50/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_algs.c | 235 n2rng_renyi_entropy(uint64_t *samples, int lg2samples, n2rng_osc_perf_t *entp) in n2rng_renyi_entropy() argument 277 entp->numvals = numdistinct; in n2rng_renyi_entropy() 279 entp->H1 = shannonsum / 64; in n2rng_renyi_entropy() 281 entp->H2 = -(lg2(sqsum) + in n2rng_renyi_entropy() 284 entp->Hinf = -(lg2(largestcount) + in n2rng_renyi_entropy()
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 143 if (rdcp->entp) { in do_readdir() 144 free_dir_list(rdcp->entp); in do_readdir() 145 rdcp->entp = NULL; in do_readdir() 178 if (rdcp->entp) { in do_readdir() 179 free_dir_list(rdcp->entp); in do_readdir() 180 rdcp->entp = NULL; in do_readdir() 461 if (p->entp) in autofs_rddir_cache_entry_free() 462 free_dir_list(p->entp); in autofs_rddir_cache_entry_free() 519 assert(rdcp->entp == NULL); in build_dir_entry_list() 520 rdcp->entp = list; in build_dir_entry_list()
|
H A D | autod_lookup.c | 83 found = (rddir_entry_lookup(key, rdcp->entp) != NULL); in do_lookup1()
|
H A D | automount.h | 212 struct dir_entry *entp; member
|
/titanic_50/usr/src/cmd/prstat/ |
H A D | prtable.c | 171 zonename_t *entp; in add_zone() local 200 entp = &tbl->z_list[tbl->z_nent++]; in add_zone() 202 (void) strlcpy(entp->z_name, str, ZONENAME_MAX); in add_zone() 204 entp->z_name[0] = '\0'; in add_zone() 205 entp->z_id = id; in add_zone()
|
/titanic_50/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 443 struct dirent *entp; in g_get_physical_name() local 494 while ((entp = readdir(dirp)) != NULL) { in g_get_physical_name() 495 if (strcmp(entp->d_name, ".") == 0 || in g_get_physical_name() 496 strcmp(entp->d_name, "..") == 0) in g_get_physical_name() 499 if (entp->d_name[0] != 'c') in g_get_physical_name() 506 sprintf(namebuf, "%s/%s", dev_name, entp->d_name); in g_get_physical_name() 522 if (strstr(entp->d_name, s) != NULL) { in g_get_physical_name() 530 if (atoi(&s[1]) == atoi(&entp->d_name[1])) { in g_get_physical_name() 533 s, entp->d_name); in g_get_physical_name()
|
H A D | map.c | 5723 struct dirent *entp; in get_dev_path() local 5746 while ((entp = readdir(dirp)) != NULL) { in get_dev_path() 5751 if ((strcmp(entp->d_name, ".") == 0) || in get_dev_path() 5752 (strcmp(entp->d_name, "..") == 0) || in get_dev_path() 5753 (fnmatch(pattern_match, entp->d_name, 0) != 0)) in get_dev_path() 5757 sprintf(namebuf, "%s/%s", dir_name, entp->d_name); in get_dev_path() 5976 struct dirent *entp; in init_drv() local 5985 while ((entp = readdir(dirp)) != NULL) { in init_drv() 5990 if ((strcmp(entp->d_name, ".") == 0) || in init_drv() 5991 (strcmp(entp->d_name, "..") == 0) || in init_drv() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | expand.c | 39 char *entp; variable 440 sentp = entp; 441 entp = s; 443 entp = sentp; 517 s = entp;
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 111 static char *entp; variable 404 sentp = entp; in match() 405 entp = s; in match() 407 entp = sentp; in match() 505 s = entp; in amatch()
|
/titanic_50/usr/src/lib/libbe/common/ |
H A D | be_mount.c | 1872 struct mnttab *entp = NULL; in unmount_shared_fs() local 1894 entp = &table[size++]; in unmount_shared_fs() 1900 (void) memset(entp, 0, sizeof (*entp)); in unmount_shared_fs() 1901 if ((entp->mnt_mountp = strdup(ent.mnt_mountp)) == NULL || in unmount_shared_fs() 1902 (entp->mnt_fstype = strdup(ent.mnt_fstype)) == NULL) { in unmount_shared_fs() 1916 entp = &table[i - 1]; in unmount_shared_fs() 1919 if (strcmp(entp->mnt_fstype, MNTTYPE_LOFS) != 0) in unmount_shared_fs() 1923 if (strncmp(entp->mnt_mountp, ud->altroot, altroot_len) == 0 && in unmount_shared_fs() 1924 entp->mnt_mountp[altroot_len] == '/') { in unmount_shared_fs() 1925 if (umount(entp->mnt_mountp) != 0) { in unmount_shared_fs() [all …]
|
/titanic_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_fhistory.c | 1592 ndmp_name *entp; in ndmpd_path_restored() local 1623 entp = (ndmp_name *)MOD_GETNAME(params, pos); in ndmpd_path_restored() 1624 if (entp && entp->name) in ndmpd_path_restored() 1625 name = entp->name; in ndmpd_path_restored() 1646 struct dirent *entp; in dp_readdir() local 1649 if ((entp = readdir(dirp)) == 0) { in dp_readdir() 1657 *fileidp = entp->d_ino; in dp_readdir() 1658 (void) strlcpy(name, entp->d_name, *n_namep); in dp_readdir() 1659 *n_namep = entp->d_reclen + 1; in dp_readdir()
|
/titanic_50/usr/src/lib/libtsnet/common/ |
H A D | tsol_gettpent.c | 167 str_to_tpstr(const char *instr, int lenstr, void *entp, char *buffer, in str_to_tpstr() argument 173 tsol_tpstr_t *tpstrp = (tsol_tpstr_t *)entp; in str_to_tpstr()
|
H A D | tsol_getrhent.c | 172 str_to_rhstr(const char *instr, int lenstr, void *entp, char *buffer, in str_to_rhstr() argument 179 tsol_rhstr_t *rhstrp = (tsol_rhstr_t *)entp; in str_to_rhstr()
|
/titanic_50/usr/src/cmd/format/ |
H A D | ix_altsctr.c | 465 struct alts_ent *entp; in gen_alts_ent() local 472 entp = malloc(ap->ap_ent_secsiz); in gen_alts_ent() 473 if (entp == NULL) { in gen_alts_ent() 479 ent_used = ent_merge(entp, ap->ap_entp, ap->ap_tblp->alts_ent_used, in gen_alts_ent() 485 ap->ap_entp = entp; in gen_alts_ent()
|
/titanic_50/usr/src/cmd/csh/ |
H A D | sh.glob.c | 36 tchar *entp; variable 374 sentp = entp; in match() 375 entp = s; in match() 377 entp = sentp; in match() 475 s = entp; in amatch()
|
/titanic_50/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 152 static void istat_counter_reset_cb(struct istat_entry *entp, 154 static void istat_counter_topo_chg_cb(struct istat_entry *entp, 156 static void serd_reset_cb(struct serd_entry *entp, void *unused, 158 static void serd_topo_chg_cb(struct serd_entry *entp, void *unused, 2410 istat_verify(struct node *snp, struct istat_entry *entp) in istat_verify() argument 2424 lut_lookup(Istats, entp, (lut_cmp)istat_cmp)) == NULL || in istat_verify() 2523 struct istat_entry *entp = (struct istat_entry *)left; in istat_destructor() local 2525 FREE(entp); in istat_destructor() 2533 istat_counter_reset_cb(struct istat_entry *entp, struct stats *statp, in istat_counter_reset_cb() argument 2538 if (entp->ipath == ipp) { in istat_counter_reset_cb() [all …]
|
/titanic_50/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 1220 struct dirent *entp; in load_modules() local 1239 while ((entp = readdir(mod_dir)) != NULL) { in load_modules() 1243 if (((tmp = strstr(entp->d_name, MODULE_SUFFIX)) == NULL) || in load_modules() 1249 dirname, entp->d_name) >= sizeof (modpath)) { in load_modules() 1272 mod->name = strdup(entp->d_name); in load_modules() 1345 syseventd_print(3, "loaded module %s\n", entp->d_name); in load_modules()
|
/titanic_50/usr/src/cmd/addbadsec/ |
H A D | ix_altsctr.c | 457 struct alts_ent *entp; in gen_alts_ent() local 464 entp=(struct alts_ent *) malloc (ap->ap_ent_secsiz); in gen_alts_ent() 465 ent_used = ent_merge(entp, ap->ap_entp, ap->ap_tblp->alts_ent_used, in gen_alts_ent() 471 ap->ap_entp = entp; in gen_alts_ent()
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 1545 struct dirent *entp; in rcmd_db_init() local 1565 while ((entp = readdir(mod_dir)) != NULL) { in rcmd_db_init() 1568 if (strcmp(entp->d_name, ".") == 0 || in rcmd_db_init() 1569 strcmp(entp->d_name, "..") == 0) in rcmd_db_init() 1574 if (((tmp = strstr(entp->d_name, in rcmd_db_init() 1581 module = cli_module_hold(entp->d_name); in rcmd_db_init() 1586 entp->d_name); in rcmd_db_init()
|
/titanic_50/usr/src/cmd/ps/ |
H A D | ps.c | 2112 struct ugdata *entp; in add_ugentry() local 2119 entp = &tbl->ent[tbl->nent++]; in add_ugentry() 2120 entp->id = 0; in add_ugentry() 2121 (void) strncpy(entp->name, name, MAXUGNAME); in add_ugentry() 2122 entp->name[MAXUGNAME] = '\0'; in add_ugentry()
|