Lines Matching refs:f_mode
664 if (file->f_mode & FMODE_WRITE )
666 if (file->f_mode & FMODE_WRITE)
687 if (file->f_mode & mode) {
726 rc = write_sq_open(file); /* checks the f_mode */
729 if (file->f_mode & FMODE_READ) {
736 dmasound.mach.sq_open(file->f_mode);
839 if (file->f_mode & FMODE_WRITE) {
848 if (file->f_mode & shared_resource_owner) { /* it's us that has them */
958 if (file->f_mode & FMODE_WRITE) {
980 if (file->f_mode & FMODE_WRITE) {
985 if (file->f_mode & shared_resource_owner)
998 if (shared_resources_are_mine(file->f_mode)) {
1012 if (shared_resources_are_mine(file->f_mode) &&
1021 if (shared_resources_are_mine(file->f_mode) &&
1031 if (shared_resources_are_mine(file->f_mode) &&
1058 if (file->f_mode & FMODE_WRITE) {
1071 if (file->f_mode & FMODE_WRITE) {