Lines Matching refs:cmd

91 	unsigned int cmd = le16_to_cpu(req_hdr->Command);  in smb2_get_ksmbd_tcon()  local
94 if (cmd == SMB2_TREE_CONNECT_HE || in smb2_get_ksmbd_tcon()
95 cmd == SMB2_CANCEL_HE || in smb2_get_ksmbd_tcon()
96 cmd == SMB2_LOGOFF_HE) { in smb2_get_ksmbd_tcon()
530 int cmd = le16_to_cpu(hdr->Command); in smb2_allocate_rsp_buf() local
532 if (cmd == SMB2_IOCTL_HE || cmd == SMB2_QUERY_DIRECTORY_HE) in smb2_allocate_rsp_buf()
535 if (cmd == SMB2_QUERY_INFO_HE) { in smb2_allocate_rsp_buf()
572 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_check_user_session() local
580 if (cmd == SMB2_ECHO_HE || cmd == SMB2_NEGOTIATE_HE || in smb2_check_user_session()
581 cmd == SMB2_SESSION_SETUP_HE) in smb2_check_user_session()
7111 int cmd = -EINVAL; in smb2_set_flock_flags() local
7117 cmd = F_SETLKW; in smb2_set_flock_flags()
7123 cmd = F_SETLKW; in smb2_set_flock_flags()
7130 cmd = F_SETLK; in smb2_set_flock_flags()
7136 cmd = F_SETLK; in smb2_set_flock_flags()
7142 cmd = F_SETLK; in smb2_set_flock_flags()
7146 return cmd; in smb2_set_flock_flags()
7150 unsigned int cmd, int flags, in smb2_lock_init() argument
7159 lock->cmd = cmd; in smb2_lock_init()
7204 int cmd = 0; in smb2_lock() local
7241 cmd = smb2_set_flock_flags(flock, flags); in smb2_lock()
7286 smb_lock = smb2_lock_init(flock, cmd, flags, &lock_list); in smb2_lock()
7295 if (smb_lock->cmd < 0) { in smb2_lock()
7404 rc = vfs_lock_file(filp, smb_lock->cmd, flock, NULL); in smb2_lock()
7723 struct ethtool_link_ksettings cmd; in fsctl_query_iface_info_ioctl() local
7725 netdev->ethtool_ops->get_link_ksettings(netdev, &cmd); in fsctl_query_iface_info_ioctl()
7726 speed = cmd.base.speed; in fsctl_query_iface_info_ioctl()