Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:54:46
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bio_alloc_rescue

Proto:static void bio_alloc_rescue(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
342  bs = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structbio_set, rescue_work)
345  When 1 cycle
346  spin_lock( & * Deadlock avoidance for stacking block drivers: see comments in * bio_alloc_bioset() for details)
347  bio = bio_list_pop( & rescue_list)
348  spin_unlock( & * Deadlock avoidance for stacking block drivers: see comments in * bio_alloc_bioset() for details)
350  If Not bio Then Break
353  generic_make_request(bio)