Home
last modified time | relevance | path

Searched refs:newmax (Results 1 – 9 of 9) sorted by relevance

/freebsd-9-stable/sys/fs/nfsclient/
Dnfs_clnfsiod.c134 int iod, newmax; in sysctl_iodmax() local
136 newmax = ncl_iodmax; in sysctl_iodmax()
137 error = sysctl_handle_int(oidp, &newmax, 0, req); in sysctl_iodmax()
140 if (newmax > NFS_MAXASYNCDAEMON) in sysctl_iodmax()
143 ncl_iodmax = newmax; in sysctl_iodmax()
/freebsd-9-stable/sys/nfsclient/
Dnfs_nfsiod.c133 int iod, newmax; in sysctl_iodmax() local
135 newmax = nfs_iodmax; in sysctl_iodmax()
136 error = sysctl_handle_int(oidp, &newmax, 0, req); in sysctl_iodmax()
139 if (newmax > NFS_MAXASYNCDAEMON) in sysctl_iodmax()
142 nfs_iodmax = newmax; in sysctl_iodmax()
/freebsd-9-stable/contrib/ntp/lib/isc/
Dsymtab.c191 unsigned int i, newsize, newmax; in grow_table() local
196 newmax = newsize * 3 / 4; in grow_table()
197 INSIST(newsize > 0U && newmax > 0U); in grow_table()
225 symtab->maxload = newmax; in grow_table()
/freebsd-9-stable/contrib/bind9/lib/isc/
Dsymtab.c193 unsigned int i, newsize, newmax; in grow_table() local
198 newmax = newsize * 3 / 4; in grow_table()
199 INSIST(newsize > 0U && newmax > 0U); in grow_table()
227 symtab->maxload = newmax; in grow_table()
/freebsd-9-stable/usr.bin/yacc/
Doutput.c1325 int newmax; in increase_maxtable() local
1328 newmax = maxtable; in increase_maxtable()
1330 do { newmax += 200; } while (newmax <= loc); in increase_maxtable()
1331 table = realloc(table, newmax*sizeof(short)); in increase_maxtable()
1333 check = realloc(check, newmax*sizeof(short)); in increase_maxtable()
1335 for (l = maxtable; l < newmax; ++l) in increase_maxtable()
1341 return(newmax); in increase_maxtable()
/freebsd-9-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
Dtdata.c353 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() argument
355 (void) list_iter(td->td_labels, tdata_label_newmax_cb, &newmax); in tdata_label_newmax()
/freebsd-9-stable/bin/ps/
Dps.c1095 int newmax; in expand_list() local
1097 newmax = (inf->maxcount + 1) << 1; in expand_list()
1098 newlist = realloc(inf->l.ptr, newmax * inf->elemsize); in expand_list()
1101 errx(1, "realloc to %d %ss failed", newmax, inf->lname); in expand_list()
1103 inf->maxcount = newmax; in expand_list()
/freebsd-9-stable/sys/netinet6/
Din6_mcast.c230 size_t newmax; in im6o_grow() local
238 newmax = ((oldmax + 1) * 2) - 1; in im6o_grow()
240 if (newmax <= IPV6_MAX_MEMBERSHIPS) { in im6o_grow()
242 sizeof(struct in6_multi *) * newmax, M_IP6MOPTS, M_NOWAIT); in im6o_grow()
244 sizeof(struct in6_mfilter) * newmax, M_IN6MFILTER, in im6o_grow()
248 for (idx = oldmax; idx < newmax; idx++) { in im6o_grow()
252 imo->im6o_max_memberships = newmax; in im6o_grow()
/freebsd-9-stable/sys/netinet/
Din_mcast.c234 size_t newmax; in imo_grow() local
242 newmax = ((oldmax + 1) * 2) - 1; in imo_grow()
244 if (newmax <= IP_MAX_MEMBERSHIPS) { in imo_grow()
246 sizeof(struct in_multi *) * newmax, M_IPMOPTS, M_NOWAIT); in imo_grow()
248 sizeof(struct in_mfilter) * newmax, M_INMFILTER, M_NOWAIT); in imo_grow()
251 for (idx = oldmax; idx < newmax; idx++) { in imo_grow()
255 imo->imo_max_memberships = newmax; in imo_grow()