Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 1632) sorted by relevance

12345678910>>...66

/freebsd/crypto/openssl/ssl/quic/
H A Dquic_channel.c46 DEFINE_LIST_OF_IMPL(ch, QUIC_CHANNEL);
48 static void ch_save_err_state(QUIC_CHANNEL *ch);
49 static int ch_rx(QUIC_CHANNEL *ch, int channel_only, int *notify_other_threads);
50 static int ch_tx(QUIC_CHANNEL *ch, int *notify_other_threads);
51 static int ch_tick_tls(QUIC_CHANNEL *ch, int channel_only, int *notify_other_threads);
52 static void ch_rx_handle_packet(QUIC_CHANNEL *ch, int channel_only);
53 static OSSL_TIME ch_determine_next_tick_deadline(QUIC_CHANNEL *ch);
54 static int ch_retry(QUIC_CHANNEL *ch,
59 static int ch_restart(QUIC_CHANNEL *ch);
61 static void ch_cleanup(QUIC_CHANNEL *ch);
[all …]
H A Dquic_rx_depack.c32 static int depack_do_implicit_stream_create(QUIC_CHANNEL *ch,
44 static int depack_do_frame_ping(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_ping() argument
50 ossl_quic_channel_raise_protocol_error(ch, in depack_do_frame_ping()
57 ossl_quic_tx_packetiser_schedule_ack_eliciting(ch->txp, enc_level); in depack_do_frame_ping()
61 static int depack_do_frame_ack(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_ack() argument
69 uint32_t ack_delay_exp = ch->rx_ack_delay_exp; in depack_do_frame_ack()
76 if (ch->num_ack_range_scratch < (size_t)total_ranges) { in depack_do_frame_ack()
77 if ((p = OPENSSL_realloc(ch->ack_range_scratch, in depack_do_frame_ack()
83 ch->ack_range_scratch = p; in depack_do_frame_ack()
84 ch in depack_do_frame_ack()
143 depack_do_frame_reset_stream(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_reset_stream() argument
219 depack_do_frame_stop_sending(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_stop_sending() argument
263 depack_do_frame_crypto(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_QRX_PKT * parent_pkt,OSSL_ACKM_RX_PKT * ackm_data,uint64_t * datalen) depack_do_frame_crypto() argument
327 depack_do_frame_new_token(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_new_token() argument
367 depack_do_implicit_stream_create(QUIC_CHANNEL * ch,uint64_t stream_id,uint64_t frame_type,QUIC_STREAM ** result) depack_do_implicit_stream_create() argument
496 depack_do_frame_stream(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_QRX_PKT * parent_pkt,OSSL_ACKM_RX_PKT * ackm_data,uint64_t frame_type,uint64_t * datalen) depack_do_frame_stream() argument
646 QUIC_CHANNEL *ch = arg; update_streams() local
653 QUIC_CHANNEL *ch = arg; update_streams_bidi() local
663 QUIC_CHANNEL *ch = arg; update_streams_uni() local
671 depack_do_frame_max_data(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_max_data() argument
690 depack_do_frame_max_stream_data(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_max_stream_data() argument
729 depack_do_frame_max_streams(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data,uint64_t frame_type) depack_do_frame_max_streams() argument
778 depack_do_frame_data_blocked(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_data_blocked() argument
796 depack_do_frame_stream_data_blocked(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_stream_data_blocked() argument
843 depack_do_frame_streams_blocked(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data,uint64_t frame_type) depack_do_frame_streams_blocked() argument
876 depack_do_frame_new_conn_id(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_new_conn_id() argument
895 depack_do_frame_retire_conn_id(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_retire_conn_id() argument
938 depack_do_frame_path_challenge(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_path_challenge() argument
993 depack_do_frame_path_response(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_path_response() argument
1011 depack_do_frame_conn_close(PACKET * pkt,QUIC_CHANNEL * ch,uint64_t frame_type) depack_do_frame_conn_close() argument
1029 depack_do_frame_handshake_done(PACKET * pkt,QUIC_CHANNEL * ch,OSSL_ACKM_RX_PKT * ackm_data) depack_do_frame_handshake_done() argument
1047 depack_process_frames(QUIC_CHANNEL * ch,PACKET * pkt,OSSL_QRX_PKT * parent_pkt,uint32_t enc_level,OSSL_TIME received,OSSL_ACKM_RX_PKT * ackm_data) depack_process_frames() argument
1424 ossl_quic_handle_frames(QUIC_CHANNEL * ch,OSSL_QRX_PKT * qpacket) ossl_quic_handle_frames() argument
[all...]
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmutil/
H A Dd11.c41 static void brcmu_d11n_encchspec(struct brcmu_chan *ch) in brcmu_d11n_encchspec() argument
43 if (ch->bw == BRCMU_CHAN_BW_20) in brcmu_d11n_encchspec()
44 ch->sb = BRCMU_CHAN_SB_NONE; in brcmu_d11n_encchspec()
46 ch->chspec = 0; in brcmu_d11n_encchspec()
47 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_CH_MASK, in brcmu_d11n_encchspec()
48 BRCMU_CHSPEC_CH_SHIFT, ch->chnum); in brcmu_d11n_encchspec()
49 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_D11N_SB_MASK, in brcmu_d11n_encchspec()
50 0, d11n_sb(ch->sb)); in brcmu_d11n_encchspec()
51 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_D11N_BW_MASK, in brcmu_d11n_encchspec()
52 0, d11n_bw(ch->bw)); in brcmu_d11n_encchspec()
[all …]
/freebsd/sys/dev/mvs/
H A Dmvs.c73 static int mvs_sata_connect(struct mvs_channel *ch);
116 struct mvs_channel *ch = device_get_softc(dev); in mvs_ch_attach() local
120 ch->dev = dev; in mvs_ch_attach()
121 ch->unit = (intptr_t)device_get_ivars(dev); in mvs_ch_attach()
122 ch->quirks = ctlr->quirks; in mvs_ch_attach()
123 mtx_init(&ch->mtx, "MVS channel lock", NULL, MTX_DEF); in mvs_ch_attach()
124 ch->pm_level = 0; in mvs_ch_attach()
126 device_get_unit(dev), "pm_level", &ch->pm_level); in mvs_ch_attach()
127 if (ch->pm_level > 3) in mvs_ch_attach()
128 callout_init_mtx(&ch->pm_timer, &ch->mtx, 0); in mvs_ch_attach()
[all …]
/freebsd/sys/dev/ahci/
H A Dahci.c64 static void ahci_ch_intr_main(struct ahci_channel *ch, uint32_t istatus);
65 static void ahci_begin_transaction(struct ahci_channel *ch, union ccb *ccb);
70 static int ahci_setup_fis(struct ahci_channel *ch, struct ahci_cmd_tab *ctp, union ccb *ccb, int ta…
76 static void ahci_reset(struct ahci_channel *ch);
77 static void ahci_start(struct ahci_channel *ch, int fbs);
78 static void ahci_stop(struct ahci_channel *ch);
79 static void ahci_clo(struct ahci_channel *ch);
80 static void ahci_start_fr(struct ahci_channel *ch);
81 static void ahci_stop_fr(struct ahci_channel *ch);
82 static int ahci_phy_check_events(struct ahci_channel *ch, u_int32_t serr);
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_sata.c65 static void fsl_sata_intr_main(struct fsl_sata_channel *ch, uint32_t istatus);
66 static void fsl_sata_begin_transaction(struct fsl_sata_channel *ch, union ccb *ccb);
71 static int fsl_sata_setup_fis(struct fsl_sata_channel *ch, struct fsl_sata_cmd_tab *ctp, union ccb …
77 static void fsl_sata_reset(struct fsl_sata_channel *ch);
78 static void fsl_sata_start(struct fsl_sata_channel *ch);
79 static void fsl_sata_stop(struct fsl_sata_channel *ch);
81 static void fsl_sata_issue_recovery(struct fsl_sata_channel *ch);
82 static void fsl_sata_process_read_log(struct fsl_sata_channel *ch, union ccb *ccb);
83 static void fsl_sata_process_request_sense(struct fsl_sata_channel *ch, union ccb *ccb);
157 #define FSL_SATA_CTP_BUS(ch, slot) \ argument
[all …]
/freebsd/contrib/openpam/lib/libpam/
H A Dopenpam_ctype.h36 #define is_digit(ch) \ argument
37 (ch >= '0' && ch <= '9')
42 #define is_xdigit(ch) \ argument
43 ((ch >= '0' && ch <= '9') || \
44 (ch >= 'a' && ch <= 'f') || \
45 (ch >= 'A' && ch <= 'F'))
50 #define is_upper(ch) \ argument
51 (ch >= 'A' && ch <= 'Z')
56 #define is_lower(ch) \ argument
57 (ch >= 'a' && ch <= 'z')
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dquic_channel.h182 int ossl_quic_channel_init(QUIC_CHANNEL *ch);
186 void ossl_quic_channel_free(QUIC_CHANNEL *ch);
189 int ossl_quic_channel_set_mutator(QUIC_CHANNEL *ch,
210 int ossl_quic_channel_start(QUIC_CHANNEL *ch);
213 void ossl_quic_channel_local_close(QUIC_CHANNEL *ch, uint64_t app_error_code,
219 int ossl_quic_channel_schedule_new_token(QUIC_CHANNEL *ch,
226 int ossl_quic_channel_on_handshake_confirmed(QUIC_CHANNEL *ch);
242 void ossl_quic_channel_raise_protocol_error_loc(QUIC_CHANNEL *ch,
251 #define ossl_quic_channel_raise_protocol_error(ch, error_code, frame_type, reason) \ argument
252 ossl_quic_channel_raise_protocol_error_loc((ch), (error_code), \
[all …]
/freebsd/lib/libiconv_modules/ZW/
H A Dcitrus_zw.c65 char ch[4]; member
115 int ch, len; in _citrus_ZW_mbrtowc_priv() local
132 ch = (unsigned char)*s0++; \ in _citrus_ZW_mbrtowc_priv()
133 if (len++ > MB_LEN_MAX || ch > 0x7F)\ in _citrus_ZW_mbrtowc_priv()
135 psenc->ch[psenc->chlen++] = ch; \ in _citrus_ZW_mbrtowc_priv()
144 switch (psenc->ch[0]) { in _citrus_ZW_mbrtowc_priv()
154 ch = (unsigned char)psenc->ch[0]; in _citrus_ZW_mbrtowc_priv()
155 if (ch > 0x7F) in _citrus_ZW_mbrtowc_priv()
157 wc = (wchar_t)ch; in _citrus_ZW_mbrtowc_priv()
164 ch = (unsigned char)psenc->ch[0]; in _citrus_ZW_mbrtowc_priv()
[all …]
/freebsd/sys/arm/ti/
H A Dti_sdma.c91 void (*callback)(unsigned int ch, uint32_t ch_status, void *data);
218 unsigned int ch, j; in ti_sdma_intr() local
231 for (ch = 0; ch < NUM_DMA_CHANNELS; ch++) { in ti_sdma_intr()
232 if (intr & (1 << ch)) { in ti_sdma_intr()
233 channel = &sc->sc_channel[ch]; in ti_sdma_intr()
236 csr = ti_sdma_read_4(sc, DMA4_CSR(ch)); in ti_sdma_intr()
239 "%d\n", ch); in ti_sdma_intr()
244 if ((sc->sc_active_channels & (1 << ch)) == 0) { in ti_sdma_intr()
246 "channel %d\n", j, ch); in ti_sdma_intr()
254 ch); in ti_sdma_intr()
[all …]
/freebsd/sys/dev/siis/
H A Dsiis.c85 static int siis_sata_connect(struct siis_channel *ch);
461 struct siis_channel *ch = device_get_softc(dev); in siis_ch_attach() local
465 ch->dev = dev; in siis_ch_attach()
466 ch->unit = (intptr_t)device_get_ivars(dev); in siis_ch_attach()
467 ch->quirks = ctlr->quirks; in siis_ch_attach()
468 ch->pm_level = 0; in siis_ch_attach()
470 device_get_unit(dev), "pm_level", &ch->pm_level); in siis_ch_attach()
474 ch->user[i].revision = sata_rev; in siis_ch_attach()
475 ch->user[i].mode = 0; in siis_ch_attach()
476 ch->user[i].bytecount = 8192; in siis_ch_attach()
[all …]
/freebsd/sys/dev/ata/
H A Data-dma.c67 struct ata_channel *ch = device_get_softc(dev); in ata_dmainit() local
70 if (ch->dma.alloc == NULL) in ata_dmainit()
71 ch->dma.alloc = ata_dmaalloc; in ata_dmainit()
72 if (ch->dma.free == NULL) in ata_dmainit()
73 ch->dma.free = ata_dmafree; in ata_dmainit()
74 if (ch->dma.setprd == NULL) in ata_dmainit()
75 ch->dma.setprd = ata_dmasetprd; in ata_dmainit()
76 if (ch->dma.load == NULL) in ata_dmainit()
77 ch->dma.load = ata_dmaload; in ata_dmainit()
78 if (ch->dma.unload == NULL) in ata_dmainit()
[all …]
H A Data-lowlevel.c55 static int ata_wait(struct ata_channel *ch, int unit, u_int8_t);
67 struct ata_channel *ch = device_get_softc(dev); in ata_generic_hw() local
69 ch->hw.begin_transaction = ata_begin_transaction; in ata_generic_hw()
70 ch->hw.end_transaction = ata_end_transaction; in ata_generic_hw()
71 ch->hw.status = ata_generic_status; in ata_generic_hw()
72 ch->hw.softreset = NULL; in ata_generic_hw()
73 ch->hw.command = ata_generic_command; in ata_generic_hw()
74 ch->hw.tf_read = ata_tf_read; in ata_generic_hw()
75 ch->hw.tf_write = ata_tf_write; in ata_generic_hw()
76 ch->hw.pm_read = NULL; in ata_generic_hw()
[all …]
H A Data-all.c96 struct ata_channel *ch = device_get_softc(dev); in ata_attach() local
104 if (ch->r_irq) in ata_attach()
108 ch->dev = dev; in ata_attach()
109 ch->state = ATA_IDLE; in ata_attach()
110 bzero(&ch->state_mtx, sizeof(struct mtx)); in ata_attach()
111 mtx_init(&ch->state_mtx, "ATA state lock", NULL, MTX_DEF); in ata_attach()
112 TASK_INIT(&ch->conntask, 0, ata_conn_event, dev); in ata_attach()
114 ch->user[i].revision = 0; in ata_attach()
122 ch->user[i].revision = mode; in ata_attach()
123 ch->user[i].mode = 0; in ata_attach()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTF.cpp167 UTF32 ch; in ConvertUTF32toUTF16() local
171 ch = *source++; in ConvertUTF32toUTF16()
172 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
174 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
183 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
185 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
197 ch -= halfBase; in ConvertUTF32toUTF16()
198 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
199 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
215 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/freebsd/sys/arm/mv/
H A Dmvreg.h142 #define SATA_EDMA_BASE(ch) (EDMA_REGISTERS_OFFSET + \ argument
143 ((ch) * EDMA_REGISTERS_SIZE))
150 #define SATA_CR_COALDIS(ch) (1 << (24 + ch)) argument
161 #define SATA_ICR_DMADONE(ch) (1 << (ch)) argument
163 #define SATA_ICR_DEV(ch) (1 << (8 + ch)) argument
166 #define SATA_MICR_ERR(ch) (1 << (2 * ch)) argument
167 #define SATA_MICR_DONE(ch) (1 << ((2 * ch) + 1)) argument
168 #define SATA_MICR_DMADONE(ch) (1 << (4 + ch)) argument
174 #define SATA_SHADOWR_BASE(ch) (SATA_EDMA_BASE(ch) + 0x100) argument
175 #define SATA_SHADOWR_CONTROL(ch) (SATA_EDMA_BASE(ch) + 0x120) argument
[all …]
/freebsd/cddl/contrib/opensolaris/common/util/
H A Dstrtolctype.h49 #define isalnum(ch) (isalpha(ch) || isdigit(ch)) argument
50 #define isalpha(ch) (isupper(ch) || islower(ch)) argument
51 #define isdigit(ch) ((ch) >= '0' && (ch) <= '9') argument
52 #define islower(ch) ((ch) >= 'a' && (ch) <= 'z') argument
53 #define isspace(ch) (((ch) == ' ') || ((ch) == '\r') || ((ch) == '\n') || \ argument
54 ((ch) == '\t') || ((ch) == '\f'))
55 #define isupper(ch) ((ch) >= 'A' && (ch) <= 'Z') argument
56 #define isxdigit(ch) (isdigit(ch) || ((ch) >= 'a' && (ch) <= 'f') || \ argument
57 ((ch) >= 'A' && (ch) <= 'F'))
/freebsd/sys/cddl/contrib/opensolaris/common/util/
H A Dstrtolctype.h49 #define isalnum(ch) (isalpha(ch) || isdigit(ch)) argument
50 #define isalpha(ch) (isupper(ch) || islower(ch)) argument
51 #define isdigit(ch) ((ch) >= '0' && (ch) <= '9') argument
52 #define islower(ch) ((ch) >= 'a' && (ch) <= 'z') argument
53 #define isspace(ch) (((ch) == ' ') || ((ch) == '\r') || ((ch) == '\n') || \ argument
54 ((ch) == '\t') || ((ch) == '\f'))
55 #define isupper(ch) ((ch) >= 'A' && (ch) <= 'Z') argument
56 #define isxdigit(ch) (isdigit(ch) || ((ch) >= 'a' && (ch) <= 'f') || \ argument
57 ((ch) >= 'A' && (ch) <= 'F'))
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_dma.c126 static void bcm_dma_reg_dump(int ch);
131 int ch; member
173 bcm_dma_reset(device_t dev, int ch) in bcm_dma_reset() argument
180 if (ch < 0 || ch >= BCM_DMA_CH_MAX) in bcm_dma_reset()
183 cs = bus_read_4(sc->sc_mem, BCM_DMA_CS(ch)); in bcm_dma_reset()
187 bus_write_4(sc->sc_mem, BCM_DMA_CS(ch), 0); in bcm_dma_reset()
191 cs = bus_read_4(sc->sc_mem, BCM_DMA_CS(ch)); in bcm_dma_reset()
196 "Can't abort DMA transfer at channel %d\n", ch); in bcm_dma_reset()
199 bus_write_4(sc->sc_mem, BCM_DMA_CBNEXT(ch), 0); in bcm_dma_reset()
202 bus_write_4(sc->sc_mem, BCM_DMA_CS(ch), in bcm_dma_reset()
[all …]
/freebsd/sys/dev/sound/pci/
H A Dt4dwave.c310 tr_testint(struct tr_chinfo *ch)
312 struct tr_info *tr = ch->parent;
315 bank = (ch->index & 0x20) ? 1 : 0;
316 chan = ch->index & 0x1f;
322 tr_clrint(struct tr_chinfo *ch) in tr_clrint() argument
324 struct tr_info *tr = ch->parent; in tr_clrint()
327 bank = (ch->index & 0x20) ? 1 : 0; in tr_clrint()
328 chan = ch->index & 0x1f; in tr_clrint()
333 tr_enaint(struct tr_chinfo *ch, int enable) in tr_enaint() argument
335 struct tr_info *tr = ch->parent; in tr_enaint()
[all …]
/freebsd/usr.bin/mkimg/
H A Dimage.c137 struct chunk *ch; in image_chunk_find() local
139 ch = (last != NULL && last->ch_block <= blk) in image_chunk_find()
141 while (ch != NULL) { in image_chunk_find()
142 if (ch->ch_block <= blk && in image_chunk_find()
143 (lba_t)(ch->ch_block + (ch->ch_size / secsz)) > blk) { in image_chunk_find()
144 last = ch; in image_chunk_find()
147 ch = TAILQ_NEXT(ch, ch_list); in image_chunk_find()
149 return (ch); in image_chunk_find()
153 image_chunk_grow(struct chunk *ch, size_t sz) in image_chunk_grow() argument
157 newsz = ch->ch_size + sz; in image_chunk_grow()
[all …]
/freebsd/sys/dev/ata/chipsets/
H A Data-promise.c359 struct ata_channel *ch = device_get_softc(dev); in ata_promise_ch_attach() local
365 ch->dma.start = ata_promise_dmastart; in ata_promise_ch_attach()
366 ch->dma.stop = ata_promise_dmastop; in ata_promise_ch_attach()
367 ch->dma.reset = ata_promise_dmareset; in ata_promise_ch_attach()
370 ch->hw.status = ata_promise_status; in ata_promise_ch_attach()
371 ch->flags |= ATA_NO_ATAPI_DMA; in ata_promise_ch_attach()
372 ch->flags |= ATA_CHECKS_CABLE; in ata_promise_ch_attach()
380 struct ata_channel *ch = device_get_softc(dev); in ata_promise_status() local
382 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) { in ata_promise_status()
392 struct ata_channel *ch = device_get_softc(request->parent); in ata_promise_dmastart() local
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_channel.c121 struct dpaa2_channel *ch = NULL; in dpaa2_chan_setup() local
148 ch = malloc(sizeof(struct dpaa2_channel), M_DPAA2_CH, M_WAITOK | M_ZERO); in dpaa2_chan_setup()
149 ch->ni_dev = dev; in dpaa2_chan_setup()
150 ch->io_dev = iodev; in dpaa2_chan_setup()
151 ch->con_dev = condev; in dpaa2_chan_setup()
152 ch->id = consc->attr.chan_id; in dpaa2_chan_setup()
153 ch->flowid = flowid; in dpaa2_chan_setup()
154 ch->tx_frames = 0; /* for debug purposes */ in dpaa2_chan_setup()
155 ch->tx_dropped = 0; /* for debug purposes */ in dpaa2_chan_setup()
156 ch->store_sz = 0; in dpaa2_chan_setup()
[all …]
/freebsd/lib/libc/iconv/
H A Dcitrus_prop.c83 int ch, cutlim, n; \
90 ch = _memstream_getc(ms); \
91 p = strchr(xdigit, _bcs_toupper(ch)); \
99 _memstream_ungetc(ms, ch); \
112 int base, ch, neg; \ in _CITRUS_PROP_READ_UINT_COMMON()
115 ch = _memstream_getc(ms); \ in _CITRUS_PROP_READ_UINT_COMMON()
117 switch (ch) { \ in _CITRUS_PROP_READ_UINT_COMMON()
121 ch = _memstream_getc(ms); \ in _CITRUS_PROP_READ_UINT_COMMON()
124 if (ch == '0') { \ in _CITRUS_PROP_READ_UINT_COMMON()
126 ch = _memstream_getc(ms); \ in _CITRUS_PROP_READ_UINT_COMMON()
[all …]
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_eaction.c96 #define EACTION_OBJ(ch, cmd) \ argument
97 ((struct eaction_obj *)SRV_OBJECT((ch), insntod((cmd), kidx)->kidx))
109 default_eaction(struct ip_fw_chain *ch, struct ip_fw_args *args, in default_eaction() argument
146 eaction_findbyname(struct ip_fw_chain *ch, struct tid_info *ti, in eaction_findbyname() argument
166 *pno = ipfw_objhash_lookup_name_type(CHAIN_TO_SRV(ch), in eaction_findbyname()
174 eaction_findbykidx(struct ip_fw_chain *ch, uint32_t idx) in eaction_findbykidx() argument
178 return (ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), idx)); in eaction_findbykidx()
193 create_eaction_obj(struct ip_fw_chain *ch, ipfw_eaction_t handler, in create_eaction_obj() argument
199 IPFW_UH_UNLOCK_ASSERT(ch); in create_eaction_obj()
201 ni = CHAIN_TO_SRV(ch); in create_eaction_obj()
[all …]

12345678910>>...66