Home
last modified time | relevance | path

Searched refs:entp (Results 1 – 25 of 35) sorted by relevance

12

/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_dlog.c426 cachefs_dlog_output(fscache_t *fscp, cfs_dlog_entry_t *entp, uint_t *seqp) in cachefs_dlog_output() argument
435 ASSERT(entp->dl_len <= CFS_DLOG_ENTRY_MAXSIZE); in cachefs_dlog_output()
446 len = entp->dl_len; in cachefs_dlog_output()
450 bzero((void *)((uintptr_t)entp + len), (size_t)xx); in cachefs_dlog_output()
452 entp->dl_len = len; in cachefs_dlog_output()
458 len = entp->dl_len; in cachefs_dlog_output()
460 bcopy("UUUUUUUUUUUUUUUU", (void *)((uintptr_t)entp + len), (size_t)xx); in cachefs_dlog_output()
462 entp->dl_len = len; in cachefs_dlog_output()
473 trail = (struct cfs_dlog_trailer *)((uintptr_t)entp + entp->dl_len); in cachefs_dlog_output()
494 entp->dl_seq = seq; in cachefs_dlog_output()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_response.c144 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_41/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_fscache.c960 cfs_dlog_entry_t *entp; in fscache_roll() local
1021 xx = logfile_entry(logfile_object_p, next_offset, &entp); in fscache_roll()
1031 next_offset += entp->dl_len; in fscache_roll()
1034 if (entp->dl_valid != CFS_DLOG_VAL_COMMITTED) in fscache_roll()
1039 switch (entp->dl_op) { in fscache_roll()
1085 entp->dl_valid = CFS_DLOG_VAL_PROCESSED; in fscache_roll()
1109 fscache_object_p->i_again_offset, &entp); in fscache_roll()
1120 dbug_assert(entp->dl_op == CFS_DLOG_MODIFIED); in fscache_roll()
1121 fscache_object_p->i_again_seq = entp->dl_seq; in fscache_roll()
1128 &entp); in fscache_roll()
[all …]
H A Dcfsd_logfile.c403 cfs_dlog_entry_t *entp; in logfile_entry() local
420 entp = (cfs_dlog_entry_t *)logfile_getaddr(logfile_object_p, offset, 0); in logfile_entry()
421 if (entp == NULL) { in logfile_entry()
426 if (entp->dl_len & 3) { in logfile_entry()
429 offset, entp->dl_len)); in logfile_entry()
435 if ((entp->dl_len < CFS_DLOG_ENTRY_MINSIZE) || in logfile_entry()
436 (entp->dl_len > CFS_DLOG_ENTRY_MAXSIZE)) { in logfile_entry()
439 entp->dl_len)); in logfile_entry()
446 logfile_object_p->i_cur_entry = entp; in logfile_entry()
449 *entpp = entp; in logfile_entry()
H A Dcfsd_subr.c267 struct dirent64 *entp; in subr_cache_setup() local
476 while ((entp = readdir64(dirp)) != NULL) { in subr_cache_setup()
478 if ((strcmp(entp->d_name, ".") == 0) || in subr_cache_setup()
479 (strcmp(entp->d_name, "..") == 0)) in subr_cache_setup()
483 strlcat(pathname, entp->d_name, sizeof (pathname)); in subr_cache_setup()
499 entp->d_name); in subr_cache_setup()
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c64 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_41/usr/src/uts/common/inet/ip/
H A Dipmp.c603 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_41/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c131 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 Dclient_principal.c264 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_41/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_algs.c235 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_41/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c143 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 Dautod_lookup.c83 found = (rddir_entry_lookup(key, rdcp->entp) != NULL); in do_lookup1()
/titanic_41/usr/src/cmd/prstat/
H A Dprtable.c171 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_41/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c443 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()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c39 char *entp; variable
440 sentp = entp;
441 entp = s;
443 entp = sentp;
517 s = entp;
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c111 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_41/usr/src/lib/libbe/common/
H A Dbe_mount.c1872 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_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_fhistory.c1592 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_41/usr/src/lib/libtsnet/common/
H A Dtsol_gettpent.c167 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 Dtsol_getrhent.c172 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_41/usr/src/cmd/format/
H A Dix_altsctr.c465 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_41/usr/src/cmd/csh/
H A Dsh.glob.c36 tchar *entp; variable
374 sentp = entp; in match()
375 entp = s; in match()
377 entp = sentp; in match()
475 s = entp; in amatch()
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c152 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,
2417 istat_verify(struct node *snp, struct istat_entry *entp) in istat_verify() argument
2431 lut_lookup(Istats, entp, (lut_cmp)istat_cmp)) == NULL || in istat_verify()
2530 struct istat_entry *entp = (struct istat_entry *)left; in istat_destructor() local
2532 FREE(entp); in istat_destructor()
2540 istat_counter_reset_cb(struct istat_entry *entp, struct stats *statp, in istat_counter_reset_cb() argument
2545 if (entp->ipath == ipp) { in istat_counter_reset_cb()
[all …]
/titanic_41/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c1220 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_41/usr/src/cmd/addbadsec/
H A Dix_altsctr.c457 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()

12