Lines Matching defs:buffer
206 /* Allocate and return pointer to an SMB request buffer, and set basic
239 struct smb_hdr *buffer;
245 buffer = (struct smb_hdr *)*request_buf;
246 buffer->Mid = get_next_mid(ses->server);
248 buffer->Flags2 |= SMBFLG2_UNICODE;
250 buffer->Flags2 |= SMBFLG2_ERR_STATUS;
272 /* from the mid flags when the request buffer can be resent without */
273 /* having to use a second distinct buffer for the response */
333 * less than negotiated smb buffer
1178 /* BB improve check for buffer overruns BB */
1476 /* return buffer to caller to free */
1482 } /* else no valid buffer on return - leave as null */
1544 /* Can increase buffer size if buffer is big enough in some cases ie we
1546 our buffer is big enough or if we convert to iovecs on socket writes
1547 and eliminate the copy to the CIFS buffer */
1562 /* No buffer */
1612 * Check the mid_state and signature on received buffer (if any), and queue the
2195 pSMB->OldFileName[name_len] = 0x04; /* 2nd buffer format */
2340 pSMB->OldFileName[name_len] = 0x04; /* 2nd buffer format */
2570 /* protocol specifies ASCII buffer format (0x04) for unicode */
2581 pSMB->OldFileName[name_len] = 0x04; /* 2nd buffer format */
2885 * If @acl is NULL then the size of the buffer required to store POSIX ACLs in
3286 * Initialize NT TRANSACT SMB into small smb request buffer. This assumes that
3288 * bytes (to fit in small cifs buffer size), which is the case so far, it
3446 /* check if buffer is big enough for the acl
3560 name_len++; /* account for buffer type byte */
3587 rc = -EIO; /* bad buffer passed in */
4357 } else { /* BB improve the check for buffer overruns BB */
5587 * buffer. When ea_name is NULL, it stuffs a list of attribute names into the
5588 * buffer. In both cases, the return value is either the length of the
5757 /* stop before overrun buffer */
5856 negotiated SMB buffer size BB */