Lines Matching refs:read_only
870 obj->my_dev->read_only) { in yaffs_open_sharing()
939 if (dir->my_dev->read_only) { in yaffs_open_sharing()
1013 else if (obj->my_dev->read_only) in yaffs_Dofsync()
1217 } else if (obj->my_dev->read_only) { in yaffsfs_do_write()
1251 if (!obj || obj->my_dev->read_only) in yaffsfs_do_write()
1333 else if (obj->my_dev->read_only) in yaffs_truncate()
1337 else if (obj->my_dev->read_only) in yaffs_truncate()
1364 else if (obj->my_dev->read_only) in yaffs_ftruncate()
1452 else if (obj->my_dev->read_only) in yaffsfs_DoUnlink()
1544 } else if (obj->my_dev->read_only) { in yaffs_rename()
1712 if (obj && obj->my_dev->read_only) { in yaffsfs_DoUtime()
2264 else if ((amode & W_OK) && obj->my_dev->read_only) in yaffs_access()
2322 else if (obj->my_dev->read_only) in yaffs_chmod()
2348 else if (obj->my_dev->read_only) in yaffs_fchmod()
2398 } else if (parent->my_dev->read_only) in yaffs_mkdir()
2453 int yaffs_mount_common(const YCHAR *path, int read_only, int skip_checkpt) in yaffs_mount_common() argument
2478 dev->read_only = read_only ? 1 : 0; in yaffs_mount_common()
2533 else if (dev->read_only) in yaffs_sync()
2562 int yaffs_remount(const YCHAR *path, int force, int read_only) in yaffs_remount() argument
2584 if (read_only) in yaffs_remount()
2586 dev->read_only = read_only ? 1 : 0; in yaffs_remount()
3016 else if (parent->my_dev->read_only) in yaffs_symlink()
3108 else if (obj->my_dev->read_only) in yaffs_link()