aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mcheck
ModeNameSize
-rw-r--r--Makefile230logstatsplainblame
-rw-r--r--k7.c2653logstatsplainblame
-rw-r--r--mce.h457logstatsplainblame
-rw-r--r--mce_32.c1772logstatsplainblame
-rw-r--r--mce_64.c21975logstatsplainblame
-rw-r--r--mce_amd_64.c15872logstatsplainblame
-rw-r--r--mce_intel_64.c2102logstatsplainblame
-rw-r--r--non-fatal.c2132logstatsplainblame
-rw-r--r--p4.c6636logstatsplainblame
-rw-r--r--p5.c1514logstatsplainblame
-rw-r--r--p6.c3099logstatsplainblame
-rw-r--r--therm_throt.c6009logstatsplainblame
-rw-r--r--winchip.c946logstatsplainblame
_data; mutex_lock(&fp->fp_mutex); ocfs2_file_unlock(file); ret = flock_lock_file_wait(file, fl); mutex_unlock(&fp->fp_mutex); return ret; } /* * Overall flow of ocfs2_flock() was influenced by gfs2_flock(). */ int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) { struct inode *inode = file->f_mapping->host; struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); if (!(fl->fl_flags & FL_FLOCK)) return -ENOLCK; if (__mandatory_lock(inode)) return -ENOLCK; if ((osb->s_mount_opt & OCFS2_MOUNT_LOCALFLOCKS) || ocfs2_mount_local(osb)) return flock_lock_file_wait(file, fl); if (fl->fl_type == F_UNLCK) return ocfs2_do_funlock(file, cmd, fl); else return ocfs2_do_flock(file, inode, cmd, fl); } int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) { struct inode *inode = file->f_mapping->host; struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); if (!(fl->fl_flags & FL_POSIX)) return -ENOLCK; if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) return -ENOLCK; return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl); }