Searched refs:ATTR_DIR (Results 1 – 7 of 7) sorted by relevance
178 if (attrs & ATTR_RO && !((attrs & ATTR_DIR) && !sbi->options.rodir)) in fat_make_mode()181 if (attrs & ATTR_DIR) in fat_make_mode()192 attrs |= ATTR_DIR; in fat_make_attrs()
58 attr &= 0xff & ~(ATTR_VOLUME | ATTR_DIR); in fat_ioctl_set_attributes()61 (is_dir ? ATTR_DIR : 0); in fat_ioctl_set_attributes()75 if (inode->i_ino == MSDOS_ROOT_INO && attr != ATTR_DIR) { in fat_ioctl_set_attributes()
677 (de->attr & ATTR_DIR) ? DT_DIR : DT_REG)) in __fat_readdir()943 if (de->attr & ATTR_DIR) in fat_subdirs()1166 de->attr = de[1].attr = ATTR_DIR; in fat_alloc_new_dir()
520 if ((de->attr & ATTR_DIR) && !IS_FREE(de->name)) { in fat_fill_inode()1393 inode->i_mode = fat_make_mode(sbi, ATTR_DIR, S_IRWXUGO); in fat_read_root()1410 fat_save_attrs(inode, ATTR_DIR); in fat_read_root()
236 de.attr = is_dir ? ATTR_DIR : ATTR_ARCH; in msdos_add_entry()
642 de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; in vfat_build_slots()
41 #define ATTR_DIR 16 /* directory */ macro