Lines Matching refs:accessMode
899 int accessMode = open_mode_to_access(openMode); in ramfs_open() local
902 accessMode |= ACCESS_W; in ramfs_open()
905 error = node->CheckPermissions(accessMode); in ramfs_open()
1531 int accessMode = open_mode_to_access(openMode); in ramfs_create_attr() local
1533 accessMode |= ACCESS_W; in ramfs_create_attr()
1536 status_t error = node->CheckPermissions(accessMode); in ramfs_create_attr()
1602 int accessMode = open_mode_to_access(openMode); in ramfs_open_attr() local
1604 accessMode |= ACCESS_W; in ramfs_open_attr()
1608 error = node->CheckPermissions(accessMode); in ramfs_open_attr()
1693 int accessMode = open_mode_to_access(cookie->GetOpenMode()); in ramfs_read_attr() local
1694 if (error == B_OK && !(accessMode & ACCESS_R)) in ramfs_read_attr()
1737 int accessMode = open_mode_to_access(cookie->GetOpenMode()); in ramfs_write_attr() local
1738 if (error == B_OK && !(accessMode & ACCESS_W)) in ramfs_write_attr()
1776 int accessMode = open_mode_to_access(cookie->GetOpenMode()); in ramfs_read_attr_stat() local
1777 if (error == B_OK && !(accessMode & ACCESS_R)) in ramfs_read_attr_stat()