Home
last modified time | relevance | path

Searched refs:dir_buf (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_fat.c295 char *rest, ch, dir_buf[FAT_DIRENTRY_LENGTH]; in fat_dir() local
355 if (fat_read (dir_buf, FAT_DIRENTRY_LENGTH) != FAT_DIRENTRY_LENGTH in fat_dir()
356 || dir_buf[0] == 0) in fat_dir()
377 if (FAT_DIRENTRY_ATTRIB (dir_buf) == FAT_ATTRIB_LONGNAME) in fat_dir()
392 unsigned char id = FAT_LONGDIR_ID(dir_buf); in fat_dir()
399 alias_checksum = FAT_LONGDIR_ALIASCHECKSUM(dir_buf); in fat_dir()
403 || alias_checksum != FAT_LONGDIR_ALIASCHECKSUM(dir_buf)) in fat_dir()
413 filename[offset+i] = dir_buf[longdir_pos[i]]; in fat_dir()
417 if (!FAT_DIRENTRY_VALID (dir_buf)) in fat_dir()
427 sum = ((sum >> 1) | (sum << 7)) + dir_buf[i]; in fat_dir()
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc79 uchar_t *dir_buf = new uchar_t[sizeof (struct dirent) + MAXPATHLEN]; in lookupControllerPath() local
85 delete[] (dir_buf); in lookupControllerPath()
89 dirp = (struct dirent *) dir_buf; in lookupControllerPath()
104 delete[] (dir_buf); in lookupControllerPath()
111 delete[] (dir_buf); in lookupControllerPath()
H A DHBAPort.cc216 uchar_t *dir_buf = new uchar_t[sizeof (struct dirent) + MAXPATHLEN]; in lookupControllerPath() local
222 delete[] (dir_buf); in lookupControllerPath()
226 dirp = (struct dirent *) dir_buf; in lookupControllerPath()
241 delete[] (dir_buf); in lookupControllerPath()
248 delete[] (dir_buf); in lookupControllerPath()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c133 static char *dir_buf; /* directory buffer for ttysrch body */ variable
652 buf = realloc(dir_buf, sz + 1); in get_pri_dirs()
654 dir_buf = buf; in get_pri_dirs()
655 size = read(fd, dir_buf, sz); in get_pri_dirs()
673 ebuf = &dir_buf[size]; in get_pri_dirs()
675 for (sz = 1, buf = dir_buf; buf < ebuf; ++buf) in get_pri_dirs()
690 for (buf = dir_buf; buf < ebuf; ++buf) { in get_pri_dirs()