Lines Matching refs:read_only
871 obj->my_dev->read_only) { in yaffs_open_sharing()
940 if (dir->my_dev->read_only) { in yaffs_open_sharing()
1014 else if (obj->my_dev->read_only) in yaffs_Dofsync()
1218 } else if (obj->my_dev->read_only) { in yaffsfs_do_write()
1252 if (!obj || obj->my_dev->read_only) in yaffsfs_do_write()
1334 else if (obj->my_dev->read_only) in yaffs_truncate()
1338 else if (obj->my_dev->read_only) in yaffs_truncate()
1365 else if (obj->my_dev->read_only) in yaffs_ftruncate()
1453 else if (obj->my_dev->read_only) in yaffsfs_DoUnlink()
1545 } else if (obj->my_dev->read_only) { in yaffs_rename()
1713 if (obj && obj->my_dev->read_only) { in yaffsfs_DoUtime()
2265 else if ((amode & W_OK) && obj->my_dev->read_only) in yaffs_access()
2323 else if (obj->my_dev->read_only) in yaffs_chmod()
2349 else if (obj->my_dev->read_only) in yaffs_fchmod()
2399 } else if (parent->my_dev->read_only) in yaffs_mkdir()
2454 int yaffs_mount_common(const YCHAR *path, int read_only, int skip_checkpt) in yaffs_mount_common() argument
2479 dev->read_only = read_only ? 1 : 0; in yaffs_mount_common()
2534 else if (dev->read_only) in yaffs_sync()
2563 int yaffs_remount(const YCHAR *path, int force, int read_only) in yaffs_remount() argument
2585 if (read_only) in yaffs_remount()
2587 dev->read_only = read_only ? 1 : 0; in yaffs_remount()
3017 else if (parent->my_dev->read_only) in yaffs_symlink()
3109 else if (obj->my_dev->read_only) in yaffs_link()