Searched refs:ch (Results 1 - 25 of 1197) sorted by last modified time

1234567891011>>

/src/sys/dev/goldfish/
H A Dgftty.c788 gftty_cnputc(dev_t dev, int ch) argument
790 REG_WRITE0(&gftty_cnconfig, GFTTY_PUT_CHAR, (unsigned char)ch);
/src/sys/arch/evbppc/wii/dev/
H A Dsi.c181 struct si_channel *ch; local in function:si_attach
184 ch = &sc->sc_chan[chan];
185 ch->ch_sc = sc;
186 ch->ch_index = chan;
187 mutex_init(&ch->ch_lock, MUTEX_DEFAULT, IPL_VM);
188 cv_init(&ch->ch_cv, "sich");
189 ch->ch_si = softint_establish(SOFTINT_SERIAL,
190 si_softintr, ch);
191 KASSERT(ch->ch_si != NULL);
193 t = &ch
224 struct si_channel *ch = &sc->sc_chan[chan]; local in function:si_rescan
299 struct si_channel *ch = priv; local in function:si_softintr
323 struct si_channel *ch = &sc->sc_chan[chan]; local in function:si_intr
353 struct si_channel *ch = cookie; local in function:si_open
391 struct si_channel *ch = cookie; local in function:si_stop
404 struct si_channel *ch = cookie; local in function:si_close
429 struct si_channel *ch = cookie; local in function:si_get_report
[all...]
/src/usr.sbin/makemandb/
H A Dmakemandb.c300 int ch; local in function:main
307 while ((ch = getopt(argc, argv, "C:floQqv")) != -1) {
308 switch (ch) {
/src/usr.bin/audio/record/
H A Drecord.c93 int ch; local in function:main
102 while ((ch = getopt(argc, argv, "ab:B:C:F:c:d:e:fhi:m:P:p:qt:s:Vv:")) != -1) {
103 switch (ch) {
/src/sys/netinet/
H A Dsctp_pcb.c1124 struct sctphdr *sh, struct sctp_chunkhdr *ch,
1200 if ((ch->chunk_type != SCTP_INITIATION) &&
1201 (ch->chunk_type != SCTP_INITIATION_ACK) &&
1202 (ch->chunk_type != SCTP_COOKIE_ACK) &&
1203 (ch->chunk_type != SCTP_COOKIE_ECHO)) {
1228 if ((ch->chunk_type == SCTP_INITIATION) ||
1229 (ch->chunk_type == SCTP_INITIATION_ACK)) {
1123 sctp_findassociation_addr(struct mbuf * m,int iphlen,int offset,struct sctphdr * sh,struct sctp_chunkhdr * ch,struct sctp_inpcb ** inp_p,struct sctp_nets ** netp) argument
H A Dsctp_indata.c1665 struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length,
1679 tsn = ntohl(ch->dp.tsn);
1793 strmno = ntohs(ch->dp.stream_id);
1815 phdr->param_type = ch->dp.stream_id;
1832 strmseq = ntohs(ch->dp.stream_sequence);
1833 if ((ch->ch.chunk_flags & SCTP_DATA_FIRST_FRAG) &&
1834 (ch->ch.chunk_flags & SCTP_DATA_UNORDERED) == 0 &&
1890 if ((ch
1664 sctp_process_a_data_chunk(struct sctp_tcb * stcb,struct sctp_association * asoc,struct mbuf ** m,int offset,struct sctp_data_chunk * ch,int chk_length,struct sctp_nets * net,u_int32_t * high_tsn,int * abort_flag,int * break_flag,int last_chunk) argument
2503 struct sctp_data_chunk *ch, chunk_buf; local in function:sctp_process_data
2698 sctp_handle_segments(struct sctp_tcb * stcb,struct sctp_association * asoc,struct sctp_sack_chunk * ch,u_long last_tsn,u_long * biggest_tsn_acked,u_long * biggest_newly_acked_tsn,int num_seg,int * ecn_seg_sums) argument
3466 sctp_handle_sack(struct sctp_sack_chunk * ch,struct sctp_tcb * stcb,struct sctp_nets * net_from,int * abort_now) argument
[all...]
H A Dsctputil.c2710 struct sctp_chunkhdr *ch, chunk_buf; local in function:sctp_handle_ootb
2719 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, offset,
2720 sizeof(*ch), (u_int8_t *)&chunk_buf);
2721 while (ch != NULL) {
2722 chk_length = ntohs(ch->chunk_length);
2723 if (chk_length < sizeof(*ch)) {
2727 switch (ch->chunk_type) {
2747 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, offset,
2748 sizeof(*ch), (u_int8_t *)&chunk_buf);
2760 struct sctp_chunkhdr *ch; local in function:sctp_is_there_an_abort_here
[all...]
/src/common/lib/libprop/
H A Dprop_extern.c115 unsigned char ch; local in function:_prop_json_extern_append_encoded_cstring
117 for (; (ch = *cp) != '\0'; cp++) {
119 switch (ch) {
137 ch = 'b';
141 ch = 'f';
145 ch = 'n';
149 ch = 'r';
153 ch = 't';
168 if (ch < 0x20) {
170 ch)
203 unsigned char ch; local in function:_prop_xml_extern_append_encoded_cstring
[all...]
/src/bin/sh/
H A Dredir.c1104 int verbose = 0, ch, pos = 0, neg = 0; local in function:fdflagscmd
1108 while ((ch = getopt(argc, argv, ":vs:"
1113 switch ((char)ch) {
/src/sys/arch/sgimips/gio/
H A Dnewport.c1160 newport_putchar(void *c, int row, int col, u_int ch, long attr) argument
1165 struct wsdisplay_font *font = PICK_FONT(ri, ch);
1166 uint8_t *bitmap = (u_int8_t *)font->data + (ch - font->firstchar) *
/src/usr.bin/ftp/
H A Dutil.c1318 int rv, ch; local in function:get_line
1338 while ((ch = getchar()) != '\n' && ch != EOF)
H A Dftp.c1120 int ch; local in function:recvrequest
1126 if ((ch = ftp_getc(fout, &fout_errno)) == EOF)
1128 if (ch == '\n')
/src/usr.bin/diff/
H A Ddiffreg.c1193 fetch(long *f, int a, int b, FILE *lb, int ch, int oldfile, int flags) argument
1230 ch != '\0') {
1231 printf("%c", ch);
1434 char ch, *f; local in function:dump_context_vec
1475 ch = 'c';
1477 ch = (a <= b) ? 'd' : 'a';
1479 if (ch == 'a')
1484 ch == 'c' ? '!' : '-', 0, flags);
1511 ch = 'c';
1513 ch
1537 char ch, *f; local in function:dump_unified_vec
[all...]
H A Ddiff.c120 int ch, dflags, lastch, gotstdin, prevoptind, newarg; local in function:main
132 while ((ch = getopt_long(argc, argv, OPTIONS, longopts, NULL)) != -1) {
133 switch (ch) {
142 diff_context = (diff_context * 10) + (ch - '0');
315 lastch = ch;
/src/usr.bin/diff3/
H A Ddiff3.c833 int ch, nblabels, m, n, kq, nke, nleft; local in function:main
847 while ((ch = getopt_long(argc, argv, OPTIONS, longopts, NULL)) != -1) {
848 switch (ch) {
/src/sys/arch/virt68k/virt68k/
H A Dbootinfo.c556 char ch = *sp++; local in function:bootinfo_getarg
557 if (ch != '=' && ch != ' ' && ch != '\t' && ch != '\0') {
/src/usr.bin/fgen/
H A Dfgen.l998 int ch;
1007 while ((ch = getopt(argc, argv, "d:o:")) != -1)
1008 switch(ch) {
/src/etc/
H A DMAKEDEV.tmpl224 # ch* SCSI media changer
448 while getopts Mfm:p:st:u ch; do
451 case ${ch} in
1462 ses[0-9]*|ch[0-9]*|uk[0-9]*)
1464 ch*) name=ch; unit=${i#ch}; chr=%ch_chr%;;
/src/sys/dev/usb/
H A Dif_atu.c1593 atu_xfer_list_free(struct atu_softc *sc, struct atu_chain *ch, int listlen) argument
1599 if (ch[i].atu_buf != NULL)
1600 ch[i].atu_buf = NULL;
1601 m_freem(ch[i].atu_mbuf);
1602 ch[i].atu_mbuf = NULL;
1603 if (ch[i].atu_xfer != NULL) {
1604 usbd_destroy_xfer(ch[i].atu_xfer);
1605 ch[i].atu_xfer = NULL;
/src/sys/crypto/aes/arch/x86/
H A Daes_sse2_4x32.c221 #define SWAPN(cl, ch, s, x, y) do { \
223 __m128i ch128 = _mm_set1_epi32(ch); \
/src/sys/crypto/aes/
H A Daes_ct64.c236 #define SWAPN(cl, ch, s, x, y) do { \
241 (y) = ((a & (uint64_t)ch) >> (s)) | (b & (uint64_t)ch); \
/src/sys/fs/udf/
H A Dudf_subr.c4199 uint16_t *inchp, ch; local in function:udf_to_unix_name
4219 ch = *inchp;
4220 nout = wput_utf8(outchp, result_len, ch);
4222 if (!ch) break;
/src/usr.bin/iconv/
H A Diconv.c180 int ch, i; local in function:main
188 while ((ch = getopt(argc, argv, "cslf:o:t:")) != EOF) {
189 switch (ch) {
/src/usr.sbin/puffs/mount_sysctlfs/
H A Dsysctlfs.c242 int ch; local in function:main
251 while ((ch = getopt(argc, argv, "o:rs")) != -1) {
252 switch (ch) {
/src/sys/netinet6/
H A Dsctp6_usrreq.c121 struct sctp_chunkhdr *ch; local in function:sctp6_input
131 IP6_EXTHDR_GET(sh, struct sctphdr *, m, off, sizeof(*sh) + sizeof(*ch));
136 ch = (struct sctp_chunkhdr *)((vaddr_t)sh + sizeof(struct sctphdr));
139 offset = iphlen + sizeof(*sh) + sizeof(*ch);
183 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch),
184 sh, ch, &in6p, &net);
210 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch),
211 sh, ch, &in6p, &net);
217 if (ch->chunk_type == SCTP_INITIATION) {
275 offset -= sizeof(*ch);
[all...]

Completed in 138 milliseconds

1234567891011>>