/illumos-gate/usr/src/lib/libsec/common/ |
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 | 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 | 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/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/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/krb5/kadmin/dbutil/ |
H A D | kdb5_create.c | 474 int nentries = 1; local 532 retval = krb5_db_put_principal(context, &entry, &nentries);
|
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/lib/krb5/kdb/ |
H A D | kdb_convert.c | 292 int nentries) 311 for (k = 0; k < nentries; k++) { 602 int nentries) 614 for (k = 0; k < nentries; k++) { 290 ulog_conv_2logentry(krb5_context context, krb5_db_entry *entries, kdb_incr_update_t *updates, int nentries) argument 600 ulog_conv_2dbentry(krb5_context context, krb5_db_entry *entries, kdb_incr_update_t *updates, int nentries) argument
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_kpm.c | 213 hat_kpm_mseghash_clear(int nentries) argument
|
/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/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/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;
|
/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/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/uts/common/fs/zfs/ |
H A D | zap_leaf.c | 863 int nentries = 0; local 877 nentries++; 880 n = nentries;
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_acl.c | 832 * nentries - # acl entries on the list 840 acl_validate(aclent_t *aclentp, int nentries, int flag) argument 861 if (nentries <= 0) 864 for (i = 1; i < nentries; i++) { 876 for (i = 0; i < nentries; i++) {
|
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | lun_map.c | 750 int nentries; local 768 nentries = max(dst->lm_nentries, src->lm_nentries); 774 nentries = src->lm_nentries; 780 p = (void **)kmem_zalloc(nentries * sizeof (void *), KM_SLEEP); 789 (*pp_ret_map)->lm_nentries = nentries;
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
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/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 1696 int nentries, i; local 1700 nentries = scandir(dir, &entry_list, NULL, NULL); 1701 if (nentries == -1) 1704 for (i = 0; i < nentries; i++) { 1728 for (; i < nentries; i++)
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_kpm.c | 357 hat_kpm_mseghash_clear(int nentries) argument 364 for (i = 0; i < nentries; i++)
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 367 int nentries = 0; local 517 nentries++; 528 return (smb_netgroup_match(clnames, access_list, nentries));
|
/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/cmd/nscd/ |
H A D | cache.c | 2078 ulong_t nentries; local 2154 nentries = ++(ctx->stats.entries); 2158 if (cfgp->maxentries > 0 && nentries > cfgp->maxentries) { 2259 ulong_t count, nentries, maxentries; local 2316 nentries = avl_numnodes(&nscdb->tree); 2318 slot < _NSC_HTSIZE_NUM_SLOTS && nentries > value; 2371 nentries = ctx->stats.entries; 2375 value = (nentries * 100) / maxentries;
|