Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-os-pal.h77 xge_os_memcpy(tb->data + offset, tb->msg, msgsize-1); \
81 tb->offset = offset; \
83 *tb->msg = 0; \
88 if (tb != NULL) { \
89 char *_p = tb->msg; \
90 if (tb->timestamp) { \
92 _p = tb->msg + xge_os_strlen(tb->msg); \
95 __xge_trace(tb); \
102 if (tb != NULL) { \
103 if (tb->timestamp) { \
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstring.c69 if (newsize > tb->size) { in luaS_resize()
70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize()
71 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL; in luaS_resize()
76 tb->hash[i] = NULL; in luaS_resize()
81 tb->hash[h] = p; in luaS_resize()
88 lua_assert(tb->hash[newsize] == NULL && tb->hash[tb->size - 1] == NULL); in luaS_resize()
89 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize()
91 tb->size = newsize; in luaS_resize()
121 if (tb->nuse >= cast(lu_int32, tb->size) && tb->size <= MAX_INT/2) in newshrstr()
123 list = &tb->hash[lmod(h, tb->size)]; in newshrstr()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c175 for (ml = result_list, tb = &table[0]; in main()
177 ml = ml->ml_next, tb++) { in main()
178 *tb = ml; in main()
190 for (tb = table; tb < table + numentries; tb++) in main()
191 printf("%s:%s\n", (*tb)->ml_hostname, in main()
192 (*tb)->ml_directory); in main()
195 for (tb = table; tb < table + numentries; tb++) { in main()
198 last = (*tb)->ml_directory; in main()
202 for (tb = table; tb < table + numentries; tb++) { in main()
204 printf("%s\n", (*tb)->ml_hostname); in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/dfmounts/
H A Ddfmounts.c119 struct mountbody **tb, **endtb; in pr_mounts() local
159 tb = table; in pr_mounts()
161 *tb++ = ml; in pr_mounts()
165 endtb = tb; in pr_mounts()
174 for (tb = table; tb < endtb; tb++) { in pr_mounts()
175 if (*((*tb)->ml_directory) == '\0' || in pr_mounts()
176 *((*tb)->ml_hostname) == '\0') in pr_mounts()
184 " -", host, (*tb)->ml_directory); in pr_mounts()
185 lastpath = (*tb)->ml_directory; in pr_mounts()
190 printf("%s", (*tb)->ml_hostname); in pr_mounts()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Diconv.c401 *tb += tz; in _win_iconv()
1251 if (!tb || !*tb) in _ast_iconv()
1328 *tb += n; in _ast_iconv()
1376 ts = tb; in _ast_iconv_write()
1424 sfwrite(op, tb, ts - tb); in _ast_iconv_write()
1467 tb = 0; in _ast_iconv_move()
1486 ts = tb; in _ast_iconv_move()
1525 sfwrite(op, tb, ts - tb); in _ast_iconv_move()
1527 ts = tb; in _ast_iconv_move()
1545 if (tb) in _ast_iconv_move()
[all …]
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon2.c43 struct tacct tb; variable
48 tb.ta_sc = 1; in main()
57 tb.ta_uid = cb.ct_uid; in main()
58 CPYN(tb.ta_name, cb.ct_name); in main()
59 tb.ta_con[0] = MINS(cb.ct_con[0]); in main()
60 tb.ta_con[1] = MINS(cb.ct_con[1]); in main()
61 fwrite(&tb, sizeof (tb), 1, stdout); in main()
H A Dacctdisk.c42 struct tacct tb; variable
50 tb.ta_dc = 1; in main()
52 &tb.ta_uid, in main()
54 &tb.ta_du)) == 3) { in main()
56 CPYN(tb.ta_name, ntmp); in main()
57 fwrite(&tb, sizeof (tb), 1, stdout); in main()
H A Dacctprc2.c46 struct tacct tb; variable
131 tb.ta_uid = (*(struct utab **)node)->ut_uid; in print_node()
132 CPYN(tb.ta_name, (*(struct utab **)node)->ut_name); in print_node()
133 tb.ta_cpu[0] = ((*(struct utab **)node)->ut_cpu[0]); in print_node()
134 tb.ta_cpu[1] = ((*(struct utab **)node)->ut_cpu[1]); in print_node()
135 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0]; in print_node()
136 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1]; in print_node()
137 tb.ta_pc = (*(struct utab **)node)->ut_pc; in print_node()
138 fwrite(&tb, sizeof(tb), 1, stdout); in print_node()
H A Dacctprc.c50 struct tacct tb; variable
157 tb.ta_uid = (*(struct utab **)node)->ut_uid; in print_node()
158 CPYN(tb.ta_name, (char *)uidtonam((*(struct utab **)node)->ut_uid)); in print_node()
159 tb.ta_cpu[0] = (*(struct utab **)node)->ut_cpu[0]; in print_node()
160 tb.ta_cpu[1] = (*(struct utab **)node)->ut_cpu[1]; in print_node()
161 tb.ta_kcore[0] = (*(struct utab **)node)->ut_kcore[0]; in print_node()
162 tb.ta_kcore[1] = (*(struct utab **)node)->ut_kcore[1]; in print_node()
163 tb.ta_pc = (*(struct utab **)node)->ut_pc; in print_node()
164 fwrite(&tb, sizeof(tb), 1, stdout); in print_node()
H A Dacctmerg.c55 struct tacct tb[NFILE]; /* current record from each file */ variable
120 prtacct(&tb[i]); in main()
149 for (tp = tb; tp <= &tb[nfile]; tp++) { in getleast()
174 getnext(tp-&tb[0]); /* get next one in same file */ in sumcurr()
175 while (tp <= &tb[nfile]) in sumcurr()
181 getnext(tp-&tb[0]); in sumcurr()
221 tp = &tb[i]; in getnext()
H A Dacctcon.c55 struct tacct tb; variable
501 tb.ta_uid = (*(struct ctab **)node)->ct_uid; in print_node()
502 CPYN(tb.ta_name, (*(struct ctab **)node)->ct_name); in print_node()
503 tb.ta_con[0] = ((*(struct ctab **)node)->ct_con[0]) / 60.0; in print_node()
504 tb.ta_con[1] = ((*(struct ctab **)node)->ct_con[1]) / 60.0; in print_node()
505 tb.ta_sc = (*(struct ctab **)node)->ct_sess; in print_node()
506 fwrite(&tb, sizeof (tb), 1, stdout); in print_node()
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c262 vioif_txbuf_t *tb; in vioif_txbuf_alloc() local
270 return (tb); in vioif_txbuf_alloc()
544 for (vioif_txbuf_t *tb = list_head(&vif->vif_txbufs); tb != NULL; in vioif_alloc_bufs() local
545 tb = list_next(&vif->vif_txbufs, tb)) { in vioif_alloc_bufs()
557 virtio_chain_data_set(tb->tb_chain, tb); in vioif_alloc_bufs()
1157 if (tb->tb_ndmaext >= tb->tb_dmaext_capacity) { in vioif_tx_external()
1165 if (tb->tb_dmaext[tb->tb_ndmaext] == NULL) { in vioif_tx_external()
1169 if ((tb->tb_dmaext[tb->tb_ndmaext] = in vioif_tx_external()
1178 virtio_dma_t *extdma = tb->tb_dmaext[tb->tb_ndmaext++]; in vioif_tx_external()
1210 tb->tb_mp = mp; in vioif_tx_external()
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dlog2.c199 double *tb, s; in log2() local
201 tb = (double *) _TBL_log + (i + i + i); in log2()
204 s = (x - tb[0]) * tb[1]; in log2()
205 return (LGH * tb[2] - (LGL * tb[2] - ((B1 * s) * in log2()
211 double *tb, dn, s; in log2() local
219 tb = (double *) _TBL_log + (i + i + i); in log2()
220 s = (x - tb[0]) * tb[1]; in log2()
221 return (dn + (tb[2] * LN10V + ((B1 * s) * in log2()
H A Dlog10.c154 double *tb, dn, dn1, s, z, r, w; in log10() local
197 tb = (double *)_TBL_log + (i + i + i); in log10()
198 s = (x - tb[0]) * tb[1]; in log10()
199 return (LGH * tb[2] - (LGL * tb[2] - ((B1 * s) * in log10()
210 tb = (double *)_TBL_log + (i + i + i); in log10()
211 s = (x - tb[0]) * tb[1]; in log10()
212 dn = dn * LNALO + tb[2] * LG10V; in log10()
H A Dlog.c158 double *tb, dn, dn1, s, z, r, w; in log() local
201 tb = (double *)_TBL_log + (i + i + i); in log()
202 s = (x - tb[0]) * tb[1]; in log()
203 return (tb[2] + ((B1 * s) * (B2 + s * (B3 + s))) * in log()
213 tb = (double *)_TBL_log + (i + i + i); in log()
214 s = (x - tb[0]) * tb[1]; in log()
215 dn = dn * LN2LO + tb[2]; in log()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dbase64.c71 if (tp = (unsigned char*)tb) in base64encode()
99 n = tp - (unsigned char*)tb + 1; in base64encode()
128 n = tp - (unsigned char*)tb + 1; in base64encode()
144 if (tp > (unsigned char*)tb && *(tp - 1) == '\n') in base64encode()
148 n = tp - (unsigned char*)tb; in base64encode()
186 if (tp = (unsigned char*)tb) in base64decode()
217 n = tp - (unsigned char*)tb + 4; in base64decode()
259 n = tp - (unsigned char*)tb + 2; in base64decode()
274 n = tp - (unsigned char*)tb + 2; in base64decode()
285 n = tp - (unsigned char*)tb + 3; in base64decode()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c264 if (*tb) { in irp_unmarshall_pw()
281 if (*tb) { in irp_unmarshall_pw()
306 if (*tb) { in irp_unmarshall_pw()
323 if (*tb) { in irp_unmarshall_pw()
481 char *tb; in irp_unmarshall_gr() local
513 if (*tb) { in irp_unmarshall_gr()
647 char *tb; in irp_unmarshall_sv() local
800 char *tb; in irp_unmarshall_pr() local
998 char *tb; in irp_unmarshall_ho() local
1384 char *tb; in irp_unmarshall_nw() local
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_bind.c546 CLIENT *tb = NULL; in __yp_dobind_cflookup() local
630 clnt_perror(tb, in __yp_dobind_cflookup()
633 tb = NULL; in __yp_dobind_cflookup()
645 tb = NULL; in __yp_dobind_cflookup()
660 tb = NULL; in __yp_dobind_cflookup()
663 if (tb != NULL) in __yp_dobind_cflookup()
784 clnt_perror(tb, in __yp_dobind_rsvdport_cflookup()
787 tb = NULL; in __yp_dobind_rsvdport_cflookup()
801 tb = NULL; in __yp_dobind_rsvdport_cflookup()
816 tb = NULL; in __yp_dobind_rsvdport_cflookup()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c460 return (tb); in sa_add_layout_entry()
476 if (tb) { in sa_find_layout()
477 for (; tb && tb->lot_hash == hash; in sa_find_layout()
478 tb = AVL_NEXT(&sa->sa_layout_hash_tree, tb)) { in sa_find_layout()
490 *lot = tb; in sa_find_layout()
955 tb[i].sa_name = in sa_attr_table_setup()
1008 *user_table = tb; in sa_setup()
1184 ASSERT(tb); in sa_attr_iter()
1691 ASSERT(tb); in sa_find_idx_tab()
1732 tb, idx_tab); in sa_find_idx_tab()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Drefer7.c74 char tb[20]; in dumpold() local
75 char *s = tb; in dumpold()
80 newr[atoi(tb)] = nr; in dumpold()
83 nr, atoi(tb)); in dumpold()
117 char tb[10]; in recopy() local
118 char *s = tb; in recopy()
127 finalrn = newr[atoi(tb)]; in recopy()
129 finalrn = atoi(tb); in recopy()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Din.test178 CREATE TABLE tb(a INTEGER PRIMARY KEY, b);
179 INSERT INTO tb VALUES(1,1);
180 INSERT INTO tb VALUES(2,2);
181 INSERT INTO tb VALUES(3,3);
182 INSERT INTO tb VALUES(5,5);
183 INSERT INTO tb VALUES(7,7);
184 INSERT INTO tb VALUES(9,9);
185 INSERT INTO tb VALUES(11,
187 SELECT * FROM tb WHERE a<10;
284 CREATE TABLE t4 AS SELECT a FROM tb;
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dio.c101 pushtemp(int fd, struct tempblk *tb) in pushtemp() argument
103 tb->fdes = fd; in pushtemp()
104 tb->fstak = tmpfptr; in pushtemp()
105 tmpfptr = tb; in pushtemp()
181 tmpfil(struct tempblk *tb) in tmpfil() argument
205 pushtemp(fd, tb); in tmpfil()
234 struct tempblk tb; in copy() local
240 fd = tmpfil(&tb); in copy()
/illumos-gate/usr/src/test/elf-tests/tests/resolution/mixed-hidden-comdat/
H A Dmain.c31 uint64_t tb = test_bss(); in main() local
39 if (tb != CORRECT_BSS) { in main()
41 CORRECT_BSS, tb); in main()
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c192 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; in ns_samename() local
195 ns_makecanon(b, tb, sizeof tb) < 0) in ns_samename()
197 if (strcasecmp(ta, tb) == 0) in ns_samename()
/illumos-gate/usr/src/common/ccid/
H A Datr.c879 uint8_t tb = data->atr_ti[i].atrti_tb; in atr_t1_cwi() local
880 return (ATR_T1_TB0_CWI(tb)); in atr_t1_cwi()
951 uint8_t tb = data->atr_ti[i].atrti_tb; in atr_t1_bwi() local
952 return (ATR_T1_TB0_BWI(tb)); in atr_t1_bwi()
1367 uint8_t tb; in atr_data_dump_tb() local
1373 tb = atp->atrti_tb; in atr_data_dump_tb()
1377 atp->atrti_ti_val, tb); in atr_data_dump_tb()
1389 ATR_T1_TB0_CWI(tb), in atr_data_dump_tb()
1390 ATR_T1_TB0_BWI(tb)); in atr_data_dump_tb()
1395 (void) fprintf(out, "; SPU: %s", tb == 0 ? "not used" : in atr_data_dump_tb()
[all …]

123