Searched refs:dp (Results 376 - 400 of 574) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzil.h424 extern int zil_claim(struct dsl_pool *dp,
426 extern int zil_check_log_chain(struct dsl_pool *dp,
/freebsd-11-stable/sys/dev/mmc/
H A Dmmcsd.c172 static int mmcsd_close(struct disk *dp);
787 mmcsd_close(struct disk *dp) argument
791 if ((dp->d_flags & DISKFLAG_OPEN) != 0) {
792 sc = ((struct mmcsd_part *)dp->d_drv1)->sc;
888 void *dp; local
919 dp = NULL;
926 dp = malloc(len, M_TEMP, M_WAITOK);
927 err = copyin((void *)(uintptr_t)mic->data_ptr, dp, len);
938 data.data = dp;
972 if (cmd.opcode == MMC_SWITCH_FUNC && dp !
[all...]
/freebsd-11-stable/sbin/dump/
H A Dmain.c101 union dinode *dp; local
557 dp = getino(ino, &mode);
560 (void)dumpino(dp, ino);
576 dp = getino(ino, &mode);
579 (void)dumpino(dp, ino);
/freebsd-11-stable/usr.bin/ministat/
H A Dministat.c157 double *dp; local
160 dp = ds->points;
163 memcpy(ds->points, dp, sizeof *dp * ds->n);
164 free(dp);
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_hca_sim.c124 DIR *dp; local
127 dp = opendir(__get_simulator_dir());
129 if (dp != NULL) {
130 while ((ep = readdir(dp))) {
137 closedir(dp);
H A Dosm_vendor_mlx_hca_pfs.c86 DIR *dp; local
89 dp = opendir("/proc/infiniband/core");
90 if (dp != NULL) {
91 while ((ep = readdir(dp))) {
98 closedir(dp);
/freebsd-11-stable/sys/dev/usb/serial/
H A Duchcom.c573 uchcom_calc_divider_settings(struct uchcom_divider *dp, uint32_t rate) argument
592 dp->dv_prescaler = rp->dvr_divider.dv_prescaler;
594 dp->dv_div = rp->dvr_divider.dv_div;
602 dp->dv_div = (uint8_t)-div;
608 dp->dv_mod = (mod + 0xFF) / 0x100;
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c293 unsigned char *dp = NULL; local
323 dplen = i2d_ASN1_INTEGER(prkey, &dp);
329 V_ASN1_SEQUENCE, params, dp, dplen))
335 if (dp != NULL)
336 OPENSSL_free(dp);
/freebsd-11-stable/sys/dev/flash/
H A Dmx25l.c110 static int mx25l_open(struct disk *dp);
111 static int mx25l_close(struct disk *dp);
570 mx25l_open(struct disk *dp) argument
576 mx25l_close(struct disk *dp) argument
583 mx25l_ioctl(struct disk *dp, u_long cmd, void *data, int fflag, argument
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-babel.c173 const unsigned char *p, const unsigned char *dp,
199 if (dp == NULL) return -1;
200 memcpy(prefix, dp, 12 + omitted);
211 if (dp == NULL) return -1;
212 memcpy(prefix, dp, omitted);
172 network_prefix(int ae, int plen, unsigned int omitted, const unsigned char *p, const unsigned char *dp, unsigned int len, unsigned char *p_r) argument
H A Dprint-forces.c799 register const u_char *dp = tdp + 4; local
800 const struct forces_tlv *kdtlv = (const struct forces_tlv *)dp;
825 dp = (const u_char *) TLV_DATA(kdtlv);
826 return fdatatlv_print(ndo, dp, tll, op_msk, indent);
1077 register const u_char *dp = (const u_char *) TLV_DATA(pdtlv); local
1089 return pdata_print(ndo, dp, tll, op_msk, indent + 1);
1109 register const u_char *dp; local
1126 dp = (const u_char *) TLV_DATA(pdtlv);
1135 if (pdata_print(ndo, dp, tll, op_msk, indent + 1) == -1)
1174 register const u_char *dp local
[all...]
/freebsd-11-stable/sys/dev/xen/blkfront/
H A Dblkfront.c599 struct disk *dp = arg; local
600 struct xbd_softc *sc = dp->d_drv1;
639 cm->cm_sector_number = offset / dp->d_sectorsize;
672 xbd_open(struct disk *dp) argument
674 struct xbd_softc *sc = dp->d_drv1;
677 printf("xbd%d: not found", dp->d_unit);
687 xbd_close(struct disk *dp) argument
689 struct xbd_softc *sc = dp->d_drv1;
708 xbd_ioctl(struct disk *dp, u_long cmd, void *addr, int flag, struct thread *td) argument
710 struct xbd_softc *sc = dp
[all...]
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_cdce.c1227 sizeof(sc->sc_ncm.dpt) + sizeof(sc->sc_ncm.dp);
1276 USETW(sc->sc_ncm.dp[n].wFrameLength, m->m_pkthdr.len);
1277 USETW(sc->sc_ncm.dp[n].wFrameIndex, offset);
1316 USETW(sc->sc_ncm.dp[n].wFrameLength, 0);
1317 USETW(sc->sc_ncm.dp[n].wFrameIndex, 0);
1360 &(sc->sc_ncm.dp), sizeof(sc->sc_ncm.dp));
1511 usbd_copy_out(pc, temp, &(sc->sc_ncm.dp), (4 * nframes));
1517 offset = UGETW(sc->sc_ncm.dp[x].wFrameIndex);
1518 temp = UGETW(sc->sc_ncm.dp[
[all...]
/freebsd-11-stable/usr.bin/kdump/
H A Dkdump.c1663 visdump(char *dp, int datalen, int screenwidth) argument
1672 for (;datalen > 0; datalen--, dp++) {
1673 vis(visbuf, *dp, VIS_CSTYLE, *(dp+1));
1712 char *dp = (char *)ktr + sizeof (struct ktr_genio); local
1734 if (dp[i] >= 32 && dp[i] < 127)
1736 if (dp[i] == 10 || dp[i] == 13 || dp[
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_uath.c910 struct uath_data *dp = &data[i]; local
913 if (dp->m != NULL) {
914 m_freem(dp->m);
915 dp->m = NULL;
916 dp->buf = NULL;
919 dp->buf = NULL;
921 if (dp->ni != NULL) {
922 ieee80211_free_node(dp->ni);
923 dp->ni = NULL;
935 struct uath_data *dp local
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dmain.c169 int dp; local
337 dp = drop_privileges(false);
338 setstat(dp);
446 dp = drop_privileges(true);
447 setstat(dp);
858 dp = drop_privileges(true);
859 setstat(dp);
1151 dp = drop_privileges(true);
1152 setstat(dp);
1376 dp
[all...]
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_argv.c558 struct dirent *dp; local
614 for (off = exp->argsoff; (dp = readdir(dirp)) != NULL;) {
616 if (dp->d_name[0] == '.')
618 len = dp->d_namlen;
620 len = dp->d_namlen;
621 if (len < nlen || memcmp(dp->d_name, name, nlen))
626 CHAR2INT(sp, dp->d_name, len + 1, wp, wlen);
/freebsd-11-stable/contrib/nvi/vi/
H A Dvi.c453 VICMD *dp,
582 if (dp == NULL)
599 if (!F_ISSET(dp, VC_ISDOT)) {
606 F_SET(dp, VC_C1SET);
607 dp->count = vp->count;
610 dp->buffer = vp->buffer;
612 *vp = *dp;
451 v_cmd( SCR *sp, VICMD *dp, VICMD *vp, VICMD *ismotion, int *comcountp, int *mappedp) argument
/freebsd-11-stable/usr.sbin/dconschat/
H A Ddconschat.c745 u_char *sp, int slen, u_char *dp, int *dlen)
790 bcopy(abreak, dp, 3);
791 dp += 3;
805 *dp++ = dc->escape;
825 bcopy(abreak, dp, 3);
826 dp += 3;
835 *dp++ = *sp;
744 dconschat_read_filter(struct dcons_state *dc, struct dcons_port *p, u_char *sp, int slen, u_char *dp, int *dlen) argument
/freebsd-11-stable/contrib/bmake/
H A Ddir.c890 char *dp = &dirpath[strlen(dirpath) - 1]; local
891 if (*dp == '/')
892 *dp = '\0';
1626 struct dirent *dp; /* entry in directory */ local
1658 while ((dp = readdir(d)) != NULL) {
1665 if (dp->d_fileno == 0) {
1669 (void)Hash_CreateEntry(&p->files, dp->d_name, NULL);
/freebsd-11-stable/stand/i386/zfsboot/
H A Dzfsboot.c562 struct dos_partition *dp; local
671 dp = (void *)(sec + DOSPARTOFF);
674 if (!dp[i].dp_typ)
676 zdsk->dsk.start = dp[i].dp_start;
677 zdsk->dsk.size = dp[i].dp_size;
683 else if ((zdsk->gdev = geli_taste(vdev_read, zdsk, dp[i].dp_size -
684 dp[i].dp_start, "disk%us%u:")) != NULL) {
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_refclock.c726 char *dp, *dpend; local
732 dp = lineptr;
733 dpend = dp + bmax - 1; /* leave room for NUL pad */
737 while (sp != spend && dp != dpend) {
742 *dp++ = c;
748 dlen = dp - lineptr;
750 *dp = '\0';
H A Drefclock_wwv.c2313 struct decvec *dp /* decoding table pointer */
2319 dp->digit++;
2320 if (dp->digit == dp->radix)
2321 dp->digit = 0;
2322 temp = dp->like[dp->radix - 1];
2323 for (j = dp->radix - 1; j > 0; j--)
2324 dp->like[j] = dp
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_mbuf.c602 struct domain *dp; local
607 for (dp = domains; dp != NULL; dp = dp->dom_next)
608 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
/freebsd-11-stable/bin/sh/
H A Dexpand.c1080 struct dirent *dp; local
1169 while (! int_pending() && (dp = readdir(dirp)) != NULL) {
1170 if (dp->d_name[0] == '.' && ! matchdot)
1172 if (patmatch(start, dp->d_name)) {
1173 namlen = dp->d_namlen;
1176 memcpy(enddir, dp->d_name, namlen + 1);
1180 if (dp->d_type != DT_UNKNOWN &&
1181 dp->d_type != DT_DIR &&
1182 dp->d_type != DT_LNK)

Completed in 410 milliseconds

<<11121314151617181920>>