Searched refs:newmax (Results 1 – 6 of 6) sorted by relevance
| /netbsd/src/games/sail/ |
| D | array.c | 75 unsigned newmax; in array_setsize() local 78 newmax = a->max; in array_setsize() 79 while (num > newmax) { in array_setsize() 80 newmax = newmax ? newmax*2 : 4; in array_setsize() 82 if (reallocarr(&a->v, newmax, sizeof(*a->v)) != 0) in array_setsize() 84 a->max = newmax; in array_setsize()
|
| /netbsd/src/sys/fs/nfs/client/ |
| D | nfs_clnfsiod.c | 136 int iod, newmax; in sysctl_iodmax() local 138 newmax = ncl_iodmax; in sysctl_iodmax() 139 error = sysctl_handle_int(oidp, &newmax, 0, req); in sysctl_iodmax() 142 if (newmax > NFS_MAXASYNCDAEMON) in sysctl_iodmax() 145 ncl_iodmax = newmax; in sysctl_iodmax()
|
| /netbsd/src/lib/libquota/ |
| D | quota_oldfiles.c | 99 unsigned newmax; in __quota_oldfiles_add_fstabentry() local 104 newmax = 4; in __quota_oldfiles_add_fstabentry() 106 newmax = __quota_oldfiles_maxfstab * 2; in __quota_oldfiles_add_fstabentry() 109 newmax * sizeof(__quota_oldfiles_fstab[0])); in __quota_oldfiles_add_fstabentry() 113 __quota_oldfiles_maxfstab = newmax; in __quota_oldfiles_add_fstabentry()
|
| /netbsd/src/external/bsd/byacc/dist/ |
| D | output.c | 846 int newmax; in pack_vector() local 872 newmax = maxtable; in pack_vector() 875 newmax += 200; in pack_vector() 877 while (newmax <= loc); in pack_vector() 879 table = TREALLOC(Value_t, table, newmax); in pack_vector() 882 check = TREALLOC(Value_t, check, newmax); in pack_vector() 885 for (l = maxtable; l < newmax; ++l) in pack_vector() 890 maxtable = newmax; in pack_vector()
|
| /netbsd/src/sys/kern/ |
| D | tty_pty.c | 324 pty_maxptys(int newmax, int set) in pty_maxptys() argument 339 if (newmax >= npty) in pty_maxptys() 340 maxptys = newmax; in pty_maxptys() 342 newmax = 0; in pty_maxptys() 346 return newmax; in pty_maxptys()
|
| /netbsd/src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| D | tdata.c | 360 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() argument 362 (void) list_iter(td->td_labels, tdata_label_newmax_cb, &newmax); in tdata_label_newmax()
|