2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/arch
Al Viro bb6f619b3a [readdir] introduce ->iterate(), ctx->pos, dir_emit()
New method - ->iterate(file, ctx).  That's the replacement for ->readdir();
it takes callback from ctx->actor, uses ctx->pos instead of file->f_pos and
calls dir_emit(ctx, ...) instead of filldir(data, ...).  It does *not*
update file->f_pos (or look at it, for that matter); iterate_dir() does the
update.

Note that dir_emit() takes the offset from ctx->pos (and eventually
filldir_t will lose that argument).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-06-29 12:46:47 +04:00
..
alpha [readdir] introduce iterate_dir() and dir_context 2013-06-29 12:46:46 +04:00
arc consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
arm consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
arm64 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
avr32 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
blackfin consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
c6x consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
cris consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
frv consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
h8300 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
hexagon consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
ia64 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
m32r consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
m68k consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
metag consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
microblaze consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
mips consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
mn10300 mn10300: don't bother with VM_IO 2013-06-29 12:46:38 +04:00
openrisc consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
parisc [readdir] introduce ->iterate(), ctx->pos, dir_emit() 2013-06-29 12:46:47 +04:00
powerpc consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
s390 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
score consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
sh consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
sparc sparc: __pci_mmap_set_flags() is useless 2013-06-29 12:46:39 +04:00
tile consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
um consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
unicore32 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
x86 consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
xtensa consolidate io_remap_pfn_range definitions 2013-06-29 12:46:35 +04:00
.gitignore
Kconfig Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-05-15 14:04:00 -07:00