Lines Matching refs:cmd
324 static long gfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gfs2_ioctl() argument
326 switch(cmd) { in gfs2_ioctl()
337 static long gfs2_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gfs2_compat_ioctl() argument
339 switch(cmd) { in gfs2_compat_ioctl()
348 return gfs2_ioctl(filp, cmd, (unsigned long)compat_ptr(arg)); in gfs2_compat_ioctl()
1431 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock() argument
1444 if (cmd == F_CANCELLK) in gfs2_lock()
1446 else if (IS_GETLK(cmd)) in gfs2_lock()
1451 return dlm_posix_lock(ls->ls_dlm, ip->i_no_addr, file, cmd, fl); in gfs2_lock()
1469 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock() argument
1482 if (!IS_SETLKW(cmd)) in do_flock()
1552 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock() argument
1561 return do_flock(file, cmd, fl); in gfs2_flock()