Home
last modified time | relevance | path

Searched refs:yst_mode (Results 1 – 6 of 6) sorted by relevance

/external/yaffs2/yaffs2/
Dyaffs_fs.c349 inode = yaffs_get_inode(dir->i_sb, obj->yst_mode, 0, obj); in yaffs_lookup()
672 __u32 mode = obj->yst_mode; in yaffs_FillInodeFromObject()
676 obj->yst_mode &= ~S_IFMT; in yaffs_FillInodeFromObject()
677 obj->yst_mode |= S_IFREG; in yaffs_FillInodeFromObject()
683 obj->yst_mode &= ~S_IFMT; in yaffs_FillInodeFromObject()
684 obj->yst_mode |= S_IFLNK; in yaffs_FillInodeFromObject()
690 obj->yst_mode &= ~S_IFMT; in yaffs_FillInodeFromObject()
691 obj->yst_mode |= S_IFDIR; in yaffs_FillInodeFromObject()
704 inode->i_mode = obj->yst_mode; in yaffs_FillInodeFromObject()
734 switch (obj->yst_mode & S_IFMT) { in yaffs_FillInodeFromObject()
[all …]
Dyaffs_guts.c1393 obj->yst_mode = mode; in yaffs_CreateFakeDirectory()
1711 in->yst_mode = mode; in yaffs_MknodObject()
3026 oh->yst_mode = in->yst_mode; in yaffs_UpdateObjectHeader()
4940 in->yst_mode = oh->yst_mode; in yaffs_Scan()
4964 in->yst_mode = oh->yst_mode; in yaffs_Scan()
5151 in->yst_mode = oh->yst_mode; in yaffs_CheckObjectDetailsLoaded()
5584 in->yst_mode = oh->yst_mode; in yaffs_ScanBackwards()
5617 in->yst_mode = oh->yst_mode; in yaffs_ScanBackwards()
6089 if (S_ISFIFO(obj->yst_mode)) in yaffs_GetObjectType()
6091 if (S_ISCHR(obj->yst_mode)) in yaffs_GetObjectType()
[all …]
Dyaffs_guts.h302 __u32 yst_mode; /* protection */ member
438 __u32 yst_mode; member
/external/yaffs2/yaffs2/direct/
Dyaffsfs.c409 !(obj->yst_mode & S_IREAD)) in yaffs_open()
415 !(obj->yst_mode & S_IREAD)) in yaffs_open()
421 !(obj->yst_mode & S_IWRITE)) in yaffs_open()
834 buf->st_mode = obj->yst_mode & ~S_IFMT; // clear out file type bits in yaffsfs_DoStat()
939 obj->yst_mode = mode; in yaffsfs_DoChMod()
/external/yaffs2/yaffs2/utils/
Dmkyaffsimage.c280 oh->yst_mode = SWAP32(oh->yst_mode); in object_header_little_to_big_endian()
349 oh->yst_mode = s->st_mode; in write_object_header()
Dmkyaffs2image.c157 oh->yst_mode = SWAP32(oh->yst_mode); in object_header_little_to_big_endian()
292 oh->yst_mode = s->st_mode; in write_object_header()