Lines Matching refs:openMode
65 Attribute::CheckAccess(const char* name, int openMode)
67 return fInode->CheckPermissions(open_mode_to_access(openMode)
68 | (openMode & O_TRUNC ? W_OK : 0));
115 Attribute::Create(const char* name, type_code type, int openMode,
118 status_t status = CheckAccess(name, openMode);
131 cookie->open_mode = openMode;
136 if ((openMode & O_TRUNC) != 0)
145 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie)
148 status_t status = CheckAccess(name, openMode);
162 cookie->open_mode = openMode;
166 if ((openMode & O_TRUNC) != 0)