Searched refs:tb (Results 1 - 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-os-pal.h67 #define __xge_trace(tb) { \
68 int msgsize = xge_os_strlen(tb->msg) + 2; \
69 int offset = tb->offset; \
70 if (msgsize != 2 && msgsize < tb->msgbuf_max) { \
71 int leftsize = tb->size - offset; \
72 if ((msgsize + tb->msgbuf_max) > leftsize) { \
73 xge_os_memzero(tb->data + offset, leftsize); \
75 tb->wrapped_once = 1; \
77 xge_os_memcpy(tb->data + offset, tb
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctdisk.c42 struct tacct tb; variable in typeref:struct:tacct
50 tb.ta_dc = 1;
52 &tb.ta_uid,
54 &tb.ta_du)) == 3) {
56 CPYN(tb.ta_name, ntmp);
57 fwrite(&tb, sizeof (tb), 1, stdout);
H A Dacctcon2.c43 struct tacct tb; variable in typeref:struct:tacct
48 tb.ta_sc = 1;
57 tb.ta_uid = cb.ct_uid;
58 CPYN(tb.ta_name, cb.ct_name);
59 tb.ta_con[0] = MINS(cb.ct_con[0]);
60 tb.ta_con[1] = MINS(cb.ct_con[1]);
61 fwrite(&tb, sizeof (tb), 1, stdout);
H A Dacctprc2.c46 struct tacct tb; variable in typeref:struct:tacct
131 tb.ta_uid = (*(struct utab **)node)->ut_uid;
132 CPYN(tb.ta_name, (*(struct utab **)node)->ut_name);
133 tb.ta_cpu[0] = ((*(struct utab **)node)->ut_cpu[0]);
134 tb.ta_cpu[1] = ((*(struct utab **)node)->ut_cpu[1]);
135 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0];
136 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1];
137 tb.ta_pc = (*(struct utab **)node)->ut_pc;
138 fwrite(&tb, sizeof(tb),
[all...]
H A Dacctprc.c51 struct tacct tb; variable in typeref:struct:tacct
158 tb.ta_uid = (*(struct utab **)node)->ut_uid;
159 CPYN(tb.ta_name, (char *)uidtonam((*(struct utab **)node)->ut_uid));
160 tb.ta_cpu[0] = (*(struct utab **)node)->ut_cpu[0];
161 tb.ta_cpu[1] = (*(struct utab **)node)->ut_cpu[1];
162 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0];
163 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1];
164 tb.ta_pc = (*(struct utab **)node)->ut_pc;
165 fwrite(&tb, sizeof(tb),
[all...]
H A Dacctmerg.c56 struct tacct tb[NFILE]; /* current record from each file */ variable in typeref:struct:tacct
121 prtacct(&tb[i]);
150 for (tp = tb; tp <= &tb[nfile]; tp++) {
175 getnext(tp-&tb[0]); /* get next one in same file */
176 while (tp <= &tb[nfile])
182 getnext(tp-&tb[0]);
222 tp = &tb[i];
H A Dacctcon.c55 struct tacct tb; variable in typeref:struct:tacct
501 tb.ta_uid = (*(struct ctab **)node)->ct_uid;
502 CPYN(tb.ta_name, (*(struct ctab **)node)->ct_name);
503 tb.ta_con[0] = ((*(struct ctab **)node)->ct_con[0]) / 60.0;
504 tb.ta_con[1] = ((*(struct ctab **)node)->ct_con[1]) / 60.0;
505 tb.ta_sc = (*(struct ctab **)node)->ct_sess;
506 fwrite(&tb, sizeof (tb), 1, stdout);
/illumos-gate/usr/src/cmd/fs.d/nfs/dfmounts/
H A Ddfmounts.c121 struct mountbody **tb, **endtb; local
175 tb = table;
176 for (; ml != NULL && tb < &table[NTABLEENTRIES]; ml = ml->ml_next)
177 *tb++ = ml;
178 if (ml != NULL && tb == &table[NTABLEENTRIES])
181 endtb = tb;
190 for (tb = table; tb < endtb; tb++) {
191 if (*((*tb)
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstring.c66 stringtable *tb = &G(L)->strt; local
69 if (newsize > tb->size) {
70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *);
71 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL;
74 for (i=0; i<tb->size; i++) {
75 GCObject *p = tb->hash[i];
76 tb->hash[i] = NULL;
80 gch(p)->next = tb
119 stringtable *tb = &G(L)->strt; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c79 struct mountbody **tb; /* pointer into table */ local
190 for (ml = result_list, tb = &table[0];
192 ml = ml->ml_next, tb++) {
193 *tb = ml;
205 for (tb = table; tb < table + numentries; tb++)
206 printf("%s:%s\n", (*tb)->ml_hostname,
207 (*tb)->ml_directory);
210 for (tb
[all...]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dlog2.c199 double *tb, s; local
201 tb = (double *) _TBL_log + (i + i + i);
204 s = (x - tb[0]) * tb[1];
205 return (LGH * tb[2] - (LGL * tb[2] - ((B1 * s) *
211 double *tb, dn, s; local
219 tb = (double *) _TBL_log + (i + i + i);
220 s = (x - tb[0]) * tb[
[all...]
H A Dlog10.c154 double *tb, dn, dn1, s, z, r, w; local
197 tb = (double *)_TBL_log + (i + i + i);
198 s = (x - tb[0]) * tb[1];
199 return (LGH * tb[2] - (LGL * tb[2] - ((B1 * s) *
210 tb = (double *)_TBL_log + (i + i + i);
211 s = (x - tb[0]) * tb[1];
212 dn = dn * LNALO + tb[
[all...]
H A Dlog.c158 double *tb, dn, dn1, s, z, r, w; local
201 tb = (double *)_TBL_log + (i + i + i);
202 s = (x - tb[0]) * tb[1];
203 return (tb[2] + ((B1 * s) * (B2 + s * (B3 + s))) *
213 tb = (double *)_TBL_log + (i + i + i);
214 s = (x - tb[0]) * tb[1];
215 dn = dn * LN2LO + tb[2];
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c255 vioif_txbuf_t *tb; local
259 if ((tb = list_remove_head(&vif->vif_txbufs)) != NULL) {
263 return (tb);
267 vioif_txbuf_free(vioif_t *vif, vioif_txbuf_t *tb) argument
274 virtio_chain_clear(tb->tb_chain);
275 list_insert_head(&vif->vif_txbufs, tb);
338 vioif_txbuf_t *tb = &vif->vif_txbufs_mem[i]; local
343 VERIFY(list_link_active(&tb->tb_link));
344 list_remove(&vif->vif_txbufs, tb);
349 VERIFY3P(tb
760 vioif_txbuf_t *tb = virtio_chain_data(vic); local
892 vioif_tx_inline(vioif_t *vif, vioif_txbuf_t *tb, mblk_t *mp, size_t msg_size) argument
913 vioif_tx_external(vioif_t *vif, vioif_txbuf_t *tb, mblk_t *mp, size_t msg_size) argument
1006 vioif_txbuf_t *tb = NULL; local
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
71 if (tp = (unsigned char*)tb)
99 n = tp - (unsigned char*)tb + 1;
128 n = tp - (unsigned char*)tb + 1;
144 if (tp > (unsigned char*)tb && *(tp - 1) == '\n')
148 n = tp - (unsigned char*)tb;
162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
186 if (tp = (unsigned char*)tb)
217 n = tp - (unsigned char*)tb + 4;
259 n = tp - (unsigned char*)tb
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Drefer7.c76 char tb[20]; local
77 char *s = tb;
82 newr[atoi(tb)] = nr;
84 fprintf(stderr, "nr %d assigned to atoi(tb) %d\n",
85 nr, atoi(tb));
119 char tb[10]; local
120 char *s = tb;
129 finalrn = newr[atoi(tb)];
131 finalrn = atoi(tb);
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c260 _win_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
281 memcpy(*tb, *fb, fz);
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn)
311 while (!(tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)fz, (LPWSTR)*tb, 0)))
340 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, 0)))
351 if (tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, un, *tb, *tn, 0, 0))
368 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, 0, 0, 0)))
386 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, tz, 0, 0)))
401 *tb += tz;
531 utf2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_ argument
605 bin2utf(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
715 ume2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
791 bin2ume(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
865 ucs2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
910 bin2ucs(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
956 scu2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1001 bin2scu(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1235 _ast_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1342 char* tb; local
1399 char* tb; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c192 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local
195 ns_makecanon(b, tb, sizeof tb) < 0)
197 if (strcasecmp(ta, tb) == 0)
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c237 char *tb = &tmpbuf[0]; local
258 tb = tmpbuf;
259 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL ||
260 strlen(tb) == 0) {
263 t = strtol(tmpbuf, &tb, 10);
264 if (*tb) {
275 tb = tmpbuf;
276 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL ||
277 strlen(tb) == 0) {
280 t = strtol(tmpbuf, &tb, 1
481 char *tb; local
647 char *tb; local
800 char *tb; local
998 char *tb; local
1384 char *tb; local
1558 char *tb; local
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dio.c101 pushtemp(int fd, struct tempblk *tb) argument
103 tb->fdes = fd;
104 tb->fstak = tmpfptr;
105 tmpfptr = tb;
181 tmpfil(struct tempblk *tb) argument
205 pushtemp(fd, tb);
234 struct tempblk tb; local
240 fd = tmpfil(&tb);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c407 sa_lot_t *tb, *findtb; local
412 tb = kmem_zalloc(sizeof (sa_lot_t), KM_SLEEP);
413 tb->lot_attr_count = attr_count;
416 tb->lot_attrs = kmem_alloc(size, KM_SLEEP);
417 bcopy(attrs, tb->lot_attrs, size);
420 tb->lot_num = lot_num;
421 tb->lot_hash = hash;
422 tb->lot_instance = 0;
439 list_create(&tb->lot_idx_tab, sizeof (sa_idx_tab_t),
443 if (sa->sa_attr_table[tb
466 sa_lot_t *tb, tbsearch; local
838 sa_attr_table_t *tb; local
998 sa_attr_type_t *tb; local
1172 sa_lot_t *tb = tab; local
1673 sa_lot_t *tb, search; local
1753 sa_attr_table_t *tb = sa->sa_attr_table; local
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_bind.c546 CLIENT *tb = NULL; local
609 tb = __clnt_create_loopback(YPBINDPROG, YPBINDVERS, &err);
610 if (tb == NULL) {
623 ypbind_resp = ypbindproc_domain_3(&ypbd, tb);
630 clnt_perror(tb,
632 clnt_destroy(tb);
633 tb = NULL;
644 clnt_destroy(tb);
645 tb = NULL;
648 clnt_destroy(tb);
715 CLIENT *tb = NULL; local
[all...]
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_scsi.h111 tb : 1, /* transfer block */ member in struct:mode_page_01_struct
117 tb : 1, /* transfer block */ member in struct:mode_page_01_struct
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dmode.h81 tb : 1, /* transfer block */ member in struct:mode_err_recov_ccs
87 tb : 1, /* transfer block */ member in struct:mode_err_recov_ccs
/illumos-gate/usr/src/cmd/tbl/
H A DMakefile32 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \

Completed in 94 milliseconds

123