milos-linux/arch/alpha/kernel
Al Viro 1da91ea87a introduce fd_file(), convert all accessors to it.
For any changes of struct fd representation we need to
turn existing accesses to fields into calls of wrappers.
Accesses to struct fd::flags are very few (3 in linux/file.h,
1 in net/socket.c, 3 in fs/overlayfs/file.c and 3 more in
explicit initializers).
	Those can be dealt with in the commit converting to
new layout; accesses to struct fd::file are too many for that.
	This commit converts (almost) all of f.file to
fd_file(f).  It's not entirely mechanical ('file' is used as
a member name more than just in struct fd) and it does not
even attempt to distinguish the uses in pointer context from
those in boolean context; the latter will be eventually turned
into a separate helper (fd_empty()).

	NOTE: mass conversion to fd_empty(), tempting as it
might be, is a bad idea; better do that piecewise in commit
that convert from fdget...() to CLASS(...).

[conflicts in fs/fhandle.c, kernel/bpf/syscall.c, mm/memcontrol.c
caught by git; fs/stat.c one got caught by git grep]
[fs/xattr.c conflict]

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2024-08-12 22:00:43 -04:00
..
syscalls mseal: wire up mseal syscall 2024-05-23 19:40:26 -07:00
.gitignore
asm-offsets.c alpha: trim the unused stuff from asm-offsets.c 2024-05-03 22:09:43 +02:00
audit.c
bugs.c alpha: missing includes 2024-05-03 22:09:30 +02:00
console.c alpha: missing includes 2024-05-03 22:09:30 +02:00
core_cia.c alpha: don't make functions public without a reason 2024-05-03 22:09:21 +02:00
core_irongate.c alpha: missing includes 2024-05-03 22:09:30 +02:00
core_marvel.c alpha: don't make functions public without a reason 2024-05-03 22:09:21 +02:00
core_mcpcia.c
core_polaris.c
core_t2.c alpha: jensen, t2 - make __EXTERN_INLINE same as for the rest 2024-05-03 22:09:37 +02:00
core_titan.c
core_tsunami.c
core_wildfire.c alpha: don't make functions public without a reason 2024-05-03 22:09:21 +02:00
entry.S alpha: add clone3() support 2024-05-03 22:09:17 +02:00
err_common.c
err_ev6.c
err_ev7.c
err_impl.h
err_marvel.c
err_titan.c
es1888.c
gct.c
head.S
io.c alpha: sort scr_mem{cpy,move}w() out 2024-05-03 22:08:50 +02:00
irq.c alpha: missing includes 2024-05-03 22:09:30 +02:00
irq_alpha.c
irq_i8259.c alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
irq_impl.h
irq_pyxis.c
irq_srm.c
machvec_impl.h alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
Makefile alpha: cabriolet: remove EV5 CPU support 2024-05-03 22:10:03 +02:00
module.c
osf_sys.c introduce fd_file(), convert all accessors to it. 2024-08-12 22:00:43 -04:00
pc873xx.c
pc873xx.h
pci-sysfs.c
pci.c
pci_impl.h alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
pci_iommu.c change alloc_pages name in dma_map_ops to avoid name conflicts 2024-04-25 20:55:53 -07:00
perf_event.c alpha: don't make functions public without a reason 2024-05-03 22:09:21 +02:00
process.c
proto.h alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
ptrace.c
rtc.c rtc: Add support for configuring the UIP timeout for RTC reads 2023-12-17 22:33:55 +01:00
setup.c alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
signal.c
smc37c93x.c alpha: missing includes 2024-05-03 22:09:30 +02:00
smc37c669.c alpha: missing includes 2024-05-03 22:09:30 +02:00
smp.c alpha: missing includes 2024-05-03 22:09:30 +02:00
srm_env.c
srmcons.c alpha: missing includes 2024-05-03 22:09:30 +02:00
sys_alcor.c
sys_cabriolet.c alpha: cabriolet: remove EV5 CPU support 2024-05-03 22:10:03 +02:00
sys_dp264.c
sys_eiger.c
sys_marvel.c
sys_miata.c alpha: Streamline convoluted PCI error handling 2023-10-10 16:26:56 -05:00
sys_mikasa.c alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
sys_nautilus.c alpha: missing includes 2024-05-03 22:09:30 +02:00
sys_noritake.c alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
sys_rawhide.c
sys_ruffian.c
sys_rx164.c
sys_sable.c alpha: sable: remove early machine support 2024-05-03 22:09:55 +02:00
sys_sx164.c
sys_takara.c
sys_titan.c
sys_wildfire.c
systbls.S
termios.c
time.c
traps.c alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
vmlinux.lds.S