• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/

Lines Matching refs:ByteCount

411 	pSMB->ByteCount = cpu_to_le16(count);
581 count = pSMBr->ByteCount;
807 pSMB->ByteCount = cpu_to_le16(byte_count);
853 pSMB->ByteCount = cpu_to_le16(name_len + 1);
897 pSMB->ByteCount = cpu_to_le16(name_len + 1);
940 pSMB->ByteCount = cpu_to_le16(name_len + 1);
1018 pSMB->ByteCount = cpu_to_le16(byte_count);
1029 if (rc || (pSMBr->ByteCount < sizeof(OPEN_PSX_RSP))) {
1050 if (pSMBr->ByteCount < sizeof(OPEN_PSX_RSP)
1182 pSMB->ByteCount = cpu_to_le16(count);
1293 pSMB->ByteCount = cpu_to_le16(count);
1367 pSMB->ByteCount = 0; /* no need to do le conversion since 0 */
1372 pSMBW->ByteCount = 0;
1513 pSMB->ByteCount = cpu_to_le16(byte_count);
1518 pSMBW->ByteCount = cpu_to_le16(byte_count);
1600 pSMB->ByteCount = cpu_to_le16(count + 1);
1604 pSMBW->ByteCount = cpu_to_le16(count + 5);
1697 pSMB->ByteCount = cpu_to_le16(count);
1788 pSMB->ByteCount = cpu_to_le16(byte_count);
1810 if (rc || (pSMBr->ByteCount < sizeof(struct cifs_posix_lock))) {
1871 pSMB->ByteCount = 0;
1900 pSMB->ByteCount = 0;
1961 pSMB->ByteCount = cpu_to_le16(count);
2041 pSMB->ByteCount = cpu_to_le16(byte_count);
2108 pSMB->ByteCount = cpu_to_le16(count);
2198 pSMB->ByteCount = cpu_to_le16(byte_count);
2284 pSMB->ByteCount = cpu_to_le16(byte_count);
2355 pSMB->ByteCount = cpu_to_le16(count);
2426 pSMB->ByteCount = cpu_to_le16(byte_count);
2437 if (rc || (pSMBr->ByteCount < 2))
2468 Setup words themselves and ByteCount
2517 /* ByteCount was converted from little endian in SendReceive */
2518 end_of_smb = 2 /* sizeof byte count */ + pSMBr->ByteCount +
2519 (char *)&pSMBr->ByteCount;
2544 } else if (parm_count + data_count > pSMBr->ByteCount) {
2588 pSMB->ByteCount = 0;
2597 if ((pSMBr->ByteCount < 2) || (data_offset > 512)) {
2604 pSMBr->ByteCount + (char *)&pSMBr->ByteCount;
2851 pSMB->ByteCount = cpu_to_le16(byte_count);
2862 if (rc || (pSMBr->ByteCount < 2))
2945 pSMB->ByteCount = cpu_to_le16(byte_count);
3002 pSMB->t2.ByteCount = cpu_to_le16(byte_count);
3011 if (rc || (pSMBr->ByteCount < 2))
3068 pSMB->ByteCount = cpu_to_le16(11); /* 3 bytes pad + 8 bytes parm */
3170 pSMB->ByteCount = cpu_to_le16(byte_count+data_count);
3235 pSMB->ByteCount = cpu_to_le16(name_len);
3319 else if (pSMBr->ByteCount < 40)
3396 pSMB->ByteCount = cpu_to_le16(byte_count);
3407 else if (!legacy && (pSMBr->ByteCount < 40))
3409 else if (legacy && (pSMBr->ByteCount < 24))
3485 if (rc || (pSMBr->ByteCount < sizeof(FILE_UNIX_BASIC_INFO))) {
3562 pSMB->ByteCount = cpu_to_le16(byte_count);
3571 if (rc || (pSMBr->ByteCount < sizeof(FILE_UNIX_BASIC_INFO))) {
3676 pSMB->ByteCount = cpu_to_le16(byte_count);
3805 pSMB->ByteCount = cpu_to_le16(byte_count);
3894 pSMB->ByteCount = 0;
3965 pSMB->ByteCount = cpu_to_le16(byte_count);
3974 if (rc || (pSMBr->ByteCount < 2))
4189 pSMB->ByteCount = cpu_to_le16(byte_count);
4200 if (rc || (pSMBr->ByteCount < 17)) {
4206 pSMBr->ByteCount,
4263 pSMB->ByteCount = cpu_to_le16(byte_count);
4272 if (rc || (pSMBr->ByteCount < 18))
4277 pSMBr->ByteCount, data_offset);
4342 pSMB->ByteCount = cpu_to_le16(byte_count);
4351 if (rc || (pSMBr->ByteCount < 24))
4422 pSMB->ByteCount = cpu_to_le16(byte_count);
4431 if (rc || (pSMBr->ByteCount < 13)) {
4493 pSMB->ByteCount = cpu_to_le16(byte_count);
4502 if (rc || (pSMBr->ByteCount < sizeof(FILE_SYSTEM_DEVICE_INFO)))
4562 pSMB->ByteCount = cpu_to_le16(byte_count);
4571 if (rc || (pSMBr->ByteCount < 13)) {
4645 pSMB->ByteCount = cpu_to_le16(byte_count);
4707 pSMB->ByteCount = cpu_to_le16(byte_count);
4716 if (rc || (pSMBr->ByteCount < 13)) {
4829 pSMB->ByteCount = cpu_to_le16(byte_count);
4910 pSMB->ByteCount = cpu_to_le16(byte_count);
4978 pSMB->ByteCount = cpu_to_le16(byte_count);
5037 pSMB->ByteCount = cpu_to_le16(byte_count);
5111 pSMB->ByteCount = cpu_to_le16(byte_count);
5162 pSMB->ByteCount = cpu_to_le16(name_len + 1);
5267 pSMB->ByteCount = cpu_to_le16(byte_count);
5346 pSMB->ByteCount = cpu_to_le16(byte_count);
5397 pSMB->ByteCount = 0;
5501 pSMB->ByteCount = cpu_to_le16(byte_count);
5516 if (rc || (pSMBr->ByteCount < 4)) {
5714 pSMB->ByteCount = cpu_to_le16(byte_count);