Searched refs:newcnt (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/uts/common/inet/sockmods/ |
H A D | socksctpsubr.c | 99 sctp_assoc_t newcnt, oldcnt; in sosctp_aid_grow() local 103 for (newcnt = 1; newcnt <= maxid; newcnt = (newcnt << 1) | 1) { in sosctp_aid_grow() 108 newlist = kmem_alloc(newcnt * sizeof (struct sctp_sa_id), kmflags); in sosctp_aid_grow() 114 if (newcnt <= oldcnt) { in sosctp_aid_grow() 115 kmem_free(newlist, newcnt * sizeof (struct sctp_sa_id)); in sosctp_aid_grow() 118 ASSERT((newcnt & (newcnt + 1)) == 0); in sosctp_aid_grow() 121 ss->ss_maxassoc = newcnt; in sosctp_aid_grow() 125 (newcnt - oldcnt) * sizeof (struct sctp_sa_id)); in sosctp_aid_grow()
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex_vadj.c | 954 vreplace(int l, int cnt, int newcnt) in vreplace() argument 961 tfixnl(), fprintf(trace, "vreplace(%d, %d, %d)\n", l, cnt, newcnt); in vreplace() 995 if (newcnt < 0) in vreplace() 996 newcnt = 0; in vreplace() 1002 if (cnt > value(vi_REPORT) || newcnt > value(vi_REPORT)) in vreplace() 1011 if (cnt == newcnt || vcnt - l == newcnt && insert_line && delete_line) { in vreplace() 1014 vdirty(l, newcnt); in vreplace() 1039 if (newcnt > 0) { in vreplace() 1045 if (newcnt > 1 && l + newcnt > vcnt + 1) in vreplace() 1052 if (l + newcnt > WBOT && insert_line && delete_line) { in vreplace() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | fio.c | 340 int newcnt, oldcnt; in flist_grow() local 344 for (newcnt = 1; newcnt <= maxfd; newcnt = (newcnt << 1) | 1) in flist_grow() 347 newlist = kmem_zalloc(newcnt * sizeof (uf_entry_t), KM_SLEEP); in flist_grow() 351 if (newcnt <= oldcnt) { in flist_grow() 353 kmem_free(newlist, newcnt * sizeof (uf_entry_t)); in flist_grow() 356 ASSERT((newcnt & (newcnt + 1)) == 0); in flist_grow() 412 fip->fi_nfiles = newcnt; in flist_grow()
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgdbmerg.c | 1104 int newcnt, oldcnt; in chgclass() local 1112 newcnt = 1; in chgclass() 1125 newcnt++; in chgclass() 1131 if (newcnt > oldcnt) { in chgclass()
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsadmin/ |
H A D | cfsadmin.c | 107 int resource_file_grow(char *dirp, int oldcnt, int newcnt); 891 resource_file_grow(char *dirp, int oldcnt, int newcnt) in resource_file_grow() argument 906 cachefs_resource_size(newcnt, &rnew); in resource_file_grow()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_export.c | 289 int newcnt, int is_pseudo) in srv_secinfo_add() argument 301 ASSERT(newcnt > 0); in srv_secinfo_add() 302 tcnt = ccnt + newcnt; in srv_secinfo_add() 304 for (n = 0; n < newcnt; n++) { in srv_secinfo_add() 329 for (n = 0; n < newcnt; n++) { in srv_secinfo_add() 1039 int newcnt; in exportfs() local 1534 newcnt = build_seclist_nodups(&exi->exi_export, newsec, FALSE); in exportfs() 1536 srv_secinfo_treeclimb(exi, newsec, newcnt, TRUE); in exportfs()
|
/titanic_41/usr/src/uts/i86pc/vm/ |
H A D | vm_machdep.c | 2102 int i, newcnt = 0; in compact_contig_pfn_list() local 2119 contig_pfn_list[newcnt++] = pfn; in compact_contig_pfn_list() 2120 contig_pfn_list[newcnt++] = lapfn; in compact_contig_pfn_list() 2123 for (i = newcnt; i < contig_pfn_cnt; i++) in compact_contig_pfn_list() 2125 contig_pfn_cnt = newcnt; in compact_contig_pfn_list()
|