Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport.c1170 uint_t nmax; in port_getn() local
1369 nmax = max < portq->portq_nent ? max : portq->portq_nent; in port_getn()
1389 if (nmax == 0) { in port_getn()
1392 kevp = kmem_alloc(eventsz * nmax, KM_NOSLEEP); in port_getn()
1394 if (nmax > pp->port_max_list) in port_getn()
1395 nmax = pp->port_max_list; in port_getn()
1396 kevp = kmem_alloc(eventsz * nmax, KM_SLEEP); in port_getn()
1402 for (nevents = 0; nevents < nmax; ) { in port_getn()
1437 if (nmax == 0) { in port_getn()
1440 kevp32 = kmem_alloc(eventsz * nmax, KM_NOSLEEP); in port_getn()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dstring_decim.c35 string_to_decimal(char **ppc, int nmax, int fortran_conventions, in string_to_decimal() argument
47 if (nread < nmax) { \ in string_to_decimal()
H A Dfunc_decim.c35 func_to_decimal(char **ppc, int nmax, int fortran_conventions, in func_to_decimal() argument
46 if (nread < nmax) { \ in func_to_decimal()
H A Dfile_decim.c50 file_to_decimal(char **ppc, int nmax, int fortran_conventions, in file_to_decimal() argument
61 if (nread < nmax) { \ in file_to_decimal()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c740 const size_t nmax = ptrlist[ibe]->be_node_num_snapshots; in be_sort_list() local
742 malloc(sizeof (be_snapshot_list_t *) * (nmax + 1)); in be_sort_list()
751 ns < nmax && p != NULL; in be_sort_list()
770 const size_t nmax = ptrlist[ibe]->be_node_num_datasets; in be_sort_list() local
772 malloc(sizeof (be_dataset_list_t *) * (nmax + 1)); in be_sort_list()
781 ns < nmax && p != NULL; in be_sort_list()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c776 int nmax = nammax < slen ? nammax : slen; in cf_read_name() local
781 namlen < nmax && (slen-namlen < FS_DIR_SEP_LEN || in cf_read_name()
/illumos-gate/usr/src/cmd/more/
H A Dmore.c218 static void ttyin(char buf[], register int nmax, char pchar);
1601 ttyin(char buf[], register int nmax, char pchar) in ttyin() argument
1615 while (sptr - buf < nmax) { in ttyin()
1689 if (sptr - buf >= nmax - 1) in ttyin()
/illumos-gate/usr/src/uts/intel/os/
H A Dcpuid.c4865 uint_t n, nmax; in cpuid_pass_extended() local
4875 if ((nmax = cpi->cpi_maxeax + 1) > NMAX_CPI_STD) in cpuid_pass_extended()
4876 nmax = NMAX_CPI_STD; in cpuid_pass_extended()
4880 for (n = 2, cp = &cpi->cpi_std[2]; n < nmax; n++, cp++) { in cpuid_pass_extended()
5213 if ((nmax = cpi->cpi_xmaxeax - CPUID_LEAF_EXT_0 + 1) > NMAX_CPI_EXTD) in cpuid_pass_extended()
5214 nmax = NMAX_CPI_EXTD; in cpuid_pass_extended()
5221 for (n = 2, cp = &cpi->cpi_extd[2]; n < nmax; cp++, n++) { in cpuid_pass_extended()
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c1014 size_t nmax = urpw->urpw_max ? (urpw->urpw_max << 1) : 1; in umem_read_ptc_walk_buf() local
1015 void **new = mdb_zalloc(nmax * sizeof (void *), UM_SLEEP); in umem_read_ptc_walk_buf()
1017 if (nmax > 1) { in umem_read_ptc_walk_buf()
1024 urpw->urpw_max = nmax; in umem_read_ptc_walk_buf()