Searched refs:de (Results 1 - 25 of 137) sorted by relevance

123456

/freebsd-11-stable/contrib/amd/fsinfo/
H A Dfsi_dict.c72 dict_add_data(dict_ent *de, char *v) argument
77 ins_que(&dd->dd_q, de->de_q.q_back);
78 de->de_count++;
85 dict_ent *de = CALLOC(struct dict_ent); local
87 de->de_key = k;
88 init_que(&de->de_q);
89 return de;
96 dict_ent *de = dp->de[dict_hash(k)]; local
98 while (de
107 dict_ent *de = dict_locate(dp, k); local
126 dict_ent *de = dp->de[i]; local
[all...]
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_error.c35 Dwarf_Error de; local
37 de.err_error = errorcode;
38 de.err_elferror = elferrorcode;
39 de.err_func = functionname;
40 de.err_line = linenumber;
41 de.err_msg[0] = '\0';
51 *error = de;
53 dbg->dbg_errhand(de, dbg->dbg_errarg);
55 _libdwarf.errhand(de, _libdwarf.errarg);
/freebsd-11-stable/sys/fs/devfs/
H A Ddevfs_devs.c177 struct devfs_dirent *de; local
179 TAILQ_FOREACH(de, &dd->de_dlist, de_list) {
180 if (namelen != de->de_dirent->d_namlen)
182 if (type != 0 && type != de->de_dirent->d_type)
190 if (de->de_dirent->d_type == DT_CHR &&
191 (de->de_cdp->cdp_flags & CDP_ACTIVE) == 0)
194 if (bcmp(name, de->de_dirent->d_name, namelen) != 0)
198 KASSERT(de == NULL || (de->de_flags & DE_DOOMED) == 0,
200 return (de);
207 struct devfs_dirent *de; local
229 devfs_parent_dirent(struct devfs_dirent *de) argument
253 struct devfs_dirent *de; local
301 devfs_dirent_free(struct devfs_dirent *de) argument
318 devfs_rmdir_empty(struct devfs_mount *dm, struct devfs_dirent *de) argument
362 devfs_delete(struct devfs_mount *dm, struct devfs_dirent *de, int flags) argument
431 struct devfs_dirent *de; local
501 struct devfs_dirent *de; local
[all...]
H A Ddevfs_vnops.c227 struct devfs_dirent *de; local
255 de = vp->v_data;
256 KASSERT(de != NULL,
258 if ((de->de_flags & DE_DOOMED) != 0) {
274 struct devfs_dirent *dd, *de; local
303 de = devfs_parent_dirent(dd);
304 if (de == NULL) {
309 *dvp = de->de_vnode;
335 struct devfs_dirent *de; local
347 de
368 devfs_allocv_drop_refs(int drop_dm_lock, struct devfs_mount *dmp, struct devfs_dirent *de) argument
395 struct devfs_dirent *de; local
411 devfs_allocv(struct devfs_dirent *de, struct mount *mp, int lockmode, struct vnode **vpp) argument
524 struct devfs_dirent *de; local
673 struct devfs_dirent *de; local
840 devfs_prison_check(struct devfs_dirent *de, struct thread *td) argument
876 struct devfs_dirent *de, *dd; local
1039 struct devfs_dirent *dd, *de; local
1287 struct devfs_dirent *de; local
1360 struct devfs_dirent *de; local
1370 struct devfs_dirent *de; local
1414 struct devfs_dirent *de, *de_covered; local
1459 struct devfs_dirent *de; local
1561 struct devfs_dirent *de; local
1659 struct devfs_dirent *de; local
1683 struct devfs_dirent *de, *de_covered, *de_dotdot; local
[all...]
H A Ddevfs_rule.c104 struct devfs_mount *dm, struct devfs_dirent *de);
109 static struct cdev *devfs_rule_getdev(struct devfs_dirent *de);
113 struct devfs_dirent *de);
115 struct devfs_dirent *de);
117 struct devfs_dirent *de, unsigned depth);
120 struct devfs_mount *dm, struct devfs_dirent *de,
136 * Called to apply the proper rules for 'de' before it can be
141 devfs_rules_apply(struct devfs_mount *dm, struct devfs_dirent *de) argument
152 devfs_ruleset_applyde(ds, dm, de, devfs_rule_depth);
335 * Apply dk to de an
343 devfs_rule_applyde_recursive(struct devfs_krule *dk, struct devfs_mount *dm, struct devfs_dirent *de) argument
440 devfs_rule_getdev(struct devfs_dirent *de) argument
532 devfs_rule_match(struct devfs_krule *dk, struct devfs_mount *dm, struct devfs_dirent *de) argument
576 devfs_rule_matchpath(struct devfs_krule *dk, struct devfs_mount *dm, struct devfs_dirent *de) argument
606 devfs_rule_run(struct devfs_krule *dk, struct devfs_mount *dm, struct devfs_dirent *de, unsigned depth) argument
648 devfs_ruleset_applyde(struct devfs_ruleset *ds, struct devfs_mount *dm, struct devfs_dirent *de, unsigned depth) argument
[all...]
H A Ddevfs.h172 #define DEVFS_DE_HOLD(de) ((de)->de_holdcnt++)
173 #define DEVFS_DE_DROP(de) (--(de)->de_holdcnt == 0)
H A Ddevfs_dir.c117 devfs_dir_ref_de(struct devfs_mount *dm, struct devfs_dirent *de) argument
121 namep = devfs_fqpn(dirname, dm, de, NULL);
150 devfs_dir_unref_de(struct devfs_mount *dm, struct devfs_dirent *de) argument
154 namep = devfs_fqpn(dirname, dm, de, NULL);
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_db_factory.c91 struct _citrus_db_factory_entry *de; local
93 while ((de = STAILQ_FIRST(&df->df_entries)) != NULL) {
95 if (de->de_key_free)
96 free(_region_head(&de->de_key));
97 if (de->de_data_free)
98 free(_region_head(&de->de_data));
99 free(de);
114 struct _citrus_db_factory_entry *de; local
116 de = malloc(sizeof(*de));
263 struct _citrus_db_factory_entry *de, **depp, *det; local
[all...]
/freebsd-11-stable/contrib/unbound/dynlibmod/
H A Ddynlibmod.c76 struct dynlibmod_env* de = (struct dynlibmod_env*)calloc(1, sizeof(struct dynlibmod_env)); local
78 if (!de)
84 env->modinfo[id] = (void*) de;
86 de->fname = NULL;
95 de->fname = cfg_item->str;
97 verbose(VERB_ALGO, "dynlibmod[%d]: Trying to load library %s", dynlib_mod_idx, de->fname);
98 dynamic_library = open_library(de->fname);
99 de->dynamic_library = (void*)dynamic_library;
102 log_err("dynlibmod[%d]: unable to load dynamic library \"%s\".", dynlib_mod_idx, de->fname);
114 log_err("dynlibmod[%d]: unable to load init procedure from dynamic library \"%s\".", dynlib_mod_idx, de
167 struct dynlibmod_env* de = env->modinfo[id]; local
180 struct dynlibmod_env* de = qstate->env->modinfo[id]; local
188 struct dynlibmod_env* de = qstate->env->modinfo[id]; local
195 struct dynlibmod_env* de = qstate->env->modinfo[id]; local
202 struct dynlibmod_env* de = (struct dynlibmod_env*)env->modinfo[id]; local
[all...]
/freebsd-11-stable/contrib/dtc/
H A Dfstree.c29 struct dirent *de; local
39 while ((de = readdir(d)) != NULL) {
42 if (streq(de->d_name, ".")
43 || streq(de->d_name, ".."))
46 tmpname = join_path(dirname, de->d_name);
61 prop = build_property(xstrdup(de->d_name),
71 newchild = name_node(newchild, xstrdup(de->d_name));
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_util.c113 struct device_element *de; local
118 TAILQ_FOREACH(de, &devices, list) {
119 if (strcmp(device_name, de->entry.bsd_driver_name) == 0)
120 return (de->entry.linux_driver_name);
129 struct device_element *de; local
178 TAILQ_FOREACH(de, &devices, list) {
179 if (strcmp(node, de->entry.bsd_device_name) == 0) {
180 *major = de->entry.linux_major;
181 *minor = de->entry.linux_minor;
192 struct device_element *de; local
238 struct device_element *de; local
258 struct device_element *de; local
[all...]
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_dirent.h51 #define SVR4_RECLEN(de,namlen) ALIGN((SVR4_NAMEOFF(de) + (namlen) + 1))
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_subr.c391 tmpfs_dirent_cookie(struct tmpfs_dirent *de) argument
393 if (de == NULL)
396 MPASS(de->td_cookie >= TMPFS_DIRCOOKIE_MIN);
398 return (de->td_cookie);
402 tmpfs_dirent_dup(struct tmpfs_dirent *de) argument
404 return ((de->td_cookie & TMPFS_DIRCOOKIE_DUP) != 0);
408 tmpfs_dirent_duphead(struct tmpfs_dirent *de) argument
410 return ((de->td_cookie & TMPFS_DIRCOOKIE_DUPHEAD) != 0);
414 tmpfs_dirent_init(struct tmpfs_dirent *de, const char *name, u_int namelen) argument
416 de
431 tmpfs_alloc_dirent(struct tmpfs_mount *tmp, struct tmpfs_node *node, const char *name, u_int len, struct tmpfs_dirent **de) argument
461 tmpfs_free_dirent(struct tmpfs_mount *tmp, struct tmpfs_dirent *de) argument
714 struct tmpfs_dirent *de; local
778 struct tmpfs_dirent *de; local
792 struct tmpfs_dirent *de; local
814 struct tmpfs_dirent *de, dekey; local
827 struct tmpfs_dirent *de, dekey; local
892 struct tmpfs_dirent *de; local
929 struct tmpfs_dirent *de, *pde; local
993 tmpfs_dir_attach(struct vnode *vp, struct tmpfs_dirent *de) argument
1040 tmpfs_dir_detach(struct vnode *vp, struct tmpfs_dirent *de) argument
1084 struct tmpfs_dirent *de, *dde, *nde; local
1194 struct tmpfs_dirent *de; local
1329 struct tmpfs_dirent *de; local
1343 struct tmpfs_dirent *de; local
[all...]
H A Dtmpfs_vnops.c78 struct tmpfs_dirent *de; local
115 de = tmpfs_dir_lookup(dnode, NULL, cnp);
116 if (de != NULL && de->td_node == NULL)
118 if (de == NULL || de->td_node == NULL) {
152 tnode = de->td_node;
551 struct tmpfs_dirent *de; local
567 de = tmpfs_dir_lookup(dnode, node, v->a_cnp);
568 MPASS(de !
604 struct tmpfs_dirent *de; local
662 struct tmpfs_dirent *de; local
790 struct tmpfs_dirent *de; local
1095 struct tmpfs_dirent *de; local
1426 struct tmpfs_dirent *de; local
1449 struct tmpfs_dirent *de; local
1465 struct tmpfs_dirent *de; local
1500 struct tmpfs_dirent *de; local
[all...]
/freebsd-11-stable/lib/libc/tests/gen/
H A Ddir2_test.c58 struct dirent *de; local
86 de = readdir(dirp);
87 ATF_REQUIRE_MSG(de != NULL, "readdir failed");
91 de = readdir(dirp);
92 ATF_REQUIRE_MSG(de != NULL, "readdir failed");
134 struct dirent *de; local
168 de = readdir(dirp);
169 ATF_REQUIRE_MSG(de != NULL, "readdir failed");
170 strlcpy(last_filename, de->d_name, sizeof(last_filename));
174 de
[all...]
/freebsd-11-stable/usr.sbin/ctm/mkCTM/
H A Dmkctm.c116 dirselect(struct dirent *de) argument
118 if (!strcmp(de->d_name, ".")) return 0;
119 if (!strcmp(de->d_name, "..")) return 0;
124 name_stat(const char *pfx, const char *dir, const char *name, struct dirent *de) argument
127 strlen(de->d_name) + 3);
132 strcat(buf, "/"); strcat(buf, de->d_name);
135 pfx, name, de->d_name,
137 fprintf(logf, "%s %s%s\n", pfx, name, de->d_name);
139 fprintf(stderr, "%s %s%s\n", pfx, name, de->d_name);
144 Equ(const char *dir1, const char *dir2, const char *name, struct dirent *de) argument
304 Add(const char *dir1, const char *dir2, const char *name, struct dirent *de) argument
343 Del(const char *dir1, const char *dir2, const char *name, struct dirent *de) argument
[all...]
/freebsd-11-stable/sys/modules/de/
H A DMakefile1 # $FreeBSD: stable/11/sys/modules/de/Makefile 319182 2017-05-30 04:11:12Z ngie $
3 .PATH: ${SRCTOP}/sys/dev/de
/freebsd-11-stable/contrib/elftoolchain/addr2line/
H A Daddr2line.c151 Dwarf_Error de; local
156 ret = dwarf_attr(die, DW_AT_high_pc, &at, &de);
158 warnx("dwarf_attr failed: %s", dwarf_errmsg(de));
161 ret = dwarf_whatform(at, &form, &de);
163 warnx("dwarf_whatform failed: %s", dwarf_errmsg(de));
221 Dwarf_Error de; local
235 if (dwarf_tag(die, &tag, &de)) {
236 warnx("dwarf_tag: %s", dwarf_errmsg(de));
250 &de) == DW_DLV_OK &&
252 &ranges_cnt, NULL, &de)
424 Dwarf_Error de; local
517 Dwarf_Error de; local
758 Dwarf_Error de; local
[all...]
/freebsd-11-stable/contrib/unbound/dynlibmod/examples/
H A Dhelloworld.c42 struct dynlibmod_env* de = (struct dynlibmod_env*) env->modinfo[id]; local
43 de->inplace_cb_register_wrapped(&reply_callback,
55 struct dynlibmod_env* de = (struct dynlibmod_env*) env->modinfo[id]; local
56 de->inplace_cb_delete_wrapped(env, inplace_cb_reply, id);
57 if (de->dyn_env != NULL) free(de->dyn_env);
/freebsd-11-stable/stand/libsa/
H A Ddosfs.c132 #define stclus(sz, de) ((sz) != 32 ? cv2((de)->clus) : \
133 ((u_int)cv2((de)->dex.h_clus) << 16) | \
134 cv2((de)->clus))
237 DOS_DE *de; local
251 if ((err = namede(fs, path, &de))) {
256 clus = stclus(fs->fatsz, de);
257 size = cv4(de->size);
259 if ((!(de->attr & FA_DIR) && (!clus != !size)) ||
260 ((de
550 DOS_DE *de; local
692 cp_sfn(u_char *sfn, DOS_DE *de) argument
718 fsize(DOS_FS *fs, DOS_DE *de) argument
[all...]
H A Ddosfs.h93 DOS_DE de; /* standard directory entry */ member in union:__anon5032
118 DOS_DE de; /* directory entry */ member in struct:__anon5034
/freebsd-11-stable/lib/libfetch/
H A Dfile.c123 struct dirent *de; local
143 while ((de = readdir(dir)) != NULL) {
144 strncpy(p, de->d_name, l - 1);
149 fetch_add_entry(&ue, &size, &len, de->d_name, &us);
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_io.c77 struct dirent de; local
98 bzero((caddr_t)&de, DE_SIZE);
99 de.d_reclen = DE_SIZE;
100 de.d_fileno = (offset == 0) ? np->n_ino :
102 if (de.d_fileno == 0)
103 de.d_fileno = 0x7ffffffd + offset;
104 de.d_namlen = offset + 1;
105 de.d_name[0] = '.';
106 de.d_name[1] = '.';
107 de
[all...]
/freebsd-11-stable/sbin/newfs_nandfs/
H A Dnewfs_nandfs.c603 add_de(void *block, struct nandfs_dir_entry *de, uint64_t ino, argument
608 /* modify last de */
609 de->rec_len = NANDFS_DIR_REC_LEN(de->name_len);
610 de = (void *)((uint8_t *)de + de->rec_len);
612 reclen = blocksize - ((uintptr_t)de - (uintptr_t)block);
618 de->inode = ino;
619 de
632 struct nandfs_dir_entry *de = (struct nandfs_dir_entry *)block; local
658 struct nandfs_dir_entry *de; local
[all...]
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_xlate.c52 uintptr_t sb, se, db, de; local
115 de = db + (size_t) dst->d_size;
121 if (db != sb && de > sb && se > db) {

Completed in 248 milliseconds

123456