函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-27 06:46:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bio_set_flag

函数原型:static inline void bio_set_flag(struct bio *bio, unsigned int bit)

返回类型:void

参数:

类型参数名称
struct bio *bio
unsigned intbit
239  status, etc and bvec pool number 或等于1U左移bit
调用者
名称描述
__bio_clone_fast__bio_clone_fast - clone a bio that shares the original bio's biovec*@bio: destination bio*@bio_src: bio to clone* Clone a &bio. Caller will own the returned bio, but not* the actual data it points to. Reference count of returned* bio will be one.
__bio_add_page__bio_add_page - add page(s) to a bio in a new segment*@bio: destination bio*@page: start page to add*@len: length of the data to add, may cross pages*@off: offset of the data relative to @page, may cross pages
bio_iov_iter_get_pages_iov_iter_get_pages - add user or kernel pages to a bio*@bio: bio to add pages to*@iter: iov iterator describing the region to be added* This takes either an iterator pointing to user memory, or one pointing to* kernel pages (BVEC iterator)
bio_copy_user_iov_copy_user_iov - copy user data to bio*@q: destination block queue*@map_data: pointer to the rq_map_data holding pages (if necessary)*@iter: iovec iterator*@gfp_mask: memory allocation flags* Prepares and returns a bio for indirect user io, bouncing data
bio_map_user_iov_map_user_iov - map user iovec into bio*@q: the struct request_queue for the bio*@iter: iovec iterator*@gfp_mask: memory allocation flags* Map the user space address into a bio suitable for io to a block* device. Returns an error pointer in case of error.
bio_split_split - split a bio*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Allocates and returns a new bio which represents @sectors from the start of
req_bio_endio
generic_make_request_checks
__blk_queue_split__blk_queue_split - split a bio and submit the second half*@q: [in] request queue pointer*@bio: [in, out] bio to be split*@nr_segs: [out] number of segments in the first bio* Split a bio into two bios, chain the two bios, submit the second half and
throtl_charge_bio
blk_throtl_bio
bio_inc_remainingIncrement chain count for the bio. Make sure the CHAIN flag update* is visible before the raised count.
rq_qos_throttle