Home
last modified time | relevance | path

Searched refs:stream_buf (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/fs/ksmbd/
Dvfs.c284 char *stream_buf = NULL; in ksmbd_vfs_stream_read() local
293 &stream_buf); in ksmbd_vfs_stream_read()
305 memcpy(buf, &stream_buf[*pos], count); in ksmbd_vfs_stream_read()
308 kvfree(stream_buf); in ksmbd_vfs_stream_read()
414 char *stream_buf = NULL, *wbuf; in ksmbd_vfs_stream_write() local
432 &stream_buf); in ksmbd_vfs_stream_write()
447 memcpy(wbuf, stream_buf, v_len); in ksmbd_vfs_stream_write()
448 kvfree(stream_buf); in ksmbd_vfs_stream_write()
449 stream_buf = wbuf; in ksmbd_vfs_stream_write()
452 memcpy(&stream_buf[*pos], buf, count); in ksmbd_vfs_stream_write()
[all …]
Dsmb2pdu.c4441 char *stream_name, *xattr_list = NULL, *stream_buf; in get_file_stream_info() local
4484 stream_buf = kmalloc(streamlen + 1, GFP_KERNEL); in get_file_stream_info()
4485 if (!stream_buf) in get_file_stream_info()
4488 streamlen = snprintf(stream_buf, streamlen + 1, in get_file_stream_info()
4497 stream_buf, streamlen, in get_file_stream_info()
4500 kfree(stream_buf); in get_file_stream_info()