Searched refs:parm_data (Results 1 – 1 of 1) sorted by relevance
2499 struct cifs_posix_lock *parm_data; in CIFSSMBPosixLock() local2540 parm_data = (struct cifs_posix_lock *) in CIFSSMBPosixLock()2543 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()2546 parm_data->lock_flags = cpu_to_le16(1); in CIFSSMBPosixLock()2551 parm_data->pid = cpu_to_le32(netpid); in CIFSSMBPosixLock()2552 parm_data->start = cpu_to_le64(start_offset); in CIFSSMBPosixLock()2553 parm_data->length = cpu_to_le64(len); /* normalize negative numbers */ in CIFSSMBPosixLock()2581 if (rc || get_bcc(&pSMBr->hdr) < sizeof(*parm_data)) { in CIFSSMBPosixLock()2591 parm_data = (struct cifs_posix_lock *) in CIFSSMBPosixLock()2593 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()[all …]