Searched refs:dir_buf (Results 1 – 3 of 3) sorted by relevance
294 char *rest, ch, dir_buf[FAT_DIRENTRY_LENGTH]; in fat_dir() local354 if (fat_read (dir_buf, FAT_DIRENTRY_LENGTH) != FAT_DIRENTRY_LENGTH in fat_dir()355 || dir_buf[0] == 0) in fat_dir()376 if (FAT_DIRENTRY_ATTRIB (dir_buf) == FAT_ATTRIB_LONGNAME) in fat_dir()391 unsigned char id = FAT_LONGDIR_ID(dir_buf); in fat_dir()398 alias_checksum = FAT_LONGDIR_ALIASCHECKSUM(dir_buf); in fat_dir()402 || alias_checksum != FAT_LONGDIR_ALIASCHECKSUM(dir_buf)) in fat_dir()412 filename[offset+i] = dir_buf[longdir_pos[i]]; in fat_dir()416 if (!FAT_DIRENTRY_VALID (dir_buf)) in fat_dir()426 sum = ((sum >> 1) | (sum << 7)) + dir_buf[i]; in fat_dir()[all …]
25 char *dir_buf; member42 retval = ext2fs_read_dir_block(fs, *block_nr, sb->dir_buf); in swap_block()47 retval = ext2fs_write_dir_block(fs, *block_nr, sb->dir_buf); in swap_block()88 sb.dir_buf = block_buf + ctx->fs->blocksize*3; in swap_inode_blocks()
682 char *dir_buf = 0; in e2fsck_rehash_dir() local693 dir_buf = malloc(inode.i_size); in e2fsck_rehash_dir()694 if (!dir_buf) in e2fsck_rehash_dir()704 fd.buf = dir_buf; in e2fsck_rehash_dir()755 free(dir_buf); dir_buf = 0; in e2fsck_rehash_dir()769 if (dir_buf) in e2fsck_rehash_dir()770 free(dir_buf); in e2fsck_rehash_dir()