Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 1432) sorted by relevance

12345678910>>...58

/Linux-v4.19/fs/
Dfile.c148 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument
149 __releases(files->file_lock) in expand_fdtable()
150 __acquires(files->file_lock) in expand_fdtable()
154 spin_unlock(&files->file_lock); in expand_fdtable()
160 if (atomic_read(&files->count) > 1) in expand_fdtable()
163 spin_lock(&files->file_lock); in expand_fdtable()
174 cur_fdt = files_fdtable(files); in expand_fdtable()
177 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable()
178 if (cur_fdt != &files->fdtab) in expand_fdtable()
193 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files() argument
[all …]
Dpipe.c61 if (pipe->files) in pipe_lock_nested()
76 if (pipe->files) in pipe_unlock()
549 if (!--pipe->files) { in put_pipe_info()
717 pipe->files = 2; in get_pipe_inode()
773 static int __do_pipe_flags(int *fd, struct file **files, int flags) in __do_pipe_flags() argument
781 error = create_pipe_files(files, flags); in __do_pipe_flags()
803 fput(files[0]); in __do_pipe_flags()
804 fput(files[1]); in __do_pipe_flags()
810 struct file *files[2]; in do_pipe_flags() local
811 int error = __do_pipe_flags(fd, files, flags); in do_pipe_flags()
[all …]
/Linux-v4.19/scripts/
DMakefile.headersinst46 header-files := $(notdir $(wildcard $(srcdir)/*.h))
47 header-files += $(notdir $(wildcard $(srcdir)/*.agh))
48 header-files := $(filter-out $(no-export-headers), $(header-files))
49 genhdr-files := $(notdir $(wildcard $(gendir)/*.h))
50 genhdr-files := $(filter-out $(header-files), $(genhdr-files))
57 all-files := $(header-files) $(genhdr-files)
58 output-files := $(addprefix $(installdir)/, $(all-files))
61 missing := $(filter-out $(all-files),$(mandatory-y))
69 unwanted := $(filter-out $(all-files),$(oldheaders))
76 quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
[all …]
DMakefile.clean39 __clean-files := $(extra-y) $(extra-m) $(extra-) \
40 $(always) $(targets) $(clean-files) \
45 __clean-files := $(filter-out $(no-clean-files), $(__clean-files))
51 __clean-files := $(wildcard \
52 $(addprefix $(obj)/, $(filter-out $(objtree)/%, $(__clean-files))) \
53 $(filter $(objtree)/%, $(__clean-files)))
64 cmd_clean = rm -f $(__clean-files)
70 ifneq ($(strip $(__clean-files)),)
DMakefile.dtbinst22 dtbinst-files := $(sort $(dtb-y) $(if $(CONFIG_OF_ALL_DTBS), $(dtb-)))
31 $(dtbinst-files): %.dtb: $(obj)/%.dtb
37 PHONY += $(dtbinst-files) $(dtbinst-dirs)
38 __dtbs_install: $(dtbinst-files) $(dtbinst-dirs)
Dleaking_addresses.pl483 my @files = readdir(DIR);
486 foreach my $file (@files) {
521 my ($total, $dmesg, $paths, $files) = parse_raw_file($file);
530 squash_by($files, 'filename');
560 my %files; # Unique filenames containing leaks.
573 cache_filename(\%files, $line);
576 return $total, \@dmesg, \%paths, \%files;
629 my ($files, $line) = @_;
636 add_to_cache($files, $filename, substr($line, $index));
/Linux-v4.19/include/linux/
Dfdtable.h73 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument
74 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
76 #define files_fdtable(files) \ argument
77 rcu_dereference_check_fdtable((files), (files)->fdt)
82 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
84 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fcheck_files()
93 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument
96 !lockdep_is_held(&files->file_lock), in fcheck_files()
98 return __fcheck_files(files, fd); in fcheck_files()
104 #define fcheck(fd) fcheck_files(current->files, fd)
[all …]
/Linux-v4.19/tools/testing/selftests/rcutorture/bin/
Dkvm-find-errors.sh22 files=
28 files="$files $i.diags $i"
31 if test -n "$files"
33 $editor $files
43 files=
48 files="$files $i.diags $i"
51 if test -n "$files"
53 $editor $files
/Linux-v4.19/fs/proc/
Dfd.c22 struct files_struct *files = NULL; in seq_show() local
31 files = get_files_struct(task); in seq_show()
34 if (files) { in seq_show()
37 spin_lock(&files->file_lock); in seq_show()
38 file = fcheck_files(files, fd); in seq_show()
40 struct fdtable *fdt = files_fdtable(files); in seq_show()
49 spin_unlock(&files->file_lock); in seq_show()
50 put_files_struct(files); in seq_show()
60 show_fd_locks(m, file, files); in seq_show()
86 struct files_struct *files = get_files_struct(task); in tid_fd_mode() local
[all …]
/Linux-v4.19/
D.gitignore2 # NOTE! Don't add files that are generated in specific
6 # NOTE! Please use 'git ls-files -i --exclude-standard'
8 # any tracked files which get ignored after the change.
49 # Top-level generic files
82 # git files that we don't want to ignore even if they are dot-files
90 # Generated include files
100 # quilt's files
104 # cscope files
108 # gnu global files
114 # id-utils files
/Linux-v4.19/kernel/
Dkcmp.c69 if (task->files) in get_file_raw_ptr()
70 file = fcheck_files(task->files, idx); in get_file_raw_ptr()
110 struct files_struct *files; in kcmp_epoll_target() local
119 files = get_files_struct(task2); in kcmp_epoll_target()
120 if (!files) in kcmp_epoll_target()
123 spin_lock(&files->file_lock); in kcmp_epoll_target()
124 filp_epoll = fcheck_files(files, slot.efd); in kcmp_epoll_target()
129 spin_unlock(&files->file_lock); in kcmp_epoll_target()
130 put_files_struct(files); in kcmp_epoll_target()
203 ret = kcmp_ptr(task1->files, task2->files, KCMP_FILES); in SYSCALL_DEFINE5()
/Linux-v4.19/Documentation/filesystems/
Dfiles.txt4 This document describes how locking for files (struct file)
5 and file descriptor table (struct files) works.
8 with a lock (files->file_lock) and reference count (files->count).
15 The files (struct file) themselves are protected using
30 and files->fdtab points to the new structure. The fdtable
43 fdt = files_fdtable(files);
58 3. For any update to the fd table, files->file_lock must
83 file = fcheck_files(files, fd);
106 holding files->file_lock. If ->file_lock is dropped, then
107 another thread expand the files thereby creating a new
[all …]
Dhfs.txt21 used for creating new files. Default values: '????'.
24 Specifies the user/group that owns all files on the filesystems.
28 Specifies the umask used for all files , all directories or all
29 files and directories. Defaults to the umask of the mounting process.
53 and gid of files.
54 o You can't create hard- or symlinks, device files, sockets or FIFOs.
57 non-standard forks are represented as hidden additional files in the normal
61 o You can't create, delete or rename resource forks of files or the
65 o Copying files to a different filesystem will loose those attributes
Decryptfs.txt4 For documentation, please see the files in the doc/ subdirectory. For
31 eCryptfs, you should copy the files to an unencrypted location and
32 then copy the files back into the new eCryptfs mount to migrate the
33 files.
39 files (i.e., /root/crypt). Then, create the mount point directory
68 or (2) directories containing files only created by eCryptfs. If you
69 mount a directory that has pre-existing files not created by eCryptfs,
Disofs.txt3 gid=nnn All files in the partition will be in group nnn.
4 uid=nnn All files in the partition will be owned by user id nnn.
26 mode=xxx Sets the permissions on files to xxx unless Rock Ridge
30 overriderockperm Set permissions on files and directories according to
35 hide Completely strip hidden files from the file system.
36 showassoc Show files marked with the 'associated' bit
37 unhide Deprecated; showing hidden files is now default;
/Linux-v4.19/Documentation/dev-tools/
Dgcov.rst13 This will create source code files annotated with execution counts
58 To enable profiling for specific files or directories, add a line
65 - For all files in one directory::
69 To exclude files from being profiled even when CONFIG_GCOV_PROFILE_ALL
78 Only files which are linked to the main kernel image or are compiled as
85 The gcov kernel support creates the following files in debugfs:
88 Parent directory for all gcov-related files.
134 gcc version used for kernel build. Also the following files need to be
138 - all C source files + headers
141 - all C source files + headers
[all …]
/Linux-v4.19/arch/mips/
DKbuild1 # Fail on warnings - also for files referenced in subdirs
2 # -Werror can be disabled for specific files using:
16 # mips object files
17 # The object files are linked as core-y files would be linked
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_debugfs.c104 struct drm_info_list *files, in qxl_debugfs_add_files() argument
110 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files()
122 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files()
126 drm_debugfs_create_files(files, nfiles, in qxl_debugfs_add_files()
/Linux-v4.19/fs/jffs2/
DLICENCE1 The files in this directory and elsewhere which refer to this LICENCE
20 As a special exception, if other files instantiate templates or use
21 macros or inline functions from these files, or you compile these
22 files and link them with other works to produce a work based on these
23 files, these files do not by themselves cause the resulting work to be
25 these files must still be made available in accordance with section (3)
/Linux-v4.19/arch/s390/scripts/
DMakefile.chkbss14 chkbss-files := $(patsubst %, %.chkbss, $(chkbss))
16 chkbss-files := $(patsubst %, $(obj)/%.chkbss, $(chkbss))
19 $(chkbss-target): $(chkbss-files)
20 targets += $(notdir $(chkbss-files))
/Linux-v4.19/include/drm/
Ddrm_debugfs.h81 int drm_debugfs_create_files(const struct drm_info_list *files,
84 int drm_debugfs_remove_files(const struct drm_info_list *files,
87 static inline int drm_debugfs_create_files(const struct drm_info_list *files, in drm_debugfs_create_files() argument
94 static inline int drm_debugfs_remove_files(const struct drm_info_list *files, in drm_debugfs_remove_files() argument
/Linux-v4.19/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests53 files=`ls dmesg-${backend}-*`
54 operate_files $? "$files" grep_end_trace
77 files=`ls *-${backend}-*`
78 operate_files $? "$files" rm
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io10 The files are read only.
19 Description: These files show with which CPLD versions have been burned
22 The files are read only.
42 Description: These files allow asserting system power cycling, switching
55 The files are write only.
70 Description: These files show the system reset cause, as following: power
78 The files are read only.
/Linux-v4.19/scripts/selinux/
Dinstall_policy.sh26 mkdir -p /etc/selinux/dummy/contexts/files
28 cp file_contexts /etc/selinux/dummy/contexts/files
31 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts
57 cd /etc/selinux/dummy/contexts/files
/Linux-v4.19/tools/testing/selftests/cpufreq/
Dcpufreq.sh48 local files=`ls $1`
52 for file in $files; do
80 local files=`ls $1`
84 for file in $files; do

12345678910>>...58