Lines Matching refs:f_mode
679 if (file->f_mode & FMODE_WRITE )
681 if (file->f_mode & FMODE_WRITE)
700 if (file->f_mode & mode) {
712 if (file->f_mode & mode) {
768 rc = write_sq_open(file); /* checks the f_mode */
771 if (file->f_mode & FMODE_READ) {
778 dmasound.mach.sq_open(file->f_mode);
882 if (file->f_mode & FMODE_WRITE) {
891 if (file->f_mode & shared_resource_owner) { /* it's us that has them */
907 read_sq_wake_up(file); /* checks f_mode */
908 write_sq_wake_up(file); /* checks f_mode */
1010 if (file->f_mode & FMODE_WRITE) {
1031 if (file->f_mode & FMODE_WRITE) {
1036 if (file->f_mode & shared_resource_owner)
1048 if (shared_resources_are_mine(file->f_mode)) {
1062 if (shared_resources_are_mine(file->f_mode) &&
1071 if (shared_resources_are_mine(file->f_mode) &&
1081 if (shared_resources_are_mine(file->f_mode) &&
1108 if (file->f_mode & FMODE_WRITE) {
1120 if (file->f_mode & FMODE_WRITE) {