Home
last modified time | relevance | path

Searched full:files (Results 1 – 25 of 4513) sorted by relevance

12345678910>>...181

/Linux-v5.10/fs/
Dfile.c50 * space if any. This does not copy the file pointers. Called with the files
73 * clear the extra space. Called with the files spinlock held for write.
150 * The files->file_lock should be held on entry, and will be held on exit.
152 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument
153 __releases(files->file_lock) in expand_fdtable()
154 __acquires(files->file_lock) in expand_fdtable()
158 spin_unlock(&files->file_lock); in expand_fdtable()
164 if (atomic_read(&files->count) > 1) in expand_fdtable()
167 spin_lock(&files->file_lock); in expand_fdtable()
178 cur_fdt = files_fdtable(files); in expand_fdtable()
[all …]
/Linux-v5.10/drivers/staging/comedi/drivers/ni_routing/tools/
DMakefile2 # this make file is simply to help autogenerate these files:
12 @echo "\`make csv-files\`"
13 @echo " Creates new csv-files using content of c-files of existing"
14 @echo " ni_routing/* content. New csv files are placed in csv"
16 @echo "\`make c-files\`"
17 @echo " Creates new c-files using content of csv sub-directory. These"
18 @echo " new c-files can be compared to the active content in the"
25 @echo " Remove all generated files/directories EXCEPT for csv/c files."
27 @echo " Remove all generated files/directories."
29 @echo " Build all csv-files, then all new c-files."
[all …]
/Linux-v5.10/Documentation/dev-tools/
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
78 Files section in Using gcov with the Linux kernel
81 The gcov kernel support creates the following files in debugfs:
84 Parent directory for all gcov-related files.
130 gcc version used for kernel build. Also the following files need to be
134 - all C source files + headers
[all …]
/Linux-v5.10/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-v5.10/tools/testing/selftests/rcutorture/bin/
Dkvm-find-errors.sh4 # Invoke a text editor on all console.log files for all runs with diagnostics,
5 # that is, on all such files having a console.log.diags counterpart.
30 files=
36 files="$files $i.diags $i"
39 if test -n "$files"
41 $editor $files
51 files=
56 files="$files $i.diags $i"
59 if test -n "$files"
61 $editor $files
/Linux-v5.10/include/linux/
Dfdtable.h74 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument
75 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
77 #define files_fdtable(files) \ argument
78 rcu_dereference_check_fdtable((files), (files)->fdt)
83 static inline struct file *__fcheck_files(struct files_struct *files, unsigned int fd) in __fcheck_files() argument
85 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fcheck_files()
94 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument
97 !lockdep_is_held(&files->file_lock), in fcheck_files()
99 return __fcheck_files(files, fd); in fcheck_files()
105 #define fcheck(fd) fcheck_files(current->files, fd)
[all …]
/Linux-v5.10/Documentation/filesystems/
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
87 file = fcheck_files(files, fd);
110 holding files->file_lock. If ->file_lock is dropped, then
111 another thread expand the files thereby creating a new
[all …]
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
Dzonefs.rst13 constraint of zoned block devices to the user. Files representing sequential
60 Zonefs exposes the zones of a zoned block device as files. The files
85 Files representing zones of the same type are grouped together under the same
101 obtained with the stat() or fstat() system calls, indicates the number of files
104 Zone files
107 Zone files are named using the number of the zone they represent within the set
109 contain files named "0", "1", "2", ... The file numbers also represent
112 All read and write operations to zone files are not allowed beyond the file
116 Creating, deleting, renaming or modifying any attribute of files and
122 Conventional zone files
[all …]
Dfsverity.rst14 of read-only files. Currently, it is supported by the ext4 and f2fs
20 but works on files rather than block devices. On regular files on
58 (APK) files, for example. These typically contain many translations,
68 still be used on read-only filesystems. fs-verity is for files that
73 authenticating the files is up to userspace. However, to meet some
76 that all fs-verity files be signed by a key loaded into a keyring; see
131 take a long time to execute on large files, and it is interruptible by
235 opening the file, and opening verity files can be expensive.
237 Accessing verity files
243 - Verity files are readonly. They cannot be opened for writing or
[all …]
/Linux-v5.10/Documentation/ABI/stable/
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-v5.10/tools/perf/util/
Ddata.c21 static void close_dir(struct perf_data_file *files, int nr) in close_dir() argument
24 close(files[nr].fd); in close_dir()
25 zfree(&files[nr].path); in close_dir()
27 free(files); in close_dir()
32 close_dir(data->dir.files, data->dir.nr); in perf_data__close_dir()
37 struct perf_data_file *files = NULL; in perf_data__create_dir() local
43 files = zalloc(nr * sizeof(*files)); in perf_data__create_dir()
44 if (!files) in perf_data__create_dir()
48 data->dir.files = files; in perf_data__create_dir()
52 struct perf_data_file *file = &files[i]; in perf_data__create_dir()
[all …]
/Linux-v5.10/
D.gitignore3 # NOTE! Don't add files that are generated in specific
7 # NOTE! Please use 'git ls-files -i --exclude-standard'
9 # any tracked files which get ignored after the change.
53 # Top-level generic files
89 # We don't want to ignore the following even if they are dot-files
99 # Generated include files
109 # quilt's files
113 # cscope files
117 # gnu global files
123 # id-utils files
/Linux-v5.10/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests40 prlog -n "Checking dmesg files exist in pstore filesystem ... "
43 prlog -n "Checking console files exist in pstore filesystem ... "
46 prlog -n "Checking pmsg files exist in pstore filesystem ... "
49 prlog -n "Checking dmesg files contain oops end marker"
53 files=`ls dmesg-${backend}-*`
54 operate_files $? "$files" grep_end_trace
76 prlog -n "Removing all files in pstore filesystem "
77 files=`ls *-${backend}-*`
78 operate_files $? "$files" rm
/Linux-v5.10/scripts/
Dcheckkconfigsymbols.py71 help="ignore files matching this Python regex "
163 files = sorted(undefined_b.get(symbol))
164 undefined[symbol] = files
165 # check if there are new files that reference the undefined symbol
167 files = sorted(undefined_b.get(symbol) -
169 if files:
170 undefined[symbol] = files
183 files = sorted(undefined.get(symbol))
184 print("%s: %s" % (yel("Referencing files"), ", ".join(files)))
291 """Return a list of all files in the current git directory."""
[all …]
DMakefile.clean27 # build a list of files to remove, usually relative to the current
30 __clean-files := \
31 $(clean-files) $(targets) $(hostprogs) $(userprogs) \
38 __clean-files += $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-)
40 __clean-files := $(filter-out $(no-clean-files), $(__clean-files))
42 # clean-files is given relative to the current directory, unless it
46 __clean-files := $(wildcard \
47 $(addprefix $(obj)/, $(filter-out $(objtree)/%, $(__clean-files))) \
48 $(filter $(objtree)/%, $(__clean-files)))
53 cmd_clean = rm -rf $(__clean-files)
[all …]
/Linux-v5.10/Documentation/filesystems/spufs/
Dspufs.rst25 set of files. These files can be used for manipulating the state of the
26 logical SPU. Users can change permissions on those files, but not actu-
27 ally add or remove files.
40 Files chapter
43 The files in spufs mostly follow the standard behavior for regular sys-
49 All files that support the read(2) operation also support readv(2) and
50 all files that support the write(2) operation also support writev(2).
51 All files support the access(2) and stat(2) family of operations, but
55 All files support the chmod(2)/fchmod(2) and chown(2)/fchown(2) opera-
59 The current set of files is:
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Ddebugfs_gt.c35 const struct debugfs_gt_file *files, in intel_gt_debugfs_register_files() argument
39 umode_t mode = files->fops->write ? 0644 : 0444; in intel_gt_debugfs_register_files()
40 if (!files->eval || files->eval(data)) in intel_gt_debugfs_register_files()
41 debugfs_create_file(files->name, in intel_gt_debugfs_register_files()
43 files->fops); in intel_gt_debugfs_register_files()
45 files++; in intel_gt_debugfs_register_files()
/Linux-v5.10/scripts/clang-tools/
Dgen_compile_commands.py33 paths: The list of files/directories to handle to find .cmd files.
35 usage = 'Creates a compile_commands.json database from kernel .cmd files'
56 paths_help = ('directories to search or files to parse '
57 '(files should be *.o, *.a, or modules.order). '
71 """Generate the iterator of .cmd files found under the directory.
76 directory: The directory to search for .cmd files.
104 """Generate the iterator of .cmd files associated with the object
118 """Generate the iterator of .cmd files associated with the archive.
133 """Generate the iterator of .cmd files associated with the modules.order.
161 root_directory: The directory that was searched for .cmd files. Usually
[all …]
/Linux-v5.10/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-v5.10/Documentation/process/
Dlicense-rules.rst18 as a whole, though individual source files can have a different license
28 Aside from that, individual files can be provided under a dual license,
32 The User-space API (UAPI) header files, which describe the interface of
37 into any source files which create an executable running on the Linux
53 The Linux kernel requires the precise SPDX identifier in all source files.
63 The SPDX license identifier in kernel files shall be added at the first
65 of files this is the first line, except for scripts which require the
86 files. There was build breakage observed with generated .lds files where
109 For example, the linux kernel UAPI files use the expression::
125 to be selected. For example, some dtsi files are available under dual
[all …]
/Linux-v5.10/kernel/bpf/
Dtask_iter.c41 task->files == task->group_leader->files) { in task_seq_get_next()
133 struct files_struct *files; member
212 struct files_struct *files = NULL; in task_file_seq_start() local
216 file = task_file_seq_get_next(info, &task, &files); in task_file_seq_start()
218 info->files = NULL; in task_file_seq_start()
226 info->files = files; in task_file_seq_start()
234 struct files_struct *files = info->files; in task_file_seq_next() local
241 file = task_file_seq_get_next(info, &task, &files); in task_file_seq_next()
243 info->files = NULL; in task_file_seq_next()
249 info->files = files; in task_file_seq_next()
[all …]
/Linux-v5.10/tools/usb/usbip/
DINSTALL21 It may also create one or more `.h' files containing system-dependent
31 cache files.
58 4. Type `make install' to install the programs and any data files and
61 5. You can remove the program binaries and object files from the
63 files that `configure' created (so you can compile the package for
67 all sorts of other programs in order to regenerate files that came
71 files again.
92 same time, by placing the object files for each architecture in their
94 directory where you want the object files and executables to go and run
107 `/usr/local/bin', include files under `/usr/local/include', etc. You
[all …]
/Linux-v5.10/Documentation/filesystems/caching/
Dcachefiles.rst76 - bmap() support on files in the filesystem (FIBMAP ioctl).
154 Do not create, rename or unlink files and directories in the cache while the
157 Renaming files in the cache might make objects appear to be other objects (the
160 Do not change or remove the extended attributes attached to cache files by the
163 Do not create files or directories in the cache, lest the cache get confused or
166 Do not chmod files in the cache. The module creates things with minimal
179 percentage of files available in the underlying filesystem. There are six
183 If the amount of free space and the number of available files in the cache
187 If the amount of available space or the number of available files in the
191 If the amount of available space or the number of available files in the
[all …]
/Linux-v5.10/Documentation/kbuild/
Dmakefiles.rst11 === 3 The kbuild files
51 --- 7.10 Generic header files
80 (the resident kernel image) and modules (any module files).
104 any kernel Makefiles (or any other source files).
123 3 The kbuild files
129 The preferred name for the kbuild files are 'Makefile' but 'Kbuild' can
140 These lines define the files to be built, any special compilation
166 The kbuild Makefile specifies object files for vmlinux
170 Kbuild compiles all the $(obj-y) files. It then calls
171 "$(AR) rcSTP" to merge these files into one built-in.a file.
[all …]

12345678910>>...181