函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\splice.c Create Date:2022-07-29 10:42:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wakeup_pipe_writers

函数原型:static void wakeup_pipe_writers(struct pipe_inode_info *pipe)

返回类型:void

参数:

类型参数名称
struct pipe_inode_info *pipe
464  smp_mb()
465  如果waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_wake_up_interruptible( & wait)
467  kill_fasync( & fasync_writers, SIGIO, utput buffers available )
调用者
名称描述
splice_from_pipe_nextsplice_from_pipe_next - wait for some data to splice from*@pipe: pipe to splice from*@sd: information about the splice operation* Description:* This function will wait for some data and return a positive* value (one) if pipe buffers are available
splice_from_pipe_endsplice_from_pipe_end - finish splicing from pipe*@pipe: pipe to splice from*@sd: information about the splice operation* Description:* This function will wake up pipe writers if necessary
splice_pipe_to_pipe