| Function report | 
| Source Code: block\bio.c | Create Date:2022-07-28 16:56:40 | 
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:_associate_blkg_from_css - associate a bio with a specified css*@bio: target bio*@css: target css* Associate @bio with the blkg found by combining the css's blkg and the* request_queue of the @bio. This falls back to the queue's root_blkg if
Proto:void bio_associate_blkg_from_css(struct bio *bio, struct cgroup_subsys_state *css)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bio * | bio | |
| struct cgroup_subsys_state * | css | 
| 2106 | If Not css || Not PI: the parent css. Placed here for cache proximity to following* fields of the containing structure. Then blkg = root_blkg | 
| 2108 | Else blkg = blkg_lookup_create(css_to_blkcg(css), q) | 
| Name | Describe | 
|---|---|
| bio_associate_blkg_from_page | _associate_blkg_from_page - associate a bio with the page's blkg*@bio: target bio*@page: the page to lookup the blkcg from* Associate @bio with the blkg from @page's owning memcg and the respective* request_queue | 
| bio_associate_blkg | _associate_blkg - associate a bio with a blkg*@bio: target bio* Associate @bio with the blkg found from the bio's css and request_queue | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |