Searched refs:tblsz (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 460 size_t tblsz; /* Size of the table to write */ in writelks() local 472 tblsz = tblcnt * sizeof (struct devlks); in writelks() 473 if (tblsz) { in writelks() 474 if (write(lkfilefd, locklist, tblsz) != (ssize_t)tblsz) in writelks()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | mptbl.h | 33 void mptable_add_oemtbl(void *tbl, int tblsz);
|
H A D | mptbl.c | 291 mptable_add_oemtbl(void *tbl, int tblsz) in mptable_add_oemtbl() argument 295 oem_tbl_size = tblsz; in mptable_add_oemtbl()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 252 lookup_dispatch(int id, const dispatch_t *tbl, int tblsz) in lookup_dispatch() argument 261 if (id < (tblsz - 1)) { in lookup_dispatch() 271 for (i = tblsz - 1; i >= 0; i--) { in lookup_dispatch()
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_subr.c | 69 #define ltablehash(vp, tblsz) ((((intptr_t)(vp))>>10) & ((tblsz)-1)) argument
|
/illumos-gate/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()
|
/illumos-gate/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()
|