/titanic_50/usr/src/uts/common/syscall/ |
H A D | acl.c | 60 static int cacl(int cmd, int nentries, void *aclbufp, 67 acl(const char *fname, int cmd, int nentries, void *aclbufp) in acl() argument 85 error = cacl(cmd, nentries, aclbufp, vp, &rv); in acl() 99 facl(int fdes, int cmd, int nentries, void *aclbufp) in facl() argument 112 error = cacl(cmd, nentries, aclbufp, fp->f_vnode, &rv); in facl() 125 cacl(int cmd, int nentries, void *aclbufp, vnode_t *vp, int *rv) in cacl() argument 168 if (nentries < 3) in cacl() 183 if (numacls > nentries) { in cacl() 231 if (vsecattr.vsa_aclcnt > nentries) { in cacl() 257 if (nentries < 3 || nentries > (MAX_ACL_ENTRIES * 2)) in cacl() [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_deadlock.c | 69 u_int32_t *bitmap, *deadlock, i, killid, nentries, nlockers; local 103 nentries = ALIGN(nlockers, 32) / 32; 139 killid = (deadlock - bitmap) / nentries; 202 u_int32_t *bitmap, count, *entryp, i, id, nentries, *tmpmap; local 227 nentries = ALIGN(count, 32) / 32; 236 sizeof(u_int32_t) * nentries, &bitmap)) != 0) 239 if ((ret = __os_calloc(sizeof(u_int32_t), nentries, &tmpmap)) != 0) { 240 __os_free(bitmap, sizeof(u_int32_t) * nentries); 246 __os_free(bitmap, count * sizeof(u_int32_t) * nentries); 247 __os_free(tmpmap, sizeof(u_int32_t) * nentries); [all …]
|
/titanic_50/usr/src/lib/libsec/common/ |
H A D | aclsort.c | 80 aclsort(int nentries, int calcmask, aclent_t *aclbufp) in aclsort() argument 89 if (aclcheck(aclbufp, nentries, &which) != 0) in aclsort() 100 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort() 110 qsort(aclbufp, nentries, sizeof (aclent_t), in aclsort() 113 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort() 128 sortid(aclbufp, nentries, USER); in aclsort() 129 sortid(aclbufp, nentries, GROUP); in aclsort() 130 sortid(aclbufp, nentries, DEF_USER); in aclsort() 131 sortid(aclbufp, nentries, DEF_GROUP); in aclsort()
|
H A D | aclmode.c | 38 acltomode(aclent_t *aclbufp, int nentries, mode_t *modep) in acltomode() argument 48 if (aclcheck(aclbufp, nentries, &which) != 0) { in acltomode() 52 for (tp = aclbufp; nentries--; tp++) { in acltomode() 89 aclfrommode(aclent_t *aclbufp, int nentries, mode_t *modep) in aclfrommode() argument 98 if (aclcheck(aclbufp, nentries, &which) != 0) { in aclfrommode() 102 for (tp = aclbufp; nentries--; tp++) { in aclfrommode()
|
H A D | aclcheck.c | 71 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) in aclent_aclcheck() argument 81 for (aclentp = aclbufp; nentries > 0; nentries--, aclentp++) { in aclent_aclcheck() 147 *idp = calloc(nentries, sizeof (uid_t)); in aclent_aclcheck() 263 aclcheck(aclent_t *aclbufp, int nentries, int *which) in aclcheck() argument 265 return (aclent_aclcheck(aclbufp, nentries, which, 1)); in aclcheck()
|
/titanic_50/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_response.c | 88 uint32_t nentries; /* Real size of array below */ member 103 n = (uuid_cache == NULL ? 0 : uuid_cache->nentries) + CACHE_NENT_INC; in uuid_cache_grow() 109 newcache->nentries = n; in uuid_cache_grow() 112 uint32_t oldn = uuid_cache->nentries; in uuid_cache_grow() 129 (uuid_cache->nentries - 1) * sizeof (struct smf_uuid_cache_ent); in uuid_cache_persist() 150 for (i = 0; i < uuid_cache->nentries; i++) { in uuid_cache_gc() 224 for (i = 0; i < uuid_cache->nentries; i++) { in swrp_smf_cache_add() 230 for (i = 0; i < uuid_cache->nentries; i++) { in swrp_smf_cache_add() 238 uint32_t oldn = uuid_cache->nentries; in swrp_smf_cache_add() 281 for (i = 0; i < uuid_cache->nentries; i++) { in swrp_smf_cache_mark()
|
/titanic_50/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs_log.c | 176 uint64_t nentries; /* number of mapentries */ member 188 if (msp->nentries == 0) { in mapadd() 195 msp->nentries++; in mapadd() 224 mdb_printf("Number of entries 0x%llx\n", msp->nentries); in mapstats_dcmd() 231 if (msp->nentries) { in mapstats_dcmd()
|
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal.c | 129 krb5_ldap_free_principal(kcontext , entries, nentries) in krb5_ldap_free_principal() argument 132 int nentries; 135 for (i = 0; i < nentries; i++) 257 krb5_ldap_delete_principal(context, searchfor, nentries) in krb5_ldap_delete_principal() argument 260 int *nentries; /* how many found & deleted */ 281 …((st=krb5_ldap_get_principal(context, searchfor, &entries, nentries, &more)) != 0 || *nentries == … 388 krb5_ldap_free_principal(context, &entries, *nentries);
|
H A D | ldap_principal2.c | 81 krb5_ldap_get_principal(context, searchfor, entries, nentries, more) in krb5_ldap_get_principal() argument 85 int *nentries; /* how much room/how many found */ 102 *nentries = 0; 137 for (tree=0; tree < ntrees && *nentries == 0; ++tree) { 140 …for (ent=ldap_first_entry(ld, result); ent != NULL && *nentries == 0; ent=ldap_next_entry(ld, ent)… 152 *nentries = 1; 158 if (*nentries == 0) /* no matching principal found */ 177 if (*nentries == 0 || st != 0) 452 krb5_ldap_put_principal(context, entries, nentries, db_args) in krb5_ldap_put_principal() argument 455 register int *nentries; /* number of entry structs to update */ [all …]
|
/titanic_50/usr/src/lib/krb5/kdb/ |
H A D | kdb5.h | 67 int *nentries, 73 int *nentries, 82 int *nentries, 87 int *nentries);
|
H A D | kdb_log.h | 85 krb5_db_entry *entries, kdb_incr_update_t *updates, int nentries); 87 krb5_db_entry *entries, kdb_incr_update_t *updates, int nentries);
|
/titanic_50/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 111 int nentries; in fdread() local 121 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdread() 124 endoff = (nentries + 2) * FDSDSIZE; in fdread() 147 for (i = minfd; i < MIN(maxfd, nentries); i++) { in fdread() 233 int reclen, nentries; in fdreaddir() local 250 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); in fdreaddir() 270 if ((n = (off-2*FDSDSIZE)/FDSDSIZE) >= nentries) in fdreaddir() 299 *eofp = ((uiop->uio_offset-2*FDSDSIZE)/FDSDSIZE >= nentries); in fdreaddir()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | usage.c | 579 update_pe(net_plot_entry_t *pe, net_stat_t *nns, int nentries, in update_pe() argument 584 for (count = 0; count < nentries; count++) { in update_pe() 588 if (count == nentries) in update_pe() 1197 int nentries = 0, pentries = 0; in dladm_walk_usage_time() local 1227 nentries = net_table->net_entries; in dladm_walk_usage_time() 1234 for (count = 0; count < nentries; count++) { in dladm_walk_usage_time() 1240 clear_pe(pe, nentries, &pentries); in dladm_walk_usage_time() 1261 add_pe_to_file(fn, pe, ns, nentries, in dladm_walk_usage_time() 1263 clear_pe(pe, nentries, &pentries); in dladm_walk_usage_time() 1273 add_pe_to_file(fn, pe, ns, nentries, in dladm_walk_usage_time() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/include/krb5/ |
H A D | kdb.h | 262 int *nentries, 267 int *nentries, 274 int *nentries); 277 int *nentries ); 515 int *nentries);
|
/titanic_50/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_util.c | 441 int nentries; in open_db_and_mkey() local 466 nentries = 1; in open_db_and_mkey() 468 &master_entry, &nentries, &more))) { in open_db_and_mkey() 480 } else if (!nentries) { in open_db_and_mkey() 488 krb5_db_free_principal(util_context, &master_entry, nentries); in open_db_and_mkey()
|
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 961 int *nentries, /* how much room/how many found */ in krb5_db2_db_get_principal() argument 973 *nentries = 0; in krb5_db2_db_get_principal() 1010 *nentries = 0; in krb5_db2_db_get_principal() 1017 *nentries = 1; in krb5_db2_db_get_principal() 1031 int nentries) in krb5_db2_db_free_principal() argument 1034 for (i = 0; i < nentries; i++) in krb5_db2_db_free_principal() 1052 int *nentries, /* number of entry structs to update */ in krb5_db2_db_put_principal() argument 1077 n = *nentries; in krb5_db2_db_put_principal() 1078 *nentries = 0; in krb5_db2_db_put_principal() 1171 *nentries = i; in krb5_db2_db_put_principal() [all …]
|
H A D | kdb_db2.h | 131 register int *nentries, 137 int *nentries);
|
H A D | db2_exp.c | 151 int *nentries), 152 (context, searchfor, nentries));
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | hypervisor_api.h | 411 uint64_t nentries); 413 uint64_t *nentries); 418 uint64_t nentries); 420 uint64_t *nentries);
|
/titanic_50/usr/src/cmd/ssh/ssh-agent/ |
H A D | ssh-agent.c | 90 int nentries; member 138 idtable[i].nentries = 0; in idtab_init() 201 buffer_put_int(&msg, tab->nentries); in process_request_identities() 374 if (tab->nentries < 1) in process_remove_identity() 377 tab->nentries); in process_remove_identity() 380 tab->nentries--; in process_remove_identity() 404 tab->nentries = 0; in process_remove_all_identities() 430 tab->nentries--; in reaper() 538 tab->nentries++; in process_add_identity()
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 1526 size_t i, nentries = 0; in dt_aggregate_walk_sorted() local 1546 nentries++; in dt_aggregate_walk_sorted() 1548 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *)); in dt_aggregate_walk_sorted() 1559 dt_aggregate_qsort(dtp, sorted, nentries, in dt_aggregate_walk_sorted() 1567 qsort(sorted, nentries, sizeof (dt_ahashent_t *), sfunc); in dt_aggregate_walk_sorted() 1572 for (i = 0; i < nentries; i++) { in dt_aggregate_walk_sorted() 1671 size_t nentries = 0, nbundles = 0, start, zsize = 0, bundlesize; in dtrace_aggregate_walk_joined() local 1765 nentries++; in dtrace_aggregate_walk_joined() 1768 if (nentries == 0) { in dtrace_aggregate_walk_joined() 1949 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *)); in dtrace_aggregate_walk_joined() [all …]
|
/titanic_50/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 788 _real_getipsecprotos(int *nentries) in _real_getipsecprotos() argument 792 if (nentries == NULL) in _real_getipsecprotos() 798 *nentries = num_protos; in _real_getipsecprotos() 813 _real_getipsecalgs(int *nentries, int proto_num) in _real_getipsecalgs() argument 818 if (nentries == NULL) in _real_getipsecalgs() 826 *nentries = proto->proto_numalgs; in _real_getipsecalgs()
|
/titanic_50/usr/src/cmd/man/ |
H A D | makewhatis.c | 754 int nentries; in process_section() local 761 nentries = scandir(section_dir, &entries, NULL, alphasort); in process_section() 764 pages = (struct page_info **)calloc(nentries, in process_section() 766 for (i = 0; i < nentries; i++) { in process_section()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 325 tblp->nentries = npoints; in init_table() 345 entries = tbl->nentries; in y_of_x() 873 int i, j, nentries; in envd_setup_sensors() local 923 nentries = es_ptr->correctionEntries; in envd_setup_sensors() 925 if (nentries < 2) { in envd_setup_sensors() 931 sensorp->crtbl = init_table(nentries); in envd_setup_sensors() 940 for (j = 1; j < nentries; ++j) { in envd_setup_sensors() 958 for (j = 0; j < nentries; j++) in envd_setup_sensors()
|
/titanic_50/usr/src/lib/libipsecutil/common/ |
H A D | algs.c | 751 getipsecprotos(int *nentries) in getipsecprotos() argument 753 return (_real_getipsecprotos(nentries)); in getipsecprotos() 757 getipsecalgs(int *nentries, int proto_num) in getipsecalgs() argument 759 return (_real_getipsecalgs(nentries, proto_num)); in getipsecalgs()
|