summaryrefslogtreecommitdiff
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-09 16:05:12 (GMT)
committerTejun Heo <tj@kernel.org>2013-01-09 16:05:12 (GMT)
commit16b3de6652c7aef151f38726faf90f0dbc9e9c71 (patch)
tree1b8e615c5261b677ff6a6a3b25fad46b34d1b64b /include/linux/i2c.h
parentb50da39f51139f81b3115d0f9d8632507f802755 (diff)
downloadlinux-fsl-qoriq-16b3de6652c7aef151f38726faf90f0dbc9e9c71.tar.xz
blkcg: implement blkg_[rw]stat_recursive_sum() and blkg_[rw]stat_merge()
Implement blkg_[rw]stat_recursive_sum() and blkg_[rw]stat_merge(). The former two collect the [rw]stats designated by the target policy data and offset from the pd's subtree. The latter two add one [rw]stat to another. Note that the recursive sum functions require the queue lock to be held on entry to make blkg online test reliable. This is necessary to properly handle stats of a dying blkg. These will be used to implement hierarchical stats. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions