/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | pam_set_data.c | 64 pam_data_t *dp; local 67 for (dp = pamh->module_data; dp != NULL; dp = dp->next) { 68 if (strcmp(dp->name, module_data_name) == 0) { 69 if (dp->cleanup) 70 (dp->cleanup)(pamh, dp->data, PAM_SUCCESS); 71 dp [all...] |
H A D | pam_get_data.c | 60 pam_data_t *dp; local 63 for (dp = pamh->module_data; dp != NULL; dp = dp->next) { 64 if (strcmp(dp->name, module_data_name) == 0) { 65 *data = (void *)dp->data;
|
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-11-stable/contrib/tcpdump/ |
H A D | print-nfs.c | 234 const uint32_t *dp, struct nfsv3_sattr *sa3) 236 ND_TCHECK(dp[0]); 237 sa3->sa_modeset = EXTRACT_32BITS(dp); 238 dp++; 240 ND_TCHECK(dp[0]); 241 sa3->sa_mode = EXTRACT_32BITS(dp); 242 dp++; 245 ND_TCHECK(dp[0]); 246 sa3->sa_uidset = EXTRACT_32BITS(dp); 247 dp 233 parse_sattr3(netdissect_options *ndo, const uint32_t *dp, struct nfsv3_sattr *sa3) argument 421 register const uint32_t *dp; local 449 parsefh(netdissect_options *ndo, register const uint32_t *dp, int v3) argument 474 parsefn(netdissect_options *ndo, register const uint32_t *dp) argument 510 parsefhn(netdissect_options *ndo, register const uint32_t *dp, int v3) argument 526 register const uint32_t *dp; local 785 nfs_printfh(netdissect_options *ndo, register const uint32_t *dp, const u_int len) argument 979 register const uint32_t *dp; local 1026 parsestatus(netdissect_options *ndo, const uint32_t *dp, int *er) argument 1048 parsefattr(netdissect_options *ndo, const uint32_t *dp, int verbose, int v3) argument 1117 parseattrstat(netdissect_options *ndo, const uint32_t *dp, int verbose, int v3) argument 1132 parsediropres(netdissect_options *ndo, const uint32_t *dp) argument 1150 parselinkres(netdissect_options *ndo, const uint32_t *dp, int v3) argument 1167 parsestatfs(netdissect_options *ndo, const uint32_t *dp, int v3) argument 1220 parserddires(netdissect_options *ndo, const uint32_t *dp) argument 1245 parse_wcc_attr(netdissect_options *ndo, const uint32_t *dp) argument 1260 parse_pre_op_attr(netdissect_options *ndo, const uint32_t *dp, int verbose) argument 1282 parse_post_op_attr(netdissect_options *ndo, const uint32_t *dp, int verbose) argument 1298 parse_wcc_data(netdissect_options *ndo, const uint32_t *dp, int verbose) argument 1312 parsecreateopres(netdissect_options *ndo, const uint32_t *dp, int verbose) argument 1343 parsewccres(netdissect_options *ndo, const uint32_t *dp, int verbose) argument 1354 parsev3rddirres(netdissect_options *ndo, const uint32_t *dp, int verbose) argument 1378 parsefsinfo(netdissect_options *ndo, const uint32_t *dp) argument 1416 parsepathconf(netdissect_options *ndo, const uint32_t *dp) argument 1450 register const uint32_t *dp; local [all...] |
H A D | print-frag6.c | 38 register const struct ip6_frag *dp; local 41 dp = (const struct ip6_frag *)bp; 44 ND_TCHECK(*dp); 48 EXTRACT_32BITS(&dp->ip6f_ident), 49 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 54 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 60 if ((EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK) != 0)
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dsl_pool.c | 268 dsl_pool_open_special_dir(dsl_pool_t *dp, const char *name, dsl_dir_t **ddp) argument 273 err = zap_lookup(dp->dp_meta_objset, 274 dsl_dir_phys(dp->dp_root_dir)->dd_child_dir_zapobj, 279 return (dsl_dir_hold_obj(dp, obj, name, dp, ddp)); 285 dsl_pool_t *dp; local 288 dp = kmem_zalloc(sizeof (dsl_pool_t), KM_SLEEP); 289 dp->dp_spa = spa; 290 dp->dp_meta_rootbp = *bp; 291 rrw_init(&dp 328 dsl_pool_t *dp = dsl_pool_open_impl(spa, txg); local 341 dsl_pool_open(dsl_pool_t *dp) argument 450 dsl_pool_close(dsl_pool_t *dp) argument 509 dsl_pool_create_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx) argument 526 dsl_pool_destroy_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx) argument 541 dsl_pool_t *dp = dsl_pool_open_impl(spa, txg); local 616 dsl_pool_mos_diduse_space(dsl_pool_t *dp, int64_t used, int64_t comp, int64_t uncomp) argument 628 dsl_pool_sync_mos(dsl_pool_t *dp, dmu_tx_t *tx) argument 638 dsl_pool_dirty_delta(dsl_pool_t *dp, int64_t delta) argument 656 dsl_early_sync_task_verify(dsl_pool_t *dp, uint64_t txg) argument 677 dsl_pool_sync(dsl_pool_t *dp, uint64_t txg) argument 830 dsl_pool_sync_done(dsl_pool_t *dp, uint64_t txg) argument 855 dsl_pool_sync_context(dsl_pool_t *dp) argument 882 dsl_pool_adjustedsize(dsl_pool_t *dp, zfs_space_check_t slop_policy) argument 915 dsl_pool_unreserved_space(dsl_pool_t *dp, zfs_space_check_t slop_policy) argument 925 dsl_pool_need_dirty_delay(dsl_pool_t *dp) argument 940 dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx) argument 951 dsl_pool_undirty_space(dsl_pool_t *dp, int64_t space, uint64_t txg) argument 970 upgrade_clones_cb(dsl_pool_t *dp, dsl_dataset_t *hds, void *arg) argument 1050 dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx) argument 1061 upgrade_dir_clones_cb(dsl_pool_t *dp, dsl_dataset_t *ds, void *arg) argument 1089 dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx) argument 1114 dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx) argument 1134 dsl_pool_vnrele_taskq(dsl_pool_t *dp) argument 1144 dsl_pool_clean_tmp_userrefs(dsl_pool_t *dp) argument 1185 dsl_pool_user_hold_create_obj(dsl_pool_t *dp, dmu_tx_t *tx) argument 1197 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 1235 dsl_pool_user_hold(dsl_pool_t *dp, uint64_t dsobj, const char *tag, uint64_t now, dmu_tx_t *tx) argument 1245 dsl_pool_user_release(dsl_pool_t *dp, uint64_t dsobj, const char *tag, dmu_tx_t *tx) argument 1303 dsl_pool_hold(const char *name, void *tag, dsl_pool_t **dp) argument 1317 dsl_pool_rele(dsl_pool_t *dp, void *tag) argument 1324 dsl_pool_config_enter(dsl_pool_t *dp, void *tag) argument 1343 dsl_pool_config_enter_prio(dsl_pool_t *dp, void *tag) argument 1350 dsl_pool_config_exit(dsl_pool_t *dp, void *tag) argument 1356 dsl_pool_config_held(dsl_pool_t *dp) argument 1362 dsl_pool_config_held_writer(dsl_pool_t *dp) argument [all...] |
/freebsd-11-stable/contrib/amd/fsinfo/ |
H A D | wr_dumpset.c | 52 disk_fs *dp; local 54 ITER(dp, disk_fs, q) { 55 if (dp->d_dumpset) { 57 dp->d_dumpset, 58 dp->d_host->h_lochost ? 59 dp->d_host->h_lochost : 60 dp->d_host->h_hostname, 61 dp->d_mountpt, 62 dp->d_dev);
|
H A D | wr_fstab.c | 50 static void write_aix1_dkfstab(FILE *ef, disk_fs *dp); 52 static void write_aix3_dkfstab(FILE *ef, disk_fs *dp); 56 static void write_generic_dkfstab(FILE *ef, disk_fs *dp); 58 static void write_ultrix_dkfstab(FILE *ef, disk_fs *dp); 65 void (*op_fstab) (FILE *ef, disk_fs *dp); 99 write_aix1_dkfstab(FILE *ef, disk_fs *dp) argument 101 char *hp = xstrdup(dp->d_host->h_hostname); 108 dp->d_mountpt, 109 dp->d_dev, 110 dp 150 write_aix3_dkfstab(FILE *ef, disk_fs *dp) argument 190 write_ultrix_dkfstab(FILE *ef, disk_fs *dp) argument 224 write_generic_dkfstab(FILE *ef, disk_fs *dp) argument 283 disk_fs *dp; local [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | dirent.h | 87 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary. 92 #define _GENERIC_DIRSIZ(dp) \ 93 ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3)) 97 #define GENERIC_DIRSIZ(dp) _GENERIC_DIRSIZ(dp) 103 dirent_terminate(struct dirent *dp) argument 106 memset(dp->d_name + dp->d_namlen, 0, 107 dp->d_reclen - (__offsetof(struct dirent, d_name) + dp [all...] |
H A D | dir.h | 49 #define DIRSIZ(dp) _GENERIC_DIRSIZ(dp)
|
/freebsd-11-stable/lib/libc/gen/ |
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 && 90 dp->d_flags |= D_REMOVABLE; 92 dp->d_flags |= D_RAMDISK; 96 dp->d_flags |= D_BADSECT; 101 getnumdflt(dp->d_secsize, "se", DEV_BSIZE); 102 getnumdflt(dp->d_ntracks, "nt", 0); 103 getnumdflt(dp [all...] |
H A D | readdir.c | 54 struct dirent *dp; local 76 dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc); 77 if ((long)dp & 03L) /* bogus pointer check */ 79 if (dp->d_reclen <= 0 || 80 dp->d_reclen > dirp->dd_len + 1 - dirp->dd_loc) 82 dirp->dd_loc += dp->d_reclen; 83 if (dp->d_ino == 0 && skip) 85 if (dp->d_type == DT_WHT && (dirp->dd_flags & DTF_HIDEW)) 87 return (dp); 94 struct dirent *dp; local 109 struct dirent *dp; local [all...] |
/freebsd-11-stable/sys/geom/ |
H A D | geom_disk.c | 66 struct disk *dp; member in struct:g_disk_softc 100 struct disk *dp; local 108 if (sc == NULL || (dp = sc->dp) == NULL || dp->d_destroyed) { 126 if (w > 0 && (dp->d_flags & DISKFLAG_WRITE_PROTECT) != 0) 128 if (error == 0 && dp->d_open != NULL) 129 error = dp->d_open(dp); 134 pp->sectorsize = dp 174 g_disk_kerneldump(struct bio *bp, struct disk *dp) argument 266 struct disk *dp; local 280 g_disk_maxsize(struct disk *dp, struct bio *bp) argument 288 g_disk_maxsegs(struct disk *dp, struct bio *bp) argument 294 g_disk_advance(struct disk *dp, struct bio *bp, off_t off) argument 357 g_disk_vlist_limit(struct disk *dp, struct bio *bp, bus_dma_segment_t **pendseg) argument 381 g_disk_limit(struct disk *dp, struct bio *bp) argument 422 struct disk *dp; local 571 struct disk *dp; local 650 struct disk *dp; local 678 struct disk *dp; local 764 struct disk *dp; local 789 struct disk *dp; local 840 disk_create(struct disk *dp, int version) argument 875 disk_destroy(struct disk *dp) argument 886 disk_gone(struct disk *dp) argument 927 disk_attr_changed(struct disk *dp, const char *attr, int flag) argument 943 disk_media_changed(struct disk *dp, int flag) argument 960 disk_media_gone(struct disk *dp, int flag) argument 977 disk_resize(struct disk *dp, int flag) argument [all...] |
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_hints.c | 66 delegpt_free_mlc(s->dp); 92 ah(struct delegpt* dp, const char* sv, const char* ip) argument 102 if(!delegpt_add_ns_mlc(dp, dname, 0) || 104 !delegpt_add_target_mlc(dp, dname, dname_len, 126 struct delegpt* dp = delegpt_create_mlc((uint8_t*)"\000"); local 127 if(!dp) 129 dp->has_parent_side_NS = 1; 131 if(!ah(dp, "A.ROOT-SERVERS.NET.", "198.41.0.4")) goto failed; 132 if(!ah(dp, "B.ROOT-SERVERS.NET.", "199.9.14.201")) goto failed; 133 if(!ah(dp, " 168 hints_insert(struct iter_hints* hints, uint16_t c, struct delegpt* dp, int noprime) argument 194 struct delegpt* dp; local 217 read_stubs_host(struct config_stub* s, struct delegpt* dp) argument 242 read_stubs_addr(struct config_stub* s, struct delegpt* dp) argument 274 struct delegpt* dp; local 302 struct delegpt* dp; local 446 struct delegpt* dp = compile_time_root_prime(cfg->do_ip4, local 527 hints_add_stub(struct iter_hints* hints, uint16_t c, struct delegpt* dp, int noprime) argument [all...] |
H A D | iter_delegpt.h | 149 * Also check the dp->bogus to see if everything is bogus. */ 155 * This value is not copied in addr-copy and dp-copy. */ 170 * @param dp: delegation point to copy. 174 struct delegpt* delegpt_copy(struct delegpt* dp, struct regional* regional); 178 * @param dp: delegation point. 183 int delegpt_set_name(struct delegpt* dp, struct regional* regional, 188 * @param dp: delegation point. 194 int delegpt_add_ns(struct delegpt* dp, struct regional* regional, 199 * @param dp: delegation point. 205 int delegpt_rrset_add_ns(struct delegpt* dp, struc [all...] |
/freebsd-11-stable/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-11-stable/usr.bin/mkimg/ |
H A D | ebr.c | 80 struct dos_partition *dp; local 95 dp = (void *)(ebr + DOSPARTOFF); 96 ebr_chs(&dp->dp_scyl, &dp->dp_shd, &dp->dp_ssect, nsecs); 97 dp->dp_typ = ALIAS_TYPE2INT(part->type); 98 ebr_chs(&dp->dp_ecyl, &dp->dp_ehd, &dp->dp_esect, 100 le32enc(&dp [all...] |
/freebsd-11-stable/lib/libefivar/ |
H A D | efivar-dp.h | 26 * $FreeBSD: stable/11/lib/libefivar/efivar-dp.h 332123 2018-04-06 18:10:38Z kevans $ 33 * "Linux compatible" efivar-dp.h header. At the moment, it's really a 48 /* NB: Linux has shadow types for all dp type */ 61 ssize_t efidp_format_device_path(char *buf, size_t len, const_efidp dp, 63 ssize_t efidp_format_device_path_node(char *buf, size_t len, const_efidp dp); 65 char * efidp_extract_file_path(const_efidp dp); 69 int efivar_device_path_to_unix_path(const_efidp dp, char **dev, char **relpath, char **abspath); 70 int efivar_unix_path_to_device_path(const char *path, efidp *dp);
|
/freebsd-11-stable/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 296 smb_usr_t2request(struct smb_share *ssp, struct smbioc_t2rq *dp, struct smb_cred *scred) argument [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | uipc_domain.c | 170 struct domain *dp = arg; local 173 if (dp->dom_init) 174 (*dp->dom_init)(); 175 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) 198 struct domain *dp = arg; local 200 if (dp->dom_destroy) 201 (*dp->dom_destroy)(); 213 struct domain *dp; local 215 dp 274 struct domain *dp; local 285 struct domain *dp; local 301 struct domain *dp; local 332 struct domain *dp; local 403 struct domain *dp; local 465 struct domain *dp; local 477 struct domain *dp; local 500 struct domain *dp; local 513 struct domain *dp; local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_dir.c | 53 DIR *dp; local 72 dp = opendir("t"); 73 if ( dp == NULL) 77 entry = readdir(dp); 81 entry = readdir(dp); 86 entry = readdir(dp); 90 here = telldir(dp); 94 entry = readdir(dp); 103 entry = readdir(dp); 108 seekdir(dp, her 149 DIR *dp; local [all...] |
/freebsd-11-stable/usr.sbin/efidp/ |
H A D | efidp.c | 32 #include <efivar-dp.h> 142 efidp dp; local 146 dp = NULL; 149 free(dp); 150 dp = NULL; 151 rv = efivar_unix_path_to_device_path(walker, &dp); 152 if (rv != 0 || dp == NULL) { 158 dp, efidp_size(dp)) < 0) { 159 warnx("Can't format dp fo 172 efidp dp; local 199 const_efidp dp; local 221 efidp dp; local [all...] |
/freebsd-11-stable/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-11-stable/sys/compat/svr4/ |
H A D | svr4_dirent.h | 50 #define SVR4_NAMEOFF(dp) ((char *)&(dp)->d_name - (char *)dp)
|