/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xge-os-pal.h | 67 #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 D | acctdisk.c | 42 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 D | acctcon2.c | 43 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 D | acctprc2.c | 46 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 D | acctprc.c | 51 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 D | acctmerg.c | 56 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 D | acctcon.c | 57 struct tacct tb; variable in typeref:struct:tacct 502 tb.ta_uid = (*(struct ctab **)node)->ct_uid; 503 CPYN(tb.ta_name, (*(struct ctab **)node)->ct_name); 504 tb.ta_con[0] = ((*(struct ctab **)node)->ct_con[0]) / 60.0; 505 tb.ta_con[1] = ((*(struct ctab **)node)->ct_con[1]) / 60.0; 506 tb.ta_sc = (*(struct ctab **)node)->ct_sess; 507 fwrite(&tb, sizeof (tb), 1, stdout);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/dfmounts/ |
H A D | dfmounts.c | 121 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/cmd/fs.d/nfs/showmount/ |
H A D | showmount.c | 79 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 D | log2.c | 199 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 D | log10.c | 154 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 D | log.c | 158 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/cmd/calendar/ |
H A D | calprog.c | 223 char *tb, *ob; local 227 tb = timebuf; 229 while (*tb) 230 if (isspace(*tb)) { 231 ++tb; 245 if (isalpha(*tb)) { 247 *ob++ = toupper(*tb); 248 *ob++ = tolower(*tb++); 253 *ob++ = *tb++; 254 if (*(tb [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | base64.c | 51 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 D | refer7.c | 76 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 D | iconv.c | 260 _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 D | ns_samedomain.c | 196 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local 199 ns_makecanon(b, tb, sizeof tb) < 0) 201 if (strcasecmp(ta, tb) == 0)
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | sa.c | 409 sa_lot_t *tb, *findtb; local 414 tb = kmem_zalloc(sizeof (sa_lot_t), KM_SLEEP); 415 tb->lot_attr_count = attr_count; 416 tb->lot_attrs = kmem_alloc(sizeof (sa_attr_type_t) * attr_count, 418 bcopy(attrs, tb->lot_attrs, sizeof (sa_attr_type_t) * attr_count); 419 tb->lot_num = lot_num; 420 tb->lot_hash = hash; 421 tb->lot_instance = 0; 438 list_create(&tb->lot_idx_tab, sizeof (sa_idx_tab_t), 442 if (sa->sa_attr_table[tb 465 sa_lot_t *tb, tbsearch; local 834 sa_attr_table_t *tb; local 994 sa_attr_type_t *tb; local 1168 sa_lot_t *tb = tab; local 1492 sa_lot_t *tb, search; local 1572 sa_attr_table_t *tb = sa->sa_attr_table; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 241 char *tb = &tmpbuf[0]; local 262 tb = tmpbuf; 263 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || 264 strlen(tb) == 0) { 267 t = strtol(tmpbuf, &tb, 10); 268 if (*tb) { 279 tb = tmpbuf; 280 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL || 281 strlen(tb) == 0) { 284 t = strtol(tmpbuf, &tb, 1 485 char *tb; local 651 char *tb; local 804 char *tb; local 1002 char *tb; local 1388 char *tb; local 1562 char *tb; local [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | io.c | 101 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/lib/libnsl/yp/ |
H A D | yp_bind.c | 546 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 D | g_scsi.h | 111 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 D | mode.h | 81 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 D | Makefile | 31 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \
|
/illumos-gate/usr/src/uts/common/sys/scsi/generic/ |
H A D | dad_mode.h | 112 tb : 1, /* transfer block */ member in struct:mode_err_recov 118 tb : 1, /* transfer block */ member in struct:mode_err_recov
|