函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:too_many_pipe_buffers_soft

函数原型:static bool too_many_pipe_buffers_soft(unsigned long user_bufs)

返回类型:bool

参数:

类型参数名称
unsigned longuser_bufs
746  soft_limit等于READ_ONCE(pipe_user_pages_soft)
748  返回:soft_limituser_bufs大于soft_limit
调用者
名称描述
alloc_pipe_info
pipe_set_sizeAllocate a new array of pipe buffers and copy the info over. Returns the* pipe size if successful, or return -ERROR on error.