Lines Matching refs:size
1903 /* Can increase buffer size if buffer is big enough in some cases ie we
1924 } /* else setting file size with write of zero bytes */
3437 int size = 0;
3450 size = sizeof(struct cifs_posix_acl);
3451 size += sizeof(struct cifs_posix_ace) * count;
3453 if (size_of_data_area < size) {
3454 cifs_dbg(FYI, "bad CIFS POSIX ACL size %d vs. %d\n",
3455 size_of_data_area, size);
3460 size = sizeof(struct cifs_posix_acl);
3461 size += sizeof(struct cifs_posix_ace) * count;
3465 size += sizeof(struct cifs_posix_ace) * count;
3467 if (size_of_data_area < size)
3474 size = posix_acl_xattr_size(count);
3476 /* used to query ACL EA size */
3477 } else if (size > buflen) {
3488 return size;
3670 /* BB find max SMB size from sess */
3780 cifs_dbg(FYI, "Invalid size ret in GetExtAttr\n");
3802 * bytes (to fit in small cifs buffer size), which is the case so far, it
3803 * easily fits. NB: Setup words themselves and ByteCount MaxSetupCount (size of
3804 * returned setup area) and MaxParameterCount (returned parms size) must be set
4096 cpu_to_le64(le32_to_cpu(pSMBr->size));
4253 int size;
4263 size = sizeof(FILE_INFO_STANDARD);
4265 size = sizeof(FILE_ALL_INFO);
4267 data_offset, size);
4825 cifs_dbg(FYI, "Invalid size ret in QryIntrnlInf\n");
5021 * a valid size than 4K is a reasonable minimum
5030 cifs_dbg(FYI, "Blocks: %lld Free: %lld Block size %ld\n",
5108 * a valid size than 4K is a reasonable minimum
5117 cifs_dbg(FYI, "Blocks: %lld Free: %lld Block size %ld\n",
5478 * a valid size than 4K is a reasonable minimum
5511 * We can not use write of zero bytes trick to set file size due to need for
5518 const char *file_name, __u64 size, struct cifs_sb_info *cifs_sb,
5590 parm_data->FileSize = cpu_to_le64(size);
5595 cifs_dbg(FYI, "SetPathInfo (file size) returned %d\n", rc);
5607 struct cifsFileInfo *cfile, __u64 size, bool set_allocation)
5615 (long long)size);
5650 parm_data->FileSize = cpu_to_le64(size);
5988 * Samba server ignores set of file size to zero due to bugs in some
5990 * set file size and do not want to truncate file size to zero
6337 /* skip copy - calc size only */
6438 negotiated SMB buffer size BB */