Lines Matching refs:buffer
733 /* Azure rounds the buffer size up 8, to a 16 byte boundary */
1027 /* stop before overrun buffer */
1037 /* stop before overrun buffer */
1495 void *buffer = NULL;
1531 buffer = memdup_user(arg + sizeof(struct smb_query_info), qi.output_buffer_length);
1532 if (IS_ERR(buffer)) {
1533 rc = PTR_ERR(buffer);
1587 qi.info_type, buffer, qi.output_buffer_length,
1606 data[0] = buffer;
1621 qi.output_buffer_length, buffer);
1701 kfree(buffer);
2044 * Input buffer contains (empty) struct smb_snapshot array with size filled in
2059 * for this volume the buffer begins with 0 (number of snapshots
2061 * how big the buffer needs to be). On the second query,
2092 /* Fixup buffer */
2512 * We have to flatten this into a single buffer and add
2927 cifs_dbg(VFS, "srv returned malformed symlink buffer\n");
2948 cifs_dbg(VFS, "%s: reparse buffer is too small. Must be at least 8 bytes but was %d\n",
4440 * Clear a read buffer, discarding the folios which have XA_MARK_0 set.
4442 static void cifs_clear_xarray_buffer(struct xarray *buffer)
4446 XA_STATE(xas, buffer, 0);
4453 xa_destroy(buffer);
4492 struct xarray *buffer = &new->rq_buffer;
4499 xa_init(buffer);
4512 o = xa_store(buffer, j, page, GFP_KERNEL);
4519 xa_set_mark(buffer, j, XA_MARK_0);
4529 buffer, 0, size);
4767 struct xarray buffer;
4781 iov_iter_xarray(&iter, ITER_DEST, &dw->buffer, 0, dw->len);
4797 &dw->buffer, dw->len,
4830 cifs_clear_xarray_buffer(&dw->buffer);
4853 xa_init(&dw->buffer);
4879 old = xa_store(&dw->buffer, i, page, GFP_KERNEL);
4885 xa_set_mark(&dw->buffer, i, XA_MARK_0);
4888 iov_iter_xarray(&iter, ITER_DEST, &dw->buffer, 0, npages * PAGE_SIZE);
4890 /* Read the data into the buffer and clear excess bufferage. */
4933 &dw->buffer, dw->len, false);
4943 cifs_clear_xarray_buffer(&dw->buffer);
4969 /* switch to large buffer if too big for a small one */