Lines Matching refs:ud
1201 utoppy_readdir_decode(struct utoppy_softc *sc, struct utoppy_dirent *ud)
1208 if (utoppy_timestamp_decode(sc, &ud->ud_mtime) ||
1209 utoppy_get_8(sc, &ftype) || utoppy_get_64(sc, &ud->ud_size) ||
1210 utoppy_get_string(sc, ud->ud_path, UTOPPY_MAX_FILENAME_LEN + 1) ||
1211 utoppy_get_32(sc, &ud->ud_attributes)) {
1219 ud->ud_type = UTOPPY_DIRENT_DIRECTORY;
1222 ud->ud_type = UTOPPY_DIRENT_FILE;
1225 ud->ud_type = UTOPPY_DIRENT_UNKNOWN;
1232 ((ftype == UTOPPY_FTYPE_FILE) ? "FILE" : "UNKNOWN"), ud->ud_path,
1233 ud->ud_size, (u_long)ud->ud_mtime, ud->ud_attributes));
1417 struct utoppy_dirent ud;
1434 while (err == 0 && uio->uio_resid >= sizeof(ud) &&
1436 if (utoppy_readdir_decode(sc, &ud) == 0)
1439 if ((err = uiomove(&ud, sizeof(ud), uio)) != 0)