| /kernel/linux/linux-4.19/fs/ |
| D | file.c | 46 * space if any. This does not copy the file pointers. Called with the files 69 * clear the extra space. Called with the files spinlock held for write. 146 * The files->file_lock should be held on entry, and will be held on exit. 148 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() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | file.c | 49 * space if any. This does not copy the file pointers. Called with the files 72 * clear the extra space. Called with the files spinlock held for write. 149 * The files->file_lock should be held on entry, and will be held on exit. 151 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument 152 __releases(files->file_lock) in expand_fdtable() 153 __acquires(files->file_lock) in expand_fdtable() 157 spin_unlock(&files->file_lock); in expand_fdtable() 163 if (atomic_read(&files->count) > 1) in expand_fdtable() 166 spin_lock(&files->file_lock); in expand_fdtable() 177 cur_fdt = files_fdtable(files); in expand_fdtable() [all …]
|
| /kernel/linux/linux-4.19/scripts/ |
| D | Makefile.headersinst | 21 # files. So, we are using a combination of sort/dir/wildcard which works 46 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)) 52 # files used to track state of install/check 56 # all headers files for this dir 57 all-files := $(header-files) $(genhdr-files) 58 output-files := $(addprefix $(installdir)/, $(all-files)) [all …]
|
| D | checkkconfigsymbols.py | 71 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
| D | Makefile | 2 # 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 …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-find-errors.sh | 3 # Invoke a text editor on all console.log files for all runs with diagnostics, 4 # that is, on all such files having a console.log.diags counterpart. 22 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
|
| /kernel/linux/linux-4.19/Documentation/dev-tools/ |
| D | gcov.rst | 13 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 82 Files chapter 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 [all …]
|
| /kernel/linux/linux-5.10/Documentation/dev-tools/ |
| D | gcov.rst | 13 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 chapter 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 …]
|
| /kernel/linux/linux-5.10/fs/proc/ |
| D | fd.c | 22 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 …]
|
| /kernel/linux/linux-4.19/fs/proc/ |
| D | fd.c | 22 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-find-errors.sh | 4 # 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
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | fdtable.h | 73 #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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | fdtable.h | 74 #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 …]
|
| /kernel/linux/linux-4.19/ |
| D | .gitignore | 2 # 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
|
| /kernel/linux/linux-4.19/Documentation/filesystems/ |
| D | files.txt | 4 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 …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | files.rst | 7 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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/stable/ |
| D | sysfs-driver-mlxreg-io | 8 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | data.c | 21 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 …]
|
| /kernel/linux/linux-5.10/ |
| D | .gitignore | 3 # 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 90 # We don't want to ignore the following even if they are dot-files 100 # Generated include files 110 # quilt's files 114 # cscope files 118 # gnu global files 124 # id-utils files
|
| /kernel/linux/linux-4.19/tools/testing/selftests/pstore/ |
| D | pstore_post_reboot_tests | 40 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
|
| /kernel/linux/linux-5.10/tools/testing/selftests/pstore/ |
| D | pstore_post_reboot_tests | 40 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
|
| /kernel/linux/linux-5.10/scripts/ |
| D | checkkconfigsymbols.py | 71 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 …]
|
| D | Makefile.clean | 27 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/spufs/ |
| D | spufs.rst | 25 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | debugfs_gt.c | 35 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()
|