Searched refs:max_buf (Results 1 – 1 of 1) sorted by relevance
1853 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local1868 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks()1869 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1876 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks()1878 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks()2234 unsigned int max_num, num, max_buf; in cifs_unlock_range() local2246 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range()2247 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()2252 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_unlock_range()2254 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range()