Home
last modified time | relevance | path

Searched refs:ATTR_DIR (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/fs/fat/
H A Dfat.h207 if (attrs & ATTR_RO && !((attrs & ATTR_DIR) && !sbi->options.rodir)) in fat_make_mode()
210 if (attrs & ATTR_DIR) in fat_make_mode()
221 attrs |= ATTR_DIR; in fat_make_attrs()
H A Dfile.c59 attr &= 0xff & ~(ATTR_VOLUME | ATTR_DIR); in fat_ioctl_set_attributes()
62 (is_dir ? ATTR_DIR : 0); in fat_ioctl_set_attributes()
76 if (inode->i_ino == MSDOS_ROOT_INO && attr != ATTR_DIR) { in fat_ioctl_set_attributes()
H A Ddir.c678 (de->attr & ATTR_DIR) ? DT_DIR : DT_REG)) in __fat_readdir()
940 if (de->attr & ATTR_DIR) in fat_subdirs()
1163 de->attr = de[1].attr = ATTR_DIR; in fat_alloc_new_dir()
H A Dinode.c523 if ((de->attr & ATTR_DIR) && !IS_FREE(de->name)) { in fat_fill_inode()
1392 inode->i_mode = fat_make_mode(sbi, ATTR_DIR, S_IRWXUGO); in fat_read_root()
1409 fat_save_attrs(inode, ATTR_DIR); in fat_read_root()
H A Dnamei_msdos.c237 de.attr = is_dir ? ATTR_DIR : ATTR_ARCH; in msdos_add_entry()
H A Dnamei_vfat.c643 de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; in vfat_build_slots()
/openbmc/linux/include/uapi/linux/
H A Dmsdos_fs.h41 #define ATTR_DIR 16 /* directory */ macro
/openbmc/u-boot/include/
H A Dfat.h46 #define ATTR_DIR 16 macro
/openbmc/u-boot/fs/fat/
H A Dfat_write.c1409 ATTR_DIR | ATTR_ARCH); in fat_mkdir()
1425 dotdent[0].attr = ATTR_DIR | ATTR_ARCH; in fat_mkdir()
1429 dotdent[1].attr = ATTR_DIR | ATTR_ARCH; in fat_mkdir()
H A Dfat.c911 return !!(itr->dent->attr & ATTR_DIR); in fat_itr_isdir()