Searched refs:W_OK (Results 1 – 2 of 2) sorted by relevance
283 #define W_OK 2 macro
2248 if (amode & ~(R_OK | W_OK | X_OK)) { in yaffs_access()2264 else if ((amode & W_OK) && obj->my_dev->read_only) in yaffs_access()2271 if ((amode & W_OK) && !(obj->yst_mode & S_IWRITE)) in yaffs_access()