Home
last modified time | relevance | path

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

12345678910>>...46

/linux/fs/
H A Dfile.c252 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument
253 __releases(files->file_lock) in expand_fdtable()
254 __acquires(files->file_lock) in expand_fdtable()
258 spin_unlock(&files->file_lock); in expand_fdtable()
264 if (atomic_read(&files->count) > 1) in expand_fdtable()
267 spin_lock(&files->file_lock); in expand_fdtable()
270 cur_fdt = files_fdtable(files); in expand_fdtable()
273 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable()
274 if (cur_fdt != &files->fdtab) in expand_fdtable()
288 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files() argument
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-find-errors.sh30 files=
38 files="$files $i.diags $i"
42 files="$files $i.diags $i"
45 if test -n "$files"
47 $editor $files
59 files=
64 files="$files $i.diags $i"
67 if test -n "$files"
69 $editor $files
/linux/include/linux/
H A Dfdtable.h63 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument
64 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
66 #define files_fdtable(files) \ argument
67 rcu_dereference_check_fdtable((files), (files)->fdt)
72 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument
74 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw()
88 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() argument
90 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock), in files_lookup_fd_locked()
92 return files_lookup_fd_raw(files, fd); in files_lookup_fd_locked()
95 static inline bool close_on_exec(unsigned int fd, const struct files_struct *files) in close_on_exec() argument
[all …]
/linux/io_uring/
H A Dopenclose.c238 struct files_struct *files = current->files; in io_close() local
248 spin_lock(&files->file_lock); in io_close()
249 file = files_lookup_fd_locked(files, close->fd); in io_close()
251 spin_unlock(&files->file_lock); in io_close()
257 spin_unlock(&files->file_lock); in io_close()
261 file = file_close_fd_locked(files, close->fd); in io_close()
262 spin_unlock(&files->file_lock); in io_close()
267 ret = filp_close(file, current->files); in io_close()
343 static int io_pipe_fixed(struct io_kiocb *req, struct file **files, in io_pipe_fixed() argument
359 ret = __io_fixed_fd_install(ctx, files[0], slot); in io_pipe_fixed()
[all …]
/linux/scripts/
H A DMakefile.clean27 __clean-files := \
28 $(clean-files) $(targets) $(hostprogs) $(userprogs) \
34 __clean-files := $(filter-out $(no-clean-files), $(__clean-files))
36 __clean-files := $(wildcard $(addprefix $(obj)/, $(__clean-files)))
43 cmd_clean = printf '$(obj)/%s ' $(patsubst $(obj)/%,%,$(__clean-files)) | xargs rm -rf
46 ifneq ($(strip $(__clean-files)),)
H A Dmake_fit.py8 """Build a FIT containing a lot of devicetree files
17 devicetree files, either specified individually or listed in a file (with an
32 looks at the .cmd files produced by the kernel build.
70 epilog = 'Build a FIT from a directory tree containing .dtb files'
93 help='Specifies the devicetree files to process')
178 for model, compat, files in entries:
183 fsw.property('fdt', bytes(''.join(f'fdt-{x}\x00' for x in files), "ascii"))
277 files: list of filenames corresponding to the DTB
296 files = cmd.split(';', 1)[0].split()
297 files
[all...]
H A Dleaking_addresses.pl542 my @files = readdir(DIR);
545 foreach my $file (@files) {
580 my ($total, $dmesg, $paths, $files) = parse_raw_file($file);
589 squash_by($files, 'filename');
619 my %files; # Unique filenames containing leaks.
632 cache_filename(\%files, $line);
635 return $total, \@dmesg, \%paths, \%files;
688 my ($files, $line) = @_;
695 add_to_cache($files, $filename, substr($line, $index));
/linux/tools/perf/util/
H A Ddata.c37 static void close_dir(struct perf_data_file *files, int nr) in perf_data__create_dir()
40 perf_data_file__close(&files[nr]); in perf_data__create_dir() local
42 free(files); in perf_data__create_dir()
47 close_dir(data->dir.files, data->dir.nr); in perf_data__create_dir()
48 data->dir.files = NULL; in perf_data__create_dir()
55 struct perf_data_file *files = NULL; in perf_data__create_dir()
61 files = calloc(nr, sizeof(*files)); in perf_data__create_dir()
62 if (!files) in perf_data__create_dir()
66 struct perf_data_file *file = &files[ in perf_data__create_dir()
23 close_dir(struct perf_data_file * files,int nr) close_dir() argument
90 struct perf_data_file *files = NULL; perf_data__open_dir() local
[all...]
/linux/Documentation/filesystems/
H A Dntfs3.rst14 compressed files.
25 Note: Applied to empty files, this allows to switch type between
56 - Controls the default permissions for files/directories created after
60 - :rspan:`1` Instead of specifying umask which applies both to files and
61 directories, fmask applies only to files and dmask only to directories.
70 will be marked as system immutable files.
74 when creating and moving or renaming files. Files whose names start
75 with a dot will have the HIDDEN attribute set and files whose names
79 - Prevents the creation of files and directories with a name not allowed
84 is a space or a dot. Existing such files can still be read and renamed.
[all …]
H A Dfiles.rst7 This document describes how locking for files (struct file)
8 and file descriptor table (struct files) works.
11 with a lock (files->file_lock) and reference count (files->count).
18 The files (struct file) themselves are protected using
33 and files->fdtab points to the new structure. The fdtable
46 fdt = files_fdtable(files);
61 3. For any update to the fd table, files->file_lock must
89 holding files->file_lock. If ->file_lock is dropped, then
90 another thread expand the files thereby creating a new
95 spin_lock(&files->file_lock);
[all …]
H A Dhfs.rst26 used for creating new files. Default values: '????'.
29 Specifies the user/group that owns all files on the filesystems.
33 Specifies the umask used for all files , all directories or all
34 files and directories. Defaults to the umask of the mounting process.
58 and gid of files.
59 * You can't create hard- or symlinks, device files, sockets or FIFOs.
62 non-standard forks are represented as hidden additional files in the normal
66 * You can't create, delete or rename resource forks of files or the
70 * Copying files to a different filesystem will loose those attributes
H A Decryptfs.rst8 For documentation, please see the files in the doc/ subdirectory. For
36 eCryptfs, you should copy the files to an unencrypted location and
37 then copy the files back into the new eCryptfs mount to migrate the
38 files.
45 files (i.e., /root/crypt). Then, create the mount point directory
77 or (2) directories containing files only created by eCryptfs. If you
78 mount a directory that has pre-existing files not created by eCryptfs,
H A Disofs.rst10 gid=nnn All files in the partition will be in group nnn.
11 uid=nnn All files in the partition will be owned by user id nnn.
39 mode=xxx Sets the permissions on files to xxx unless Rock Ridge
43 overriderockperm Set permissions on files and directories according to
48 hide Completely strip hidden files from the file system.
49 showassoc Show files marked with the 'associated' bit
50 unhide Deprecated; showing hidden files is now default;
/linux/Documentation/dev-tools/
H A Dgcov.rst13 This will create source code files annotated with execution counts
54 To enable profiling for specific files or directories, add a line
61 - For all files in one directory::
65 To exclude files from being profiled even when CONFIG_GCOV_PROFILE_ALL
74 Only files which are linked to the main kernel image or are compiled as
92 The gcov kernel support creates the following files in debugfs:
95 Parent directory for all gcov-related files.
143 gcc version used for kernel build. Also the following files need to be
147 - all C source files + headers
150 - all C source files + headers
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-mlxreg-io8 The files are read only.
15 Description: These files show with which CPLD versions have been burned
18 The files are read only.
28 The files are read only.
34 Description: These files show with which CPLD versions have been burned
37 The files are read only.
43 Description: These files enable and disable the access to the JTAG domain.
66 Description: These files allow asserting system power cycling, switching
79 The files are write only.
93 Description: These files show the system reset cause, as following: power
[all …]
/linux/tools/testing/selftests/net/af_unix/
H A Dscm_rights_denial_lsm.c37 int files[NR_FILES]; in FIXTURE() local
100 self->files[i] = mkstemp(self->paths[i]); in FIXTURE_SETUP()
101 ASSERT_GE(self->files[i], 0); in FIXTURE_SETUP()
103 ASSERT_LT(0, dprintf(self->files[i], SECRET(i))); in FIXTURE_SETUP()
105 ASSERT_EQ(0, fstat(self->files[i], &st)); in FIXTURE_SETUP()
116 if (self->files[i] >= 0) { in FIXTURE_TEARDOWN()
117 close(self->files[i]); in FIXTURE_TEARDOWN()
219 ASSERT_EQ(0, send_fds(self->sk[SK_SENDER], self->files, NR_FILES)); in TEST_F()
239 ASSERT_EQ(0, send_fds(self->sk[SK_SENDER], self->files, NR_FILES)); in TEST_F()
261 ASSERT_EQ(0, send_fds(self->sk[SK_SENDER], self->files, NR_FILES)); in TEST_F()
[all …]
/linux/tools/docs/
H A Dchecktransupdate.py13 This will print all the files that need to be updated or translated in the zh_CN locale.
17 This will print the status of all files under the directory.
180 """List all files with the specified suffix in the folder and its subfolders"""
181 files = []
189 # list all files and folders
196 files.append(ab_item)
198 return files
245 help="Locale to check when files are not specified",
252 help="Print files that do not have translations",
267 "files", narg
[all...]
/linux/fs/jffs2/
H A 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/scripts/package/debian/
H A Drules38 mk-files = $(patsubst binary-%,debian/%.files,$1)
59 $(Q)dh_gencontrol $(DH_OPTIONS) -- -f$(call mk-files,$@)
66 $(Q)truncate -s0 $(call mk-files,$@)
73 $(Q)cat $(call mk-files,$^) > debian/files
85 $(Q)rm -rf debian/deb-env.vars* debian/*.files
/linux/fs/proc/
H A Dfd.c25 struct files_struct *files = NULL; in seq_show() local
35 files = task->files; in seq_show()
36 if (files) { in seq_show()
39 spin_lock(&files->file_lock); in seq_show()
40 file = files_lookup_fd_locked(files, fd); in seq_show()
43 if (close_on_exec(fd, files)) in seq_show()
49 spin_unlock(&files->file_lock); in seq_show()
63 show_fd_locks(m, file, files); in seq_show()
290 if (p->files) { in proc_readfd_count()
293 fdt = files_fdtable(p->files); in proc_readfd_count()
/linux/tools/testing/selftests/x86/
H A DMakefile117 define extra-files
122 $(eval $(call extra-files,sysret_ss_attrs_64,thunks.S))
123 $(eval $(call extra-files,ptrace_syscall_32,raw_syscall_helper_32.S))
124 $(eval $(call extra-files,test_syscall_vdso_32,thunks_32.S))
125 $(eval $(call extra-files,fsgsbase_restore_64,clang_helpers_64.S))
126 $(eval $(call extra-files,fsgsbase_restore_32,clang_helpers_32.S))
127 $(eval $(call extra-files,sysret_rip_64,clang_helpers_64.S))
/linux/tools/testing/selftests/pstore/
H A 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/drivers/comedi/drivers/ni_routing/tools/
H A DMakefile31 everything : csv-files c-files csv-blank
52 csv-files : ni_values.py comedi_h.py
59 c-files : comedi_h.py
/linux/tools/power/cpupower/bindings/python/
H A DREADME1 This folder contains the necessary files to build the Python bindings for
2 libcpupower (aside from the libcpupower object files).
22 library files. For these bindings that means GPL v2.
33 Install SWIG and the Python development files provided by your distribution.
35 Build the object files for libcpupower by running make in the cpupower
46 Please verify the _raw_pylibcpupower.so and raw_pylibcpupower.py files have
/linux/Documentation/doc-guide/
H A Dchecktransupdate.rst20 - check all files in a certain locale
21 - check a single file or a set of files
23 - track the translation status of files that have no translation
37 This will print all the files that need to be updated in the zh_CN locale.
54 - files can be a folder instead of only a file

12345678910>>...46