Home
last modified time | relevance | path

Searched refs:maxsz (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c705 size_t maxsz = AV1394_IXL_BUFSZ_MAX; in av1394_ic_ixl_seg_decomp() local
707 ASSERT(segsz >= maxsz); in av1394_ic_ixl_seg_decomp()
710 if (segsz % maxsz == 0) { in av1394_ic_ixl_seg_decomp()
711 *tailszp = *bufszp = maxsz; in av1394_ic_ixl_seg_decomp()
715 maxsz /= pktsz; in av1394_ic_ixl_seg_decomp()
718 nbufs = segsz / maxsz; in av1394_ic_ixl_seg_decomp()
723 } while ((tailsz > maxsz) && ((segsz / (nbufs + 1)) > 1)); in av1394_ic_ixl_seg_decomp()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c1326 int maxsz; in write_vc() local
1328 maxsz = ct->ct_tsdu; in write_vc()
1338 if (maxsz > 0 && len > maxsz) { in write_vc()
1358 if ((maxsz == 0) || (maxsz == -1)) { in write_vc()
1377 flag = cnt > maxsz ? T_MORE : 0; in write_vc()
1378 if ((i = t_snd(ct->ct_fd, buf, (unsigned)MIN(cnt, maxsz), in write_vc()
H A Dsvc_vc.c1531 int maxsz; in write_vc() local
1536 maxsz = ((struct cf_conn *)(xprt->xp_p1))->cf_tsdu; in write_vc()
1539 if (nonblock && maxsz <= 0) in write_vc()
1540 maxsz = len; in write_vc()
1541 if ((maxsz == 0) || (maxsz == -1)) { in write_vc()
1579 flag = cnt > maxsz ? T_MORE : 0; in write_vc()
1581 (unsigned)MIN(cnt, maxsz), flag)) == -1) { in write_vc()
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmdvar.h818 extern int md_validate_devid(set_t setno, side_t side, int *maxsz);
819 extern int md_get_invdid(set_t setno, side_t side, int cnt, int maxsz,
H A Dmdio.h288 int maxsz; /* return max size of invalid device id */ member
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c2371 int maxsz = 0; in md_validate_devid() local
2378 if ((cnt = mddb_validate_lb(setno, &maxsz)) == -1) { in md_validate_devid()
2399 *rmaxsz = maxsz; in md_validate_devid()
2406 *rmaxsz = maxsz; in md_validate_devid()
2413 *rmaxsz = maxsz; in md_validate_devid()
2456 if (maxsz < len) in md_validate_devid()
2457 maxsz = len; in md_validate_devid()
2461 *rmaxsz = maxsz; in md_validate_devid()
H A Dmd_ioctl.c953 cnt = md_validate_devid(ds->setno, ds->side, &ds->maxsz); in didstat_ioctl()
958 if (md_get_invdid(ds->setno, ds->side, ds->cnt, ds->maxsz, in didstat_ioctl()
1433 sz2 = (d1->cnt * d1->maxsz) + 1; in mddb_didstat_from_user()
1470 sz2 = (d1->cnt * d1->maxsz) + 1; in mddb_didstat_to_user()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockfilter.c344 socklen_t maxsz = *optlenp; in sof_getsockopt_impl() local
353 if (maxsz < sizeof (*fi)) in sof_getsockopt_impl()
360 inst != NULL && (i+1) * sizeof (*fi) <= maxsz; in sof_getsockopt_impl()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c1880 "exceeds device maximum", tnf_uint, maxsz, maxval); in tavor_soft_state_init()
1927 "exceeds device maximum", tnf_uint, maxsz, maxval); in tavor_soft_state_init()
1951 "exceeds device maximum", tnf_uint, maxsz, maxval); in tavor_soft_state_init()
1999 "exceeds device maximum", tnf_uint, maxsz, maxval); in tavor_soft_state_init()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_devadm.c861 if ((ctdptr = (char *)Malloc((ds.cnt * ds.maxsz) + 1)) == 0) { in pathname_reload()
881 ctdp += ds.maxsz; in pathname_reload()
/titanic_41/usr/src/uts/common/io/uath/
H A Duath.c847 int ncmd, int maxsz) in uath_alloc_cmd_list() argument
856 cmd->buf = kmem_zalloc(maxsz, KM_NOSLEEP); in uath_alloc_cmd_list()