Lines Matching full:de
79 struct dirent *de; in f() local
81 de = xreaddir(d); in f()
82 assert(de->d_type == DT_DIR); in f()
83 assert(streq(de->d_name, ".")); in f()
85 de = xreaddir(d); in f()
86 assert(de->d_type == DT_DIR); in f()
87 assert(streq(de->d_name, "..")); in f()
89 while ((de = xreaddir(d))) { in f()
90 assert(!streq(de->d_name, ".")); in f()
91 assert(!streq(de->d_name, "..")); in f()
93 switch (de->d_type) { in f()
98 if (level == 0 && streq(de->d_name, "sysrq-trigger")) { in f()
99 f_reg_write(d, de->d_name, "h", 1); in f()
100 } else if (level == 1 && streq(de->d_name, "clear_refs")) { in f()
101 f_reg_write(d, de->d_name, "1", 1); in f()
102 } else if (level == 3 && streq(de->d_name, "clear_refs")) { in f()
103 f_reg_write(d, de->d_name, "1", 1); in f()
105 f_reg(d, de->d_name); in f()
109 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f()
119 f_lnk(d, de->d_name); in f()