Searched defs:ct (Results 1 - 25 of 191) sorted by path

12345678

/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c46 uint64_t *ct; local
55 ct = zfs_crc64_table + i;
56 for (*ct = i, j = 8; j > 0; j--)
57 *ct = (*ct >> 1) ^
58 (-(*ct & 1) & ZFS_CRC64_POLY);
/illumos-gate/usr/src/cmd/acct/lib/
H A Dexpand.c41 * For as long as ct is of type comp_t, and comp_t is defined to be of type
42 * unsigned short, the maximum value of ct will be 2^16-1 ie 65535. Based on
48 expand(comp_t ct) argument
56 e = (ct >> 13) & 07;
57 f = ct & 017777;
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c39 int count = 0, ct, ret; local
67 ret = sscanf(buf, "%s%d", name, &ct);
69 ct = 0;
71 if (ct > 9998)
72 ct = 0;
81 count = ++ct;
84 fprintf(fp1, "%s %d %d/%d-%d:%2.2d\n", name, ct,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c1045 struct setlist *ct; local
1055 for (ct = Setlist; ct->name; ct++)
1056 (void) printf("%-15s %s\n", ct->name, ct->help);
1063 ct = getset(argv[1]);
1064 if (ct == 0) {
1098 } else if (Ambiguous(ct)) {
1102 } else if (ct
1125 struct setlist *ct; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c195 writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) argument
197 bfs[current].counter = ct; /* set size of data to write */
201 ct = -1;
204 return (ct); /* this is a lie of course */
218 int ct; local
261 ct = count;
262 while (ct--) { /* loop over the buffer */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c512 struct cmdtbl *ct = table; local
519 while (ct->cmd != NULL && strcmp(ct->cmd, cmdstr) != 0)
520 ct++;
521 ot = ct->objt;
523 if (ct->cmd == NULL) {
529 return (ct->null_obj_token);
H A Dipseckey.c305 struct cmdtable *ct = table; local
307 while (ct->cmd != NULL && strcmp(ct->cmd, cmdstr) != 0)
308 ct++;
309 return (ct->token);
/illumos-gate/usr/src/cmd/cron/
H A Dat.c168 struct tm *ct; local
346 if ((ct = getdate(argpbuf)) == NULL)
349 when = mktime(ct);
H A Dcron.c197 } ct; member in union:event::__anon5
1211 &e->of.ct.minute) != CFOK ||
1212 next_field(0, 23, line, &cursor, &e->of.ct.hour) != CFOK ||
1214 &e->of.ct.daymon) != CFOK ||
1215 next_field(1, 12, line, &cursor, &e->of.ct.month) != CFOK ||
1217 &e->of.ct.dayweek) != CFOK) {
1246 e->of.ct.input = xmalloc(strlen(line)-cursor + 1);
1247 (void) strcpy(e->of.ct.input, line + cursor + 1);
1248 for (i = 0; i < strlen(e->of.ct.input); i++) {
1249 if (e->of.ct
[all...]
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1316 * returns pointer to struct with ct 0's & p
1319 add0(struct blk *p, int ct) argument
1323 q = salloc(length(p) + (ct + 1) / 2);
1324 while (ct > 1) {
1326 ct -= 2;
1333 if (ct == 1) {
1403 char ct; local
1408 ct = 100 - slookc(p) - carry;
1410 if (ct >= 100) {
1411 ct
1498 int dig, dout, ct; local
2302 int ct; local
[all...]
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_db.c201 ctid_t ct; local
248 if (contract_latest(&ct) == -1)
249 ct = -1;
253 (void) contract_abandon_id(ct);
256 (void) contract_abandon_id(ct);
/illumos-gate/usr/src/cmd/eqn/
H A Dglob.c22 int ct; /* pointer to lp */ variable
/illumos-gate/usr/src/cmd/file/
H A Dfile.c1516 int ct[NASC]; local
1521 ct[j] = 0;
1524 ct[bp[j]|040]++;
1542 vow = ct['a'] + ct['e'] + ct['i'] + ct['o'] + ct['u'];
1543 freq = ct['e'] + ct['
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/
H A Dswde_case.c181 enum sw_casetype ct = sw_id_to_casetype(hdl, who); local
186 if (ct == SW_CASE_NONE)
191 fmd_hdl_abort(hdl, "swde_case_open: bad subdata\n", ct);
208 datap->sc_type = ct;
211 swde_subdata(hdl, cp, ct, scp, subdata_vers, subdata,
251 enum sw_casetype ct = sw_id_to_casetype(hdl, who); local
255 if (ct == SW_CASE_NONE)
260 if (scp->swc_data.sc_type == ct)
272 int ct; local
278 ct
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c1759 cmd_cpu_type_t ct; local
1783 ct = cpu_nname2type(hdl, cpuname,
1786 cpu = cpu_lookup_by_cpuid(cmd_cpu2core(cpuid, ct, level), level);
1807 cmd_cpu2core(cpuid, ct, level), level, ct);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_yacc.y118 | at | ct | gid | ln | mt | md
490 ct : CTTZ '=' expr { set_file(CTTZ, i_number << l2b, $3); } label
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c5258 char *ct; local
5261 ct = ctime(&t);
5262 ct[strlen(ct)-1] = '\0';
5264 (void) sprintf(lockfscomment, "%s -- mkfs pid %d", ct, getpid());
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dobj.c3418 isns_type_t ct; /* child object type */ local
3436 ct = TYPE_OF_CHILD[pt][i];
3437 rt = TYPE_OF_REF[ct][0];
3442 et = TYPE_OF_REF[ct][1];
3477 if (flag[ct] != 0) {
/illumos-gate/usr/src/cmd/last/
H A Dlast.c126 char *ct; local
303 ct = ctime(&bp->ut_xtime);
315 ct, 11 + ct);
319 ct, 11 + ct);
448 ct = ctime(&buf[0].ut_xtime);
450 (void) printf(gettext("\nwtmp begins %10.10s %13.13s \n"), ct,
451 ct + 11);
453 (void) printf(gettext("\nwtmp begins %10.10s %5.5s \n"), ct,
499 char *ct; local
[all...]
/illumos-gate/usr/src/cmd/localedef/
H A Dctype.c262 _FileRuneEntry *ct = NULL; local
381 ct[rl.runetype_ext_nranges-1].max = wc;
384 ct = realloc(ct,
385 sizeof (*ct) * rl.runetype_ext_nranges);
386 if (ct == NULL)
388 ct[rl.runetype_ext_nranges - 1].min = wc;
389 ct[rl.runetype_ext_nranges - 1].max = wc;
390 ct[rl.runetype_ext_nranges - 1].map = ctn->ctype;
431 (wr_category(ct, sizeo
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kvm.c394 mdb_tgt_t *ct; local
407 if ((ct = mdb_tgt_create(mdb_kproc_tgt_create,
412 mdb_tgt_activate(ct);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcontract.c91 contract_t ct; local
107 if (mdb_vread(&ct, sizeof (ct), addr) != sizeof (ct)) {
111 if (mdb_vread(&ctt, sizeof (ctt), (uintptr_t)ct.ct_type) !=
113 mdb_warn("error reading ct_type_t at %p", ct.ct_type);
122 mdb_printf("%0?p %8d %8s %8s %?p %?p\n", addr, ct.ct_id, str,
123 (ct.ct_state == CTS_OWNED) ? "owned" :
124 (ct.ct_state == CTS_INHERITED) ? "inherit" :
125 (ct
171 findct(uintptr_t addr, contract_t *ct, findct_data_t *arg) argument
[all...]
H A Dgenunix.c756 callout_table_t ct; member in struct:cot_data
804 if (mdb_vread(&(cotwd->ct), sizeof (callout_table_t),
811 if (cotwd->ct.ct_idhash != NULL) {
813 (uintptr_t)(cotwd->ct.ct_idhash)) != size) {
815 cotwd->ct.ct_idhash);
819 if (cotwd->ct.ct_clhash != NULL) {
821 (uintptr_t)cotwd->ct.ct_clhash) == -1) {
823 cotwd->ct.ct_clhash);
828 if (cotwd->ct.ct_kstat_data != NULL) {
830 (uintptr_t)cotwd->ct
1260 callout_table_t *ct = &(cotwd->ct); local
1667 callout_table_t ct; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvd.c1218 time_t ct; local
1275 ct = (time_t)(gethrtime() / NANOSEC);
1277 sensorp->warning_start = ct;
1278 if (((ct - sensorp->warning_start) >=
1280 (wtstamp == 0 || (ct - wtstamp) >=
1289 sensorp->warning_tstamp = ct;
1297 ct = (time_t)(gethrtime() / NANOSEC);
1299 sensorp->shutdown_tstamp = ct;
1306 if ((ct - sensorp->shutdown_tstamp) >=
1567 time_t ct; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvd.c1636 time_t ct; local
1689 ct = (time_t)(gethrtime() / NANOSEC);
1690 if ((ct - sensorp->warning_tstamp) >=
1697 sensorp->warning_tstamp = ct;
1713 ct = (time_t)(gethrtime() / NANOSEC);
1715 sensorp->shutdown_tstamp = ct;
1716 if ((ct - sensorp->shutdown_tstamp) >=
2053 time_t ct; local
2151 ct = (time_t)(gethrtime() / NANOSEC);
2153 diskp->warning_start = ct;
[all...]

Completed in 431 milliseconds

12345678