Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\splice.c Create Date:2022-07-28 20:11:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:write_pipe_buf

Proto:static int write_pipe_buf(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd)

Type:int

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
struct pipe_buffer *buf
struct splice_desc *sd
806  tmp = le position
808  data = kmap(page)
809  ret = __kernel_write(le to read/write , data + offset, current length , & tmp)
810  kunmap(page)
812  Return ret