Home
last modified time | relevance | path

Searched refs:dcp (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/sbin/ifconfig/
H A Difclone.c88 struct clone_defcb *dcp; in clone_setdefcallback_prefix() local
90 dcp = malloc(sizeof(*dcp)); in clone_setdefcallback_prefix()
91 strlcpy(dcp->ifprefix, ifprefix, IFNAMSIZ-1); in clone_setdefcallback_prefix()
92 dcp->clone_mt = MT_PREFIX; in clone_setdefcallback_prefix()
93 dcp->clone_cb = p; in clone_setdefcallback_prefix()
94 SLIST_INSERT_HEAD(&clone_defcbh, dcp, next); in clone_setdefcallback_prefix()
100 struct clone_defcb *dcp; in clone_setdefcallback_filter() local
102 dcp = malloc(sizeof(*dcp)); in clone_setdefcallback_filter()
103 dcp->ifmatch = filter; in clone_setdefcallback_filter()
104 dcp->clone_mt = MT_FILTER; in clone_setdefcallback_filter()
[all …]
/freebsd/sys/libkern/
H A Diconv.c127 iconv_register_converter(struct iconv_converter_class *dcp) in iconv_register_converter() argument
129 kobj_class_compile((struct kobj_class*)dcp); in iconv_register_converter()
130 dcp->refs++; in iconv_register_converter()
131 TAILQ_INSERT_TAIL(&iconv_converters, dcp, cc_link); in iconv_register_converter()
136 iconv_unregister_converter(struct iconv_converter_class *dcp) in iconv_unregister_converter() argument
138 dcp->refs--; in iconv_unregister_converter()
139 if (dcp->refs > 1) { in iconv_unregister_converter()
140 ICDEBUG("converter has %d references left\n", dcp->refs); in iconv_unregister_converter()
143 TAILQ_REMOVE(&iconv_converters, dcp, cc_link); in iconv_unregister_converter()
144 kobj_class_free((struct kobj_class*)dcp); in iconv_unregister_converter()
[all …]
H A Diconv_xlat.c55 iconv_xlat_open(struct iconv_converter_class *dcp, in iconv_xlat_open() argument
60 dp = (struct iconv_xlat *)kobj_create((struct kobj_class*)dcp, M_ICONV, M_WAITOK); in iconv_xlat_open()
108 iconv_xlat_name(struct iconv_converter_class *dcp) in iconv_xlat_name() argument
H A Diconv_converter_if.m33 struct iconv_converter_class *dcp;
54 struct iconv_converter_class *dcp;
58 struct iconv_converter_class *dcp;
62 struct iconv_converter_class *dcp;
H A Diconv_ucs.c88 iconv_ucs_open(struct iconv_converter_class *dcp, in iconv_ucs_open() argument
95 dp = (struct iconv_ucs *)kobj_create((struct kobj_class*)dcp, M_ICONV, M_WAITOK); in iconv_ucs_open()
372 iconv_ucs_init(struct iconv_converter_class *dcp) in iconv_ucs_init() argument
386 iconv_ucs_done(struct iconv_converter_class *dcp) in iconv_ucs_done() argument
392 iconv_ucs_name(struct iconv_converter_class *dcp) in iconv_ucs_name() argument
H A Diconv_xlat16.c60 iconv_xlat16_open(struct iconv_converter_class *dcp, in iconv_xlat16_open() argument
67 dp = (struct iconv_xlat16 *)kobj_create((struct kobj_class*)dcp, M_ICONV, M_WAITOK); in iconv_xlat16_open()
293 iconv_xlat16_name(struct iconv_converter_class *dcp) in iconv_xlat16_name() argument
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c632 exec_prog(const dtrace_cmd_t *dcp) in exec_prog() argument
638 dtrace_program_info(g_dtp, dcp->dc_prog, &dpi); in exec_prog()
639 } else if (dtrace_program_exec(g_dtp, dcp->dc_prog, &dpi) == -1) { in exec_prog()
640 dfatal("failed to enable '%s'", dcp->dc_name); in exec_prog()
643 dcp->dc_desc, dcp->dc_name, in exec_prog()
649 dcp->dc_desc, dcp->dc_name); in exec_prog()
669 (void) dtrace_stmt_iter(g_dtp, dcp->dc_prog, in exec_prog()
683 anon_prog(const dtrace_cmd_t *dcp, dof_hdr_t *dof, int n) in anon_prog() argument
688 dfatal("failed to create DOF image for '%s'", dcp->dc_name); in anon_prog()
724 link_prog(dtrace_cmd_t *dcp) in link_prog() argument
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c142 dsl_crypto_params_t *dcp = NULL; in dsl_crypto_params_create_nvlist() local
148 dcp = kmem_zalloc(sizeof (dsl_crypto_params_t), KM_SLEEP); in dsl_crypto_params_create_nvlist()
149 dcp->cp_cmd = cmd; in dsl_crypto_params_create_nvlist()
164 dcp->cp_crypt = crypt; in dsl_crypto_params_create_nvlist()
173 if (dcp->cp_cmd >= DCP_CMD_MAX) { in dsl_crypto_params_create_nvlist()
177 dcp->cp_cmd = cmd; in dsl_crypto_params_create_nvlist()
181 if (dcp->cp_crypt >= ZIO_CRYPT_FUNCTIONS) { in dsl_crypto_params_create_nvlist()
185 dcp->cp_crypt = crypt; in dsl_crypto_params_create_nvlist()
201 dcp->cp_keylocation = spa_strdup(keylocation); in dsl_crypto_params_create_nvlist()
211 if (dcp->cp_crypt == ZIO_CRYPT_ON) in dsl_crypto_params_create_nvlist()
[all …]
H A Ddmu_objset.c1347 dsl_crypto_params_t *dcp, dmu_objset_create_sync_func_t func, void *arg) in dmu_objset_create() argument
1368 doca.doca_dcp = (dcp != NULL) ? dcp : &tmp_dcp; in dmu_objset_create()
2721 dmu_objset_find_dp_impl(dmu_objset_find_ctx_t *dcp) in dmu_objset_find_dp_impl() argument
2723 dsl_pool_t *dp = dcp->dc_dp; in dmu_objset_find_dp_impl()
2732 if (*dcp->dc_error != 0) in dmu_objset_find_dp_impl()
2740 err = dsl_dir_hold_obj(dp, dcp->dc_ddobj, dcp->dc_ddname, FTAG, &dd); in dmu_objset_find_dp_impl()
2756 if (dcp->dc_flags & DS_FIND_CHILDREN) { in dmu_objset_find_dp_impl()
2767 *child_dcp = *dcp; in dmu_objset_find_dp_impl()
2770 if (dcp->dc_tq != NULL) in dmu_objset_find_dp_impl()
2771 (void) taskq_dispatch(dcp->dc_tq, in dmu_objset_find_dp_impl()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-dcp.txt4 - compatible : Should be "fsl,<soc>-dcp"
10 - clock-names : Must be "dcp".
14 dcp: crypto@80028000 {
15 compatible = "fsl,imx28-dcp", "fsl,imx23-dcp";
/freebsd/sys/netinet/netdump/
H A Dnetdump_client.c288 struct debugnet_conn_params dcp; in netdump_start() local
305 memset(&dcp, 0, sizeof(dcp)); in netdump_start()
315 dcp.dc_ifp = nd_ifp; in netdump_start()
317 dcp.dc_client = nd_client.s_addr; in netdump_start()
318 dcp.dc_server = nd_server.s_addr; in netdump_start()
319 dcp.dc_gateway = nd_gateway.s_addr; in netdump_start()
321 dcp.dc_herald_port = NETDUMP_PORT; in netdump_start()
322 dcp.dc_client_port = NETDUMP_ACKPORT; in netdump_start()
324 dcp.dc_herald_data = nd_path; in netdump_start()
325 dcp.dc_herald_datalen = (nd_path[0] == 0) ? 0 : strlen(nd_path) + 1; in netdump_start()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6ull.dtsi61 dcp: crypto@2280000 { label
62 compatible = "fsl,imx6ull-dcp", "fsl,imx28-dcp";
68 clock-names = "dcp";
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddsl_crypt.h169 void dsl_crypto_params_free(dsl_crypto_params_t *dcp, boolean_t unload);
180 int spa_keystore_load_wkey(const char *dsname, dsl_crypto_params_t *dcp,
202 int spa_keystore_change_key(const char *dsname, dsl_crypto_params_t *dcp);
208 dsl_crypto_params_t *dcp, boolean_t *will_encrypt);
211 struct dsl_dataset *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx);
/freebsd/sys/net/
H A Ddebugnet.c664 debugnet_connect(const struct debugnet_conn_params *dcp, in debugnet_connect() argument
680 .dp_client = dcp->dc_client, in debugnet_connect()
681 .dp_server = dcp->dc_server, in debugnet_connect()
682 .dp_gateway = dcp->dc_gateway, in debugnet_connect()
683 .dp_server_port = dcp->dc_herald_port, /* Initially */ in debugnet_connect()
684 .dp_client_port = dcp->dc_client_port, in debugnet_connect()
686 .dp_ifp = dcp->dc_ifp, in debugnet_connect()
687 .dp_rx_handler = dcp->dc_rx_handler, in debugnet_connect()
787 (dcp->dc_gateway == INADDR_ANY) ? "server" : "gateway"); in debugnet_connect()
797 .dp_offset_start = dcp->dc_herald_offset, in debugnet_connect()
[all …]
/freebsd/sys/geom/uzip/
H A Dg_uzip.c161 sc->dcp->free(sc->dcp); in g_uzip_softc_free()
398 err = sc->dcp->decompress(sc->dcp, gp->name, data, in g_uzip_do()
419 gp->name, sc->dcp, (uintmax_t)blk, in g_uzip_do()
426 err = sc->dcp->rewind(sc->dcp, gp->name); in g_uzip_do()
430 "failed\n", __func__, gp->name, sc->dcp)); in g_uzip_do()
642 if (sc->toc[i].blen > sc->dcp->max_blen) { in g_uzip_parse_toc()
648 (uintmax_t)sc->dcp->max_blen)); in g_uzip_parse_toc()
653 gp->name, i, (uintmax_t)sc->dcp->max_blen)); in g_uzip_parse_toc()
654 sc->toc[i].blen = sc->dcp->max_blen; in g_uzip_parse_toc()
852 sc->dcp = g_uzip_zlib_ctor(sc->blksz); in g_uzip_taste()
[all …]
H A Dg_uzip_softc.h44 struct g_uzip_dapi *dcp; /* decompressor instance */ member
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c218 struct mlx5e_clbr_point *cp, dcp; in mlx5e_mbuf_tstmp() local
230 dcp = *cp; in mlx5e_mbuf_tstmp()
232 } while (gen != dcp.clbr_gen); in mlx5e_mbuf_tstmp()
253 hw_clocks = hw_tstmp - dcp.clbr_hw_prev; in mlx5e_mbuf_tstmp()
257 rt_cur_to_prev = (dcp.base_curr - dcp.base_prev); in mlx5e_mbuf_tstmp()
261 hw_clk_div = dcp.clbr_hw_curr - dcp.clbr_hw_prev; in mlx5e_mbuf_tstmp()
275 res += dcp.base_prev; in mlx5e_mbuf_tstmp()
/freebsd/sys/gdb/
H A Dnetgdb.c308 struct debugnet_conn_params dcp; in DB_COMMAND_FLAGS() local
338 dcp = (struct debugnet_conn_params) { in DB_COMMAND_FLAGS()
350 error = debugnet_connect(&dcp, &pcb); in DB_COMMAND_FLAGS()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_diagnosis.c562 zfs_case_t *zcp, *dcp; in zfs_fm_recv() local
869 for (dcp = uu_list_first(zfs_cases); dcp != NULL; in zfs_fm_recv()
870 dcp = uu_list_next(zfs_cases, dcp)) { in zfs_fm_recv()
871 if (dcp->zc_data.zc_pool_guid == in zfs_fm_recv()
873 dcp->zc_data.zc_vdev_guid != 0) in zfs_fm_recv()
874 fmd_case_close(hdl, dcp->zc_case); in zfs_fm_recv()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c620 dt_module_cb_arg_t *dcp = arg; in dt_module_load_proc_count() local
623 fp = Pname_to_ctf(dcp->dpa_proc, obj); in dt_module_load_proc_count()
625 dcp->dpa_count++; in dt_module_load_proc_count()
635 dt_module_cb_arg_t *dcp = arg; in dt_module_load_proc_build() local
636 int count = dcp->dpa_count; in dt_module_load_proc_build()
639 fp = Pname_to_ctf(dcp->dpa_proc, obj); in dt_module_load_proc_build()
645 dcp->dpa_dmp->dm_libctfp[count] = fp; in dt_module_load_proc_build()
654 (void) Pobjname(dcp->dpa_proc, prmap->pr_vaddr, buf, sizeof (buf)); in dt_module_load_proc_build()
665 if (Plmid(dcp->dpa_proc, prmap->pr_vaddr, &lmid) != 0) in dt_module_load_proc_build()
669 dcp in dt_module_load_proc_build()
[all...]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend-cpL_varied_recsize.ksh185 for opts in -dc -dcp -dcL -dcpL; do
193 for opts in -dc -dL -dcp -dcL -dpL -dcpL; do
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_regs.h85 uint32_t dcp; /* Descriptor Current Pointer */ member
H A Dal_hal_udma_main.c406 dcp_reg = &udma_q->q_regs->rings.dcp; in al_udma_q_reset()
410 uint32_t dcp = al_reg_read32(dcp_reg); in al_udma_q_reset() local
413 if (dcp == crhp) in al_udma_q_reset()
/freebsd/crypto/openssh/
H A Dssh-add.c758 parse_dest_constraint(const char *s, struct dest_constraint ***dcp, in parse_dest_constraint() argument
785 *dcp = xrecallocarray(*dcp, *ndcp, *ndcp + 1, sizeof(**dcp)); in parse_dest_constraint()
786 (*dcp)[(*ndcp)++] = dc; in parse_dest_constraint()
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dgpio-charger.txt13 usb-dcp (USB dedicated charging port)

12