Home
last modified time | relevance | path

Searched refs:ents (Results 1 – 13 of 13) sorted by relevance

/freebsd/tests/sys/fs/fusefs/
H A Dreaddir.cc74 vector<struct dirent> ents(2); in TEST_F() local
79 ents[0].d_fileno = 2; in TEST_F()
80 ents[0].d_off = 2000; in TEST_F()
81 ents[0].d_namlen = sizeof(dotdot); in TEST_F()
82 ents[0].d_type = DT_DIR; in TEST_F()
83 strncpy(ents[0].d_name, dotdot, ents[0].d_namlen); in TEST_F()
84 ents[1].d_fileno = 3; in TEST_F()
85 ents[1].d_off = 3000; in TEST_F()
86 ents[1].d_namlen = sizeof(dot); in TEST_F()
87 ents[1].d_type = DT_DIR; in TEST_F()
[all …]
H A Dutils.hh198 std::vector<struct dirent> &ents);
H A Dutils.cc407 std::vector<struct dirent> &ents) in expect_readdir()
424 for (const auto& it: ents) { in expect_readdir()
408 expect_readdir(uint64_t ino,uint64_t off,std::vector<struct dirent> & ents) expect_readdir() argument
/freebsd/tools/LibraryReport/
H A DLibraryReport.tcl140 set ents [glob -nocomplain "$dir/*"];
153 foreach f $ents {
164 foreach f $ents {
/freebsd/usr.sbin/pmcstudy/
H A Dpmcstudy.c200 struct cpu_entry *ents; member
1965 the_cpu.ents = sandy_bridge; in set_sandybridge()
1974 the_cpu.ents = ivy_bridge; in set_ivybridge()
1984 the_cpu.ents = haswell; in set_haswell()
1994 the_cpu.ents = broadwell; in set_broadwell()
2004 if (strcmp(name, the_cpu.ents[i].name) == 0) { in set_expression()
2006 expression = the_cpu.ents[i].func; in set_expression()
2007 command = the_cpu.ents[i].command; in set_expression()
2008 threshold = the_cpu.ents[i].thresh; in set_expression()
2009 if (the_cpu.ents[i].counters_required > max_pmc_counters) { in set_expression()
[all …]
/freebsd/sbin/devmatch/
H A Ddevmatch.c252 int ival, len, ents, i, notme, mask, bit, v, found; in search_hints() local
288 ents = getint(&ptr); in search_hints()
291 val1, val2, ents, lastmod); in search_hints()
303 for (i = 0; i < ents; i++) { in search_hints()
/freebsd/sys/kern/
H A Dkern_fail.c972 parse_fail_point(struct fail_point_setting *ents, char *p) in parse_fail_point() argument
981 p = parse_term(ents, p); in parse_fail_point()
988 (p = parse_term(ents, p+2)) == NULL || in parse_fail_point()
999 parse_term(struct fail_point_setting *ents, char *p) in parse_term() argument
1003 ent = fail_point_entry_new(ents); in parse_term()
/freebsd/contrib/sendmail/src/
H A Dudb.c907 int ents = 0; local
938 if (ents >= MAXUDBENT)
968 ents++;
979 ents++;
1091 ents++;
/freebsd/sys/cam/nvme/
H A Dnvme_da.c1077 int ents; in ndastart() local
1099 ents = min(nitems(trim->dsm), nda_max_trim_entries); in ndastart()
1100 ents = max(ents, 1); in ndastart()
1102 dsm_end = dsm_range + ents; in ndastart()
/freebsd/stand/common/
H A Dmodule.c1334 int ival, len, ents, i, notme, mask, bit, v, found; in devmatch_search_hints()
1370 ents = getint(&ptr); in devmatch_search_hints()
1373 val1, val2, ents, lastmod); in devmatch_search_hints()
1385 for (i = 0; i < ents; i++) { in devmatch_search_hints()
1333 int ival, len, ents, i, notme, mask, bit, v, found; devmatch_search_hints() local
/freebsd/crypto/openssh/
H A Dsftp-client.c707 u_int count, id, i, expected_id, ents = 0; in sftp_lsreaddir() local
734 ents = 0; in sftp_lsreaddir()
813 *dir = xreallocarray(*dir, ents + 2, sizeof(**dir)); in sftp_lsreaddir()
814 (*dir)[ents] = xcalloc(1, sizeof(***dir)); in sftp_lsreaddir()
815 (*dir)[ents]->filename = xstrdup(filename); in sftp_lsreaddir()
816 (*dir)[ents]->longname = xstrdup(longname); in sftp_lsreaddir()
817 memcpy(&(*dir)[ents]->a, &a, sizeof(a)); in sftp_lsreaddir()
818 (*dir)[++ents] = NULL; in sftp_lsreaddir()
/freebsd/contrib/lib9p/pytest/
H A Dp9conn.py1644 ents = self.decode_readdir_dirents(bstring)
1645 if len(ents) == 0:
1647 dirents.extend(ents)
1648 offset = ents[-1].offset
/freebsd/sys/dev/sound/pci/hda/
H A Dhdaa.c1384 int i, j, max, ents, entnum; in hdaa_widget_connection_parse() local
1393 ents = HDA_PARAM_CONN_LIST_LENGTH_LIST_LENGTH(res); in hdaa_widget_connection_parse()
1395 if (ents < 1) in hdaa_widget_connection_parse()
1408 for (i = 0; i < ents; i += entnum) { in hdaa_widget_connection_parse()
1414 if (w->nconns < ents) in hdaa_widget_connection_parse()
1420 ents, w->nconns, res); in hdaa_widget_connection_parse()