/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclsort.c | 80 aclsort(int nentries, int calcmask, aclent_t *aclbufp) argument 89 if (aclcheck(aclbufp, nentries, &which) != 0) 100 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 110 qsort(aclbufp, nentries, sizeof (aclent_t), 113 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 128 sortid(aclbufp, nentries, USER); 129 sortid(aclbufp, nentries, GROUP); 130 sortid(aclbufp, nentries, DEF_USER); 131 sortid(aclbufp, nentries, DEF_GROUP);
|
H A D | aclmode.c | 38 acltomode(aclent_t *aclbufp, int nentries, mode_t *modep) argument 48 if (aclcheck(aclbufp, nentries, &which) != 0) { 52 for (tp = aclbufp; nentries--; tp++) { 89 aclfrommode(aclent_t *aclbufp, int nentries, mode_t *modep) argument 98 if (aclcheck(aclbufp, nentries, &which) != 0) { 102 for (tp = aclbufp; nentries--; tp++) {
|
H A D | aclcheck.c | 71 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) argument 81 for (aclentp = aclbufp; nentries > 0; nentries--, aclentp++) { 147 *idp = calloc(nentries, sizeof (uid_t)); 263 aclcheck(aclent_t *aclbufp, int nentries, int *which) argument 265 return (aclent_aclcheck(aclbufp, nentries, which, 1));
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | handles.c | 42 int nentries; variable 51 idx = nentries; 52 nentries += count; 53 sz = nentries * sizeof(struct entry); 55 for (unit = 0; idx < nentries; idx++, unit++) { 72 for (idx = 0; idx < nentries; idx++) { 87 for (idx = 0; idx < nentries; idx++) { 107 for (idx = 0; idx < nentries; idx++) {
|
/illumos-gate/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) argument 85 error = cacl(cmd, nentries, aclbufp, vp, &rv); 99 facl(int fdes, int cmd, int nentries, void *aclbufp) argument 112 error = cacl(cmd, nentries, aclbufp, fp->f_vnode, &rv); 125 cacl(int cmd, int nentries, void *aclbufp, vnode_t *vp, int *rv) argument 168 if (nentries < 3) 183 if (numacls > nentries) { 231 if (vsecattr.vsa_aclcnt > nentries) { 257 if (nentries < [all...] |
/illumos-gate/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); 392 u_int32_t i, j, nentries, *mymap, *tmpmap; local 472 u_int32_t i, j, *mymap, nentries; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs_log.c | 176 uint64_t nentries; /* number of mapentries */ member in struct:__anon942 188 if (msp->nentries == 0) { 195 msp->nentries++; 224 mdb_printf("Number of entries 0x%llx\n", msp->nentries); 231 if (msp->nentries) {
|
/illumos-gate/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 in struct:smf_uuid_cache 103 n = (uuid_cache == NULL ? 0 : uuid_cache->nentries) + CACHE_NENT_INC; 109 newcache->nentries = n; 112 uint32_t oldn = uuid_cache->nentries; 129 (uuid_cache->nentries - 1) * sizeof (struct smf_uuid_cache_ent); 150 for (i = 0; i < uuid_cache->nentries; i++) { 224 for (i = 0; i < uuid_cache->nentries; i++) { 230 for (i = 0; i < uuid_cache->nentries; i++) { 238 uint32_t oldn = uuid_cache->nentries; 281 for (i = 0; i < uuid_cache->nentries; [all...] |
/illumos-gate/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);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal.c | 129 krb5_ldap_free_principal(kcontext , entries, nentries) 132 int nentries; 135 for (i = 0; i < nentries; i++) 257 krb5_ldap_delete_principal(context, searchfor, nentries) 260 int *nentries; /* how many found & deleted */ 281 if ((st=krb5_ldap_get_principal(context, searchfor, &entries, nentries, &more)) != 0 || *nentries == 0) 388 krb5_ldap_free_principal(context, &entries, *nentries);
|
H A D | ldap_principal2.c | 81 krb5_ldap_get_principal(context, searchfor, entries, nentries, more) 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) 455 register int *nentries; /* numbe [all...] |
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 111 int nentries; local 121 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); 124 endoff = (nentries + 2) * FDSDSIZE; 147 for (i = minfd; i < MIN(maxfd, nentries); i++) { 233 int reclen, nentries; local 250 nentries = MIN(P_FINFO(curproc)->fi_nfiles, (int)fdno_ctl); 270 if ((n = (off-2*FDSDSIZE)/FDSDSIZE) >= nentries) 299 *eofp = ((uiop->uio_offset-2*FDSDSIZE)/FDSDSIZE >= nentries);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
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));
|
H A D | kdb_db2.c | 961 int *nentries, /* how much room/how many found */ 973 *nentries = 0; 1010 *nentries = 0; 1017 *nentries = 1; 1031 int nentries) 1034 for (i = 0; i < nentries; i++) 1040 Stores the *"nentries" entry structures pointed to by "entries" in the 1043 *"nentries" is updated upon return to reflect the number of records 1052 int *nentries, /* number of entry structs to update */ 1077 n = *nentries; 958 krb5_db2_db_get_principal(krb5_context context, krb5_const_principal searchfor, krb5_db_entry *entries, int *nentries, krb5_boolean *more) argument 1030 krb5_db2_db_free_principal(krb5_context context, krb5_db_entry *entries, int nentries) argument 1050 krb5_db2_db_put_principal(krb5_context context, krb5_db_entry *entries, int *nentries, char **db_args) argument 1181 krb5_db2_db_delete_principal(krb5_context context, krb5_const_principal searchfor, int *nentries) argument [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | usage.c | 579 update_pe(net_plot_entry_t *pe, net_stat_t *nns, int nentries, argument 584 for (count = 0; count < nentries; count++) { 588 if (count == nentries) 1197 int nentries = 0, pentries = 0; local 1227 nentries = net_table->net_entries; 1234 for (count = 0; count < nentries; count++) { 1240 clear_pe(pe, nentries, &pentries); 1243 /* add_pe_to_file(fn, pe, ns, nentries, arg); */ 1261 add_pe_to_file(fn, pe, ns, nentries, 1263 clear_pe(pe, nentries, [all...] |
/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_util.c | 441 int nentries; local 466 nentries = 1; 468 &master_entry, &nentries, &more))) { 480 } else if (!nentries) { 488 krb5_db_free_principal(util_context, &master_entry, nentries);
|
/illumos-gate/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);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 1532 size_t i, nentries = 0; local 1552 nentries++; 1554 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *)); 1565 dt_aggregate_qsort(dtp, sorted, nentries, 1573 qsort(sorted, nentries, sizeof (dt_ahashent_t *), sfunc); 1578 for (i = 0; i < nentries; i++) { 1677 size_t nentries = 0, nbundles = 0, start, zsize = 0, bundlesize; local 1771 nentries++; 1774 if (nentries == 0) { 1848 * (or nentries woul [all...] |
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | algs.c | 751 getipsecprotos(int *nentries) argument 753 return (_real_getipsecprotos(nentries)); 757 getipsecalgs(int *nentries, int proto_num) argument 759 return (_real_getipsecalgs(nentries, proto_num));
|
/illumos-gate/usr/src/cmd/man/ |
H A D | makewhatis.c | 754 int nentries; local 761 nentries = scandir(section_dir, &entries, NULL, alphasort); 764 pages = (struct page_info **)calloc(nentries, 766 for (i = 0; i < nentries; i++) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 325 tblp->nentries = npoints; 345 entries = tbl->nentries; 873 int i, j, nentries; local 923 nentries = es_ptr->correctionEntries; 925 if (nentries < 2) { 931 sensorp->crtbl = init_table(nentries); 940 for (j = 1; j < nentries; ++j) { 958 for (j = 0; j < nentries; j++)
|
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 788 _real_getipsecprotos(int *nentries) argument 792 if (nentries == NULL) 798 *nentries = num_protos; 813 _real_getipsecalgs(int *nentries, int proto_num) argument 818 if (nentries == NULL) 826 *nentries = proto->proto_numalgs;
|