| /freebsd-10-stable/sys/fs/devfs/ |
| D | devfs_devs.c | 83 struct cdev_priv *cdp; in sysctl_devname() local 93 TAILQ_FOREACH(cdp, &cdevp_list, cdp_list) in sysctl_devname() 94 if (cdp->cdp_inode == ud) { in sysctl_devname() 95 dev = &cdp->cdp_c; in sysctl_devname() 120 struct cdev_priv *cdp; in devfs_alloc() local 124 cdp = malloc(sizeof *cdp, M_CDEVP, M_ZERO | in devfs_alloc() 126 if (cdp == NULL) in devfs_alloc() 129 cdp->cdp_dirents = &cdp->cdp_dirent0; in devfs_alloc() 131 cdev = &cdp->cdp_c; in devfs_alloc() 142 struct cdev_priv *cdp; in devfs_dev_exists() local [all …]
|
| D | devfs_vnops.c | 152 struct cdev_priv *cdp; in devfs_set_cdevpriv() local 159 cdp = cdev2priv((struct cdev *)fp->f_data); in devfs_set_cdevpriv() 166 LIST_INSERT_HEAD(&cdp->cdp_fdpriv, p, cdpd_list); in devfs_set_cdevpriv() 841 struct cdev_priv *cdp; in devfs_prison_check() local 845 cdp = de->de_cdp; in devfs_prison_check() 846 if (cdp == NULL) in devfs_prison_check() 848 dcr = cdp->cdp_c.si_cred; in devfs_prison_check() 858 if (td->td_proc->p_session->s_ttydp == cdp) in devfs_prison_check() 1418 struct cdev_priv *cdp; in devfs_revoke() local 1425 cdp = cdev2priv(dev); in devfs_revoke() [all …]
|
| /freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/ |
| D | test_sshbuf.c | 31 const u_char *cdp; in sshbuf_tests() local 102 cdp = sshbuf_ptr(p1); in sshbuf_tests() 103 ASSERT_PTR_NE(cdp, NULL); in sshbuf_tests() 104 ASSERT_U8_EQ(cdp[0], 0x11); in sshbuf_tests() 105 ASSERT_U8_EQ(cdp[1], 0x22); in sshbuf_tests() 106 ASSERT_U8_EQ(cdp[2], 0x33); in sshbuf_tests() 107 ASSERT_U8_EQ(cdp[3], 0x44); in sshbuf_tests() 119 cdp = sshbuf_ptr(p1); in sshbuf_tests() 121 ASSERT_U8_EQ(cdp[0], 0x22); in sshbuf_tests() 124 cdp = sshbuf_ptr(p1); in sshbuf_tests() [all …]
|
| /freebsd-10-stable/cddl/contrib/opensolaris/common/ctf/ |
| D | ctf_decl.c | 74 ctf_decl_node_t *cdp, *ndp; in ctf_decl_fini() local 78 for (cdp = ctf_list_next(&cd->cd_nodes[i]); in ctf_decl_fini() 79 cdp != NULL; cdp = ndp) { in ctf_decl_fini() 80 ndp = ctf_list_next(cdp); in ctf_decl_fini() 81 ctf_free(cdp, sizeof (ctf_decl_node_t)); in ctf_decl_fini() 89 ctf_decl_node_t *cdp; in ctf_decl_push() local 140 if ((cdp = ctf_alloc(sizeof (ctf_decl_node_t))) == NULL) { in ctf_decl_push() 145 cdp->cd_type = type; in ctf_decl_push() 146 cdp->cd_kind = kind; in ctf_decl_push() 147 cdp->cd_n = n; in ctf_decl_push() [all …]
|
| D | ctf_types.c | 205 ctf_decl_node_t *cdp; in ctf_type_qlname() local 237 for (cdp = ctf_list_next(&cd.cd_nodes[prec]); in ctf_type_qlname() 238 cdp != NULL; cdp = ctf_list_next(cdp)) { in ctf_type_qlname() 242 ctf_lookup_by_id(&rfp, cdp->cd_type); in ctf_type_qlname() 253 switch (cdp->cd_kind) { in ctf_type_qlname() 265 ctf_decl_sprintf(&cd, "[%u]", cdp->cd_n); in ctf_type_qlname() 300 k = cdp->cd_kind; in ctf_type_qlname()
|
| /freebsd-10-stable/sys/kern/ |
| D | kern_conf.c | 86 struct cdev_priv *cdp; in dev_unlock_and_free() local 102 while ((cdp = TAILQ_FIRST(&cdp_free)) != NULL) { in dev_unlock_and_free() 103 TAILQ_REMOVE(&cdp_free, cdp, cdp_list); in dev_unlock_and_free() 104 devfs_free(&cdp->cdp_c); in dev_unlock_and_free() 115 struct cdev_priv *cdp; in dev_free_devlocked() local 118 cdp = cdev2priv(cdev); in dev_free_devlocked() 119 KASSERT((cdp->cdp_flags & CDP_UNREF_DTR) == 0, in dev_free_devlocked() 121 TAILQ_INSERT_HEAD(&cdevp_free_list, cdp, cdp_list); in dev_free_devlocked() 186 struct cdev_priv *cdp; in dev_refthread() local 196 cdp = cdev2priv(dev); in dev_refthread() [all …]
|
| D | tty.c | 1949 struct cdevsw *cdp; in ttyhook_register() local 1977 cdp = devvn_refthread(fp->f_vnode, &dev, &ref); in ttyhook_register() 1978 if (cdp == NULL) { in ttyhook_register() 1986 if (cdp != &ttydev_cdevsw) { in ttyhook_register()
|
| /freebsd-10-stable/sys/cddl/dev/fbt/ |
| D | fbt_powerpc.c | 897 ctf_decl_node_t *cdp, *ndp; in ctf_decl_fini() local 901 for (cdp = ctf_list_next(&cd->cd_nodes[i]); in ctf_decl_fini() 902 cdp != NULL; cdp = ndp) { in ctf_decl_fini() 903 ndp = ctf_list_next(cdp); in ctf_decl_fini() 904 free(cdp, M_FBT); in ctf_decl_fini() 973 ctf_decl_node_t *cdp; in ctf_decl_push() local 1024 if ((cdp = malloc(sizeof (ctf_decl_node_t), M_FBT, M_WAITOK)) == NULL) { in ctf_decl_push() 1029 cdp->cd_type = type; in ctf_decl_push() 1030 cdp->cd_kind = kind; in ctf_decl_push() 1031 cdp->cd_n = n; in ctf_decl_push() [all …]
|
| D | fbt.c | 967 ctf_decl_node_t *cdp, *ndp; in ctf_decl_fini() local 971 for (cdp = ctf_list_next(&cd->cd_nodes[i]); in ctf_decl_fini() 972 cdp != NULL; cdp = ndp) { in ctf_decl_fini() 973 ndp = ctf_list_next(cdp); in ctf_decl_fini() 974 free(cdp, M_FBT); in ctf_decl_fini() 1043 ctf_decl_node_t *cdp; in ctf_decl_push() local 1094 if ((cdp = malloc(sizeof (ctf_decl_node_t), M_FBT, M_WAITOK)) == NULL) { in ctf_decl_push() 1099 cdp->cd_type = type; in ctf_decl_push() 1100 cdp->cd_kind = kind; in ctf_decl_push() 1101 cdp->cd_n = n; in ctf_decl_push() [all …]
|
| /freebsd-10-stable/contrib/gdb/gdb/ |
| D | ser-e7kpc.c | 76 static unsigned long cdp; variable 146 cdp = board_at + OFF_CDP; in e7000pc_init() 200 pbuf_size = GET_WORD (cdp + 2); in e7000_get() 202 dosmemget (cdp + 8, pbuf_size + 1, tmp); in e7000_get()
|
| /freebsd-10-stable/sys/dev/usb/ |
| D | usb_device.c | 549 struct usb_config_descriptor *cdp; in usbd_set_config_index() local 577 err = usbd_req_get_descriptor_ptr(udev, &cdp, in usbd_set_config_index() 582 NULL, &cdp, index); in usbd_set_config_index() 589 udev->cdesc = cdp; in usbd_set_config_index() 594 (cdp->bmAttributes & UC_SELF_POWERED) && in usbd_set_config_index() 597 if (cdp->bmAttributes & UC_BUS_POWERED) { in usbd_set_config_index() 614 udev, cdp, in usbd_set_config_index() 615 udev->address, cdp->bConfigurationValue, cdp->bmAttributes, in usbd_set_config_index() 616 selfpowered, cdp->bMaxPower * 2); in usbd_set_config_index() 619 power = cdp->bMaxPower * 2; in usbd_set_config_index() [all …]
|
| /freebsd-10-stable/contrib/file/src/ |
| D | readelf.c | 1403 const cap_desc_t *cdp; in doshn() local 1408 cdp = cap_desc_sparc; in doshn() 1413 cdp = cap_desc_386; in doshn() 1416 cdp = NULL; in doshn() 1421 if (cdp) { in doshn() 1422 while (cdp->cd_name) { in doshn() 1423 if (cap_hw1 & cdp->cd_mask) { in doshn() 1425 " %s", cdp->cd_name) == -1) in doshn() 1427 cap_hw1 &= ~cdp->cd_mask; in doshn() 1429 ++cdp; in doshn()
|
| /freebsd-10-stable/sys/dev/iicbus/ |
| D | iic.c | 61 #define IIC_LOCK(cdp) sx_xlock(&(cdp)->lock) argument 62 #define IIC_UNLOCK(cdp) sx_xunlock(&(cdp)->lock) argument
|
| /freebsd-10-stable/contrib/tcsh/ |
| D | sh.dir.c | 647 Char **cdp; in dfollow() local 649 for (cdp = c->vec; *cdp; cdp++) { in dfollow() 650 size_t len = Strlen(*cdp); in dfollow() 653 Strbuf_append(&buf, *cdp); in dfollow() 654 if ((*cdp)[len - 1] != '/') in dfollow()
|
| /freebsd-10-stable/sys/compat/ndis/ |
| D | subr_usbd.c | 453 usb_config_descriptor_t *cdp; in usbd_func_getdesc() local 463 cdp = usbd_get_config_descriptor(sc->ndisusb_dev); in usbd_func_getdesc() 464 if (cdp == NULL) { in usbd_func_getdesc() 468 if (cdp->bDescriptorType != UDESC_CONFIG) { in usbd_func_getdesc() 470 cdp->bDescriptorType); in usbd_func_getdesc() 475 len = MIN(UGETW(cdp->wTotalLength), ctldesc->ucd_trans_buflen); in usbd_func_getdesc() 477 memcpy(ctldesc->ucd_trans_buf, cdp, len); in usbd_func_getdesc()
|
| /freebsd-10-stable/crypto/openssl/crypto/bn/ |
| D | bn_gf2m.c | 701 BN_ULONG *udp, *bdp, *vdp, *cdp; in BN_GF2m_mod_inv() local 718 cdp = c->d; in BN_GF2m_mod_inv() 720 cdp[i] = 0; in BN_GF2m_mod_inv() 766 bdp = cdp; in BN_GF2m_mod_inv() 767 cdp = c->d; in BN_GF2m_mod_inv() 771 bdp[i] ^= cdp[i]; in BN_GF2m_mod_inv()
|
| /freebsd-10-stable/usr.sbin/tcpdump/tcpdump/ |
| D | Makefile | 39 print-cdp.c \
|
| /freebsd-10-stable/sys/cam/scsi/ |
| D | scsi_cd.c | 1070 struct cd_params *cdp; in cddone() local 1073 cdp = &softc->params; in cddone() 1077 cdp->disksize = scsi_4btoul (rdcap->addr) + 1; in cddone() 1078 cdp->blksize = scsi_4btoul (rdcap->length); in cddone() 1089 ((uintmax_t)cdp->disksize * cdp->blksize) / in cddone() 1091 (uintmax_t)cdp->disksize, cdp->blksize); in cddone()
|
| /freebsd-10-stable/sys/sys/ |
| D | conf.h | 241 void clone_setup(struct clonedevs **cdp);
|
| /freebsd-10-stable/contrib/llvm/utils/TableGen/ |
| D | CodeGenDAGPatterns.cpp | 1801 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern() argument 1808 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern() argument 1814 CodeGenDAGPatterns &cdp) : TheRecord(TheRec), CDP(cdp), in TreePattern() argument 2475 InstAnalyzer(const CodeGenDAGPatterns &cdp) in InstAnalyzer() argument 2476 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false), in InstAnalyzer()
|
| /freebsd-10-stable/sys/ofed/include/linux/ |
| D | linux_compat.c | 275 linux_file_dtor(void *cdp) in linux_file_dtor() argument 279 filp = cdp; in linux_file_dtor()
|
| /freebsd-10-stable/contrib/tcpdump/ |
| D | Makefile.in | 76 print-bootp.c print-bt.c print-carp.c print-cdp.c print-cfm.c \
|
| D | INSTALL.txt | 147 print-cdp.c - Cisco Discovery Protocol printer routines
|
| D | CHANGES | 329 check for too short packets: print-bgp.c, print-bootp.c, print-cdp.c, 473 timed, vrrp, radius, chdlc, cnfp, cdp, IEEE802.1d, raw-AppleTalk
|
| /freebsd-10-stable/contrib/groff/doc/ |
| D | groff-3 | 583 * depth, of last glyph (.cdp): Environments. (line 97) 714 * environment, dimensions of last glyph (.w, .cht, .cdp, .csk): Environments. 875 * glyph, last, dimensions (.w, .cht, .cdp, .csk): Environments. 1125 * last glyph, dimensions (.w, .cht, .cdp, .csk): Environments.
|