/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_mapper.c | 183 mapper_close(struct _citrus_mapper *cm) argument 185 if (cm->cm_module) { 186 if (cm->cm_ops) { 187 if (cm->cm_closure) 188 (*cm->cm_ops->mo_uninit)(cm); 189 free(cm->cm_ops); 191 _citrus_unload_module(cm->cm_module); 193 free(cm->cm_traits); 194 free(cm); 207 struct _citrus_mapper *cm; local 301 match_func(struct _citrus_mapper *cm, const char *key) argument 316 struct _citrus_mapper *cm; local 373 _citrus_mapper_close(struct _citrus_mapper *cm) argument 399 _citrus_mapper_set_persistent(struct _citrus_mapper * __restrict cm) argument [all...] |
H A D | citrus_mapper.h | 79 _citrus_mapper_convert(struct _citrus_mapper * __restrict cm, argument 84 return ((*cm->cm_ops->mo_convert)(cm, dst, src, ps)); 92 _citrus_mapper_init_state(struct _citrus_mapper * __restrict cm) argument 95 (*cm->cm_ops->mo_init_state)(); 103 _citrus_mapper_get_state_size(struct _citrus_mapper * __restrict cm) argument 106 return (cm->cm_traits->mt_state_size); 114 _citrus_mapper_get_src_max(struct _citrus_mapper * __restrict cm) argument 117 return (cm->cm_traits->mt_src_max); 125 _citrus_mapper_get_dst_max(struct _citrus_mapper * __restrict cm) argument [all...] |
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | strcasecmp.c | 72 register u_char *cm = charmap, local 76 while (cm[*us1] == cm[*us2++]) 79 return(cm[*us1] - cm[*--us2]); 86 register u_char *cm = charmap, local 90 while (--n >= 0 && cm[*us1] == cm[*us2++]) 93 return(n < 0 ? 0 : cm[*us1] - cm[* [all...] |
/freebsd-11-stable/usr.bin/tr/ |
H A D | cmap.c | 53 struct cmap *cm; local 55 cm = malloc(sizeof(*cm)); 56 if (cm == NULL) 58 cm->cm_root = NULL; 59 cm->cm_def = CM_DEF_SELF; 60 cm->cm_havecache = false; 61 cm->cm_min = cm->cm_max = 0; 62 return (cm); 70 cmap_add(struct cmap *cm, wint_t from, wint_t to) argument 123 cmap_lookup_hard(struct cmap *cm, wint_t ch) argument 139 cmap_cache(struct cmap *cm) argument 156 cmap_default(struct cmap *cm, wint_t def) argument [all...] |
H A D | cmap.h | 63 cmap_lookup(struct cmap *cm, wint_t from) argument 66 if (from < CM_CACHE_SIZE && cm->cm_havecache) 67 return (cm->cm_cache[from]); 68 return (cmap_lookup_hard(cm, from)); 72 cmap_min(struct cmap *cm) argument 75 return (cm->cm_min); 79 cmap_max(struct cmap *cm) argument 82 return (cm->cm_max);
|
/freebsd-11-stable/tools/tools/locale/tools/ |
H A D | UTF82encoding.pl | 11 open(FIN, "$ARGV[0]/posix/UTF-8.cm"); 16 my %cm = (); 27 $cm{$a[1]} = $a[0] if (!defined $cm{$a[1]}); 54 if (defined $cm{$hex}) { 55 print $cm{$hex}; 60 if (defined $cm{$hex}) { 62 print $cm{$hex}; 68 if (defined $cm{$hex}) { 70 print $cm{ [all...] |
H A D | whatis.pl | 4 UTF8=$(grep ^cldr etc/unicode.conf | cut -f 2 -d " ")/UTF-8.cm 16 echo UTF-8.cm:
|
/freebsd-11-stable/sys/dev/mps/ |
H A D | mps_config.c | 75 struct mps_command *cm; local 82 if ((cm = mps_alloc_command(sc)) == NULL) { 88 request = (MPI2_CONFIG_REQUEST *)cm->cm_req; 95 cm->cm_desc.Default.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE; 96 cm->cm_data = NULL; 97 error = mps_wait_command(sc, &cm, 60, CAN_SLEEP); 98 if (cm != NULL) 99 reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; 127 mps_free_command(sc, cm); 129 if ((cm 206 struct mps_command *cm; local 567 struct mps_command *cm; local 705 struct mps_command *cm; local 845 struct mps_command *cm; local 980 struct mps_command *cm; local 1112 struct mps_command *cm; local 1243 struct mps_command *cm; local 1402 struct mps_command *cm; local [all...] |
H A D | mpsvar.h | 192 typedef void mps_command_callback_t(struct mps_softc *, struct mps_command *cm); 500 mps_free_command(struct mps_softc *sc, struct mps_command *cm) argument 504 if (cm->cm_reply != NULL) 505 mps_free_reply(sc, cm->cm_reply_data); 506 cm->cm_reply = NULL; 507 cm->cm_flags = 0; 508 cm->cm_complete = NULL; 509 cm->cm_complete_data = NULL; 510 cm->cm_ccb = NULL; 511 cm 531 struct mps_command *cm; local 544 mps_free_high_priority_command(struct mps_softc *sc, struct mps_command *cm) argument 568 struct mps_command *cm; local [all...] |
H A D | mps.c | 93 struct mps_command *cm); 96 static void mps_config_complete(struct mps_softc *sc, struct mps_command *cm); 99 static void mps_enqueue_request(struct mps_softc *sc, struct mps_command *cm); 112 /* Added this union to smoothly convert le64toh cm->cm_desc.Words. 618 struct mps_command *cm; local 666 cm = &sc->commands[i]; 667 bus_dmamap_destroy(sc->buffer_dmat, cm->cm_dmamap); 971 mps_enqueue_request(struct mps_softc *sc, struct mps_command *cm) argument 975 mps_dprint(sc, MPS_TRACE, "SMID %u cm %p ccb %p\n", 976 cm 1171 struct mps_command *cm; local 1731 mps_complete_command(struct mps_softc *sc, struct mps_command *cm) argument 1870 struct mps_command *cm = NULL; local 2039 mps_reregister_events_complete(struct mps_softc *sc, struct mps_command *cm) argument 2087 struct mps_command *cm; local 2145 struct mps_command *cm; local 2203 mps_add_chain(struct mps_command *cm) argument 2248 mps_push_sge(struct mps_command *cm, void *sgep, size_t len, int segsleft) argument 2405 mps_add_dmaseg(struct mps_command *cm, vm_paddr_t pa, size_t len, u_int flags, int segsleft) argument 2426 struct mps_command *cm; local 2514 mps_map_command(struct mps_softc *sc, struct mps_command *cm) argument 2548 struct mps_command *cm = *cmp; local 2622 struct mps_command *cm; local 2696 mps_config_complete(struct mps_softc *sc, struct mps_command *cm) argument [all...] |
/freebsd-11-stable/sys/dev/mpr/ |
H A D | mpr_config.c | 76 struct mpr_command *cm; local 83 if ((cm = mpr_alloc_command(sc)) == NULL) { 89 request = (MPI2_CONFIG_REQUEST *)cm->cm_req; 96 cm->cm_desc.Default.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE; 97 cm->cm_data = NULL; 98 error = mpr_wait_command(sc, &cm, 60, CAN_SLEEP); 99 if (cm != NULL) 100 reply = (MPI2_CONFIG_REPLY *)cm->cm_reply; 128 mpr_free_command(sc, cm); 130 if ((cm 208 struct mpr_command *cm; local 374 struct mpr_command *cm; local 512 struct mpr_command *cm; local 652 struct mpr_command *cm; local 789 struct mpr_command *cm; local 926 struct mpr_command *cm; local 1061 struct mpr_command *cm; local 1193 struct mpr_command *cm; local 1324 struct mpr_command *cm; local 1483 struct mpr_command *cm; local [all...] |
H A D | mpr.c | 96 struct mpr_command *cm); 99 static void mpr_config_complete(struct mpr_softc *sc, struct mpr_command *cm); 102 static void mpr_enqueue_request(struct mpr_softc *sc, struct mpr_command *cm); 116 * Added this union to smoothly convert le64toh cm->cm_desc.Words. 625 struct mpr_command *cm; local 683 cm = &sc->commands[i]; 684 bus_dmamap_destroy(sc->buffer_dmat, cm->cm_dmamap); 987 mpr_enqueue_request(struct mpr_softc *sc, struct mpr_command *cm) argument 992 mpr_dprint(sc, MPR_TRACE, "SMID %u cm %p ccb %p\n", 993 cm 1198 struct mpr_command *cm; local 1881 mpr_complete_command(struct mpr_softc *sc, struct mpr_command *cm) argument 2019 struct mpr_command *cm = NULL; local 2193 mpr_reregister_events_complete(struct mpr_softc *sc, struct mpr_command *cm) argument 2241 struct mpr_command *cm = NULL; local 2295 struct mpr_command *cm; local 2394 mpr_build_nvme_prp(struct mpr_softc *sc, struct mpr_command *cm, Mpi26NVMeEncapsulatedRequest_t *nvme_encap_request, void *data, uint32_t data_in_sz, uint32_t data_out_sz) argument 2590 mpr_check_pcie_native_sgl(struct mpr_softc *sc, struct mpr_command *cm, bus_dma_segment_t *segs, int segs_left) argument 2866 mpr_add_chain(struct mpr_command *cm, int segsleft) argument 2948 mpr_push_sge(struct mpr_command *cm, MPI2_SGE_SIMPLE64 *sge, size_t len, int segsleft) argument 3039 mpr_push_ieee_sge(struct mpr_command *cm, void *sgep, int segsleft) argument 3117 mpr_add_dmaseg(struct mpr_command *cm, vm_paddr_t pa, size_t len, u_int flags, int segsleft) argument 3149 struct mpr_command *cm; local 3244 mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm) argument 3278 struct mpr_command *cm = *cmp; local 3354 struct mpr_command *cm = *cmp; local 3409 struct mpr_command *cm; local 3483 mpr_config_complete(struct mpr_softc *sc, struct mpr_command *cm) argument [all...] |
H A D | mpr_sas.c | 125 static void mprsas_abort_complete(struct mpr_softc *sc, struct mpr_command *cm); 131 struct mpr_command *cm); 143 struct mpr_command *cm); 146 static void mprsas_smpio_complete(struct mpr_softc *sc, struct mpr_command *cm); 316 mprsas_log_command(struct mpr_command *cm, u_int level, const char *fmt, ...) argument 323 if (cm == NULL) 327 if ((cm->cm_sc->mpr_debug & level) == 0) 334 if (cm->cm_ccb != NULL) { 335 xpt_path_string(cm->cm_ccb->csio.ccb_h.path, path_str, 338 if (cm 434 struct mpr_command *cm; local 496 struct mpr_command *cm; local 1166 struct mpr_command *cm; local 1272 struct mpr_command *cm; local 1501 struct mpr_command *cm; local 1583 mprsas_send_abort(struct mpr_softc *sc, struct mpr_command *tm, struct mpr_command *cm) argument 1639 struct mpr_command *cm; local 1724 mprsas_build_nvme_unmap(struct mpr_softc *sc, struct mpr_command *cm, union ccb *ccb, struct mprsas_target *targ) argument 1877 struct mpr_command *cm; local 2390 mprsas_nvme_trans_status_code(struct nvme_status nvme_status, struct mpr_command *cm) argument 2561 mprsas_complete_nvme_unmap(struct mpr_softc *sc, struct mpr_command *cm) argument 2577 mprsas_scsiio_complete(struct mpr_softc *sc, struct mpr_command *cm) argument 2991 mprsas_smpio_complete(struct mpr_softc *sc, struct mpr_command *cm) argument 3056 struct mpr_command *cm; local 3905 struct mpr_command *cm; local 3928 mprsas_portenable_complete(struct mpr_softc *sc, struct mpr_command *cm) argument [all...] |
/freebsd-11-stable/sys/dev/xen/blkfront/ |
H A D | block.h | 160 XBDF_CM_SHORTAGE = 1 << 4, /* Free cm resource shortage active. */ 243 xbd_enqueue_cm(struct xbd_command *cm, xbd_q_index_t index) argument 247 if ((cm->cm_flags & XBDCF_Q_MASK) != XBD_Q_NONE) 249 __func__, cm, cm->cm_flags & XBDCF_Q_MASK); 250 TAILQ_INSERT_TAIL(&cm->cm_sc->xbd_cm_q[index].q_tailq, cm, cm_link); 251 cm->cm_flags &= ~XBDCF_Q_MASK; 252 cm->cm_flags |= index; 253 xbd_added_qentry(cm 257 xbd_requeue_cm(struct xbd_command *cm, xbd_q_index_t index) argument 273 struct xbd_command *cm; local 295 xbd_remove_cm(struct xbd_command *cm, xbd_q_index_t expected_index) argument [all...] |
H A D | blkfront.c | 117 xbd_cm_freeze(struct xbd_softc *sc, struct xbd_command *cm, xbdc_flag_t cm_flag) argument 119 if ((cm->cm_flags & XBDCF_FROZEN) != 0) 122 cm->cm_flags |= XBDCF_FROZEN|cm_flag; 127 xbd_cm_thaw(struct xbd_softc *sc, struct xbd_command *cm) argument 129 if ((cm->cm_flags & XBDCF_FROZEN) == 0) 132 cm->cm_flags &= ~XBDCF_FROZEN; 148 xbd_free_command(struct xbd_command *cm) argument 151 KASSERT((cm->cm_flags & XBDCF_Q_MASK) == XBD_Q_NONE, 153 cm->cm_flags & XBDCF_Q_MASK)); 155 cm 216 struct xbd_command *cm; local 297 xbd_queue_request(struct xbd_softc *sc, struct xbd_command *cm) argument 338 struct xbd_command *cm; local 419 struct xbd_command *cm; local 460 xbd_bio_complete(struct xbd_softc *sc, struct xbd_command *cm) argument 485 struct xbd_command *cm; local 589 xbd_dump_complete(struct xbd_command *cm) argument 601 struct xbd_command *cm; local 1062 struct xbd_command *cm; local 1320 struct xbd_command *cm; local [all...] |
/freebsd-11-stable/sys/dev/mfi/ |
H A D | mfi.c | 129 static int mfi_check_command_pre(struct mfi_softc *sc, struct mfi_command *cm); 130 static void mfi_check_command_post(struct mfi_softc *sc, struct mfi_command *cm); 131 static int mfi_check_for_sscd(struct mfi_softc *sc, struct mfi_command *cm); 801 struct mfi_command *cm; local 812 cm = &sc->mfi_commands[i]; 813 cm->cm_frame = (union mfi_frame *)((uintptr_t)sc->mfi_frames + 815 cm->cm_frame_busaddr = sc->mfi_frames_busaddr + 817 cm->cm_frame->header.context = i; 818 cm->cm_sense = &sc->mfi_sense[i]; 819 cm 847 mfi_release_command(struct mfi_command *cm) argument 910 struct mfi_command *cm; local 963 struct mfi_command *cm; local 1013 struct mfi_command *cm = NULL; local 1055 struct mfi_command *cm = NULL; local 1118 mfi_wait_command(struct mfi_softc *sc, struct mfi_command *cm) argument 1143 struct mfi_command *cm; local 1283 struct mfi_command *cm; local 1329 struct mfi_command *cm; local 1367 struct mfi_command *cm = NULL; local 1449 struct mfi_command *cm = NULL; local 1672 struct mfi_command *cm; local 1720 mfi_aen_complete(struct mfi_command *cm) argument 1775 struct mfi_command *cm; local 1864 struct mfi_command *cm; local 1907 mfi_add_ld_complete(struct mfi_command *cm) argument 1946 struct mfi_command *cm; local 1990 mfi_add_sys_pd_complete(struct mfi_command *cm) argument 2036 struct mfi_command *cm = NULL; local 2126 struct mfi_command *cm; local 2188 struct mfi_command *cm; local 2241 mfi_bio_complete(struct mfi_command *cm) argument 2271 struct mfi_command *cm; local 2305 mfi_mapcmd(struct mfi_softc *sc, struct mfi_command *cm) argument 2340 struct mfi_command *cm; local 2453 mfi_send_frame(struct mfi_softc *sc, struct mfi_command *cm) argument 2471 mfi_std_send_frame(struct mfi_softc *sc, struct mfi_command *cm) argument 2525 mfi_complete(struct mfi_softc *sc, struct mfi_command *cm) argument 2554 struct mfi_command *cm; local 2605 struct mfi_command *cm; local 2650 struct mfi_command *cm; local 2761 mfi_check_command_pre(struct mfi_softc *sc, struct mfi_command *cm) argument 2818 mfi_check_command_post(struct mfi_softc *sc, struct mfi_command *cm) argument 2880 mfi_check_for_sscd(struct mfi_softc *sc, struct mfi_command *cm) argument 2936 mfi_stp_cmd(struct mfi_softc *sc, struct mfi_command *cm,caddr_t arg) argument 3024 struct mfi_command *cm; local 3100 struct mfi_command *cm = NULL; local 3473 struct mfi_command *cm = NULL; local 3698 struct mfi_command *cm; local 3743 struct mfi_command *cm, *tmp; local [all...] |
H A D | mfi_debug.c | 102 mfi_print_ldio(struct mfi_softc *sc, device_t dev, struct mfi_command *cm) argument 107 io = &cm->cm_frame->io; 119 mfi_print_dcmd(struct mfi_softc *sc, device_t dev, struct mfi_command *cm) argument 125 dcmd = &cm->cm_frame->dcmd; 193 mfi_print_generic_frame(struct mfi_softc *sc, struct mfi_command *cm) argument 195 hexdump(cm->cm_frame, cm->cm_total_frame_size, NULL, HD_OMIT_CHARS); 199 mfi_print_cmd(struct mfi_command *cm) argument 204 sc = cm->cm_sc; 207 device_printf(dev, "cm 238 mfi_validate_sg(struct mfi_softc *sc, struct mfi_command *cm, const char *function, int line) argument [all...] |
H A D | mfivar.h | 127 void (* cm_complete)(struct mfi_command *cm); 435 extern void mfi_complete(struct mfi_softc *sc, struct mfi_command *cm); 436 extern int mfi_mapcmd(struct mfi_softc *sc,struct mfi_command *cm); 437 extern int mfi_wait_command(struct mfi_softc *sc, struct mfi_command *cm); 449 extern int mfi_tbolt_send_frame(struct mfi_softc *sc, struct mfi_command *cm); 484 mfi_enqueue_ ## name (struct mfi_command *cm) \ 486 if ((cm->cm_flags & MFI_ON_MFIQ_MASK) != 0) { \ 488 "flags = %#x\n", cm, cm->cm_flags); \ 490 TAILQ_INSERT_TAIL(&cm [all...] |
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | strcasecmp.c | 93 register const unsigned char *cm = charmap; local 99 if (cm[*us1] != cm[*us2++]) 100 return (cm[*us1] - cm[*--us2]);
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | control_client.c | 63 struct ctrl_msg_hdr *cm; local 72 cm = (struct ctrl_msg_hdr *)buf; 74 msg = (char *)buf + sizeof(*cm); 82 cm->cm_type = cm_orig->cm_type; 84 memcpy(msg, msg_orig, cm_orig->cm_len - sizeof(*cm)); 85 cm->cm_len = cm_orig->cm_len; 95 cm->cm_version = CM_VERSION; 112 switch (cm->cm_type) { 128 memcpy(buf_orig, buf, cm->cm_len);
|
/freebsd-11-stable/lib/libiconv_modules/mapper_none/ |
H A D | citrus_mapper_none.c | 66 struct _citrus_mapper * __restrict cm, const char * __restrict dir __unused, 74 cm->cm_closure = NULL; 83 _citrus_mapper_none_mapper_uninit(struct _citrus_mapper *cm __unused) 90 _citrus_mapper_none_mapper_convert(struct _citrus_mapper * __restrict cm __unused, 65 _citrus_mapper_none_mapper_init(struct _citrus_mapper_area *__restrict ma __unused, struct _citrus_mapper * __restrict cm, const char * __restrict dir __unused, const void * __restrict var __unused, size_t lenvar __unused, struct _citrus_mapper_traits * __restrict mt, size_t lenmt) argument
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 99 rx_req = (struct ipoib_rx_buf *)&priv->cm.srq_ring[id]; 101 priv->cm.rx_sge[i].addr = rx_req->mapping[i]; 102 priv->cm.rx_sge[i].length = m->m_len; 105 priv->cm.rx_wr.num_sge = i; 106 priv->cm.rx_wr.wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; 108 ret = ib_post_srq_recv(priv->cm.srq, &priv->cm.rx_wr, &bad_wr); 112 m_freem(priv->cm.srq_ring[id].mb); 113 priv->cm.srq_ring[id].mb = NULL; 154 priv->cm [all...] |
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | probe.c | 152 struct cmsghdr *cm; local 166 cm = CMSG_FIRSTHDR(&sndmhdr); 168 cm->cmsg_level = IPPROTO_IPV6; 169 cm->cmsg_type = IPV6_PKTINFO; 170 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); 171 pi = (struct in6_pktinfo *)(void *)CMSG_DATA(cm); 176 cm = CMSG_NXTHDR(&sndmhdr, cm); 177 cm->cmsg_level = IPPROTO_IPV6; 178 cm [all...] |
/freebsd-11-stable/lib/libiconv_modules/mapper_serial/ |
H A D | citrus_mapper_serial.c | 160 struct _citrus_mapper * __restrict cm, const char * __restrict dir __unused, 182 cm->cm_closure = sr; 191 _citrus_mapper_serial_mapper_uninit(struct _citrus_mapper *cm) argument 194 if (cm && cm->cm_closure) { 195 uninit(cm->cm_closure); 196 free(cm->cm_closure); 202 _citrus_mapper_serial_mapper_convert(struct _citrus_mapper * __restrict cm, argument 209 sr = cm->cm_closure; 221 _citrus_mapper_parallel_mapper_convert(struct _citrus_mapper * __restrict cm, argument 159 _citrus_mapper_serial_mapper_init(struct _citrus_mapper_area *__restrict ma __unused, struct _citrus_mapper * __restrict cm, const char * __restrict dir __unused, const void * __restrict var, size_t lenvar, struct _citrus_mapper_traits * __restrict mt, size_t lenmt) argument [all...] |
/freebsd-11-stable/sys/modules/cm/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/cm/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/cm
|