/freebsd-9.3-release/contrib/openpam/lib/libpam/ |
H A D | pam_get_data.c | 60 pam_data_t *dp; local 65 for (dp = pamh->module_data; dp != NULL; dp = dp->next) { 66 if (strcmp(dp->name, module_data_name) == 0) { 67 *data = (void *)dp->data;
|
H A D | pam_set_data.c | 64 pam_data_t *dp; local 69 for (dp = pamh->module_data; dp != NULL; dp = dp->next) { 70 if (strcmp(dp->name, module_data_name) == 0) { 71 if (dp->cleanup) 72 (dp->cleanup)(pamh, dp->data, PAM_SUCCESS); 73 dp [all...] |
H A D | pam_end.c | 59 pam_data_t *dp; local 67 while ((dp = pamh->module_data) != NULL) { 68 if (dp->cleanup) 69 (dp->cleanup)(pamh, dp->data, status); 70 pamh->module_data = dp->next; 71 FREE(dp->name); 72 FREE(dp);
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-nfs.c | 201 parse_sattr3(const u_int32_t *dp, struct nfsv3_sattr *sa3) argument 203 TCHECK(dp[0]); 204 sa3->sa_modeset = EXTRACT_32BITS(dp); 205 dp++; 207 TCHECK(dp[0]); 208 sa3->sa_mode = EXTRACT_32BITS(dp); 209 dp++; 212 TCHECK(dp[0]); 213 sa3->sa_uidset = EXTRACT_32BITS(dp); 214 dp 408 register const u_int32_t *dp; local 436 parsefh(register const u_int32_t *dp, int v3) argument 460 parsefn(register const u_int32_t *dp) argument 495 parsefhn(register const u_int32_t *dp, int v3) argument 509 register const u_int32_t *dp; local 855 nfs_printfh(register const u_int32_t *dp, const u_int len) argument 1056 register const u_int32_t *dp; local 1133 parsestatus(const u_int32_t *dp, int *er) argument 1154 parsefattr(const u_int32_t *dp, int verbose, int v3) argument 1222 parseattrstat(const u_int32_t *dp, int verbose, int v3) argument 1236 parsediropres(const u_int32_t *dp) argument 1253 parselinkres(const u_int32_t *dp, int v3) argument 1269 parsestatfs(const u_int32_t *dp, int v3) argument 1321 parserddires(const u_int32_t *dp) argument 1345 parse_wcc_attr(const u_int32_t *dp) argument 1358 parse_pre_op_attr(const u_int32_t *dp, int verbose) argument 1379 parse_post_op_attr(const u_int32_t *dp, int verbose) argument 1394 parse_wcc_data(const u_int32_t *dp, int verbose) argument 1407 parsecreateopres(const u_int32_t *dp, int verbose) argument 1437 parsewccres(const u_int32_t *dp, int verbose) argument 1447 parsev3rddirres(const u_int32_t *dp, int verbose) argument 1470 parsefsinfo(const u_int32_t *dp) argument 1507 parsepathconf(const u_int32_t *dp) argument 1539 register const u_int32_t *dp; local [all...] |
H A D | print-frag6.c | 46 register const struct ip6_frag *dp; local 49 dp = (const struct ip6_frag *)bp; 52 TCHECK(dp->ip6f_offlg); 56 EXTRACT_32BITS(&dp->ip6f_ident), 57 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 62 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 69 if ((EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK) != 0)
|
H A D | print-rt6.c | 46 register const struct ip6_rthdr *dp; local 52 dp = (struct ip6_rthdr *)bp; 53 len = dp->ip6r_len; 58 TCHECK(dp->ip6r_segleft); 60 printf("srcrt (len=%d", dp->ip6r_len); /*)*/ 61 printf(", type=%d", dp->ip6r_type); 62 printf(", segleft=%d", dp->ip6r_segleft); 64 switch (dp->ip6r_type) { 73 dp0 = (struct ip6_rthdr0 *)dp;
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | readdir.c | 55 struct dirent *dp; local 69 dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc); 70 if ((long)dp & 03L) /* bogus pointer check */ 72 if (dp->d_reclen <= 0 || 73 dp->d_reclen > dirp->dd_len + 1 - dirp->dd_loc) 75 dirp->dd_loc += dp->d_reclen; 76 if (dp->d_ino == 0 && skip) 78 if (dp->d_type == DT_WHT && (dirp->dd_flags & DTF_HIDEW)) 80 return (dp); 88 struct dirent *dp; local 106 struct dirent *dp; local [all...] |
H A D | disklabel.c | 65 struct disklabel *dp = &disk; local 81 cq = dp->d_typename; 83 while (cq < dp->d_typename + sizeof(dp->d_typename) - 1 && 89 dp->d_flags |= D_REMOVABLE; 91 dp->d_flags |= D_RAMDISK; 93 dp->d_flags |= D_BADSECT; 98 getnumdflt(dp->d_secsize, "se", DEV_BSIZE); 99 getnumdflt(dp->d_ntracks, "nt", 0); 100 getnumdflt(dp [all...] |
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dsl_pool.c | 166 dsl_pool_open_special_dir(dsl_pool_t *dp, const char *name, dsl_dir_t **ddp) argument 171 err = zap_lookup(dp->dp_meta_objset, 172 dp->dp_root_dir->dd_phys->dd_child_dir_zapobj, 177 return (dsl_dir_hold_obj(dp, obj, name, dp, ddp)); 183 dsl_pool_t *dp; local 186 dp = kmem_zalloc(sizeof (dsl_pool_t), KM_SLEEP); 187 dp->dp_spa = spa; 188 dp->dp_meta_rootbp = *bp; 189 rrw_init(&dp 214 dsl_pool_t *dp = dsl_pool_open_impl(spa, txg); local 227 dsl_pool_open(dsl_pool_t *dp) argument 313 dsl_pool_close(dsl_pool_t *dp) argument 357 dsl_pool_t *dp = dsl_pool_open_impl(spa, txg); local 428 dsl_pool_mos_diduse_space(dsl_pool_t *dp, int64_t used, int64_t comp, int64_t uncomp) argument 448 dsl_pool_sync_mos(dsl_pool_t *dp, dmu_tx_t *tx) argument 458 dsl_pool_dirty_delta(dsl_pool_t *dp, int64_t delta) argument 476 dsl_pool_sync(dsl_pool_t *dp, uint64_t txg) argument 604 dsl_pool_sync_done(dsl_pool_t *dp, uint64_t txg) argument 622 dsl_pool_sync_context(dsl_pool_t *dp) argument 629 dsl_pool_adjustedsize(dsl_pool_t *dp, boolean_t netfree) argument 652 dsl_pool_need_dirty_delay(dsl_pool_t *dp) argument 667 dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx) argument 678 dsl_pool_undirty_space(dsl_pool_t *dp, int64_t space, uint64_t txg) argument 697 upgrade_clones_cb(dsl_pool_t *dp, dsl_dataset_t *hds, void *arg) argument 773 dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx) argument 784 upgrade_dir_clones_cb(dsl_pool_t *dp, dsl_dataset_t *ds, void *arg) argument 810 dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx) argument 835 dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx) argument 855 dsl_pool_vnrele_taskq(dsl_pool_t *dp) argument 865 dsl_pool_clean_tmp_userrefs(dsl_pool_t *dp) argument 906 dsl_pool_user_hold_create_obj(dsl_pool_t *dp, dmu_tx_t *tx) argument 918 dsl_pool_user_hold_rele_impl(dsl_pool_t *dp, uint64_t dsobj, const char *tag, uint64_t now, dmu_tx_t *tx, boolean_t holding) argument 956 dsl_pool_user_hold(dsl_pool_t *dp, uint64_t dsobj, const char *tag, uint64_t now, dmu_tx_t *tx) argument 966 dsl_pool_user_release(dsl_pool_t *dp, uint64_t dsobj, const char *tag, dmu_tx_t *tx) argument 1025 dsl_pool_hold(const char *name, void *tag, dsl_pool_t **dp) argument 1039 dsl_pool_rele(dsl_pool_t *dp, void *tag) argument 1046 dsl_pool_config_enter(dsl_pool_t *dp, void *tag) argument 1065 dsl_pool_config_exit(dsl_pool_t *dp, void *tag) argument 1071 dsl_pool_config_held(dsl_pool_t *dp) argument [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | captoinfo.c | 107 static char *dp; /* pointer to end of the converted string */ variable 218 dp = save_string(dp, "%\'"); 219 dp = save_char(dp, c); 220 dp = save_char(dp, '\''); 222 dp = save_string(dp, "%{"); 224 dp [all...] |
/freebsd-9.3-release/contrib/amd/fsinfo/ |
H A D | wr_dumpset.c | 56 disk_fs *dp; local 58 ITER(dp, disk_fs, q) { 59 if (dp->d_dumpset) { 61 dp->d_dumpset, 62 dp->d_host->h_lochost ? 63 dp->d_host->h_lochost : 64 dp->d_host->h_hostname, 65 dp->d_mountpt, 66 dp->d_dev);
|
H A D | wr_fstab.c | 54 static void write_aix1_dkfstab(FILE *ef, disk_fs *dp); 56 static void write_aix3_dkfstab(FILE *ef, disk_fs *dp); 60 static void write_generic_dkfstab(FILE *ef, disk_fs *dp); 62 static void write_ultrix_dkfstab(FILE *ef, disk_fs *dp); 69 void (*op_fstab) (FILE *ef, disk_fs *dp); 103 write_aix1_dkfstab(FILE *ef, disk_fs *dp) argument 105 char *hp = strdup(dp->d_host->h_hostname); 112 dp->d_mountpt, 113 dp->d_dev, 114 dp 154 write_aix3_dkfstab(FILE *ef, disk_fs *dp) argument 194 write_ultrix_dkfstab(FILE *ef, disk_fs *dp) argument 228 write_generic_dkfstab(FILE *ef, disk_fs *dp) argument 287 disk_fs *dp; local [all...] |
/freebsd-9.3-release/sys/sys/ |
H A D | dir.h | 49 #define DIRSIZ(dp) _GENERIC_DIRSIZ(dp)
|
/freebsd-9.3-release/usr.sbin/config/ |
H A D | mkheaders.c | 53 struct device *dp; local 57 STAILQ_FOREACH(dp, &dtab, d_next) { 58 if (!(dp->d_done & DEVDONE)) { 60 dp->d_name);
|
/freebsd-9.3-release/sys/kern/ |
H A D | uipc_domain.c | 168 struct domain *dp = arg; local 171 if (dp->dom_init) 172 (*dp->dom_init)(); 173 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) 196 struct domain *dp = arg; local 199 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) 202 if (dp->dom_destroy) 203 (*dp 215 struct domain *dp; local 276 struct domain *dp; local 293 struct domain *dp; local 323 struct domain *dp; local 396 struct domain *dp; local 460 struct domain *dp; local 472 struct domain *dp; local 495 struct domain *dp; local 508 struct domain *dp; local [all...] |
/freebsd-9.3-release/sys/netsmb/ |
H A D | smb_usr.c | 56 smb_usr_vc2spec(struct smbioc_ossn *dp, struct smb_vcspec *spec) argument 63 if (dp->ioc_user[0] == 0) 67 if (dp->ioc_server == NULL) 69 if (dp->ioc_localcs[0] == 0) { 74 spec->sap = smb_memdupin(dp->ioc_server, dp->ioc_svlen); 77 if (dp->ioc_local) { 78 spec->lap = smb_memdupin(dp->ioc_local, dp->ioc_lolen); 84 spec->srvname = dp 112 smb_usr_share2spec(struct smbioc_oshare *dp, struct smb_sharespec *spec) argument 126 smb_usr_lookup(struct smbioc_lookup *dp, struct smb_cred *scred, struct smb_vc **vcpp, struct smb_share **sspp) argument 164 smb_usr_opensession(struct smbioc_ossn *dp, struct smb_cred *scred, struct smb_vc **vcpp) argument 183 smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *dp, struct smb_cred *scred, struct smb_share **sspp) argument 212 smb_usr_simplerequest(struct smb_share *ssp, struct smbioc_rq *dp, struct smb_cred *scred) argument 292 smb_usr_t2request(struct smb_share *ssp, struct smbioc_t2rq *dp, struct smb_cred *scred) argument [all...] |
/freebsd-9.3-release/tools/tools/bootparttest/ |
H A D | bootparttest.c | 54 struct disk *dp; local 56 dp = (struct disk *)arg; 57 printf("%s: read %lu blocks from the offset %jd [+%jd]\n", dp->name, 58 blocks, offset, dp->offset); 59 if (offset >= dp->mediasize / dp->sectorsize) 62 return (pread(dp->fd, buf, blocks * dp->sectorsize, 63 (offset + dp->offset) * dp 90 struct disk *dp, bsd; local 119 inspect_disk(struct disk *dp) argument [all...] |
/freebsd-9.3-release/sys/geom/ |
H A D | geom_disk.c | 63 struct disk *dp; member in struct:g_disk_softc 93 g_disk_lock_giant(struct disk *dp) argument 96 if (dp->d_flags & DISKFLAG_NEEDSGIANT) 101 g_disk_unlock_giant(struct disk *dp) argument 104 if (dp->d_flags & DISKFLAG_NEEDSGIANT) 111 struct disk *dp; local 119 if (sc == NULL || (dp = sc->dp) == NULL || dp->d_destroyed) { 133 if (dp 182 g_disk_kerneldump(struct bio *bp, struct disk *dp) argument 264 struct disk *dp; local 283 struct disk *dp; local 437 struct disk *dp; local 501 struct disk *dp; local 553 struct disk *dp; local 586 struct disk *dp; local 636 disk_create(struct disk *dp, int version) argument 666 disk_destroy(struct disk *dp) argument 677 disk_gone(struct disk *dp) argument 694 disk_attr_changed(struct disk *dp, const char *attr, int flag) argument 706 disk_media_changed(struct disk *dp, int flag) argument 723 disk_media_gone(struct disk *dp, int flag) argument [all...] |
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | dsl_pool.h | 135 int dsl_pool_open(dsl_pool_t *dp); 136 void dsl_pool_close(dsl_pool_t *dp); 138 void dsl_pool_sync(dsl_pool_t *dp, uint64_t txg); 139 void dsl_pool_sync_done(dsl_pool_t *dp, uint64_t txg); 140 int dsl_pool_sync_context(dsl_pool_t *dp); 141 uint64_t dsl_pool_adjustedsize(dsl_pool_t *dp, boolean_t netfree); 142 uint64_t dsl_pool_adjustedfree(dsl_pool_t *dp, boolean_t netfree); 143 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx); 144 void dsl_pool_undirty_space(dsl_pool_t *dp, int64_t space, uint64_t txg); 145 void dsl_free(dsl_pool_t *dp, uint64_ [all...] |
/freebsd-9.3-release/sys/libkern/ |
H A D | iconv_xlat16.c | 64 struct iconv_xlat16 *dp; local 68 dp = (struct iconv_xlat16 *)kobj_create((struct kobj_class*)dcp, M_ICONV, M_WAITOK); 69 headp = (uint32_t *)((caddr_t)csp->cp_data + sizeof(dp->d_table)); 73 dp->d_table[i] = headp; 76 dp->d_table[i] = NULL; 82 if (iconv_open(KICONV_WCTYPE_NAME, csp->cp_from, &dp->f_ctp) != 0) 83 dp->f_ctp = NULL; 84 if (iconv_open(KICONV_WCTYPE_NAME, csp->cp_to, &dp->t_ctp) != 0) 85 dp->t_ctp = NULL; 87 dp 99 struct iconv_xlat16 *dp = data; local 115 struct iconv_xlat16 *dp = (struct iconv_xlat16*)d2p; local 303 struct iconv_xlat16 *dp = (struct iconv_xlat16*)d2p; local 328 struct iconv_xlat16 *dp = (struct iconv_xlat16*)d2p; local [all...] |
H A D | iconv_ucs.c | 92 struct iconv_ucs *dp; local 96 dp = (struct iconv_ucs *)kobj_create((struct kobj_class*)dcp, M_ICONV, M_WAITOK); 100 dp->convtype = 0; 103 dp->convtype |= KICONV_UCS_COMBINE; 106 dp->convtype |= unicode_family[i].from_flag; 108 dp->convtype |= unicode_family[i].to_flag; 111 dp->convtype |= KICONV_UCS_UCS4; 113 dp->convtype &= ~KICONV_UCS_UCS4; 115 dp->f_ctp = dp 148 struct iconv_ucs *dp = data; local 171 struct iconv_ucs *dp = (struct iconv_ucs*)d2p; local [all...] |
/freebsd-9.3-release/lib/libdisk/ |
H A D | write_amd64_disk.c | 93 struct dos_partition *dp,work[NDOSPART]; local 109 dp = (struct dos_partition *)(mbr + DOSPARTOFF); 110 memcpy(work, dp, sizeof work); 111 dp = work; 125 Write_Int32(&dp[j].dp_start, c1->offset); 126 Write_Int32(&dp[j].dp_size, c1->size); 130 dp[j].dp_ssect = 0xff; 131 dp[j].dp_shd = 0xff; 132 dp[j].dp_scyl = 0xff; 135 dp[ [all...] |
H A D | write_i386_disk.c | 93 struct dos_partition *dp,work[NDOSPART]; local 109 dp = (struct dos_partition *)(mbrblk + DOSPARTOFF); 110 memcpy(work, dp, sizeof work); 111 dp = work; 125 Write_Int32(&dp[j].dp_start, c1->offset); 126 Write_Int32(&dp[j].dp_size, c1->size); 130 dp[j].dp_ssect = 0xff; 131 dp[j].dp_shd = 0xff; 132 dp[j].dp_scyl = 0xff; 135 dp[ [all...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_dir.h | 49 typedef int (*xfs_dir_isempty_t)(struct xfs_inode *dp); 51 struct xfs_inode *dp, 54 struct xfs_inode *dp, 62 struct xfs_inode *dp, 67 struct xfs_inode *dp, 75 struct xfs_inode *dp, 79 struct xfs_inode *dp, 87 struct xfs_inode *dp, 115 #define XFS_DIR_ISEMPTY(mp,dp) \ 116 ((mp)->m_dirops.xd_isempty(dp)) [all...] |
/freebsd-9.3-release/sys/compat/svr4/ |
H A D | svr4_dirent.h | 50 #define SVR4_NAMEOFF(dp) ((char *)&(dp)->d_name - (char *)dp)
|