cpu_to_le16 404 arch/x86/kernel/early_printk.c req.wValue = cpu_to_le16(value); cpu_to_le16 405 arch/x86/kernel/early_printk.c req.wIndex = cpu_to_le16(index); cpu_to_le16 406 arch/x86/kernel/early_printk.c req.wLength = cpu_to_le16(size); cpu_to_le16 63 fs/befs/endian.h return (__force fs16)cpu_to_le16(n); cpu_to_le16 94 fs/befs/endian.h run.start = cpu_to_le16(n.start); cpu_to_le16 95 fs/befs/endian.h run.len = cpu_to_le16(n.len); cpu_to_le16 318 fs/bfs/dir.c de->ino = cpu_to_le16((u16)ino); cpu_to_le16 134 fs/bfs/inode.c di->i_ino = cpu_to_le16(ino); cpu_to_le16 80 fs/cifs/cifs_unicode.c to[i] = cpu_to_le16(0x003f); cpu_to_le16 83 fs/cifs/cifs_unicode.c to[i] = cpu_to_le16(wchar_to[i]); cpu_to_le16 285 fs/cifs/cifsacl.c pntace->size = cpu_to_le16(size); cpu_to_le16 425 fs/cifs/cifsacl.c pndacl->size = cpu_to_le16(size + sizeof(struct cifs_acl)); cpu_to_le16 393 fs/cifs/cifsencrypt.c buf->names[0].type = cpu_to_le16(NTLMSSP_DOMAIN_TYPE); cpu_to_le16 175 fs/cifs/cifspdu.h #define SMBFLG2_KNOWS_LONG_NAMES cpu_to_le16(1) /* can send long (non-8.3) cpu_to_le16 177 fs/cifs/cifspdu.h #define SMBFLG2_KNOWS_EAS cpu_to_le16(2) cpu_to_le16 178 fs/cifs/cifspdu.h #define SMBFLG2_SECURITY_SIGNATURE cpu_to_le16(4) cpu_to_le16 181 fs/cifs/cifspdu.h #define SMBFLG2_IS_LONG_NAME cpu_to_le16(0x40) cpu_to_le16 183 fs/cifs/cifspdu.h #define SMBFLG2_EXT_SEC cpu_to_le16(0x800) cpu_to_le16 184 fs/cifs/cifspdu.h #define SMBFLG2_DFS cpu_to_le16(0x1000) cpu_to_le16 185 fs/cifs/cifspdu.h #define SMBFLG2_PAGING_IO cpu_to_le16(0x2000) cpu_to_le16 186 fs/cifs/cifspdu.h #define SMBFLG2_ERR_STATUS cpu_to_le16(0x4000) cpu_to_le16 187 fs/cifs/cifspdu.h #define SMBFLG2_UNICODE cpu_to_le16(0x8000) cpu_to_le16 1920 fs/cifs/cifspdu.h #define DFS_VERSION cpu_to_le16(0x0003) cpu_to_le16 495 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 578 fs/cifs/cifssmb.c cpu_to_le16(CIFS_CRYPTO_KEY_SIZE)) { cpu_to_le16 878 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 891 fs/cifs/cifssmb.c pRqD->type = cpu_to_le16(type); cpu_to_le16 892 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 893 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 896 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 899 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); cpu_to_le16 900 fs/cifs/cifssmb.c pSMB->TotalDataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); cpu_to_le16 901 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 903 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_POSIX_UNLINK); cpu_to_le16 906 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 949 fs/cifs/cifssmb.c cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM); cpu_to_le16 952 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); cpu_to_le16 996 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); cpu_to_le16 1039 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); cpu_to_le16 1088 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 1089 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); /* large enough */ cpu_to_le16 1099 fs/cifs/cifssmb.c pdata->Level = cpu_to_le16(SMB_QUERY_FILE_UNIX_BASIC); cpu_to_le16 1103 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 1104 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 1107 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 1110 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 1111 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 1114 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_POSIX_OPEN); cpu_to_le16 1117 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 1145 fs/cifs/cifssmb.c if (psx_rsp->ReturnedLevel != cpu_to_le16(SMB_QUERY_FILE_UNIX_BASIC)) { cpu_to_le16 1251 fs/cifs/cifssmb.c pSMB->OpenFlags = cpu_to_le16(REQ_OPLOCK); cpu_to_le16 1253 fs/cifs/cifssmb.c pSMB->OpenFlags = cpu_to_le16(REQ_BATCHOPLOCK); cpu_to_le16 1255 fs/cifs/cifssmb.c pSMB->OpenFlags |= cpu_to_le16(REQ_MORE_INFO); cpu_to_le16 1256 fs/cifs/cifssmb.c pSMB->Mode = cpu_to_le16(access_flags_to_smbopen_mode(access_flags)); cpu_to_le16 1257 fs/cifs/cifssmb.c pSMB->Mode |= cpu_to_le16(0x40); /* deny none */ cpu_to_le16 1263 fs/cifs/cifssmb.c pSMB->FileAttributes = cpu_to_le16(ATTR_SYSTEM); cpu_to_le16 1265 fs/cifs/cifssmb.c pSMB->FileAttributes = cpu_to_le16(0/*ATTR_NORMAL*/); cpu_to_le16 1268 fs/cifs/cifssmb.c pSMB->FileAttributes |= cpu_to_le16(ATTR_READONLY); cpu_to_le16 1275 fs/cifs/cifssmb.c pSMB->Sattr = cpu_to_le16(ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY); cpu_to_le16 1276 fs/cifs/cifssmb.c pSMB->OpenFunction = cpu_to_le16(convert_disposition(openDisposition)); cpu_to_le16 1280 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 1350 fs/cifs/cifssmb.c pSMB->NameLength = cpu_to_le16(name_len); cpu_to_le16 1355 fs/cifs/cifssmb.c pSMB->NameLength = cpu_to_le16(name_len); cpu_to_le16 1392 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 1459 fs/cifs/cifssmb.c pSMB->MaxCount = cpu_to_le16(count & 0xFFFF); cpu_to_le16 1580 fs/cifs/cifssmb.c cpu_to_le16(offsetof(struct smb_com_write_req, Data) - 4); cpu_to_le16 1598 fs/cifs/cifssmb.c pSMB->DataLengthLow = cpu_to_le16(bytes_sent & 0xFFFF); cpu_to_le16 1599 fs/cifs/cifssmb.c pSMB->DataLengthHigh = cpu_to_le16(bytes_sent >> 16); cpu_to_le16 1603 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 1608 fs/cifs/cifssmb.c pSMBW->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 1668 fs/cifs/cifssmb.c cpu_to_le16(offsetof(struct smb_com_write_req, Data) - 4); cpu_to_le16 1670 fs/cifs/cifssmb.c pSMB->DataLengthLow = cpu_to_le16(count & 0xFFFF); cpu_to_le16 1671 fs/cifs/cifssmb.c pSMB->DataLengthHigh = cpu_to_le16(count >> 16); cpu_to_le16 1678 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count + 1); cpu_to_le16 1682 fs/cifs/cifssmb.c pSMBW->ByteCount = cpu_to_le16(count + 5); cpu_to_le16 1750 fs/cifs/cifssmb.c pSMB->NumberOfLocks = cpu_to_le16(numLock); cpu_to_le16 1751 fs/cifs/cifssmb.c pSMB->NumberOfUnlocks = cpu_to_le16(numUnlock); cpu_to_le16 1757 fs/cifs/cifssmb.c pSMB->Locks[0].Pid = cpu_to_le16(current->tgid); cpu_to_le16 1769 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 1826 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 1827 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); /* BB find max SMB from sess */ cpu_to_le16 1831 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FILE_INFORMATION); cpu_to_le16 1833 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_FILE_INFORMATION); cpu_to_le16 1835 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 1836 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 1839 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 1843 fs/cifs/cifssmb.c parm_data->lock_type = cpu_to_le16(lock_type); cpu_to_le16 1846 fs/cifs/cifssmb.c parm_data->lock_flags = cpu_to_le16(1); cpu_to_le16 1855 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 1857 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_POSIX_LOCK); cpu_to_le16 1860 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 1898 fs/cifs/cifssmb.c if (parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) cpu_to_le16 1972 fs/cifs/cifssmb.c cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM | cpu_to_le16 2003 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 2050 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 2051 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); /* BB find max SMB from sess */ cpu_to_le16 2054 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_FILE_INFORMATION); cpu_to_le16 2056 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 2058 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 2059 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 2076 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 2080 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_RENAME_INFORMATION); cpu_to_le16 2083 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 2120 fs/cifs/cifssmb.c pSMB->Flags = cpu_to_le16(flags & COPY_TREE); cpu_to_le16 2150 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 2224 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 2226 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 2229 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 2231 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(name_len_target); cpu_to_le16 2232 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 2235 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 2236 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 2237 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_UNIX_LINK); cpu_to_le16 2240 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 2310 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 2312 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 2315 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 2317 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 2319 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(name_len_target); cpu_to_le16 2321 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 2322 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 2323 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_UNIX_HLINK); cpu_to_le16 2326 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 2361 fs/cifs/cifssmb.c cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM | cpu_to_le16 2363 fs/cifs/cifssmb.c pSMB->Flags = cpu_to_le16(CREATE_HARD_LINK); cpu_to_le16 2395 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 2446 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 2448 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 2454 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 2460 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 2462 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 2464 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FILE_UNIX_LINK); cpu_to_le16 2467 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 2543 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(sub_command); cpu_to_le16 2630 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(NT_TRANSACT_IOCTL); cpu_to_le16 2714 fs/cifs/cifssmb.c ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); cpu_to_le16 2715 fs/cifs/cifssmb.c ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); cpu_to_le16 2817 fs/cifs/cifssmb.c cifs_acl->version = cpu_to_le16(1); cpu_to_le16 2819 fs/cifs/cifssmb.c cifs_acl->access_entry_count = cpu_to_le16(count); cpu_to_le16 2821 fs/cifs/cifssmb.c cifs_acl->default_entry_count = cpu_to_le16(count); cpu_to_le16 2880 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 2882 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 2888 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16( cpu_to_le16 2895 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 2897 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 2899 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_POSIX_ACL); cpu_to_le16 2902 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 2963 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 2965 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 2975 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 2984 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 2987 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 2988 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_POSIX_ACL); cpu_to_le16 2990 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(data_count); cpu_to_le16 2992 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 2996 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3032 fs/cifs/cifssmb.c pSMB->t2.MaxParameterCount = cpu_to_le16(4); cpu_to_le16 3034 fs/cifs/cifssmb.c pSMB->t2.MaxDataCount = cpu_to_le16(4000); cpu_to_le16 3040 fs/cifs/cifssmb.c pSMB->t2.ParameterOffset = cpu_to_le16(offsetof(struct smb_t2_qfi_req, cpu_to_le16 3046 fs/cifs/cifssmb.c pSMB->t2.SubCommand = cpu_to_le16(TRANS2_QUERY_FILE_INFORMATION); cpu_to_le16 3048 fs/cifs/cifssmb.c pSMB->t2.TotalParameterCount = cpu_to_le16(params); cpu_to_le16 3050 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_ATTR_FLAGS); cpu_to_le16 3054 fs/cifs/cifssmb.c pSMB->t2.ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3120 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(11); /* 3 bytes pad + 8 bytes parm */ cpu_to_le16 3221 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(NT_TRANSACT_SET_SECURITY_DESC); cpu_to_le16 3222 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count+data_count); cpu_to_le16 3287 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len); cpu_to_le16 3361 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 3363 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 3369 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 3375 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 3377 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 3380 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_INFO_STANDARD); cpu_to_le16 3382 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FILE_ALL_INFO); cpu_to_le16 3385 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3461 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 3463 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 3469 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 3475 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 3477 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 3479 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FILE_UNIX_BASIC); cpu_to_le16 3482 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3566 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(10); cpu_to_le16 3567 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16((tcon->ses->server->maxBuf - cpu_to_le16 3575 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 3577 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16( cpu_to_le16 3584 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_FIND_FIRST); cpu_to_le16 3586 fs/cifs/cifssmb.c cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM | cpu_to_le16 3588 fs/cifs/cifssmb.c pSMB->SearchCount = cpu_to_le16(CIFSMaxBufSize/sizeof(FILE_UNIX_INFO)); cpu_to_le16 3589 fs/cifs/cifssmb.c pSMB->SearchFlags = cpu_to_le16(CIFS_SEARCH_CLOSE_AT_END | cpu_to_le16 3591 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(psrch_inf->info_level); cpu_to_le16 3596 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3685 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(8); cpu_to_le16 3687 fs/cifs/cifssmb.c cpu_to_le16((tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE) & cpu_to_le16 3694 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16( cpu_to_le16 3700 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_FIND_NEXT); cpu_to_le16 3703 fs/cifs/cifssmb.c cpu_to_le16(CIFSMaxBufSize / sizeof(FILE_UNIX_INFO)); cpu_to_le16 3704 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(psrch_inf->info_level); cpu_to_le16 3707 fs/cifs/cifssmb.c cpu_to_le16(CIFS_SEARCH_CLOSE_AT_END | CIFS_SEARCH_RETURN_RESUME); cpu_to_le16 3722 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 3725 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3866 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 3868 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 3874 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 3880 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 3882 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 3884 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FILE_INTERNAL_INFO); cpu_to_le16 3887 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 3954 fs/cifs/cifssmb.c if (ref->VersionNumber != cpu_to_le16(3)) { cpu_to_le16 4079 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 4085 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 4089 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_GET_DFS_REFERRAL); cpu_to_le16 4091 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4093 fs/cifs/cifssmb.c pSMB->MaxReferralLevel = cpu_to_le16(3); cpu_to_le16 4095 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4149 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4150 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4157 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 4159 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 4165 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FS_INFORMATION); cpu_to_le16 4166 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_INFO_ALLOCATION); cpu_to_le16 4168 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4229 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4230 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4237 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 4239 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 4245 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FS_INFORMATION); cpu_to_le16 4246 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FS_SIZE_INFO); cpu_to_le16 4248 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4309 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4311 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4318 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 4320 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 4326 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FS_INFORMATION); cpu_to_le16 4327 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FS_ATTRIBUTE_INFO); cpu_to_le16 4329 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4379 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4381 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4388 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 4390 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 4397 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FS_INFORMATION); cpu_to_le16 4398 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_FS_DEVICE_INFO); cpu_to_le16 4400 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4451 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4453 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(100); cpu_to_le16 4460 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4462 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof(struct cpu_to_le16 4466 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FS_INFORMATION); cpu_to_le16 4467 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_CIFS_UNIX_INFO); cpu_to_le16 4469 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4527 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(4); cpu_to_le16 4529 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(100); cpu_to_le16 4532 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_FS_INFORMATION); cpu_to_le16 4535 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(12); cpu_to_le16 4536 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4539 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 4540 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 4544 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_CIFS_UNIX_INFO); cpu_to_le16 4547 fs/cifs/cifssmb.c pSMB->ClientUnixMajor = cpu_to_le16(CIFS_UNIX_MAJOR_VERSION); cpu_to_le16 4548 fs/cifs/cifssmb.c pSMB->ClientUnixMinor = cpu_to_le16(CIFS_UNIX_MINOR_VERSION); cpu_to_le16 4552 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4596 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4598 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(100); cpu_to_le16 4605 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4607 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof(struct cpu_to_le16 4611 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_FS_INFORMATION); cpu_to_le16 4612 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_QUERY_POSIX_FS_INFO); cpu_to_le16 4614 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4699 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4700 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4100); cpu_to_le16 4712 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_ALLOCATION_INFO2); cpu_to_le16 4715 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_ALLOCATION_INFO); cpu_to_le16 4719 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_END_OF_FILE_INFO2); cpu_to_le16 4722 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_END_OF_FILE_INFO); cpu_to_le16 4728 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 4729 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 4732 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 4734 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(data_count); cpu_to_le16 4736 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4741 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4772 fs/cifs/cifssmb.c pSMB->hdr.Pid = cpu_to_le16((__u16)pid_of_opener); cpu_to_le16 4773 fs/cifs/cifssmb.c pSMB->hdr.PidHigh = cpu_to_le16((__u16)(pid_of_opener >> 16)); cpu_to_le16 4787 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4789 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4792 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_FILE_INFORMATION); cpu_to_le16 4794 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 4795 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4798 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 4802 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 4808 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_ALLOCATION_INFO2); cpu_to_le16 4811 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_ALLOCATION_INFO); cpu_to_le16 4815 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_END_OF_FILE_INFO2); cpu_to_le16 4818 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_END_OF_FILE_INFO); cpu_to_le16 4822 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4857 fs/cifs/cifssmb.c pSMB->hdr.Pid = cpu_to_le16((__u16)pid_of_opener); cpu_to_le16 4858 fs/cifs/cifssmb.c pSMB->hdr.PidHigh = cpu_to_le16((__u16)(pid_of_opener >> 16)); cpu_to_le16 4872 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4874 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4877 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_FILE_INFORMATION); cpu_to_le16 4879 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 4880 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4883 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 4884 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 4887 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_BASIC_INFO2); cpu_to_le16 4889 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_BASIC_INFO); cpu_to_le16 4892 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4919 fs/cifs/cifssmb.c pSMB->hdr.Pid = cpu_to_le16((__u16)pid_of_opener); cpu_to_le16 4920 fs/cifs/cifssmb.c pSMB->hdr.PidHigh = cpu_to_le16((__u16)(pid_of_opener >> 16)); cpu_to_le16 4934 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4936 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 4939 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_FILE_INFORMATION); cpu_to_le16 4941 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 4942 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 4945 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 4946 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 4948 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_DISPOSITION_INFO); cpu_to_le16 4951 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 4995 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 4997 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 5007 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 5008 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 5011 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 5014 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 5015 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 5019 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_BASIC_INFO2); cpu_to_le16 5021 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_BASIC_INFO); cpu_to_le16 5025 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 5073 fs/cifs/cifssmb.c pSMB->attr = cpu_to_le16(dos_attrs); cpu_to_le16 5076 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(name_len + 1); cpu_to_le16 5126 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 5128 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 5141 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 5142 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 5145 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 5147 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 5148 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 5151 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_UNIX_BASIC); cpu_to_le16 5187 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 5231 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(NT_TRANSACT_NOTIFY_CHANGE); cpu_to_le16 5309 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 5311 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 5317 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 5323 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 5325 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 5327 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_INFO_QUERY_ALL_EAS); cpu_to_le16 5330 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 5457 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 5459 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(4000); cpu_to_le16 5465 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(offsetof( cpu_to_le16 5471 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_QUERY_PATH_INFORMATION); cpu_to_le16 5473 fs/cifs/cifssmb.c pSMB->TotalParameterCount = cpu_to_le16(params); cpu_to_le16 5475 fs/cifs/cifssmb.c pSMB->InformationLevel = cpu_to_le16(SMB_INFO_QUERY_ALL_EAS); cpu_to_le16 5478 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 5615 fs/cifs/cifssmb.c pSMB->MaxParameterCount = cpu_to_le16(2); cpu_to_le16 5617 fs/cifs/cifssmb.c pSMB->MaxDataCount = cpu_to_le16(1000); cpu_to_le16 5627 fs/cifs/cifssmb.c cpu_to_le16(SMB_SET_FILE_EA); cpu_to_le16 5632 fs/cifs/cifssmb.c pSMB->ParameterOffset = cpu_to_le16(param_offset); cpu_to_le16 5633 fs/cifs/cifssmb.c pSMB->DataOffset = cpu_to_le16(offset); cpu_to_le16 5636 fs/cifs/cifssmb.c pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); cpu_to_le16 5638 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); cpu_to_le16 5647 fs/cifs/cifssmb.c parm_data->list[0].value_len = cpu_to_le16(ea_value_len); cpu_to_le16 5659 fs/cifs/cifssmb.c pSMB->ParameterCount = cpu_to_le16(params); cpu_to_le16 5663 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(byte_count); cpu_to_le16 310 fs/cifs/connect.c pSMBt->t2_rsp.DataCount = cpu_to_le16(total_in_buf); cpu_to_le16 313 fs/cifs/connect.c BCC_LE(pTargetSMB) = cpu_to_le16(byte_count); cpu_to_le16 2360 fs/cifs/connect.c pSMB->req_no_secext.MaxBufferSize = cpu_to_le16(ses->server->maxBuf); cpu_to_le16 2361 fs/cifs/connect.c pSMB->req_no_secext.MaxMpxCount = cpu_to_le16(ses->server->maxReq); cpu_to_le16 2384 fs/cifs/connect.c cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 2387 fs/cifs/connect.c cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 2457 fs/cifs/connect.c pSMB->req_no_secext.ByteCount = cpu_to_le16(count); cpu_to_le16 2675 fs/cifs/connect.c pSMB->req.MaxBufferSize = cpu_to_le16(ses->server->maxBuf); cpu_to_le16 2676 fs/cifs/connect.c pSMB->req.MaxMpxCount = cpu_to_le16(ses->server->maxReq); cpu_to_le16 2758 fs/cifs/connect.c pSMB->req.SecurityBlobLength = cpu_to_le16(SecurityBlobLength); cpu_to_le16 2761 fs/cifs/connect.c pSMB->req.ByteCount = cpu_to_le16(count); cpu_to_le16 3011 fs/cifs/connect.c pSMB->req.MaxBufferSize = cpu_to_le16(ses->server->maxBuf); cpu_to_le16 3012 fs/cifs/connect.c pSMB->req.MaxMpxCount = cpu_to_le16(ses->server->maxReq); cpu_to_le16 3062 fs/cifs/connect.c cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 3064 fs/cifs/connect.c cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 3081 fs/cifs/connect.c cpu_to_le16(ln); cpu_to_le16 3086 fs/cifs/connect.c SecurityBlob->DomainName.Length = cpu_to_le16(ln); cpu_to_le16 3097 fs/cifs/connect.c cpu_to_le16(ln); cpu_to_le16 3102 fs/cifs/connect.c SecurityBlob->UserName.Length = cpu_to_le16(ln); cpu_to_le16 3151 fs/cifs/connect.c cpu_to_le16(ln); cpu_to_le16 3156 fs/cifs/connect.c SecurityBlob->DomainName.Length = cpu_to_le16(ln); cpu_to_le16 3166 fs/cifs/connect.c SecurityBlob->UserName.MaximumLength = cpu_to_le16(ln); cpu_to_le16 3171 fs/cifs/connect.c SecurityBlob->UserName.Length = cpu_to_le16(ln); cpu_to_le16 3185 fs/cifs/connect.c pSMB->req.SecurityBlobLength = cpu_to_le16(SecurityBlobLength); cpu_to_le16 3188 fs/cifs/connect.c pSMB->req.ByteCount = cpu_to_le16(count); cpu_to_le16 3405 fs/cifs/connect.c pSMB->Flags = cpu_to_le16(TCON_EXTENDED_SECINFO); cpu_to_le16 3408 fs/cifs/connect.c pSMB->PasswordLength = cpu_to_le16(1); /* minimum */ cpu_to_le16 3413 fs/cifs/connect.c pSMB->PasswordLength = cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 3465 fs/cifs/connect.c pSMB->ByteCount = cpu_to_le16(count); cpu_to_le16 312 fs/cifs/misc.c buffer->Pid = cpu_to_le16((__u16)current->tgid); cpu_to_le16 313 fs/cifs/misc.c buffer->PidHigh = cpu_to_le16((__u16)(current->tgid >> 16)); cpu_to_le16 730 fs/cifs/misc.c target[j] = cpu_to_le16(UNI_COLON); cpu_to_le16 733 fs/cifs/misc.c target[j] = cpu_to_le16(UNI_ASTERIK); cpu_to_le16 736 fs/cifs/misc.c target[j] = cpu_to_le16(UNI_QUESTION); cpu_to_le16 739 fs/cifs/misc.c target[j] = cpu_to_le16(UNI_LESSTHAN); cpu_to_le16 742 fs/cifs/misc.c target[j] = cpu_to_le16(UNI_GRTRTHAN); cpu_to_le16 745 fs/cifs/misc.c target[j] = cpu_to_le16(UNI_PIPE); cpu_to_le16 759 fs/cifs/misc.c target[j] = cpu_to_le16(0x003f); cpu_to_le16 762 fs/cifs/misc.c target[j] = cpu_to_le16(temp); cpu_to_le16 551 fs/cifs/readdir.c #define UNICODE_DOT cpu_to_le16(0x2e) cpu_to_le16 44 fs/cifs/sess.c pSMB->req.MaxBufferSize = cpu_to_le16(ses->server->maxBuf); cpu_to_le16 45 fs/cifs/sess.c pSMB->req.MaxMpxCount = cpu_to_le16(ses->server->maxReq); cpu_to_le16 416 fs/cifs/sess.c pSMB->old_req.PasswordLength = cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 439 fs/cifs/sess.c cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 441 fs/cifs/sess.c cpu_to_le16(CIFS_SESS_KEY_SIZE); cpu_to_le16 485 fs/cifs/sess.c cpu_to_le16(sizeof(struct ntlmv2_resp)); cpu_to_le16 548 fs/cifs/sess.c pSMB->req.SecurityBlobLength = cpu_to_le16(iov[1].iov_len); cpu_to_le16 578 fs/cifs/sess.c BCC_LE(smb_buf) = cpu_to_le16(count); cpu_to_le16 4327 fs/dlm/lock.c if (rl->rl_wait_type == cpu_to_le16(DLM_MSG_CONVERT) && cpu_to_le16 321 fs/dlm/rcom.c rl->rl_wait_type = cpu_to_le16(lkb->lkb_wait_type); cpu_to_le16 328 fs/dlm/rcom.c rl->rl_namelen = cpu_to_le16(r->res_length); cpu_to_le16 30 fs/dlm/util.c hd->h_length = cpu_to_le16(hd->h_length); cpu_to_le16 100 fs/ext2/acl.c entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); cpu_to_le16 101 fs/ext2/acl.c entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); cpu_to_le16 180 fs/ext2/balloc.c desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count); cpu_to_le16 43 fs/ext2/dir.c return cpu_to_le16(EXT2_MAX_REC_LEN); cpu_to_le16 46 fs/ext2/dir.c return cpu_to_le16(len); cpu_to_le16 1338 fs/ext2/inode.c raw_inode->i_mode = cpu_to_le16(inode->i_mode); cpu_to_le16 1340 fs/ext2/inode.c raw_inode->i_uid_low = cpu_to_le16(low_16_bits(uid)); cpu_to_le16 1341 fs/ext2/inode.c raw_inode->i_gid_low = cpu_to_le16(low_16_bits(gid)); cpu_to_le16 1347 fs/ext2/inode.c raw_inode->i_uid_high = cpu_to_le16(high_16_bits(uid)); cpu_to_le16 1348 fs/ext2/inode.c raw_inode->i_gid_high = cpu_to_le16(high_16_bits(gid)); cpu_to_le16 1354 fs/ext2/inode.c raw_inode->i_uid_low = cpu_to_le16(fs_high2lowuid(uid)); cpu_to_le16 1355 fs/ext2/inode.c raw_inode->i_gid_low = cpu_to_le16(fs_high2lowgid(gid)); cpu_to_le16 1359 fs/ext2/inode.c raw_inode->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 55 fs/ext2/super.c es->s_state |= cpu_to_le16(EXT2_ERROR_FS); cpu_to_le16 99 fs/ext2/super.c es->s_inode_size = cpu_to_le16(EXT2_GOOD_OLD_INODE_SIZE); cpu_to_le16 121 fs/ext2/super.c es->s_state = cpu_to_le16(sbi->s_mount_state); cpu_to_le16 606 fs/ext2/super.c es->s_max_mnt_count = cpu_to_le16(EXT2_DFL_MAX_MNT_COUNT); cpu_to_le16 893 fs/ext2/super.c if (es->s_magic != cpu_to_le16(EXT2_SUPER_MAGIC)) { cpu_to_le16 1128 fs/ext2/super.c if (es->s_state & cpu_to_le16(EXT2_VALID_FS)) { cpu_to_le16 1130 fs/ext2/super.c es->s_state &= cpu_to_le16(~EXT2_VALID_FS); cpu_to_le16 1193 fs/ext2/super.c es->s_state = cpu_to_le16(sbi->s_mount_state); cpu_to_le16 572 fs/ext2/xattr.c cpu_to_le16(o + size); cpu_to_le16 593 fs/ext2/xattr.c cpu_to_le16((char *)val - (char *)header); cpu_to_le16 101 fs/ext3/acl.c entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); cpu_to_le16 102 fs/ext3/acl.c entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); cpu_to_le16 2860 fs/ext3/inode.c raw_inode->i_mode = cpu_to_le16(inode->i_mode); cpu_to_le16 2862 fs/ext3/inode.c raw_inode->i_uid_low = cpu_to_le16(low_16_bits(inode->i_uid)); cpu_to_le16 2863 fs/ext3/inode.c raw_inode->i_gid_low = cpu_to_le16(low_16_bits(inode->i_gid)); cpu_to_le16 2870 fs/ext3/inode.c cpu_to_le16(high_16_bits(inode->i_uid)); cpu_to_le16 2872 fs/ext3/inode.c cpu_to_le16(high_16_bits(inode->i_gid)); cpu_to_le16 2879 fs/ext3/inode.c cpu_to_le16(fs_high2lowuid(inode->i_uid)); cpu_to_le16 2881 fs/ext3/inode.c cpu_to_le16(fs_high2lowgid(inode->i_gid)); cpu_to_le16 2885 fs/ext3/inode.c raw_inode->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 2943 fs/ext3/inode.c raw_inode->i_extra_isize = cpu_to_le16(ei->i_extra_isize); cpu_to_le16 231 fs/ext3/namei.c ((struct dx_countlimit *) entries)->count = cpu_to_le16(value); cpu_to_le16 236 fs/ext3/namei.c ((struct dx_countlimit *) entries)->limit = cpu_to_le16(value); cpu_to_le16 738 fs/ext3/resize.c sbi->s_es->s_state &= cpu_to_le16(~EXT3_VALID_FS); cpu_to_le16 880 fs/ext3/resize.c gdp->bg_free_blocks_count = cpu_to_le16(input->free_blocks_count); cpu_to_le16 881 fs/ext3/resize.c gdp->bg_free_inodes_count = cpu_to_le16(EXT3_INODES_PER_GROUP(sb)); cpu_to_le16 159 fs/ext3/super.c es->s_state |= cpu_to_le16(EXT3_ERROR_FS); cpu_to_le16 313 fs/ext3/super.c es->s_inode_size = cpu_to_le16(EXT3_GOOD_OLD_INODE_SIZE); cpu_to_le16 399 fs/ext3/super.c es->s_state = cpu_to_le16(sbi->s_mount_state); cpu_to_le16 1240 fs/ext3/super.c es->s_state &= cpu_to_le16(~EXT3_VALID_FS); cpu_to_le16 1243 fs/ext3/super.c es->s_max_mnt_count = cpu_to_le16(EXT3_DFL_MAX_MNT_COUNT); cpu_to_le16 1679 fs/ext3/super.c if (es->s_magic != cpu_to_le16(EXT3_SUPER_MAGIC)) { cpu_to_le16 2325 fs/ext3/super.c es->s_state |= cpu_to_le16(EXT3_ERROR_FS); cpu_to_le16 2476 fs/ext3/super.c if (!(es->s_state & cpu_to_le16(EXT3_VALID_FS)) && cpu_to_le16 2478 fs/ext3/super.c es->s_state = cpu_to_le16(sbi->s_mount_state); cpu_to_le16 600 fs/ext3/xattr.c cpu_to_le16(o + size); cpu_to_le16 620 fs/ext3/xattr.c s->here->e_value_offs = cpu_to_le16(min_offs - size); cpu_to_le16 102 fs/ext4/acl.c entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); cpu_to_le16 103 fs/ext4/acl.c entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); cpu_to_le16 323 fs/ext4/balloc.c !(desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) cpu_to_le16 328 fs/ext4/balloc.c if (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { cpu_to_le16 873 fs/ext4/ext4.h return cpu_to_le16(EXT4_MAX_REC_LEN); cpu_to_le16 876 fs/ext4/ext4.h return cpu_to_le16(len); cpu_to_le16 103 fs/ext4/ext4_extents.h #define EXT4_EXT_MAGIC cpu_to_le16(0xf30a) cpu_to_le16 212 fs/ext4/ext4_extents.h ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN); cpu_to_le16 82 fs/ext4/extents.c ex->ee_start_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & 0xffff); cpu_to_le16 93 fs/ext4/extents.c ix->ei_leaf_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & 0xffff); cpu_to_le16 532 fs/ext4/extents.c eh->eh_max = cpu_to_le16(ext4_ext_space_root(inode)); cpu_to_le16 751 fs/ext4/extents.c neh->eh_max = cpu_to_le16(ext4_ext_space_block(inode)); cpu_to_le16 824 fs/ext4/extents.c neh->eh_entries = cpu_to_le16(1); cpu_to_le16 826 fs/ext4/extents.c neh->eh_max = cpu_to_le16(ext4_ext_space_block_idx(inode)); cpu_to_le16 827 fs/ext4/extents.c neh->eh_depth = cpu_to_le16(depth - i); cpu_to_le16 951 fs/ext4/extents.c neh->eh_max = cpu_to_le16(ext4_ext_space_block_idx(inode)); cpu_to_le16 953 fs/ext4/extents.c neh->eh_max = cpu_to_le16(ext4_ext_space_block(inode)); cpu_to_le16 968 fs/ext4/extents.c curp->p_hdr->eh_max = cpu_to_le16(ext4_ext_space_root_idx(inode)); cpu_to_le16 969 fs/ext4/extents.c curp->p_hdr->eh_entries = cpu_to_le16(1); cpu_to_le16 986 fs/ext4/extents.c neh->eh_depth = cpu_to_le16(path->p_depth + 1); cpu_to_le16 1400 fs/ext4/extents.c ex->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ex) cpu_to_le16 1457 fs/ext4/extents.c newext->ee_len = cpu_to_le16(len1); cpu_to_le16 1463 fs/ext4/extents.c newext->ee_len = cpu_to_le16(b2 - b1); cpu_to_le16 1510 fs/ext4/extents.c ex->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ex) cpu_to_le16 1816 fs/ext4/extents.c ex->ee_len = cpu_to_le16(cex->ec_len); cpu_to_le16 2061 fs/ext4/extents.c ex->ee_len = cpu_to_le16(num); cpu_to_le16 2231 fs/ext4/extents.c cpu_to_le16(ext4_ext_space_root(inode)); cpu_to_le16 2405 fs/ext4/extents.c orig_ex.ee_len = cpu_to_le16(ee_len); cpu_to_le16 2428 fs/ext4/extents.c ex1->ee_len = cpu_to_le16(iblock - ee_block); cpu_to_le16 2438 fs/ext4/extents.c ex2->ee_len = cpu_to_le16(max_blocks); cpu_to_le16 2452 fs/ext4/extents.c ex->ee_len = cpu_to_le16(ee_len - allocated); cpu_to_le16 2460 fs/ext4/extents.c ex3->ee_len = cpu_to_le16(allocated); cpu_to_le16 2515 fs/ext4/extents.c ex3->ee_len = cpu_to_le16(allocated - max_blocks); cpu_to_le16 2542 fs/ext4/extents.c orig_ex.ee_len = cpu_to_le16(ee_len - cpu_to_le16 2588 fs/ext4/extents.c ex1->ee_len = cpu_to_le16(iblock - ee_block); cpu_to_le16 2595 fs/ext4/extents.c ex2->ee_len = cpu_to_le16(allocated); cpu_to_le16 2836 fs/ext4/extents.c newex.ee_len = cpu_to_le16(max_blocks); cpu_to_le16 2861 fs/ext4/extents.c newex.ee_len = cpu_to_le16(ar.len); cpu_to_le16 119 fs/ext4/ialloc.c !(desc->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT))) cpu_to_le16 124 fs/ext4/ialloc.c if (desc->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)) { cpu_to_le16 704 fs/ext4/ialloc.c gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { cpu_to_le16 717 fs/ext4/ialloc.c if (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { cpu_to_le16 718 fs/ext4/ialloc.c gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT); cpu_to_le16 720 fs/ext4/ialloc.c gdp->bg_free_blocks_count = cpu_to_le16(free); cpu_to_le16 739 fs/ext4/ialloc.c if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)) { cpu_to_le16 740 fs/ext4/ialloc.c gdp->bg_flags &= cpu_to_le16(~EXT4_BG_INODE_UNINIT); cpu_to_le16 763 fs/ext4/ialloc.c cpu_to_le16(EXT4_INODES_PER_GROUP(sb) - ino); cpu_to_le16 4199 fs/ext4/inode.c raw_inode->i_blocks_high = cpu_to_le16(i_blocks >> 32); cpu_to_le16 4214 fs/ext4/inode.c raw_inode->i_blocks_high = cpu_to_le16(i_blocks >> 32); cpu_to_le16 4242 fs/ext4/inode.c raw_inode->i_mode = cpu_to_le16(inode->i_mode); cpu_to_le16 4244 fs/ext4/inode.c raw_inode->i_uid_low = cpu_to_le16(low_16_bits(inode->i_uid)); cpu_to_le16 4245 fs/ext4/inode.c raw_inode->i_gid_low = cpu_to_le16(low_16_bits(inode->i_gid)); cpu_to_le16 4252 fs/ext4/inode.c cpu_to_le16(high_16_bits(inode->i_uid)); cpu_to_le16 4254 fs/ext4/inode.c cpu_to_le16(high_16_bits(inode->i_gid)); cpu_to_le16 4261 fs/ext4/inode.c cpu_to_le16(fs_high2lowuid(inode->i_uid)); cpu_to_le16 4263 fs/ext4/inode.c cpu_to_le16(fs_high2lowgid(inode->i_gid)); cpu_to_le16 4267 fs/ext4/inode.c raw_inode->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 4282 fs/ext4/inode.c cpu_to_le16(ei->i_file_acl >> 32); cpu_to_le16 4327 fs/ext4/inode.c raw_inode->i_extra_isize = cpu_to_le16(ei->i_extra_isize); cpu_to_le16 786 fs/ext4/mballoc.c !(desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) cpu_to_le16 791 fs/ext4/mballoc.c if (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { cpu_to_le16 1670 fs/ext4/mballoc.c if (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) cpu_to_le16 1819 fs/ext4/mballoc.c cpu_to_le16(EXT4_BG_BLOCK_UNINIT) && cpu_to_le16 2294 fs/ext4/mballoc.c if (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { cpu_to_le16 2870 fs/ext4/mballoc.c if (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) { cpu_to_le16 2871 fs/ext4/mballoc.c gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT); cpu_to_le16 2873 fs/ext4/mballoc.c cpu_to_le16(ext4_free_blocks_after_init(sb, cpu_to_le16 40 fs/ext4/migrate.c newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); cpu_to_le16 234 fs/ext4/namei.c ((struct dx_countlimit *) entries)->count = cpu_to_le16(value); cpu_to_le16 239 fs/ext4/namei.c ((struct dx_countlimit *) entries)->limit = cpu_to_le16(value); cpu_to_le16 721 fs/ext4/resize.c sbi->s_es->s_state &= cpu_to_le16(~EXT4_VALID_FS); cpu_to_le16 865 fs/ext4/resize.c gdp->bg_free_blocks_count = cpu_to_le16(input->free_blocks_count); cpu_to_le16 866 fs/ext4/resize.c gdp->bg_free_inodes_count = cpu_to_le16(EXT4_INODES_PER_GROUP(sb)); cpu_to_le16 212 fs/ext4/super.c es->s_state |= cpu_to_le16(EXT4_ERROR_FS); cpu_to_le16 365 fs/ext4/super.c es->s_inode_size = cpu_to_le16(EXT4_GOOD_OLD_INODE_SIZE); cpu_to_le16 515 fs/ext4/super.c es->s_state = cpu_to_le16(sbi->s_mount_state); cpu_to_le16 1479 fs/ext4/super.c es->s_state &= cpu_to_le16(~EXT4_VALID_FS); cpu_to_le16 1482 fs/ext4/super.c es->s_max_mnt_count = cpu_to_le16(EXT4_DFL_MAX_MNT_COUNT); cpu_to_le16 1577 fs/ext4/super.c return cpu_to_le16(crc); cpu_to_le16 2127 fs/ext4/super.c if (es->s_magic != cpu_to_le16(EXT4_SUPER_MAGIC)) { cpu_to_le16 2329 fs/ext4/super.c es->s_state |= cpu_to_le16(EXT4_ERROR_FS); cpu_to_le16 2333 fs/ext4/super.c es->s_state |= cpu_to_le16(EXT4_ERROR_FS); cpu_to_le16 2921 fs/ext4/super.c es->s_state |= cpu_to_le16(EXT4_ERROR_FS); cpu_to_le16 3080 fs/ext4/super.c if (!(es->s_state & cpu_to_le16(EXT4_VALID_FS)) && cpu_to_le16 3082 fs/ext4/super.c es->s_state = cpu_to_le16(sbi->s_mount_state); cpu_to_le16 610 fs/ext4/xattr.c cpu_to_le16(o + size); cpu_to_le16 630 fs/ext4/xattr.c s->here->e_value_offs = cpu_to_le16(min_offs - size); cpu_to_le16 1108 fs/ext4/xattr.c last->e_value_offs = cpu_to_le16(new_offs); cpu_to_le16 1123 fs/fat/dir.c de[0].start = cpu_to_le16(cluster); cpu_to_le16 1124 fs/fat/dir.c de[0].starthi = cpu_to_le16(cluster >> 16); cpu_to_le16 1125 fs/fat/dir.c de[1].start = cpu_to_le16(MSDOS_I(dir)->i_logstart); cpu_to_le16 1126 fs/fat/dir.c de[1].starthi = cpu_to_le16(MSDOS_I(dir)->i_logstart >> 16); cpu_to_le16 180 fs/fat/fatent.c *fatent->u.ent16_p = cpu_to_le16(new); cpu_to_le16 592 fs/fat/inode.c raw_entry->start = cpu_to_le16(MSDOS_I(inode)->i_logstart); cpu_to_le16 593 fs/fat/inode.c raw_entry->starthi = cpu_to_le16(MSDOS_I(inode)->i_logstart >> 16); cpu_to_le16 176 fs/fat/misc.c *time = cpu_to_le16((unix_date % 60)/2+(((unix_date/60) % 60) << 5)+ cpu_to_le16 193 fs/fat/misc.c *date = cpu_to_le16(nl_day-day_n[month-1]+1+(month << 5)+(year << 9)); cpu_to_le16 59 fs/jffs2/nodelist.h #define cpu_to_je16(x) ((jint16_t){cpu_to_le16(x)}) cpu_to_le16 467 fs/jfs/jfs_logmgr.c lvd->offset = cpu_to_le16(lv->offset); cpu_to_le16 468 fs/jfs/jfs_logmgr.c lvd->length = cpu_to_le16(lv->length); cpu_to_le16 483 fs/jfs/jfs_logmgr.c lrd->length = cpu_to_le16(len); cpu_to_le16 510 fs/jfs/jfs_logmgr.c if (lrd->type & cpu_to_le16(LOG_COMMIT)) { cpu_to_le16 634 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(bp->l_ceor); cpu_to_le16 656 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(LOGPHDRSIZE); cpu_to_le16 795 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(bp->l_ceor); cpu_to_le16 803 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(bp->l_ceor); cpu_to_le16 887 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(bp->l_eor); cpu_to_le16 985 fs/jfs/jfs_logmgr.c lrd.type = cpu_to_le16(LOG_SYNCPT); cpu_to_le16 1392 fs/jfs/jfs_logmgr.c lrd.type = cpu_to_le16(LOG_SYNCPT); cpu_to_le16 1399 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(bp->l_eor); cpu_to_le16 1681 fs/jfs/jfs_logmgr.c lrd.type = cpu_to_le16(LOG_SYNCPT); cpu_to_le16 1688 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(bp->l_eor); cpu_to_le16 2466 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(LOGPHDRSIZE + LOGRDSIZE); cpu_to_le16 2471 fs/jfs/jfs_logmgr.c lrd_ptr->type = cpu_to_le16(LOG_SYNCPT); cpu_to_le16 2486 fs/jfs/jfs_logmgr.c lp->h.eor = lp->t.eor = cpu_to_le16(LOGPHDRSIZE); cpu_to_le16 501 fs/jfs/jfs_mount.c lrd.type = cpu_to_le16(LOG_MOUNT); cpu_to_le16 1311 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_COMMIT); cpu_to_le16 1451 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_INODE); cpu_to_le16 1452 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2INODESLOTSIZE); cpu_to_le16 1461 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1487 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOINOEXT); cpu_to_le16 1524 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); cpu_to_le16 1530 fs/jfs/jfs_txnmgr.c cpu_to_le16(LOG_ALLOCPXD); cpu_to_le16 1533 fs/jfs/jfs_txnmgr.c cpu_to_le16(LOG_FREEPXD); cpu_to_le16 1534 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); cpu_to_le16 1562 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_DATA); cpu_to_le16 1563 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2DATASLOTSIZE); cpu_to_le16 1568 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1609 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_DTREE); cpu_to_le16 1610 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2DTSLOTSIZE); cpu_to_le16 1615 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_BTROOT); cpu_to_le16 1628 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1630 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_EXTEND); cpu_to_le16 1632 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_NEW); cpu_to_le16 1661 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1684 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOPAGE); cpu_to_le16 1719 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_XTREE); cpu_to_le16 1720 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2XTSLOTSIZE); cpu_to_le16 1725 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_BTROOT); cpu_to_le16 1729 fs/jfs/jfs_txnmgr.c cpu_to_le16(LOG_DIR_XTREE); cpu_to_le16 1751 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1840 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOPAGE); cpu_to_le16 1850 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1860 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); cpu_to_le16 1861 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = cpu_to_le16(LOG_FREEXADLIST); cpu_to_le16 1865 fs/jfs/jfs_txnmgr.c cpu_to_le16(hwm - XTENTRYSTART + 1); cpu_to_le16 1962 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); cpu_to_le16 1979 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); cpu_to_le16 1980 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = cpu_to_le16(LOG_FREEPXD); cpu_to_le16 1981 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); cpu_to_le16 1996 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); cpu_to_le16 1998 fs/jfs/jfs_txnmgr.c cpu_to_le16(LOG_FREEXADLIST); cpu_to_le16 2002 fs/jfs/jfs_txnmgr.c cpu_to_le16(hwm - next + 1); cpu_to_le16 2106 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOPAGE); cpu_to_le16 2122 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); cpu_to_le16 2123 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = cpu_to_le16(LOG_FREEPXD); cpu_to_le16 2124 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); cpu_to_le16 2145 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); cpu_to_le16 2151 fs/jfs/jfs_txnmgr.c cpu_to_le16(LOG_ALLOCPXD); cpu_to_le16 2154 fs/jfs/jfs_txnmgr.c cpu_to_le16(LOG_FREEPXD); cpu_to_le16 2155 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); cpu_to_le16 92 fs/jfs/jfs_unicode.h *ucs1++ = cpu_to_le16(*ucs2++); cpu_to_le16 978 fs/jfs/jfs_xtree.c sp->header.maxentry = cpu_to_le16(XTROOTMAXSLOT); cpu_to_le16 1276 fs/jfs/jfs_xtree.c rp->header.nextindex = cpu_to_le16(XTENTRYSTART); cpu_to_le16 1328 fs/jfs/jfs_xtree.c rp->header.nextindex = cpu_to_le16(XTENTRYSTART + 1); cpu_to_le16 1400 fs/jfs/jfs_xtree.c sp->header.nextindex = cpu_to_le16(middle + 1); cpu_to_le16 1407 fs/jfs/jfs_xtree.c cpu_to_le16(XTENTRYSTART + righthalf); cpu_to_le16 1430 fs/jfs/jfs_xtree.c sp->header.nextindex = cpu_to_le16(middle); cpu_to_le16 1436 fs/jfs/jfs_xtree.c rp->header.nextindex = cpu_to_le16(XTENTRYSTART + cpu_to_le16 1534 fs/jfs/jfs_xtree.c rp->header.nextindex = cpu_to_le16(XTENTRYSTART); cpu_to_le16 1535 fs/jfs/jfs_xtree.c rp->header.maxentry = cpu_to_le16(PSIZE >> L2XTSLOTSIZE); cpu_to_le16 1562 fs/jfs/jfs_xtree.c rp->header.nextindex = cpu_to_le16(nextindex + 1); cpu_to_le16 1593 fs/jfs/jfs_xtree.c sp->header.nextindex = cpu_to_le16(XTENTRYSTART + 1); cpu_to_le16 1713 fs/jfs/jfs_xtree.c cpu_to_le16(XTENTRYSTART + 1)); cpu_to_le16 1879 fs/jfs/jfs_xtree.c cpu_to_le16(XTENTRYSTART + 1)); cpu_to_le16 2093 fs/jfs/jfs_xtree.c cpu_to_le16(le16_to_cpu(p->header.nextindex) - cpu_to_le16 2160 fs/jfs/jfs_xtree.c cpu_to_le16(le16_to_cpu(p->header.nextindex) - cpu_to_le16 2212 fs/jfs/jfs_xtree.c cpu_to_le16(XTENTRYSTART + 1)); cpu_to_le16 2251 fs/jfs/jfs_xtree.c cpu_to_le16(le16_to_cpu(p->header.nextindex) + 1); cpu_to_le16 2367 fs/jfs/jfs_xtree.c cpu_to_le16(XTENTRYSTART + 1)); cpu_to_le16 2395 fs/jfs/jfs_xtree.c cpu_to_le16(le16_to_cpu(p->header.nextindex) + 1); cpu_to_le16 2634 fs/jfs/jfs_xtree.c if (p->header.nextindex == cpu_to_le16(XTENTRYSTART)) cpu_to_le16 2691 fs/jfs/jfs_xtree.c fp->header.nextindex = cpu_to_le16(XTENTRYSTART); cpu_to_le16 2744 fs/jfs/jfs_xtree.c cpu_to_le16(XTENTRYSTART); cpu_to_le16 3348 fs/jfs/jfs_xtree.c p->header.nextindex = cpu_to_le16(XTENTRYSTART); cpu_to_le16 3351 fs/jfs/jfs_xtree.c p->header.maxentry = cpu_to_le16(XTROOTINITSLOT_DIR); cpu_to_le16 3353 fs/jfs/jfs_xtree.c p->header.maxentry = cpu_to_le16(XTROOTINITSLOT); cpu_to_le16 3675 fs/jfs/jfs_xtree.c p->header.nextindex = cpu_to_le16(nextindex); cpu_to_le16 3708 fs/jfs/jfs_xtree.c p->header.nextindex = cpu_to_le16(XTENTRYSTART); cpu_to_le16 3782 fs/jfs/jfs_xtree.c p->header.nextindex = cpu_to_le16(index + 1); cpu_to_le16 3857 fs/jfs/jfs_xtree.c p->header.nextindex = cpu_to_le16(XTENTRYSTART); cpu_to_le16 3864 fs/jfs/jfs_xtree.c cpu_to_le16(XTROOTINITSLOT); cpu_to_le16 883 fs/jfs/xattr.c ea->valuelen = (cpu_to_le16(value_len)); cpu_to_le16 256 fs/msdos/namei.c de.start = cpu_to_le16(cluster); cpu_to_le16 257 fs/msdos/namei.c de.starthi = cpu_to_le16(cluster >> 16); cpu_to_le16 541 fs/msdos/namei.c dotdot_de->start = cpu_to_le16(start); cpu_to_le16 542 fs/msdos/namei.c dotdot_de->starthi = cpu_to_le16(start >> 16); cpu_to_le16 583 fs/msdos/namei.c dotdot_de->start = cpu_to_le16(start); cpu_to_le16 584 fs/msdos/namei.c dotdot_de->starthi = cpu_to_le16(start >> 16); cpu_to_le16 973 fs/ncpfs/dir.c cpu_to_le16(0xffff), cpu_to_le16 1231 fs/ncpfs/dir.c *time = cpu_to_le16( cpu_to_le16 1248 fs/ncpfs/dir.c *date = cpu_to_le16(nl_day - day_n[month - 1] + 1 + (month << 5) + (year << 9)); cpu_to_le16 677 fs/ncpfs/inode.c = cpu_to_le16(0x0000); cpu_to_le16 680 fs/ncpfs/inode.c = cpu_to_le16(0x0C21); cpu_to_le16 435 fs/ncpfs/ncplib_kernel.c ncp_add_word(server, cpu_to_le16(0x8006)); /* get all */ cpu_to_le16 465 fs/ncpfs/ncplib_kernel.c ncp_add_word(server, cpu_to_le16(0x8006)); /* get all */ cpu_to_le16 538 fs/ncpfs/ncplib_kernel.c ncp_add_word(server, cpu_to_le16(0x8006)); /* get all */ cpu_to_le16 632 fs/ncpfs/ncplib_kernel.c target->creationTime = target->modifyTime = cpu_to_le16(0x0000); cpu_to_le16 633 fs/ncpfs/ncplib_kernel.c target->creationDate = target->modifyDate = target->lastAccessDate = cpu_to_le16(0x0C21); cpu_to_le16 652 fs/ncpfs/ncplib_kernel.c ncp_add_word(server, cpu_to_le16(0x8006)); /* search attribs: all */ cpu_to_le16 732 fs/ncpfs/ncplib_kernel.c return ncp_DeleteNSEntry(server, 1, volnum, dirent, NULL, NW_NS_DOS, cpu_to_le16(0x8006)); cpu_to_le16 749 fs/ncpfs/ncplib_kernel.c return ncp_DeleteNSEntry(server, 1, volnum, dirent, NULL, NW_NS_DOS, cpu_to_le16(0x8006)); cpu_to_le16 753 fs/ncpfs/ncplib_kernel.c return ncp_DeleteNSEntry(server, 1, volnum, dirent, name, server->name_space[volnum], cpu_to_le16(0x8006)); cpu_to_le16 759 fs/ncpfs/ncplib_kernel.c dest[1] = cpu_to_le16(v0); cpu_to_le16 760 fs/ncpfs/ncplib_kernel.c dest[2] = cpu_to_le16(v1); cpu_to_le16 761 fs/ncpfs/ncplib_kernel.c dest[0] = cpu_to_le16(v0 + 1); cpu_to_le16 774 fs/ncpfs/ncplib_kernel.c __le16 search_attribs = cpu_to_le16(0x0006); cpu_to_le16 783 fs/ncpfs/ncplib_kernel.c search_attribs |= cpu_to_le16(0x8000); cpu_to_le16 858 fs/ncpfs/ncplib_kernel.c ncp_add_word(server, cpu_to_le16(0x8006)); cpu_to_le16 860 fs/ncpfs/ncplib_kernel.c ncp_add_word(server, cpu_to_le16(32767)); /* max returned items */ cpu_to_le16 936 fs/ncpfs/ncplib_kernel.c __le16 old_type = cpu_to_le16(0x06); cpu_to_le16 943 fs/ncpfs/ncplib_kernel.c old_type = cpu_to_le16(0x16); cpu_to_le16 1682 fs/ntfs/attrib.c a->name_offset = cpu_to_le16(name_ofs); cpu_to_le16 1687 fs/ntfs/attrib.c a->data.non_resident.mapping_pairs_offset = cpu_to_le16(mp_ofs); cpu_to_le16 1765 fs/ntfs/attrib.c a->name_offset = cpu_to_le16(name_ofs); cpu_to_le16 1802 fs/ntfs/attrib.c a->data.resident.value_offset = cpu_to_le16(mp_ofs); cpu_to_le16 65 fs/ntfs/endian.h return (__force sle16)cpu_to_le16(x); cpu_to_le16 80 fs/ntfs/endian.h return (__force sle16)cpu_to_le16(*x); cpu_to_le16 2027 fs/ntfs/mft.c m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD_OLD) + 1) & ~1); cpu_to_le16 2029 fs/ntfs/mft.c m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD) + 1) & ~1); cpu_to_le16 2039 fs/ntfs/mft.c m->usa_count = cpu_to_le16(vol->mft_record_size / cpu_to_le16 2042 fs/ntfs/mft.c m->usa_count = cpu_to_le16(1); cpu_to_le16 2052 fs/ntfs/mft.c *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = cpu_to_le16(1); cpu_to_le16 2054 fs/ntfs/mft.c m->sequence_number = cpu_to_le16(1); cpu_to_le16 2060 fs/ntfs/mft.c m->attrs_offset = cpu_to_le16((le16_to_cpu(m->usa_ofs) + cpu_to_le16 2597 fs/ntfs/mft.c m->flags &= cpu_to_le16( cpu_to_le16 2630 fs/ntfs/mft.c m->flags &= cpu_to_le16( cpu_to_le16 2851 fs/ntfs/mft.c m->sequence_number = cpu_to_le16(seq_no); cpu_to_le16 152 fs/ntfs/mst.c le_usn = cpu_to_le16(usn); cpu_to_le16 423 fs/ntfs/super.c flags = vol->vol_flags & cpu_to_le16(~le16_to_cpu(flags)); cpu_to_le16 277 fs/ntfs/unistr.c ucs[o++] = cpu_to_le16(wc); cpu_to_le16 77 fs/ntfs/upcase.c uc[i] = cpu_to_le16(i); cpu_to_le16 85 fs/ntfs/upcase.c uc[uc_word_table[r][0]] = cpu_to_le16(uc_word_table[r][1]); cpu_to_le16 784 fs/ocfs2/alloc.c eb->h_suballoc_slot = cpu_to_le16(osb->slot_num); cpu_to_le16 785 fs/ocfs2/alloc.c eb->h_suballoc_bit = cpu_to_le16(suballoc_bit_start); cpu_to_le16 787 fs/ocfs2/alloc.c cpu_to_le16(ocfs2_extent_recs_per_eb(osb->sb)); cpu_to_le16 926 fs/ocfs2/alloc.c eb_el->l_tree_depth = cpu_to_le16(i); cpu_to_le16 927 fs/ocfs2/alloc.c eb_el->l_next_free_rec = cpu_to_le16(1); cpu_to_le16 1099 fs/ocfs2/alloc.c root_el->l_next_free_rec = cpu_to_le16(1); cpu_to_le16 1103 fs/ocfs2/alloc.c if (root_el->l_tree_depth == cpu_to_le16(1)) cpu_to_le16 1382 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(next_free); cpu_to_le16 1404 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(num_recs); cpu_to_le16 3603 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(1); cpu_to_le16 4423 fs/ocfs2/alloc.c rec.e_leaf_clusters = cpu_to_le16(new_clusters); cpu_to_le16 4587 fs/ocfs2/alloc.c split_rec->e_leaf_clusters = cpu_to_le16(rec_range - cpos); cpu_to_le16 4883 fs/ocfs2/alloc.c split_rec.e_leaf_clusters = cpu_to_le16(len); cpu_to_le16 5359 fs/ocfs2/alloc.c tl->tl_used = cpu_to_le16(index + 1); cpu_to_le16 5404 fs/ocfs2/alloc.c tl->tl_used = cpu_to_le16(i); cpu_to_le16 6155 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(0); cpu_to_le16 6629 fs/ocfs2/alloc.c di->id2.i_list.l_count = cpu_to_le16( cpu_to_le16 6640 fs/ocfs2/alloc.c di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); cpu_to_le16 6649 fs/ocfs2/alloc.c idata->id_count = cpu_to_le16( cpu_to_le16 6752 fs/ocfs2/alloc.c di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); cpu_to_le16 595 fs/ocfs2/dir.c cpu_to_le16(le16_to_cpu(de->rec_len) - cpu_to_le16 597 fs/ocfs2/dir.c de->rec_len = cpu_to_le16(OCFS2_DIR_REC_LEN(de->name_len)); cpu_to_le16 1062 fs/ocfs2/dir.c cpu_to_le16(OCFS2_DIR_REC_LEN(de->name_len)); cpu_to_le16 1068 fs/ocfs2/dir.c de->rec_len = cpu_to_le16(size - OCFS2_DIR_REC_LEN(1)); cpu_to_le16 1329 fs/ocfs2/dir.c di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); cpu_to_le16 1581 fs/ocfs2/dir.c de->rec_len = cpu_to_le16(sb->s_blocksize); cpu_to_le16 1077 fs/ocfs2/file.c di->i_mode = cpu_to_le16(inode->i_mode); cpu_to_le16 1203 fs/ocfs2/inode.c fe->i_dyn_features = cpu_to_le16(OCFS2_I(inode)->ip_dyn_features); cpu_to_le16 1207 fs/ocfs2/inode.c fe->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 1210 fs/ocfs2/inode.c fe->i_mode = cpu_to_le16(inode->i_mode); cpu_to_le16 422 fs/ocfs2/namei.c fe->i_suballoc_bit = cpu_to_le16(suballoc_bit); cpu_to_le16 423 fs/ocfs2/namei.c fe->i_suballoc_slot = cpu_to_le16(inode_ac->ac_alloc_slot); cpu_to_le16 431 fs/ocfs2/namei.c fe->i_mode = cpu_to_le16(mode); cpu_to_le16 435 fs/ocfs2/namei.c fe->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 452 fs/ocfs2/namei.c fe->i_dyn_features = cpu_to_le16(feat | OCFS2_INLINE_DATA_FL); cpu_to_le16 454 fs/ocfs2/namei.c fe->id2.i_data.id_count = cpu_to_le16(ocfs2_max_inline_data(osb->sb)); cpu_to_le16 459 fs/ocfs2/namei.c fel->l_count = cpu_to_le16(ocfs2_extent_recs_per_inode(osb->sb)); cpu_to_le16 606 fs/ocfs2/namei.c fe->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 812 fs/ocfs2/namei.c fe->i_links_count = cpu_to_le16(inode->i_nlink); cpu_to_le16 1206 fs/ocfs2/namei.c (newfe->i_links_count == cpu_to_le16(1))){ cpu_to_le16 1326 fs/ocfs2/namei.c fe->i_links_count = cpu_to_le16(old_dir->i_nlink); cpu_to_le16 1797 fs/ocfs2/namei.c fe->i_orphaned_slot = cpu_to_le16(osb->slot_num); cpu_to_le16 195 fs/ocfs2/slot_map.c cpu_to_le16(si->si_slots[i].sl_node_num); cpu_to_le16 197 fs/ocfs2/slot_map.c sm->sm_slots[i] = cpu_to_le16(OCFS2_INVALID_SLOT); cpu_to_le16 240 fs/ocfs2/suballoc.c bg->bg_size = cpu_to_le16(ocfs2_group_bitmap_size(sb)); cpu_to_le16 241 fs/ocfs2/suballoc.c bg->bg_bits = cpu_to_le16(ocfs2_bits_per_group(cl)); cpu_to_le16 242 fs/ocfs2/suballoc.c bg->bg_chain = cpu_to_le16(my_chain); cpu_to_le16 248 fs/ocfs2/suballoc.c bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); cpu_to_le16 77 fs/ocfs2/xattr.c .xv.xr_list.l_count = cpu_to_le16(1), cpu_to_le16 1029 fs/ocfs2/xattr.c xs->here->xe_name_offset = cpu_to_le16(offs); cpu_to_le16 1069 fs/ocfs2/xattr.c xv->xr_list.l_count = cpu_to_le16(1); cpu_to_le16 1159 fs/ocfs2/xattr.c last->xe_name_offset = cpu_to_le16(o + size); cpu_to_le16 1178 fs/ocfs2/xattr.c xs->here->xe_name_offset = cpu_to_le16(min_offs - size); cpu_to_le16 1393 fs/ocfs2/xattr.c di->i_xattr_inline_size = cpu_to_le16(xattrsize); cpu_to_le16 1398 fs/ocfs2/xattr.c di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); cpu_to_le16 1628 fs/ocfs2/xattr.c di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); cpu_to_le16 1844 fs/ocfs2/xattr.c xb->xb_flags = cpu_to_le16(xb_flags & ~OCFS2_XATTR_INDEXED); cpu_to_le16 1922 fs/ocfs2/xattr.c xblk->xb_suballoc_slot = cpu_to_le16(osb->slot_num); cpu_to_le16 1923 fs/ocfs2/xattr.c xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); cpu_to_le16 2641 fs/ocfs2/xattr.c xh->xh_num_buckets = cpu_to_le16(1); cpu_to_le16 2642 fs/ocfs2/xattr.c xh->xh_name_value_len = cpu_to_le16(size); cpu_to_le16 2643 fs/ocfs2/xattr.c xh->xh_free_start = cpu_to_le16(OCFS2_XATTR_BUCKET_SIZE - size); cpu_to_le16 2831 fs/ocfs2/xattr.c xr->xt_list.l_count = cpu_to_le16(ocfs2_xattr_recs_per_xb(inode->i_sb)); cpu_to_le16 2832 fs/ocfs2/xattr.c xr->xt_list.l_next_free_rec = cpu_to_le16(1); cpu_to_le16 2836 fs/ocfs2/xattr.c xr->xt_list.l_recs[0].e_leaf_clusters = cpu_to_le16(1); cpu_to_le16 2838 fs/ocfs2/xattr.c xb->xb_flags = cpu_to_le16(xb_flags | OCFS2_XATTR_INDEXED); cpu_to_le16 2980 fs/ocfs2/xattr.c xe->xe_name_offset = cpu_to_le16(end - len); cpu_to_le16 2996 fs/ocfs2/xattr.c xh->xh_free_start = cpu_to_le16(end); cpu_to_le16 3112 fs/ocfs2/xattr.c new_xh->xh_num_buckets = cpu_to_le16(num_buckets / 2); cpu_to_le16 3280 fs/ocfs2/xattr.c xh->xh_free_start = cpu_to_le16(OCFS2_XATTR_BUCKET_SIZE); cpu_to_le16 3296 fs/ocfs2/xattr.c xh->xh_num_buckets = cpu_to_le16(1); cpu_to_le16 3317 fs/ocfs2/xattr.c xh->xh_count = cpu_to_le16(start); cpu_to_le16 3318 fs/ocfs2/xattr.c xh->xh_free_start = cpu_to_le16(name_offset); cpu_to_le16 3319 fs/ocfs2/xattr.c xh->xh_name_value_len = cpu_to_le16(name_value_len); cpu_to_le16 3484 fs/ocfs2/xattr.c xh->xh_num_buckets = cpu_to_le16(num_buckets); cpu_to_le16 3982 fs/ocfs2/xattr.c cpu_to_le16(OCFS2_XATTR_BUCKET_SIZE); cpu_to_le16 4031 fs/ocfs2/xattr.c xh->xh_free_start = cpu_to_le16(offs); cpu_to_le16 4036 fs/ocfs2/xattr.c xe->xe_name_offset = cpu_to_le16(offs - size); cpu_to_le16 567 fs/partitions/ldm.c if (*(__le16*) (data + 0x01FE) != cpu_to_le16 (MSDOS_LABEL_MAGIC)) cpu_to_le16 108 fs/qnx4/inode.c raw_inode->di_mode = cpu_to_le16(inode->i_mode); cpu_to_le16 109 fs/qnx4/inode.c raw_inode->di_uid = cpu_to_le16(fs_high2lowuid(inode->i_uid)); cpu_to_le16 110 fs/qnx4/inode.c raw_inode->di_gid = cpu_to_le16(fs_high2lowgid(inode->i_gid)); cpu_to_le16 111 fs/qnx4/inode.c raw_inode->di_nlink = cpu_to_le16(inode->i_nlink); cpu_to_le16 191 fs/quota_v2.c dh->dqdh_entries = cpu_to_le16(0); cpu_to_le16 148 fs/reiserfs/xattr_acl.c entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); cpu_to_le16 149 fs/reiserfs/xattr_acl.c entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); cpu_to_le16 237 fs/sysv/sysv.h return (__force __fs16)cpu_to_le16(n); cpu_to_le16 472 fs/ubifs/journal.c ino->compr_type = cpu_to_le16(ui->compr_type); cpu_to_le16 590 fs/ubifs/journal.c dent->nlen = cpu_to_le16(nm->len); cpu_to_le16 717 fs/ubifs/journal.c data->compr_type = cpu_to_le16(compr_type); cpu_to_le16 952 fs/ubifs/journal.c dent->nlen = cpu_to_le16(new_dentry->d_name.len); cpu_to_le16 965 fs/ubifs/journal.c dent2->nlen = cpu_to_le16(old_dentry->d_name.len); cpu_to_le16 1096 fs/ubifs/journal.c dn->compr_type = cpu_to_le16(compr_type); cpu_to_le16 1301 fs/ubifs/journal.c xent->nlen = cpu_to_le16(nm->len); cpu_to_le16 181 fs/ubifs/sb.c sup->default_compr = cpu_to_le16(UBIFS_COMPR_LZO); cpu_to_le16 273 fs/ubifs/sb.c idx->child_cnt = cpu_to_le16(1); cpu_to_le16 44 fs/ubifs/tnc_commit.c idx->child_cnt = cpu_to_le16(znode->child_cnt); cpu_to_le16 45 fs/ubifs/tnc_commit.c idx->level = cpu_to_le16(znode->level); cpu_to_le16 869 fs/ubifs/tnc_commit.c idx->child_cnt = cpu_to_le16(znode->child_cnt); cpu_to_le16 870 fs/ubifs/tnc_commit.c idx->level = cpu_to_le16(znode->level); cpu_to_le16 228 fs/udf/directory.c if (fi->descTag.tagIdent != cpu_to_le16(TAG_IDENT_FID)) { cpu_to_le16 265 fs/udf/directory.c if (fe->descTag.tagIdent != cpu_to_le16(TAG_IDENT_FE)) { cpu_to_le16 1097 fs/udf/inode.c if (fe->icbTag.strategyType == cpu_to_le16(4096)) { cpu_to_le16 1128 fs/udf/inode.c } else if (fe->icbTag.strategyType != cpu_to_le16(4)) { cpu_to_le16 1151 fs/udf/inode.c if (fe->icbTag.strategyType == cpu_to_le16(4)) cpu_to_le16 1164 fs/udf/inode.c if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_EFE)) { cpu_to_le16 1176 fs/udf/inode.c } else if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_FE)) { cpu_to_le16 1187 fs/udf/inode.c } else if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_USE)) { cpu_to_le16 1409 fs/udf/inode.c if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_USE)) { cpu_to_le16 1422 fs/udf/inode.c use->descTag.descCRCLength = cpu_to_le16(crclen); cpu_to_le16 1423 fs/udf/inode.c use->descTag.descCRC = cpu_to_le16(crc_itu_t(0, (char *)use + cpu_to_le16 1454 fs/udf/inode.c fe->fileLinkCount = cpu_to_le16(inode->i_nlink - 1); cpu_to_le16 1456 fs/udf/inode.c fe->fileLinkCount = cpu_to_le16(inode->i_nlink); cpu_to_le16 1503 fs/udf/inode.c fe->descTag.tagIdent = cpu_to_le16(TAG_IDENT_FE); cpu_to_le16 1542 fs/udf/inode.c efe->descTag.tagIdent = cpu_to_le16(TAG_IDENT_EFE); cpu_to_le16 1546 fs/udf/inode.c fe->icbTag.strategyType = cpu_to_le16(4096); cpu_to_le16 1547 fs/udf/inode.c fe->icbTag.strategyParameter = cpu_to_le16(1); cpu_to_le16 1548 fs/udf/inode.c fe->icbTag.numEntries = cpu_to_le16(2); cpu_to_le16 1550 fs/udf/inode.c fe->icbTag.strategyType = cpu_to_le16(4); cpu_to_le16 1551 fs/udf/inode.c fe->icbTag.numEntries = cpu_to_le16(1); cpu_to_le16 1577 fs/udf/inode.c fe->icbTag.flags = cpu_to_le16(icbflags); cpu_to_le16 1579 fs/udf/inode.c fe->descTag.descVersion = cpu_to_le16(3); cpu_to_le16 1581 fs/udf/inode.c fe->descTag.descVersion = cpu_to_le16(2); cpu_to_le16 1582 fs/udf/inode.c fe->descTag.tagSerialNum = cpu_to_le16(sbi->s_serial_number); cpu_to_le16 1587 fs/udf/inode.c fe->descTag.descCRCLength = cpu_to_le16(crclen); cpu_to_le16 1588 fs/udf/inode.c fe->descTag.descCRC = cpu_to_le16(crc_itu_t(0, (char *)fe + sizeof(tag), cpu_to_le16 79 fs/udf/misc.c cpu_to_le16(TAG_IDENT_EAHD) || cpu_to_le16 89 fs/udf/misc.c eahd->descTag.tagIdent = cpu_to_le16(TAG_IDENT_EAHD); cpu_to_le16 91 fs/udf/misc.c eahd->descTag.descVersion = cpu_to_le16(3); cpu_to_le16 93 fs/udf/misc.c eahd->descTag.descVersion = cpu_to_le16(2); cpu_to_le16 95 fs/udf/misc.c cpu_to_le16(sbi->s_serial_number); cpu_to_le16 138 fs/udf/misc.c eahd->descTag.descCRCLength = cpu_to_le16(crclen); cpu_to_le16 139 fs/udf/misc.c eahd->descTag.descCRC = cpu_to_le16(crc_itu_t(0, (char *)eahd + cpu_to_le16 167 fs/udf/misc.c cpu_to_le16(TAG_IDENT_EAHD) || cpu_to_le16 236 fs/udf/misc.c if (tag_p->descVersion != cpu_to_le16(0x0002U) && cpu_to_le16 237 fs/udf/misc.c tag_p->descVersion != cpu_to_le16(0x0003U)) { cpu_to_le16 270 fs/udf/misc.c tptr->descCRCLength = cpu_to_le16(length); cpu_to_le16 271 fs/udf/misc.c tptr->descCRC = cpu_to_le16(crc_itu_t(0, data + sizeof(tag), length)); cpu_to_le16 279 fs/udf/misc.c tptr->tagIdent = cpu_to_le16(ident); cpu_to_le16 280 fs/udf/misc.c tptr->descVersion = cpu_to_le16(version); cpu_to_le16 281 fs/udf/misc.c tptr->tagSerialNum = cpu_to_le16(snum); cpu_to_le16 121 fs/udf/namei.c cfi->descTag.descCRC = cpu_to_le16(crc); cpu_to_le16 122 fs/udf/namei.c cfi->descTag.descCRCLength = cpu_to_le16(crclen); cpu_to_le16 392 fs/udf/namei.c cfi->descTag.tagSerialNum = cpu_to_le16(1); cpu_to_le16 393 fs/udf/namei.c cfi->fileVersionNum = cpu_to_le16(1); cpu_to_le16 396 fs/udf/namei.c cfi->lengthOfImpUse = cpu_to_le16(0); cpu_to_le16 502 fs/udf/namei.c cfi->fileVersionNum = cpu_to_le16(1); cpu_to_le16 504 fs/udf/namei.c cfi->lengthOfImpUse = cpu_to_le16(0); cpu_to_le16 1757 fs/udf/super.c lvid->descTag.descCRC = cpu_to_le16( cpu_to_le16 1785 fs/udf/super.c lvidiu->maxUDFWriteRev = cpu_to_le16(UDF_MAX_WRITE_VERSION); cpu_to_le16 1787 fs/udf/super.c lvidiu->minUDFReadRev = cpu_to_le16(sbi->s_udfrev); cpu_to_le16 1789 fs/udf/super.c lvidiu->minUDFWriteRev = cpu_to_le16(sbi->s_udfrev); cpu_to_le16 1792 fs/udf/super.c lvid->descTag.descCRC = cpu_to_le16( cpu_to_le16 22 fs/udf/udfend.h out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); cpu_to_le16 130 fs/udf/udftime.c dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); cpu_to_le16 153 fs/udf/udftime.c dest->year = cpu_to_le16(y); cpu_to_le16 92 fs/ufs/swab.h return (__force __fs16)cpu_to_le16(n); cpu_to_le16 628 fs/vfat/namei.c de->start = cpu_to_le16(cluster); cpu_to_le16 629 fs/vfat/namei.c de->starthi = cpu_to_le16(cluster >> 16); cpu_to_le16 923 fs/vfat/namei.c dotdot_de->start = cpu_to_le16(start); cpu_to_le16 924 fs/vfat/namei.c dotdot_de->starthi = cpu_to_le16(start >> 16); cpu_to_le16 967 fs/vfat/namei.c dotdot_de->start = cpu_to_le16(start); cpu_to_le16 968 fs/vfat/namei.c dotdot_de->starthi = cpu_to_le16(start >> 16); cpu_to_le16 92 fs/xattr_acl.c ext_entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); cpu_to_le16 93 fs/xattr_acl.c ext_entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); cpu_to_le16 186 fs/xfs/xfs_acl.c dest_entry->e_perm = cpu_to_le16(src_entry->ae_perm); cpu_to_le16 189 fs/xfs/xfs_acl.c dest_entry->e_tag = cpu_to_le16(src_entry->ae_tag); cpu_to_le16 46 include/asm-m68k/raw_io.h #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (addr)) = cpu_to_le16(w)) cpu_to_le16 189 include/asm-parisc/io.h #define writew(b, addr) __raw_writew(cpu_to_le16(b), addr) cpu_to_le16 343 include/linux/byteorder.h *var = cpu_to_le16(le16_to_cpup(var) + val); cpu_to_le16 145 include/linux/byteorder/generic.h *var = cpu_to_le16(le16_to_cpu(*var) + val); cpu_to_le16 673 include/linux/ext3_fs.h return cpu_to_le16(EXT3_MAX_REC_LEN); cpu_to_le16 676 include/linux/ext3_fs.h return cpu_to_le16(len); cpu_to_le16 121 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0; cpu_to_le16 130 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0; cpu_to_le16 139 include/linux/ieee80211.h __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); cpu_to_le16 149 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0; cpu_to_le16 158 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_RETRY)) != 0; cpu_to_le16 167 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_PM)) != 0; cpu_to_le16 176 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_MOREDATA)) != 0; cpu_to_le16 185 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_PROTECTED)) != 0; cpu_to_le16 194 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_ORDER)) != 0; cpu_to_le16 203 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == cpu_to_le16 204 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT); cpu_to_le16 213 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == cpu_to_le16 214 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL); cpu_to_le16 223 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == cpu_to_le16 224 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_DATA); cpu_to_le16 237 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_STYPE_QOS_DATA)) == cpu_to_le16 238 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_DATA); cpu_to_le16 251 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | 0x40)) == cpu_to_le16 252 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_DATA); cpu_to_le16 261 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 262 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_ASSOC_REQ); cpu_to_le16 271 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 272 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_ASSOC_RESP); cpu_to_le16 281 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 282 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_REASSOC_REQ); cpu_to_le16 291 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 292 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_REASSOC_RESP); cpu_to_le16 301 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 302 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_PROBE_REQ); cpu_to_le16 311 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 312 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_PROBE_RESP); cpu_to_le16 321 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 322 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_BEACON); cpu_to_le16 331 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 332 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_ATIM); cpu_to_le16 341 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 342 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_DISASSOC); cpu_to_le16 351 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 352 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_AUTH); cpu_to_le16 361 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 362 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_DEAUTH); cpu_to_le16 371 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 372 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_ACTION); cpu_to_le16 381 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 382 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_BACK_REQ); cpu_to_le16 391 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 392 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_BACK); cpu_to_le16 401 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 402 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_PSPOLL); cpu_to_le16 411 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 412 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_RTS); cpu_to_le16 421 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 422 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_CTS); cpu_to_le16 431 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 432 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_ACK); cpu_to_le16 441 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 442 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_CFEND); cpu_to_le16 451 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 452 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_CFENDACK); cpu_to_le16 461 include/linux/ieee80211.h return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == cpu_to_le16 462 include/linux/ieee80211.h cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_NULLFUNC); cpu_to_le16 19 include/linux/msdos_fs.h #define CT_LE_W(v) cpu_to_le16(v) cpu_to_le16 26 include/linux/mtd/cfi_endian.h #define cpu_to_cfi16(x) cpu_to_le16(x) cpu_to_le16 60 include/linux/ncp.h #define AR_READ (cpu_to_le16(1)) cpu_to_le16 61 include/linux/ncp.h #define AR_WRITE (cpu_to_le16(2)) cpu_to_le16 62 include/linux/ncp.h #define AR_EXCLUSIVE (cpu_to_le16(0x20)) cpu_to_le16 212 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_tree_height = cpu_to_le16(val); } while (0) cpu_to_le16 214 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_umount_state = cpu_to_le16(val); } while (0) cpu_to_le16 216 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_version = cpu_to_le16(val); } while (0) cpu_to_le16 218 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_bmap_nr = cpu_to_le16 (val); } while (0) cpu_to_le16 512 include/linux/reiserfs_fs.h #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } while(0) cpu_to_le16 513 include/linux/reiserfs_fs.h #define put_ih_version(ih, val) do { (ih)->ih_version = cpu_to_le16(val); } while (0) cpu_to_le16 514 include/linux/reiserfs_fs.h #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0) cpu_to_le16 515 include/linux/reiserfs_fs.h #define put_ih_location(ih, val) do { (ih)->ih_item_location = cpu_to_le16(val); } while (0) cpu_to_le16 516 include/linux/reiserfs_fs.h #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) cpu_to_le16 728 include/linux/reiserfs_fs.h #define set_blkh_level(p_blkh,val) ((p_blkh)->blk_level = cpu_to_le16(val)) cpu_to_le16 729 include/linux/reiserfs_fs.h #define set_blkh_nr_item(p_blkh,val) ((p_blkh)->blk_nr_item = cpu_to_le16(val)) cpu_to_le16 730 include/linux/reiserfs_fs.h #define set_blkh_free_space(p_blkh,val) ((p_blkh)->blk_free_space = cpu_to_le16(val)) cpu_to_le16 731 include/linux/reiserfs_fs.h #define set_blkh_reserved(p_blkh,val) ((p_blkh)->blk_reserved = cpu_to_le16(val)) cpu_to_le16 802 include/linux/reiserfs_fs.h #define set_sd_v1_mode(sdp,v) ((sdp)->sd_mode = cpu_to_le16(v)) cpu_to_le16 804 include/linux/reiserfs_fs.h #define set_sd_v1_nlink(sdp,v) ((sdp)->sd_nlink = cpu_to_le16(v)) cpu_to_le16 806 include/linux/reiserfs_fs.h #define set_sd_v1_uid(sdp,v) ((sdp)->sd_uid = cpu_to_le16(v)) cpu_to_le16 808 include/linux/reiserfs_fs.h #define set_sd_v1_gid(sdp,v) ((sdp)->sd_gid = cpu_to_le16(v)) cpu_to_le16 883 include/linux/reiserfs_fs.h #define set_sd_v2_mode(sdp,v) ((sdp)->sd_mode = cpu_to_le16(v)) cpu_to_le16 907 include/linux/reiserfs_fs.h #define set_sd_v2_attrs(sdp,v) ((sdp)->sd_attrs = cpu_to_le16(v)) cpu_to_le16 962 include/linux/reiserfs_fs.h #define put_deh_location(p_deh,v) ((p_deh)->deh_location = cpu_to_le16((v))) cpu_to_le16 963 include/linux/reiserfs_fs.h #define put_deh_state(p_deh,v) ((p_deh)->deh_state = cpu_to_le16((v))) cpu_to_le16 1112 include/linux/reiserfs_fs.h #define put_dc_size(dc_p, val) do { (dc_p)->dc_size = cpu_to_le16(val); } while(0) cpu_to_le16 56 include/linux/reiserfs_fs_sb.h #define set_sb_blocksize(sbp,v) ((sbp)->s_v1.s_blocksize = cpu_to_le16(v)) cpu_to_le16 58 include/linux/reiserfs_fs_sb.h #define set_sb_oid_maxsize(sbp,v) ((sbp)->s_v1.s_oid_maxsize = cpu_to_le16(v)) cpu_to_le16 60 include/linux/reiserfs_fs_sb.h #define set_sb_oid_cursize(sbp,v) ((sbp)->s_v1.s_oid_cursize = cpu_to_le16(v)) cpu_to_le16 62 include/linux/reiserfs_fs_sb.h #define set_sb_umount_state(sbp,v) ((sbp)->s_v1.s_umount_state = cpu_to_le16(v)) cpu_to_le16 64 include/linux/reiserfs_fs_sb.h #define set_sb_fs_state(sbp,v) ((sbp)->s_v1.s_fs_state = cpu_to_le16(v)) cpu_to_le16 70 include/linux/reiserfs_fs_sb.h #define set_sb_tree_height(sbp,v) ((sbp)->s_v1.s_tree_height = cpu_to_le16(v)) cpu_to_le16 72 include/linux/reiserfs_fs_sb.h #define set_sb_bmap_nr(sbp,v) ((sbp)->s_v1.s_bmap_nr = cpu_to_le16(v)) cpu_to_le16 74 include/linux/reiserfs_fs_sb.h #define set_sb_version(sbp,v) ((sbp)->s_v1.s_version = cpu_to_le16(v)) cpu_to_le16 79 include/linux/reiserfs_fs_sb.h ((sbp)->s_v1.s_reserved_for_journal = cpu_to_le16(v)) cpu_to_le16 39 include/linux/unaligned/access_ok.h *((__le16 *)p) = cpu_to_le16(val); cpu_to_le16 9 include/net/dn.h #define dn_htons(x) cpu_to_le16(x) cpu_to_le16 119 init/do_mounts_rd.c if (ext2sb->s_magic == cpu_to_le16(EXT2_SUPER_MAGIC)) { cpu_to_le16 95 net/9p/conv.c *(__le16 *) buf->p = cpu_to_le16(val); cpu_to_le16 527 net/9p/conv.c *(__le16 *) (fc->sdata + 5) = cpu_to_le16(tag); cpu_to_le16 79 net/bluetooth/hci_conn.c cpu_to_le16(0x8000); cpu_to_le16 86 net/bluetooth/hci_conn.c cp.pkt_type = cpu_to_le16(conn->pkt_type); cpu_to_le16 116 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 131 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(handle); cpu_to_le16 132 net/bluetooth/hci_conn.c cp.pkt_type = cpu_to_le16(conn->pkt_type); cpu_to_le16 147 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(handle); cpu_to_le16 148 net/bluetooth/hci_conn.c cp.pkt_type = cpu_to_le16(conn->pkt_type); cpu_to_le16 152 net/bluetooth/hci_conn.c cp.max_latency = cpu_to_le16(0xffff); cpu_to_le16 153 net/bluetooth/hci_conn.c cp.voice_setting = cpu_to_le16(hdev->voice_setting); cpu_to_le16 409 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 430 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 446 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 487 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 515 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 516 net/bluetooth/hci_conn.c cp.max_latency = cpu_to_le16(0); cpu_to_le16 517 net/bluetooth/hci_conn.c cp.min_remote_timeout = cpu_to_le16(0); cpu_to_le16 518 net/bluetooth/hci_conn.c cp.min_local_timeout = cpu_to_le16(0); cpu_to_le16 524 net/bluetooth/hci_conn.c cp.handle = cpu_to_le16(conn->handle); cpu_to_le16 525 net/bluetooth/hci_conn.c cp.max_interval = cpu_to_le16(hdev->sniff_max_interval); cpu_to_le16 526 net/bluetooth/hci_conn.c cp.min_interval = cpu_to_le16(hdev->sniff_min_interval); cpu_to_le16 527 net/bluetooth/hci_conn.c cp.attempt = cpu_to_le16(4); cpu_to_le16 528 net/bluetooth/hci_conn.c cp.timeout = cpu_to_le16(1); cpu_to_le16 224 net/bluetooth/hci_core.c cp.acl_mtu = cpu_to_le16(HCI_MAX_ACL_SIZE); cpu_to_le16 226 net/bluetooth/hci_core.c cp.acl_max_pkt = cpu_to_le16(0xffff); cpu_to_le16 227 net/bluetooth/hci_core.c cp.sco_max_pkt = cpu_to_le16(0xffff); cpu_to_le16 251 net/bluetooth/hci_core.c param = cpu_to_le16(0x8000); cpu_to_le16 255 net/bluetooth/hci_core.c param = cpu_to_le16(0x7d00); cpu_to_le16 291 net/bluetooth/hci_core.c __le16 policy = cpu_to_le16(opt); cpu_to_le16 1152 net/bluetooth/hci_core.c hdr->opcode = cpu_to_le16(opcode); cpu_to_le16 1178 net/bluetooth/hci_core.c if (hdr->opcode != cpu_to_le16(opcode)) cpu_to_le16 1195 net/bluetooth/hci_core.c hdr->handle = cpu_to_le16(hci_handle_pack(handle, flags)); cpu_to_le16 1196 net/bluetooth/hci_core.c hdr->dlen = cpu_to_le16(len); cpu_to_le16 1258 net/bluetooth/hci_core.c hdr.handle = cpu_to_le16(conn->handle); cpu_to_le16 897 net/bluetooth/hci_event.c cp.pkt_type = cpu_to_le16(conn->pkt_type); cpu_to_le16 980 net/bluetooth/hci_event.c cp.pkt_type = cpu_to_le16(conn->pkt_type); cpu_to_le16 984 net/bluetooth/hci_event.c cp.max_latency = cpu_to_le16(0xffff); cpu_to_le16 985 net/bluetooth/hci_event.c cp.content_format = cpu_to_le16(hdev->voice_setting); cpu_to_le16 322 net/bluetooth/l2cap.c req.scid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 332 net/bluetooth/l2cap.c req.type = cpu_to_le16(L2CAP_IT_FEAT_MASK); cpu_to_le16 366 net/bluetooth/l2cap.c req.scid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 376 net/bluetooth/l2cap.c rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 377 net/bluetooth/l2cap.c rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 381 net/bluetooth/l2cap.c rsp.result = cpu_to_le16(L2CAP_CR_SUCCESS); cpu_to_le16 382 net/bluetooth/l2cap.c rsp.status = cpu_to_le16(L2CAP_CS_NO_INFO); cpu_to_le16 384 net/bluetooth/l2cap.c rsp.result = cpu_to_le16(L2CAP_CR_PEND); cpu_to_le16 385 net/bluetooth/l2cap.c rsp.status = cpu_to_le16(L2CAP_CS_AUTHEN_PEND); cpu_to_le16 624 net/bluetooth/l2cap.c req.dcid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 625 net/bluetooth/l2cap.c req.scid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 796 net/bluetooth/l2cap.c if (l2cap_pi(sk)->psm == cpu_to_le16(0x0001)) cpu_to_le16 801 net/bluetooth/l2cap.c if (l2cap_pi(sk)->psm == cpu_to_le16(0x0001)) cpu_to_le16 1041 net/bluetooth/l2cap.c lh->cid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 1042 net/bluetooth/l2cap.c lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); cpu_to_le16 1331 net/bluetooth/l2cap.c lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); cpu_to_le16 1332 net/bluetooth/l2cap.c lh->cid = cpu_to_le16(0x0001); cpu_to_le16 1337 net/bluetooth/l2cap.c cmd->len = cpu_to_le16(dlen); cpu_to_le16 1419 net/bluetooth/l2cap.c *((__le16 *) opt->val) = cpu_to_le16(val); cpu_to_le16 1449 net/bluetooth/l2cap.c req->dcid = cpu_to_le16(pi->dcid); cpu_to_le16 1450 net/bluetooth/l2cap.c req->flags = cpu_to_le16(0); cpu_to_le16 1527 net/bluetooth/l2cap.c rsp->scid = cpu_to_le16(pi->dcid); cpu_to_le16 1528 net/bluetooth/l2cap.c rsp->result = cpu_to_le16(result); cpu_to_le16 1529 net/bluetooth/l2cap.c rsp->flags = cpu_to_le16(0x0000); cpu_to_le16 1541 net/bluetooth/l2cap.c rsp->scid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 1542 net/bluetooth/l2cap.c rsp->result = cpu_to_le16(result); cpu_to_le16 1543 net/bluetooth/l2cap.c rsp->flags = cpu_to_le16(flags); cpu_to_le16 1586 net/bluetooth/l2cap.c if (psm != cpu_to_le16(0x0001) && cpu_to_le16 1651 net/bluetooth/l2cap.c rsp.scid = cpu_to_le16(scid); cpu_to_le16 1652 net/bluetooth/l2cap.c rsp.dcid = cpu_to_le16(dcid); cpu_to_le16 1653 net/bluetooth/l2cap.c rsp.result = cpu_to_le16(result); cpu_to_le16 1654 net/bluetooth/l2cap.c rsp.status = cpu_to_le16(status); cpu_to_le16 1659 net/bluetooth/l2cap.c info.type = cpu_to_le16(L2CAP_IT_FEAT_MASK); cpu_to_le16 1827 net/bluetooth/l2cap.c req.dcid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 1828 net/bluetooth/l2cap.c req.scid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 1865 net/bluetooth/l2cap.c rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 1866 net/bluetooth/l2cap.c rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 1911 net/bluetooth/l2cap.c rsp->type = cpu_to_le16(L2CAP_IT_FEAT_MASK); cpu_to_le16 1912 net/bluetooth/l2cap.c rsp->result = cpu_to_le16(L2CAP_IR_SUCCESS); cpu_to_le16 1918 net/bluetooth/l2cap.c rsp.type = cpu_to_le16(type); cpu_to_le16 1919 net/bluetooth/l2cap.c rsp.result = cpu_to_le16(L2CAP_IR_NOTSUPP); cpu_to_le16 2028 net/bluetooth/l2cap.c rej.reason = cpu_to_le16(0); cpu_to_le16 2222 net/bluetooth/l2cap.c req.scid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 2246 net/bluetooth/l2cap.c rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 2247 net/bluetooth/l2cap.c rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 2248 net/bluetooth/l2cap.c rsp.result = cpu_to_le16(result); cpu_to_le16 2249 net/bluetooth/l2cap.c rsp.status = cpu_to_le16(L2CAP_CS_NO_INFO); cpu_to_le16 2294 net/bluetooth/l2cap.c req.scid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 2318 net/bluetooth/l2cap.c rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); cpu_to_le16 2319 net/bluetooth/l2cap.c rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); cpu_to_le16 2320 net/bluetooth/l2cap.c rsp.result = cpu_to_le16(result); cpu_to_le16 2321 net/bluetooth/l2cap.c rsp.status = cpu_to_le16(L2CAP_CS_NO_INFO); cpu_to_le16 876 net/bluetooth/rfcomm/core.c rpn->param_mask = cpu_to_le16(param_mask); cpu_to_le16 1356 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_BITRATE)) { cpu_to_le16 1365 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_DATA)) { cpu_to_le16 1374 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_STOP)) { cpu_to_le16 1383 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_PARITY)) { cpu_to_le16 1392 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_FLOW)) { cpu_to_le16 1401 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_XON)) { cpu_to_le16 1410 net/bluetooth/rfcomm/core.c if (rpn->param_mask & cpu_to_le16(RFCOMM_RPN_PM_XOFF)) { cpu_to_le16 1050 net/ieee80211/ieee80211_rx.c qos_param->cw_min[i] = cpu_to_le16((1 << cw_min) - 1); cpu_to_le16 1053 net/ieee80211/ieee80211_rx.c qos_param->cw_max[i] = cpu_to_le16((1 << cw_max) - 1); cpu_to_le16 1059 net/ieee80211/ieee80211_rx.c qos_param->tx_op_limit[i] = cpu_to_le16(txop); cpu_to_le16 1606 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0xf)) ? '1' : '0', cpu_to_le16 1607 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0xe)) ? '1' : '0', cpu_to_le16 1608 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0xd)) ? '1' : '0', cpu_to_le16 1609 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0xc)) ? '1' : '0', cpu_to_le16 1610 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0xb)) ? '1' : '0', cpu_to_le16 1611 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0xa)) ? '1' : '0', cpu_to_le16 1612 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x9)) ? '1' : '0', cpu_to_le16 1613 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x8)) ? '1' : '0', cpu_to_le16 1614 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x7)) ? '1' : '0', cpu_to_le16 1615 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x6)) ? '1' : '0', cpu_to_le16 1616 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x5)) ? '1' : '0', cpu_to_le16 1617 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x4)) ? '1' : '0', cpu_to_le16 1618 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x3)) ? '1' : '0', cpu_to_le16 1619 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x2)) ? '1' : '0', cpu_to_le16 1620 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x1)) ? '1' : '0', cpu_to_le16 1621 net/ieee80211/ieee80211_rx.c (beacon->capability & cpu_to_le16(1 << 0x0)) ? '1' : '0'); cpu_to_le16 341 net/ieee80211/ieee80211_tx.c header.qos_ctl |= cpu_to_le16(skb->priority & IEEE80211_QCTL_TID); cpu_to_le16 343 net/ieee80211/ieee80211_tx.c header.frame_ctl = cpu_to_le16(fc); cpu_to_le16 450 net/ieee80211/ieee80211_tx.c cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_RTS); cpu_to_le16 456 net/ieee80211/ieee80211_tx.c header.frame_ctl = cpu_to_le16(fc); cpu_to_le16 482 net/ieee80211/ieee80211_tx.c cpu_to_le16(fc | IEEE80211_FCTL_MOREFRAGS); cpu_to_le16 1046 net/irda/irlan/irlan_common.c tmp_le = cpu_to_le16(value_len); cpu_to_le16 1055 net/irda/irlan/irlan_common.c tmp_le = cpu_to_le16(value_short); cpu_to_le16 177 net/irda/parameters.c p.pv.i = cpu_to_le16((__u16) p.pv.i); cpu_to_le16 97 net/mac80211/ht.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 110 net/mac80211/ht.c mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab); cpu_to_le16 112 net/mac80211/ht.c mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout); cpu_to_le16 114 net/mac80211/ht.c cpu_to_le16(start_seq_num << 4); cpu_to_le16 146 net/mac80211/ht.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 158 net/mac80211/ht.c mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); cpu_to_le16 159 net/mac80211/ht.c mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); cpu_to_le16 160 net/mac80211/ht.c mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); cpu_to_le16 192 net/mac80211/ht.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 202 net/mac80211/ht.c mgmt->u.action.u.delba.params = cpu_to_le16(params); cpu_to_le16 203 net/mac80211/ht.c mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); cpu_to_le16 224 net/mac80211/ht.c bar->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | cpu_to_le16 231 net/mac80211/ht.c bar->control = cpu_to_le16(bar_control); cpu_to_le16 232 net/mac80211/ht.c bar->start_seq_num = cpu_to_le16(ssn); cpu_to_le16 458 net/mac80211/main.c hdr->frame_control &= ~cpu_to_le16(IEEE80211_STYPE_QOS_DATA); cpu_to_le16 656 net/mac80211/main.c rthdr->hdr.it_len = cpu_to_le16(sizeof(*rthdr)); cpu_to_le16 663 net/mac80211/main.c rthdr->tx_flags |= cpu_to_le16(IEEE80211_RADIOTAP_F_TX_FAIL); cpu_to_le16 667 net/mac80211/main.c rthdr->tx_flags |= cpu_to_le16(IEEE80211_RADIOTAP_F_TX_CTS); cpu_to_le16 669 net/mac80211/main.c rthdr->tx_flags |= cpu_to_le16(IEEE80211_RADIOTAP_F_TX_RTS); cpu_to_le16 102 net/mac80211/mesh_hwmp.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 181 net/mac80211/mesh_hwmp.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 166 net/mac80211/mesh_plink.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 177 net/mac80211/mesh_plink.c mgmt->u.action.u.plink_action.aux = cpu_to_le16(0x0); cpu_to_le16 303 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_MAX_RETRIES); cpu_to_le16 308 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CONFIRM_TIMEOUT); cpu_to_le16 384 net/mac80211/mesh_plink.c sta->reason = cpu_to_le16(MESH_LINK_CANCELLED); cpu_to_le16 595 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CAPABILITY_POLICY_VIOLATION); cpu_to_le16 598 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CLOSE_RCVD); cpu_to_le16 637 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CAPABILITY_POLICY_VIOLATION); cpu_to_le16 640 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CLOSE_RCVD); cpu_to_le16 676 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CAPABILITY_POLICY_VIOLATION); cpu_to_le16 679 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CLOSE_RCVD); cpu_to_le16 710 net/mac80211/mesh_plink.c reason = cpu_to_le16(MESH_CLOSE_RCVD); cpu_to_le16 156 net/mac80211/mlme.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 216 net/mac80211/mlme.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 219 net/mac80211/mlme.c mgmt->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); cpu_to_le16 223 net/mac80211/mlme.c mgmt->u.auth.auth_alg = cpu_to_le16(ifsta->auth_alg); cpu_to_le16 224 net/mac80211/mlme.c mgmt->u.auth.auth_transaction = cpu_to_le16(transaction); cpu_to_le16 226 net/mac80211/mlme.c mgmt->u.auth.status_code = cpu_to_le16(0); cpu_to_le16 301 net/mac80211/mlme.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 303 net/mac80211/mlme.c mgmt->u.reassoc_req.capab_info = cpu_to_le16(capab); cpu_to_le16 305 net/mac80211/mlme.c cpu_to_le16(local->hw.conf.listen_interval); cpu_to_le16 310 net/mac80211/mlme.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 312 net/mac80211/mlme.c mgmt->u.assoc_req.capab_info = cpu_to_le16(capab); cpu_to_le16 314 net/mac80211/mlme.c cpu_to_le16(local->hw.conf.listen_interval); cpu_to_le16 419 net/mac80211/mlme.c tmp = cpu_to_le16(cap); cpu_to_le16 463 net/mac80211/mlme.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); cpu_to_le16 466 net/mac80211/mlme.c mgmt->u.deauth.reason_code = cpu_to_le16(reason); cpu_to_le16 1423 net/mac80211/mlme.c mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 1429 net/mac80211/mlme.c cpu_to_le16(local->hw.conf.beacon_int); cpu_to_le16 1431 net/mac80211/mlme.c mgmt->u.beacon.capab_info = cpu_to_le16(bss->capability); cpu_to_le16 129 net/mac80211/rx.c rthdr->it_len = cpu_to_le16(rtap_len); cpu_to_le16 155 net/mac80211/rx.c *(__le16 *)pos = cpu_to_le16(status->freq); cpu_to_le16 158 net/mac80211/rx.c *(__le16 *)pos = cpu_to_le16(IEEE80211_CHAN_OFDM | cpu_to_le16 161 net/mac80211/rx.c *(__le16 *)pos = cpu_to_le16(IEEE80211_CHAN_OFDM | cpu_to_le16 164 net/mac80211/rx.c *(__le16 *)pos = cpu_to_le16(IEEE80211_CHAN_CCK | cpu_to_le16 206 net/mac80211/rx.c *(__le16 *)pos |= cpu_to_le16(IEEE80211_RADIOTAP_F_RX_BADFCS); cpu_to_le16 845 net/mac80211/rx.c cpu_to_le16(IEEE80211_FCTL_FTYPE)) || cpu_to_le16 1012 net/mac80211/rx.c hdr->frame_control &= cpu_to_le16(~IEEE80211_FCTL_MOREDATA); cpu_to_le16 1014 net/mac80211/rx.c hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); cpu_to_le16 1055 net/mac80211/rx.c hdr->frame_control &= ~cpu_to_le16(IEEE80211_STYPE_QOS_DATA); cpu_to_le16 1123 net/mac80211/rx.c cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS)) { cpu_to_le16 1700 net/mac80211/rx.c rthdr->hdr.it_len = cpu_to_le16(sizeof(*rthdr)); cpu_to_le16 1707 net/mac80211/rx.c rthdr->chan_freq = cpu_to_le16(status->freq); cpu_to_le16 1710 net/mac80211/rx.c rthdr->chan_flags = cpu_to_le16(IEEE80211_CHAN_OFDM | cpu_to_le16 1713 net/mac80211/rx.c rthdr->chan_flags = cpu_to_le16(IEEE80211_CHAN_DYN | cpu_to_le16 2150 net/mac80211/rx.c if (unlikely(hdr->frame_control & cpu_to_le16(IEEE80211_STYPE_NULLFUNC))) cpu_to_le16 415 net/mac80211/scan.c fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_NULLFUNC | cpu_to_le16 418 net/mac80211/scan.c fc |= cpu_to_le16(IEEE80211_FCTL_PM); cpu_to_le16 48 net/mac80211/spectmgmt.c msr_report->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 95 net/mac80211/tx.c return cpu_to_le16(32768); cpu_to_le16 165 net/mac80211/tx.c return cpu_to_le16(dur); cpu_to_le16 624 net/mac80211/tx.c hdr->seq_ctrl = cpu_to_le16(*seq); cpu_to_le16 667 net/mac80211/tx.c hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREFRAGS); cpu_to_le16 695 net/mac80211/tx.c fhdr->frame_control &= cpu_to_le16(~IEEE80211_FCTL_MOREFRAGS); cpu_to_le16 696 net/mac80211/tx.c fhdr->seq_ctrl = cpu_to_le16(seq | ((i + 1) & IEEE80211_SCTL_FRAG)); cpu_to_le16 1474 net/mac80211/tx.c fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA); cpu_to_le16 1479 net/mac80211/tx.c fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS); cpu_to_le16 1487 net/mac80211/tx.c fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS); cpu_to_le16 1497 net/mac80211/tx.c fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS); cpu_to_le16 1546 net/mac80211/tx.c fc |= cpu_to_le16(IEEE80211_FCTL_TODS); cpu_to_le16 1581 net/mac80211/tx.c fc |= cpu_to_le16(IEEE80211_STYPE_QOS_DATA); cpu_to_le16 1915 net/mac80211/tx.c hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | cpu_to_le16 1932 net/mac80211/tx.c cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_BEACON); cpu_to_le16 1937 net/mac80211/tx.c cpu_to_le16(local->hw.conf.beacon_int); cpu_to_le16 1995 net/mac80211/tx.c cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_RTS); cpu_to_le16 2011 net/mac80211/tx.c cpu_to_le16(IEEE80211_FTYPE_CTL | IEEE80211_STYPE_CTS); cpu_to_le16 2061 net/mac80211/tx.c cpu_to_le16(IEEE80211_FCTL_MOREDATA); cpu_to_le16 116 net/mac80211/util.c if ((fc & cpu_to_le16(0x00E0)) == cpu_to_le16(0x00C0)) cpu_to_le16 162 net/mac80211/util.c hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); cpu_to_le16 169 net/mac80211/util.c fhdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); cpu_to_le16 250 net/mac80211/util.c return cpu_to_le16(dur); cpu_to_le16 290 net/mac80211/util.c return cpu_to_le16(dur); cpu_to_le16 329 net/mac80211/util.c return cpu_to_le16(dur); cpu_to_le16 91 net/mac80211/wep.c hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); cpu_to_le16 293 net/mac80211/wpa.c mask_fc &= ~cpu_to_le16(0x0070 | IEEE80211_FCTL_RETRY | cpu_to_le16 295 net/mac80211/wpa.c mask_fc |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); cpu_to_le16 396 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c command->command = cpu_to_le16(cmd); cpu_to_le16 399 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c command->req_count = cpu_to_le16(periodsize); cpu_to_le16 403 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); cpu_to_le16 408 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c command->command = cpu_to_le16(DBDMA_STOP); cpu_to_le16 784 sound/pci/echoaudio/echoaudio_dsp.c chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); cpu_to_le16 216 sound/pci/echoaudio/layla20_dsp.c chip->comm_page->input_clock = cpu_to_le16(clock); cpu_to_le16 246 sound/pci/echoaudio/layla20_dsp.c chip->comm_page->output_clock = cpu_to_le16(clock); cpu_to_le16 55 sound/pci/oxygen/oxygen_io.c chip->saved_registers._16[reg / 2] = cpu_to_le16(value); cpu_to_le16 84 sound/pci/oxygen/oxygen_io.c chip->saved_registers._16[reg / 2] = cpu_to_le16(tmp); cpu_to_le16 378 sound/pcmcia/vx/vxp_ops.c outw(cpu_to_le16(*addr), port); cpu_to_le16 388 sound/pcmcia/vx/vxp_ops.c outw(cpu_to_le16(*addr), port); cpu_to_le16 1887 sound/usb/usbmixer.c mixer->rc_setup_packet->wValue = cpu_to_le16(0); cpu_to_le16 1888 sound/usb/usbmixer.c mixer->rc_setup_packet->wIndex = cpu_to_le16(0); cpu_to_le16 1889 sound/usb/usbmixer.c mixer->rc_setup_packet->wLength = cpu_to_le16(len);