Searched refs:tblsz (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 461 size_t tblsz; /* Size of the table to write */ in writelks() local 473 tblsz = tblcnt * sizeof (struct devlks); in writelks() 474 if (tblsz) in writelks() 475 if (!write(lkfilefd, locklist, tblsz) == (ssize_t)tblsz) in writelks()
|
/titanic_50/usr/src/uts/sun4u/montecarlo/io/ |
H A D | pcf8591_nct.c | 1083 uint_t tblsz; in pcf8591_read_props() local 1209 tblsz = (sizeof (_cpu_temps) / sizeof (uchar_t)); in pcf8591_read_props() 1210 if (prop_len <= tblsz) { in pcf8591_read_props() 1218 "tables prop_len=%d\n", tblsz, prop_len); in pcf8591_read_props()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 140 int tblsz; in mdeg_init() local 155 tblsz = mdeg.maxclnts * sizeof (mdeg_clnt_t); in mdeg_init() 156 mdeg.tbl = kmem_zalloc(tblsz, KM_SLEEP); in mdeg_init()
|
H A D | ds_common.c | 2864 int tblsz; in ds_init_svcs_tbl() local 2868 tblsz = ds_svcs.maxsvcs * sizeof (ds_svc_t *); in ds_init_svcs_tbl() 2869 ds_svcs.tbl = (ds_svc_t **)DS_MALLOC(tblsz); in ds_init_svcs_tbl()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 254 lookup_dispatch(int id, const dispatch_t *tbl, int tblsz) in lookup_dispatch() argument 263 if (id < (tblsz - 1)) { in lookup_dispatch() 273 for (i = tblsz - 1; i >= 0; i--) { in lookup_dispatch()
|
/titanic_50/usr/src/uts/common/fs/lofs/ |
H A D | lofs_subr.c | 66 #define ltablehash(vp, tblsz) ((((intptr_t)(vp))>>10) & ((tblsz)-1)) argument
|
/titanic_50/usr/src/uts/sun4u/javelin/io/ |
H A D | envctrltwo.c | 277 uint_t len, tblsz; in envctrl_attach() local 281 status = len = tblsz = 0; in envctrl_attach() 426 tblsz = (sizeof (_cpu_temps) / sizeof (uchar_t)); in envctrl_attach() 428 if (len <= tblsz && status == DDI_PROP_SUCCESS) { in envctrl_attach() 444 tblsz = (sizeof (_cpu_fan_speeds) / sizeof (uchar_t)); in envctrl_attach() 446 if (len <= tblsz && status == DDI_PROP_SUCCESS) { in envctrl_attach()
|
/titanic_50/usr/src/uts/sun4u/tazmo/io/ |
H A D | envctrl.c | 421 uint_t len, tblsz; in envctrl_attach() local 425 status = len = tblsz = 0; in envctrl_attach() 579 tblsz = (sizeof (acme_cpu_fanspd) / sizeof (short)); in envctrl_attach() 581 if (len <= tblsz) { in envctrl_attach() 595 tblsz = (sizeof (acme_ps_fanspd) / sizeof (short)); in envctrl_attach() 597 if (len <= tblsz) { in envctrl_attach()
|