Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\backing-dev.c Create Date:2022-07-28 14:24:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:release_bdi

Proto:static void release_bdi(struct kref *ref)

Type:void

Parameter:

TypeParameterName
struct kref *ref
1029  bdi = 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.(ref, structbacking_dev_info, refcnt)
1032  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then bdi_unregister(bdi)
1034  WARN_ON_ONCE(dev)
1035  wb_exit( & the root writeback info for this bdi )
1036  cgwb_bdi_exit(bdi)
1037  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.