Home
last modified time | relevance | path

Searched refs:fdb (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/networking/
Dbrctl.c227 struct fdb_entry *fdb; in read_bridge_forward_db() local
241 fdb = NULL; in read_bridge_forward_db()
244 fdb = xrealloc_vector(fdb, 4, nentries); in read_bridge_forward_db()
245 cc = full_read(fd, &fdb[nentries], sizeof(*fdb)); in read_bridge_forward_db()
249 if (cc != sizeof(*fdb)) { in read_bridge_forward_db()
258 qsort(fdb, nentries, sizeof(*fdb), compare_fdbs); in read_bridge_forward_db()
260 *_fdb = fdb; in read_bridge_forward_db()
266 struct fdb_entry *fdb; in show_bridge_macs() local
270 nentries = read_bridge_forward_db(name, &fdb); in show_bridge_macs()
274 const struct fdb_entry *f = &fdb[i]; in show_bridge_macs()
[all …]
/busybox-1.35.0/util-linux/
Dfdisk_osf.c685 int fdb; in xbsd_get_bootstrap() local
687 fdb = open_or_warn(path, O_RDONLY); in xbsd_get_bootstrap()
688 if (fdb < 0) { in xbsd_get_bootstrap()
691 if (full_read(fdb, ptr, size) < 0) { in xbsd_get_bootstrap()
693 close(fdb); in xbsd_get_bootstrap()
697 close(fdb); in xbsd_get_bootstrap()