| /kernel/linux/linux-6.6/fs/ |
| D | file.c | 53 * space if any. This does not copy the file pointers. Called with the files 71 * clear the extra space. Called with the files spinlock held for write. 164 * The files->file_lock should be held on entry, and will be held on exit. 166 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument 167 __releases(files->file_lock) in expand_fdtable() 168 __acquires(files->file_lock) in expand_fdtable() 172 spin_unlock(&files->file_lock); in expand_fdtable() 178 if (atomic_read(&files->count) > 1) in expand_fdtable() 181 spin_lock(&files->file_lock); in expand_fdtable() 192 cur_fdt = files_fdtable(files); in expand_fdtable() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | file.c | 51 * space if any. This does not copy the file pointers. Called with the files 74 * clear the extra space. Called with the files spinlock held for write. 167 * The files->file_lock should be held on entry, and will be held on exit. 169 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument 170 __releases(files->file_lock) in expand_fdtable() 171 __acquires(files->file_lock) in expand_fdtable() 175 spin_unlock(&files->file_lock); in expand_fdtable() 181 if (atomic_read(&files->count) > 1) in expand_fdtable() 184 spin_lock(&files->file_lock); in expand_fdtable() 195 cur_fdt = files_fdtable(files); in expand_fdtable() [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-6.6/Documentation/filesystems/ |
| D | ntfs3.rst | 14 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. 65 - Files with the Windows-specific HIDDEN (FILE_ATTRIBUTE_HIDDEN) attribute 69 - Files with the Windows-specific SYSTEM (FILE_ATTRIBUTE_SYSTEM) attribute 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 [all …]
|
| 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 = files_lookup_fd_rcu(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-6.6/drivers/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-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 *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument 85 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw() 94 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() argument 96 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock), in files_lookup_fd_locked() 98 return files_lookup_fd_raw(files, fd); in files_lookup_fd_locked() 101 static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument [all …]
|
| /kernel/linux/linux-6.6/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= 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" [all …]
|
| /kernel/linux/linux-6.6/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. 132 gcc version used for kernel build. Also the following files need to be 136 - 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 = files_lookup_fd_locked(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/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/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-6.6/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 *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument 84 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw() 93 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() argument 95 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock), in files_lookup_fd_locked() 97 return files_lookup_fd_raw(files, fd); in files_lookup_fd_locked() 100 static inline struct file *files_lookup_fd_rcu(struct files_struct *files, unsigned int fd) in files_lookup_fd_rcu() argument [all …]
|
| /kernel/linux/linux-6.6/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/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-6.6/ |
| D | .gitignore | 3 # NOTE! Don't add files that are generated in specific 7 # NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore' 9 # any tracked files which get ignored after the change. 58 # Top-level generic files 96 # We don't want to ignore the following even if they are dot-files 108 # Generated include files 117 # quilt's files 121 # ctags files 125 # cscope files 129 # gnu global files [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 struct perf_data_file *file = &files[i]; in perf_data__create_dir() 62 data->dir.files = files; 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. 54 # Top-level generic files 92 # We don't want to ignore the following even if they are dot-files 102 # Generated include files 112 # quilt's files 116 # cscope files 120 # gnu global files 126 # id-utils files
|
| /kernel/linux/linux-6.6/tools/perf/tests/ |
| D | builtin-test-list.c | 35 static struct script_file *files = NULL; variable 131 pr_err("Too many script files\n"); in append_script() 136 files_tmp = realloc(files, in append_script() 143 files = files_tmp; in append_script() 145 files[files_num - 1].dir = strdup_check(dir); in append_script() 146 files[files_num - 1].file = strdup_check(file); in append_script() 147 files[files_num - 1].desc = strdup_check(desc); in append_script() 148 files[files_num].dir = NULL; in append_script() 149 files[files_num].file = NULL; in append_script() 150 files[files_num].desc = NULL; in append_script() [all …]
|
| /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-6.6/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 …]
|
| /kernel/linux/linux-6.6/scripts/ |
| D | checkkconfigsymbols.py | 70 help="ignore files matching this Python regex " 165 files = sorted(undefined_b.get(symbol)) 166 undefined[symbol] = files 167 # check if there are new files that reference the undefined symbol 169 files = sorted(undefined_b.get(symbol) - 171 if files: 172 undefined[symbol] = files 185 files = sorted(undefined.get(symbol)) 186 print("%s: %s" % (yel("Referencing files"), ", ".join(files))) 293 """Return a list of all files in the current git directory.""" [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | intel_gt_debugfs.c | 75 static const struct intel_gt_debugfs_file files[] = { in gt_debugfs_register() local 80 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), gt); in gt_debugfs_register() 106 const struct intel_gt_debugfs_file *files, in intel_gt_debugfs_register_files() argument 110 umode_t mode = files->fops->write ? 0644 : 0444; in intel_gt_debugfs_register_files() 112 if (!files->eval || files->eval(data)) in intel_gt_debugfs_register_files() 113 debugfs_create_file(files->name, in intel_gt_debugfs_register_files() 115 files->fops); in intel_gt_debugfs_register_files() 117 files++; in intel_gt_debugfs_register_files()
|