summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2012-03-23 22:02:55 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 23:58:42 (GMT)
commite075f59152890ffd7e3d704afc997dd686c8a781 (patch)
tree94dbf5eda32d7dea9821ca308c4317e75756f7bd /include/linux/pci.h
parent1b26c9b334044cff6d1d2698f2be41bc7d9a0864 (diff)
downloadlinux-fsl-qoriq-e075f59152890ffd7e3d704afc997dd686c8a781.tar.xz
seq_file: add seq_set_overflow(), seq_overflow()
It is undocumented but a seq_file's overflow state is indicated by m->count == m->size. Add seq_set_overflow() and seq_overflow() to set/check overflow status explicitly. Based on an idea from Eric Dumazet. [akpm@linux-foundation.org: tweak code comment] Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions