Lines Matching refs:cpu_to_le32
1002 pdata->PosixOpenFlags = cpu_to_le32(posix_flags);
1003 pdata->OpenFlags = cpu_to_le32(*pOplock);
1043 if (cpu_to_le32(FILE_CREATE) == psx_rsp->CreateAction)
1047 pRetData->Type = cpu_to_le32(-1); /* unknown */
1053 pRetData->Type = cpu_to_le32(-1);
1174 /* pSMB->CreateOptions = cpu_to_le32(create_options &
1197 /* if (cpu_to_le32(FILE_CREATE) == pSMBr->CreateAction)
1206 cpu_to_le32(le16_to_cpu(pSMBr->FileAttributes));
1211 pfile_info->NumberOfLinks = cpu_to_le32(1);
1260 pSMB->OpenFlags = cpu_to_le32(REQ_OPLOCK);
1262 pSMB->OpenFlags = cpu_to_le32(REQ_BATCHOPLOCK);
1263 pSMB->DesiredAccess = cpu_to_le32(access_flags);
1269 pSMB->FileAttributes = cpu_to_le32(ATTR_SYSTEM);
1271 pSMB->FileAttributes = cpu_to_le32(ATTR_NORMAL);
1277 pSMB->FileAttributes |= cpu_to_le32(ATTR_POSIX_SEMANTICS);
1280 pSMB->FileAttributes |= cpu_to_le32(ATTR_READONLY);
1282 pSMB->ShareAccess = cpu_to_le32(FILE_SHARE_ALL);
1283 pSMB->CreateDisposition = cpu_to_le32(openDisposition);
1284 pSMB->CreateOptions = cpu_to_le32(create_options & CREATE_OPTIONS_MASK);
1286 pSMB->ImpersonationLevel = cpu_to_le32(SECURITY_IMPERSONATION);
1305 if (cpu_to_le32(FILE_CREATE) == pSMBr->CreateAction)
1313 pfile_info->NumberOfLinks = cpu_to_le32(1);
1359 pSMB->OffsetLow = cpu_to_le32(lseek & 0xFFFFFFFF);
1361 pSMB->OffsetHigh = cpu_to_le32(lseek >> 32);
1365 pSMB->MaxCountHigh = cpu_to_le32(count >> 16);
1468 pSMB->OffsetLow = cpu_to_le32(offset & 0xFFFFFFFF);
1470 pSMB->OffsetHigh = cpu_to_le32(offset >> 32);
1582 pSMB->OffsetLow = cpu_to_le32(offset & 0xFFFFFFFF);
1584 pSMB->OffsetHigh = cpu_to_le32(offset >> 32);
1673 pSMB->Timeout = cpu_to_le32(-1);/* blocking - do not time out */
1687 pSMB->Locks[0].LengthLow = cpu_to_le32((u32)len);
1688 pSMB->Locks[0].LengthHigh = cpu_to_le32((u32)(len>>32));
1689 pSMB->Locks[0].OffsetLow = cpu_to_le32((u32)offset);
1690 pSMB->Locks[0].OffsetHigh = cpu_to_le32((u32)(offset>>32));
1775 pSMB->Timeout = cpu_to_le32(-1);
1779 parm_data->pid = cpu_to_le32(current->tgid);
2019 rename_info->overwrite = cpu_to_le32(1);
2031 rename_info->target_name_len = cpu_to_le32(2 * len_of_str);
2486 pSMB->TotalParameterCount = cpu_to_le32(parm_len);
2488 pSMB->MaxDataCount = cpu_to_le32((tcon->ses->server->maxBuf -
2494 pSMB->ParameterOffset = cpu_to_le32(temp_offset);
2495 pSMB->DataOffset = cpu_to_le32(temp_offset + parm_len);
2572 pSMB->MaxParameterCount = cpu_to_le32(2);
2574 pSMB->MaxDataCount = cpu_to_le32((tcon->ses->server->maxBuf -
2584 pSMB->FunctionCode = cpu_to_le32(FSCTL_GET_REPARSE_POINT);
2665 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid));
2718 local_acl->a_version = cpu_to_le32(POSIX_ACL_XATTR_VERSION);
2735 if (local_ace->e_id == cpu_to_le32(-1)) {
3062 pSMB->MaxParameterCount = cpu_to_le32(4);
3066 pSMB->AclFlags = cpu_to_le32(CIFS_ACL_OWNER | CIFS_ACL_GROUP |
3160 pSMB->DataCount = cpu_to_le32(data_count);
3162 pSMB->MaxParameterCount = cpu_to_le32(4);
3163 pSMB->MaxDataCount = cpu_to_le32(16384);
3164 pSMB->ParameterCount = cpu_to_le32(param_count);
3165 pSMB->ParameterOffset = cpu_to_le32(param_offset);
3167 pSMB->DataOffset = cpu_to_le32(data_offset);
3174 pSMB->AclFlags = cpu_to_le32(CIFS_ACL_DACL);
3257 cpu_to_le32(le16_to_cpu(pSMBr->attr));
5203 data_offset->Type = cpu_to_le32(UNIX_FILE);
5205 data_offset->Type = cpu_to_le32(UNIX_DIR);
5207 data_offset->Type = cpu_to_le32(UNIX_SYMLINK);
5209 data_offset->Type = cpu_to_le32(UNIX_CHARDEV);
5211 data_offset->Type = cpu_to_le32(UNIX_BLOCKDEV);
5213 data_offset->Type = cpu_to_le32(UNIX_FIFO);
5215 data_offset->Type = cpu_to_le32(UNIX_SOCKET);
5377 pSMB->MaxParameterCount = cpu_to_le32(2);
5381 pSMB->MaxDataCount = cpu_to_le32((tcon->ses->server->maxBuf -
5395 pSMB->CompletionFilter = cpu_to_le32(filter);
5690 parm_data->list_len = cpu_to_le32(count);