Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c460 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 Dmptbl.h33 void mptable_add_oemtbl(void *tbl, int tblsz);
H A Dmptbl.c291 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 Dmdeg.c140 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 Dds_common.c2864 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 Dsnoop_sctp.c252 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 Dlofs_subr.c69 #define ltablehash(vp, tblsz) ((((intptr_t)(vp))>>10) & ((tblsz)-1)) argument
/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c277 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 Denvctrl.c421 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()