Lines Matching refs:parm_data

2015 	struct cifs_posix_lock *parm_data;  in CIFSSMBPosixLock()  local
2057 parm_data = (struct cifs_posix_lock *) in CIFSSMBPosixLock()
2060 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()
2063 parm_data->lock_flags = cpu_to_le16(1); in CIFSSMBPosixLock()
2068 parm_data->pid = cpu_to_le32(netpid); in CIFSSMBPosixLock()
2069 parm_data->start = cpu_to_le64(start_offset); in CIFSSMBPosixLock()
2070 parm_data->length = cpu_to_le64(len); /* normalize negative numbers */ in CIFSSMBPosixLock()
2098 if (rc || get_bcc(&pSMBr->hdr) < sizeof(*parm_data)) { in CIFSSMBPosixLock()
2108 parm_data = (struct cifs_posix_lock *) in CIFSSMBPosixLock()
2110 if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()
2113 if (parm_data->lock_type == in CIFSSMBPosixLock()
2116 else if (parm_data->lock_type == in CIFSSMBPosixLock()
2120 pLockData->fl_start = le64_to_cpu(parm_data->start); in CIFSSMBPosixLock()
2122 (le64_to_cpu(parm_data->length) ? in CIFSSMBPosixLock()
2123 le64_to_cpu(parm_data->length) - 1 : 0); in CIFSSMBPosixLock()
2124 pLockData->c.flc_pid = -le32_to_cpu(parm_data->pid); in CIFSSMBPosixLock()
3027 static __u16 posix_acl_to_cifs(char *parm_data, const struct posix_acl *acl, in posix_acl_to_cifs() argument
3031 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)parm_data; in posix_acl_to_cifs()
3169 char *parm_data; in cifs_do_set_acl() local
3202 parm_data = ((char *)pSMB) + sizeof(pSMB->hdr.smb_buf_length) + offset; in cifs_do_set_acl()
3206 data_count = posix_acl_to_cifs(parm_data, acl, acl_type); in cifs_do_set_acl()
5042 struct file_end_of_file_info *parm_data; in CIFSSMBSetEOF() local
5094 parm_data = in CIFSSMBSetEOF()
5109 parm_data->FileSize = cpu_to_le64(size); in CIFSSMBSetEOF()
5129 struct file_end_of_file_info *parm_data; in CIFSSMBSetFileSize() local
5166 parm_data = in CIFSSMBSetFileSize()
5169 parm_data->FileSize = cpu_to_le64(size); in CIFSSMBSetFileSize()
5838 struct fealist *parm_data; in CIFSSMBSetEA() local
5872 count = sizeof(*parm_data) + 1 + ea_value_len + name_len; in CIFSSMBSetEA()
5887 parm_data = (void *)pSMB + offsetof(struct smb_hdr, Protocol) + offset; in CIFSSMBSetEA()
5895 parm_data->list_len = cpu_to_le32(count); in CIFSSMBSetEA()
5896 parm_data->list.EA_flags = 0; in CIFSSMBSetEA()
5898 parm_data->list.name_len = (__u8)name_len; in CIFSSMBSetEA()
5900 strscpy(parm_data->list.name, ea_name ?: "", name_len + 1); in CIFSSMBSetEA()
5901 parm_data->list.value_len = cpu_to_le16(ea_value_len); in CIFSSMBSetEA()
5909 memcpy(parm_data->list.name + name_len + 1, in CIFSSMBSetEA()