Searched refs:ct (Results 1 - 25 of 140) sorted by relevance

123456

/freebsd-10.1-release/sys/mips/cavium/
H A Docteon_ds1337.c73 static int validate_ct_struct(struct clocktime *ct) argument
77 if (!ct)
80 CT_CHECK(ct->sec < 0 || ct->sec > 60, "second"); /* + Leap sec */
81 CT_CHECK(ct->min < 0 || ct->min > 59, "minute");
82 CT_CHECK(ct->hour < 0 || ct->hour > 23, "hour");
83 CT_CHECK(ct->day < 1 || ct
101 struct clocktime ct; local
157 struct clocktime ct; local
[all...]
/freebsd-10.1-release/contrib/ntp/sntp/libopts/
H A Dcook.c92 unsigned int ct = 0; local
95 z[ct] = pzIn[ct];
96 if (++ct >= 2)
98 } while (IS_HEX_DIGIT_CHAR(pzIn[ct]));
99 z[ct] = NUL;
101 return ct + 1;
115 unsigned int ct = 0; local
117 z[ct++] = *--pzIn;
118 while (IS_OCT_DIGIT_CHAR(pzIn[ct])) {
296 unsigned int ct; local
[all...]
/freebsd-10.1-release/sys/kern/
H A Dsubr_clock.c126 print_ct(struct clocktime *ct) argument
129 ct->year, ct->mon, ct->day,
130 ct->hour, ct->min, ct->sec);
134 clock_ct_to_ts(struct clocktime *ct, struct timespec *ts) argument
139 year = ct->year;
143 print_ct(ct);
181 clock_ts_to_ct(struct timespec *ts, struct clocktime *ct) argument
[all...]
/freebsd-10.1-release/sys/rpc/
H A Dclnt_vc.c132 struct ct_data *ct = NULL; /* client handle */ local
145 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
147 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF);
148 ct->ct_threads = 0;
149 ct->ct_closing = FALSE;
150 ct->ct_closed = FALSE;
151 ct->ct_upcallrefs = 0;
208 ct
291 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
570 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
596 struct ct_data *ct = (struct ct_data *)cl->cl_private; local
730 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
781 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
837 struct ct_data *ct = (struct ct_data *) arg; local
1059 clnt_vc_upcallsdone(struct ct_data *ct) argument
[all...]
H A Dclnt_bck.c123 struct ct_data *ct = NULL; /* client handle */ local
133 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
135 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF);
136 ct->ct_threads = 0;
137 ct->ct_closing = FALSE;
138 ct->ct_closed = FALSE;
139 ct->ct_upcallrefs = 0;
140 ct
199 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
479 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
512 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
538 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
558 struct ct_data *ct = (struct ct_data *)arg; local
[all...]
/freebsd-10.1-release/sys/dev/ct/
H A Dct_isa.c65 #include <dev/ct/ctvar.h>
66 #include <dev/ct/bshwvar.h>
103 "ct", ct_isa_methods, sizeof(struct ct_isa_softc),
108 DRIVER_MODULE(ct, isa, ct_isa_driver, ct_devclass, 0, 0);
170 struct ct_softc *ct = &pct->sc_ct; local
171 struct ct_bus_access_handle *chp = &ct->sc_ch;
172 struct scsi_low_softc *slp = &ct->sc_sclow;
181 if (ct_space_map(dev, hw, &ct->port_res, &ct->mem_res) != 0) {
187 chp->ch_iot = rman_get_bustag(ct
349 ct_space_unmap(device_t dev, struct ct_softc *ct) argument
377 ct_isa_dmasync_before(struct ct_softc *ct) argument
385 ct_isa_dmasync_after(struct ct_softc *ct) argument
[all...]
H A Dct.c1 /* $NecBSD: ct.c,v 1.13.12.5 2001/06/26 07:31:53 honda Exp $ */
56 #include <dev/ct/ctvar.h>
57 #include <dev/ct/ct_machdep.h>
167 cthw_phase_bypass(struct ct_softc *ct, u_int8_t ph) argument
169 struct ct_bus_access_handle *chp = &ct->sc_ch;
176 cthw_bus_reset(struct ct_softc *ct) argument
182 if (ct->ct_bus_reset != NULL)
183 ((*ct->ct_bus_reset) (ct));
225 panic("ct
283 ct_make_synch_table(struct ct_softc *ct) argument
340 ctattachsubr(struct ct_softc *ct) argument
355 cthw_attention(struct ct_softc *ct) argument
372 ct_attention(struct ct_softc *ct) argument
389 ct_targ_init(struct ct_softc *ct, struct targ_info *ti, int action) argument
426 ct_world_start(struct ct_softc *ct, int fdone) argument
456 ct_start_selection(struct ct_softc *ct, struct slccb *cb) argument
528 ct_msg(struct ct_softc *ct, struct targ_info *ti, u_int msg) argument
580 ct_xfer(struct ct_softc *ct, u_int8_t *data, int len, int direction, u_int *statp) argument
641 ct_io_xfer(struct ct_softc *ct) argument
693 ct_phase_error(struct ct_softc *ct, u_int8_t scsi_status) argument
739 ct_reselected(struct ct_softc *ct, u_int8_t scsi_status) argument
782 ct_target_nexus_establish(struct ct_softc *ct, int lun, int dir) argument
802 ct_lun_nexus_establish(struct ct_softc *ct) argument
813 ct_ccb_nexus_establish(struct ct_softc *ct) argument
839 ct_unbusy(struct ct_softc *ct) argument
862 ct_catch_intr(struct ct_softc *ct) argument
882 struct ct_softc *ct = arg; local
[all...]
H A Dbshw_machdep.c60 #include <dev/ct/ctvar.h>
61 #include <dev/ct/ct_machdep.h>
62 #include <dev/ct/bshwvar.h>
81 bshw_synch_setup(struct ct_softc *ct, struct targ_info *ti) argument
83 struct ct_bus_access_handle *chp = &ct->sc_ch;
85 struct bshw_softc *bs = ct->ct_hw;
100 bshw_bus_reset(struct ct_softc *ct) argument
102 struct scsi_low_softc *slp = &ct->sc_sclow;
103 struct ct_bus_access_handle *chp = &ct->sc_ch;
104 struct bshw_softc *bs = ct
181 bshw_lc_smit_stop(struct ct_softc *ct) argument
190 bshw_lc_smit_start(struct ct_softc *ct, int count, u_int direction) argument
206 bshw_lc_smit_fstat(struct ct_softc *ct, int wc, int read) argument
236 bshw_smit_xfer_stop(struct ct_softc *ct) argument
283 bshw_smit_xfer_start(struct ct_softc *ct) argument
386 bshw_dma_xfer_start(struct ct_softc *ct) argument
447 bshw_dma_xfer_stop(struct ct_softc *ct) argument
520 bshw_dmastart(struct ct_softc *ct) argument
566 bshw_dmadone(struct ct_softc *ct) argument
593 bshw_dma_init_texa(struct ct_softc *ct) argument
608 bshw_dma_init_sc98(struct ct_softc *ct) argument
634 bshw_dma_start_sc98(struct ct_softc *ct) argument
643 bshw_dma_stop_sc98(struct ct_softc *ct) argument
652 bshw_dma_start_elecom(struct ct_softc *ct) argument
661 bshw_dma_stop_elecom(struct ct_softc *ct) argument
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/gssapi/mech/
H A Dgss_decapsulate_token.c41 GSSAPIContextToken ct; local
54 &ct, NULL);
60 if (der_heim_oid_cmp(&ct.thisMech, &o) == 0) {
62 output_token->value = ct.innerContextToken.data;
63 output_token->length = ct.innerContextToken.length;
64 der_free_oid(&ct.thisMech);
66 free_GSSAPIContextToken(&ct);
H A Dgss_encapsulate_token.c41 GSSAPIContextToken ct; local
45 ret = der_get_oid (oid->elements, oid->length, &ct.thisMech, &size);
51 ct.innerContextToken.data = input_token->value;
52 ct.innerContextToken.length = input_token->length;
56 &ct, &size, ret);
57 der_free_oid(&ct.thisMech);
/freebsd-10.1-release/crypto/openssl/crypto/aes/
H A Daes_locl.h68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
/freebsd-10.1-release/sys/modules/ct/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/ct
5 KMOD= ct
6 SRCS= bshw_machdep.c ct.c ct_isa.c
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c89 static callb_table_t *ct = &callb_table; variable
111 mutex_enter(&ct->ct_lock);
113 while ((cp = ct->ct_freelist) != NULL) {
114 ct->ct_freelist = cp->c_next;
115 ct->ct_ncallb--;
118 if (ct->ct_ncallb == 0)
121 mutex_exit(&ct->ct_lock);
122 tsleep(ct, 0, "callb", hz / 4);
123 mutex_enter(&ct->ct_lock);
125 if (ct
[all...]
/freebsd-10.1-release/lib/libc/rpc/
H A Dclnt_vc.c168 struct ct_data *ct = NULL; /* client handle */ local
182 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
183 if ((cl == (CLIENT *)NULL) || (ct == (struct ct_data *)NULL)) {
190 ct->ct_addr.buf = NULL;
250 ct->ct_closeit = FALSE;
255 ct->ct_fd = fd;
256 ct->ct_wait.tv_usec = 0;
257 ct->ct_waitset = FALSE;
258 ct
324 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
469 struct ct_data *ct; local
484 struct ct_data *ct; local
522 struct ct_data *ct; local
651 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
695 struct ct_data *ct = (struct ct_data *)ctp; local
752 struct ct_data *ct = (struct ct_data *)ctp; local
[all...]
/freebsd-10.1-release/usr.sbin/pmcstat/
H A Dpmcpl_calltree.c269 pmcpl_ct_instr_add(struct pmcpl_ct_node *ct, int pmcin, argument
275 for (i = 0; i<ct->pct_ninstr; i++) {
276 if (ct->pct_instr[i].pctf_func == pc) {
277 in = &ct->pct_instr[i];
284 pmcpl_ct_instr_grow(ct->pct_ninstr, &ct->pct_instr_c, &ct->pct_instr);
285 in = &ct->pct_instr[ct->pct_ninstr];
290 ct
300 struct pmcpl_ct_node *ct; local
329 pmcpl_ct_node_free(struct pmcpl_ct_node *ct) argument
365 pmcpl_ct_node_dumptop(int pmcin, struct pmcpl_ct_node *ct, struct pmcpl_ct_sample *rsamples, int x, int *y) argument
463 struct pmcpl_ct_node *ct; local
662 struct pmcpl_ct_node *ct; local
730 struct pmcpl_ct_node *ct; local
822 pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct, uintfptr_t paddr, int pline) argument
886 pmcpl_ct_node_printself(struct pmcpl_ct_node *ct) argument
957 pmcpl_ct_printnode(struct pmcpl_ct_node *ct) argument
977 pmcpl_ct_bfs(struct pmcpl_ct_node *ct) argument
1015 _pmcpl_ct_expand_inline(struct pmcpl_ct_node *ct) argument
[all...]
/freebsd-10.1-release/sys/arm/s3c2xx0/
H A Ds3c24x0_rtc.c88 struct clocktime ct; local
91 ct.year = YEAR_BASE + FROMBCD(bus_read_1(sc->mem_res, RTC_BCDYEAR)); \
92 ct.mon = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDMON)); \
93 ct.dow = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDDAY)); \
94 ct.day = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDDATE)); \
95 ct.hour = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDHOUR)); \
96 ct.min = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDMIN)); \
97 ct.sec = FROMBCD(bus_read_1(sc->mem_res, RTC_BCDSEC)); \
102 ct.nsec = 0;
108 if (ct
122 struct clocktime ct; local
[all...]
/freebsd-10.1-release/sys/arm/mv/
H A Drtc.c131 struct clocktime ct; local
139 ct.nsec = 0;
140 ct.sec = FROMBCD(val & 0x7f);
141 ct.min = FROMBCD((val & 0x7f00) >> 8);
142 ct.hour = FROMBCD((val & 0x3f0000) >> 16);
143 ct.dow = FROMBCD((val & 0x7000000) >> 24) - 1;
147 ct.day = FROMBCD(val & 0x7f);
148 ct.mon = FROMBCD((val & 0x1f00) >> 8);
149 ct.year = YEAR_BASE + FROMBCD((val & 0xff0000) >> 16);
151 return (clock_ct_to_ts(&ct, t
157 struct clocktime ct; local
[all...]
/freebsd-10.1-release/sys/mips/atheros/
H A Dpcf2123_rtc.c103 struct clocktime ct; local
126 ct.nsec = 0;
127 ct.sec = FROMBCD(rxTimedate[1] & 0x7f);
128 ct.min = FROMBCD(rxTimedate[2] & 0x7f);
129 ct.hour = FROMBCD(rxTimedate[3] & 0x3f);
131 ct.dow = FROMBCD(rxTimedate[5] & 0x3f);
133 ct.day = FROMBCD(rxTimedate[4] & 0x3f);
134 ct.mon = FROMBCD(rxTimedate[6] & 0x1f);
135 ct.year = YEAR_BASE + FROMBCD(rxTimedate[7]);
137 return (clock_ct_to_ts(&ct, t
143 struct clocktime ct; local
[all...]
/freebsd-10.1-release/sys/powerpc/pseries/
H A Drtas_dev.c106 struct clocktime ct; local
121 ct.year = tod[1];
122 ct.mon = tod[2];
123 ct.day = tod[3];
124 ct.hour = tod[4];
125 ct.min = tod[5];
126 ct.sec = tod[6];
127 ct.nsec = tod[7];
129 return (clock_ct_to_ts(&ct, ts));
135 struct clocktime ct; local
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/gssapi/
H A Dgsstool.c79 rtbl_t ct; local
88 ct = rtbl_create();
89 if (ct == NULL)
92 rtbl_set_separator(ct, " ");
93 rtbl_add_column(ct, COL_OID, 0);
94 rtbl_add_column(ct, COL_NAME, 0);
95 rtbl_add_column(ct, COL_DESC, 0);
96 rtbl_add_column(ct, COL_SASL, 0);
105 rtbl_add_column_entryv(ct, COL_OID, "%.*s",
115 rtbl_add_column_entryv(ct, COL_NAM
140 rtbl_t ct; local
[all...]
/freebsd-10.1-release/sys/dev/iicbus/
H A Dpcf8563.c114 struct clocktime ct; local
132 ct.nsec = 0;
133 ct.sec = FROMBCD(val[PCF8563_R_SECOND] & PCF8563_M_SECOND);
134 ct.min = FROMBCD(val[PCF8563_R_MINUTE] & PCF8563_M_MINUTE);
135 ct.hour = FROMBCD(val[PCF8563_R_HOUR] & PCF8563_M_HOUR);
136 ct.day = FROMBCD(val[PCF8563_R_DAY] & PCF8563_M_DAY);
137 ct.dow = val[PCF8563_R_WEEKDAY] & PCF8563_M_WEEKDAY;
138 ct.mon = FROMBCD(val[PCF8563_R_MONTH] & PCF8563_M_MONTH);
139 ct.year = FROMBCD(val[PCF8563_R_YEAR] & PCF8563_M_YEAR);
140 ct
154 struct clocktime ct; local
[all...]
H A Dds133x.c290 struct clocktime ct; local
296 ct.nsec = 0;
297 ct.sec = FROMBCD(date[0] & 0x7f);
298 ct.min = FROMBCD(date[1] & 0x7f);
299 ct.hour = ds133x_get_hours(date[2]);
300 ct.dow = FROMBCD(date[3] & 0x07) - 1;
301 ct.day = FROMBCD(date[4] & 0x3f);
302 ct.mon = FROMBCD(date[5] & 0x1f);
305 ct.year = 2000 + FROMBCD(date[6]);
307 ct
320 struct clocktime ct; local
[all...]
/freebsd-10.1-release/sys/pc98/cbus/
H A Dpcrtc.c175 struct clocktime ct; local
177 clock_ts_to_ct(ts, &ct);
181 rtc_outb(bin2bcd(ct.sec)); /* Write back Seconds */
182 rtc_outb(bin2bcd(ct.min)); /* Write back Minutes */
183 rtc_outb(bin2bcd(ct.hour)); /* Write back Hours */
185 rtc_outb(bin2bcd(ct.day)); /* Write back Day */
186 rtc_outb((ct.mon << 4) | ct.dow); /* Write back Month and DOW */
187 rtc_outb(bin2bcd(ct.year % 100)); /* Write back Year */
198 struct clocktime ct; local
[all...]
/freebsd-10.1-release/sys/powerpc/mpc85xx/
H A Dds1553_core.c91 struct clocktime ct; local
102 ct.nsec = 0;
103 ct.sec = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_SECONDS) &
105 ct.min = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_MINUTES) &
107 ct.hour = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_HOURS) &
109 ct.dow = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DAYOFWEEK) &
111 ct.day = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DATE) &
113 ct.mon = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_MONTH) &
115 ct.year = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_YEAR));
120 ct
134 struct clocktime ct; local
[all...]
/freebsd-10.1-release/contrib/sendmail/src/
H A Dratectrl.c392 CTime_T *ct = &chBest->ch_Times[ticks % CHTSIZE]; local
394 if (ct->ct_Ticks != ticks)
396 ct->ct_Ticks = ticks;
397 ct->ct_Count = 0;
399 ++ct->ct_Count;
406 CTime_T *ct = &chBest->ch_Times[i]; local
408 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE)
409 cnt += ct->ct_Count;
441 CTime_T *ct; local
[all...]

Completed in 326 milliseconds

123456