/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcRegisterForAdapterPortStatEvents.cc | 46 HBA_PORTSTATISTICS stats, 38 Sun_fcRegisterForAdapterPortStatEvents( void (*callback)( void *data, HBA_WWN PortWWN, HBA_UINT32 eventType), void *userData, HBA_HANDLE handle, HBA_WWN PortWWN, HBA_PORTSTATISTICS stats, HBA_UINT32 statType, HBA_CALLBACKHANDLE *callbackHandle) argument
|
/osnet-11/usr/src/lib/libsocket/socket/ |
H A D | _soutil.c | 127 struct stat stats; local 139 if (stat(net->nc_device, &stats) < 0) { 155 if (!S_ISCHR(stats.st_mode)) {
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | stats.c | 18 SM_RCSID("@(#)$Id: stats.c,v 8.57 2006/08/15 23:24:58 ca Exp $") 24 static bool GotStats = false; /* set when we have stats to merge */ 35 ** type -- type of stats this represents. 140 struct statistics stats; local 167 if (read(fd, (char *) &stats, sizeof(stats)) == sizeof(stats) && 168 stats.stat_size == sizeof(stats) && 169 stats [all...] |
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | shim.c | 565 struct stat stats; local 569 if (0 != stat(map->trad_map_path, &stats)) { 592 if (stats.st_mtime <= old_time) { 609 value.dptr = (char *)&(stats.st_mtime);
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mailstats.c | 69 struct statistics stats; local 223 if ((fd < 0) || (i = read(fd, &stats, sizeof stats)) < 0) 234 if ((i = read(fd, &stats, sizeof stats)) < 0) 245 memset((ARBPTR_T) &stats, '\0', sizeof stats); 246 (void) time(&stats.stat_itime); 251 if (stats.stat_magic != STAT_MAGIC) 258 else if (stats [all...] |
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 57 struct compstat stats; member in struct:deflate_state 72 static void z_comp_stats __P((void *state, struct compstat *stats)); 109 z_comp_stats(arg, stats) 111 struct compstat *stats; 116 *stats = state->stats; 117 stats->ratio = stats->unc_bytes; 118 out = stats->comp_bytes + stats [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_index.cc | 370 db_index::stats(long *tsize, long *tcount) function in class:db_index 372 READLOCKV(this, "r db_index::stats"); 375 READUNLOCKV(this, "ru db_index::stats");
|
H A D | db_mindex.cc | 1189 long *stats = table->stats(TRUE); local 1191 printf("table_size = %d\n", stats[0]); 1192 printf("last_used = %d\n", stats[1]); 1193 printf("count = %d\n", stats[2]); 1194 printf("free list size = %d\n", stats[3]); 1195 printf("free list count = %d\n", stats[4]); 1197 for (i = 5; i < 5+stats[4]; i++) { 1198 printf("%d, ", stats[i]); 1201 free((char *)stats); [all...] |
H A D | db_table.cc | 193 db_free_list::stats(int nslots) function in class:db_free_list 201 READLOCK(this, NULL, "r db_free_list::stats"); 205 READUNLOCK(this, NULL, "ru db_free_list::stats"); 206 FATAL3("db_free_list::stats: cannot allocation space", 219 READUNLOCK(this, answer, "ru db_free_list::stats"); 740 db_table::stats(bool_t include_freelist) function in class:db_table 744 READLOCK(this, NULL, "r db_table::stats"); 746 answer = freelist.stats(3); 756 READUNLOCK(this, answer, "ru db_table::stats");
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | hash.h | 57 struct __db_h_stat stats; /* Hash statistics. */ member in struct:cursor_t
|
/osnet-11/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 925 DB_TXN_STAT *stats; local 943 if ((ret = __os_malloc(nbytes, db_malloc, &stats)) != 0) 947 stats->st_last_txnid = mgr->region->last_txnid; 948 stats->st_last_ckp = mgr->region->last_ckp; 949 stats->st_maxtxns = mgr->region->maxtxns; 950 stats->st_naborts = mgr->region->naborts; 951 stats->st_nbegins = mgr->region->nbegins; 952 stats->st_ncommits = mgr->region->ncommits; 953 stats->st_pending_ckp = mgr->region->pending_ckp; 954 stats [all...] |
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 86 struct stats { struct 122 static struct stats * stats; variable in typeref:struct:stats 156 stats = malloc((max_size+1) * sizeof (struct stats)); 157 if (freelists == NULL || stats == NULL) { 163 memset(stats, 0, (max_size + 1) * sizeof (struct stats)); 213 stats[max_size].gets++; 214 stats[max_siz [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 189 nvlist_t *stats; local 199 if (nvlist_alloc(&stats, NVATTRS_STAT, 0) != 0) { 204 if ((*errp = add_inuse(dp->name, stats)) != 0) { 209 if (nvlist_lookup_string(stats, DM_USED_BY, &str) != 0) { 244 if ((*errp = add_inuse(localpath, stats)) != 0) { 255 return (stats);
|
H A D | entry.c | 525 nvlist_t *stats = NULL; local 548 stats = drive_get_stats(dp, stat_type, errp); 551 stats = bus_get_stats(dp, stat_type, errp); 554 stats = controller_get_stats(dp, stat_type, errp); 557 stats = media_get_stats(dp, stat_type, errp); 567 stats = NULL; 571 stats = slice_get_stats(dp, stat_type, errp); 574 stats = partition_get_stats(dp, stat_type, errp); 577 stats = path_get_stats(dp, stat_type, errp); 580 stats [all...] |
H A D | drive.c | 351 char *classname, nvlist_t *stats); 354 nvlist_t *stats); 356 nvlist_t *stats); 357 static int get_kstat_vals(kstat_t *ksp, nvlist_t *stats); 360 static int update_stat64(nvlist_t *stats, char *attr, 362 static int update_stat32(nvlist_t *stats, char *attr, 524 nvlist_t *stats; local 528 if (nvlist_alloc(&stats, NVATTRS, 0) != 0) { 541 nvlist_free(stats); 547 nvlist_free(stats); 1004 get_disk_kstats(kstat_ctl_t *kc, char *diskname, char *classname, nvlist_t *stats) argument 1099 get_err_kstats(kstat_ctl_t *kc, char *diskname, nvlist_t *stats) argument 1105 get_io_kstats(kstat_ctl_t *kc, char *diskname, nvlist_t *stats) argument 1111 get_kstat_vals(kstat_t *ksp, nvlist_t *stats) argument 1167 update_stat32(nvlist_t *stats, char *attr, uint32_t value) argument 1185 update_stat64(nvlist_t *stats, char *attr, uint64_t value) argument [all...] |
/osnet-11/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 488 nvlist_t *stats = dm_get_stats(slice, DM_SLICE_STAT_USE, error); local 490 handle_error("could not get stats of slice %s", name); 496 if (stats != NULL) { 502 stats, DM_USED_BY, DATA_TYPE_STRING, NULL); 515 zjni_nvlist_walk_nvpair(stats, 531 nvlist_free(stats);
|
H A D | libzfs_jni_pool.c | 424 DeviceStatsBean_t *stats = &(bean->interface_DeviceStats); local 426 result = populate_DeviceStatsBean(env, vdev, stats, object);
|
/osnet-11/usr/src/lib/librcm/ |
H A D | librcm.c | 874 struct stat stats; local 883 if (stat(path, &stats) == 0)
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_cache_door.h | 118 ldap_stat_t stats; member in union:__anon2531::__anon2532
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 127 Stats_t stats; /* RE statistics */ member in struct:Cenv_s 365 stats(register Cenv_t* env, register Rex_t* e) function 387 x = env->stats.x; 388 l = env->stats.l; 389 y = env->stats.y; 390 k = env->stats.k; 391 t = env->stats.t; 392 if (++env->stats.a <= 0) 394 cm = env->stats.m; 395 env->stats [all...] |
/osnet-11/usr/src/lib/libvscan/common/ |
H A D | libvscan.c | 1344 vs_statistics(vs_stats_t *stats) argument 1378 *stats = rsp->vsr_stats; 1400 /* ensure that caller has authorization to reset stats */
|
/osnet-11/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 143 int *stats; member in struct:shared 499 # define sh_stats(x) (shgd->stats[(x)]++)
|
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaGlobal.h | 302 mechinfo_t *stats; member in struct:opinfo
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 223 /* read packet and byte stats */ 349 /* read packet and byte stats */ 473 /* Print stats for each link or flow */ 623 dladm_get_stats(kstat_ctl_t *kcp, kstat_t *ksp, pktsum_t *stats) argument 629 stats->snaptime = gethrtime(); 632 &stats->ipackets) < 0) { 634 &stats->ipackets) < 0) 639 &stats->opackets) < 0) { 641 &stats->opackets) < 0) 646 &stats 1268 i_dlstat_get_stats(kstat_ctl_t *kcp, kstat_t *ksp, void *stats, stat_info_t stats_list[], uint_t size) argument 1329 i_query_legacy_stats(const char *linkname, pktsum_t *stats) argument 1351 pktsum_t stats; local 1388 pktsum_t stats; local 3106 i_dlstat_convert_stats(void *stats, stat_info_t stats_list[], uint_t size) argument [all...] |
/osnet-11/usr/src/lib/hbaapi/common/ |
H A D | HBAAPILIB.c | 1729 HBA_PORTSTATISTICS stats, 1781 stats, 1715 HBA_RegisterForAdapterPortStatEvents( void (*callback) ( void *data, HBA_WWN PortWWN, HBA_UINT32 eventType ), void *userData, HBA_HANDLE handle, HBA_WWN PortWWN, HBA_PORTSTATISTICS stats, HBA_UINT32 statType, HBA_CALLBACKHANDLE *callbackHandle) argument
|