/linux-6.6.21/fs/ |
D | file.c | 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() 198 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable() 199 if (cur_fdt != &files->fdtab) in expand_fdtable() 214 static int expand_files(struct files_struct *files, unsigned int nr) in expand_files() argument [all …]
|
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/ |
D | kvm-find-errors.sh | 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" 69 $editor $files
|
/linux-6.6.21/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 *files_lookup_fd_rcu(struct files_struct *files, unsigned int fd) in files_lookup_fd_rcu() argument [all …]
|
/linux-6.6.21/scripts/ |
D | Makefile.clean | 27 __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)),)
|
D | leaking_addresses.pl | 484 my @files = readdir(DIR); 487 foreach my $file (@files) { 522 my ($total, $dmesg, $paths, $files) = parse_raw_file($file); 531 squash_by($files, 'filename'); 561 my %files; # Unique filenames containing leaks. 574 cache_filename(\%files, $line); 577 return $total, \@dmesg, \%paths, \%files; 630 my ($files, $line) = @_; 637 add_to_cache($files, $filename, substr($line, $index));
|
/linux-6.6.21/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()
|
/linux-6.6.21/tools/perf/tests/ |
D | builtin-test-list.c | 35 static struct script_file *files = NULL; variable 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() 194 if (files) in list_script_files() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | data.c | 22 static void close_dir(struct perf_data_file *files, int nr) in close_dir() argument 25 close(files[nr].fd); in close_dir() 26 zfree(&files[nr].path); in close_dir() 28 free(files); in close_dir() 33 close_dir(data->dir.files, data->dir.nr); in perf_data__close_dir() 38 struct perf_data_file *files = NULL; in perf_data__create_dir() local 44 files = zalloc(nr * sizeof(*files)); in perf_data__create_dir() 45 if (!files) in perf_data__create_dir() 49 struct perf_data_file *file = &files[i]; in perf_data__create_dir() 67 data->dir.files = files; in perf_data__create_dir() [all …]
|
/linux-6.6.21/ |
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 …]
|
/linux-6.6.21/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. 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 …]
|
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 …]
|
D | hfs.rst | 26 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
|
D | ecryptfs.rst | 8 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,
|
D | isofs.rst | 10 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-6.6.21/include/drm/ |
D | drm_debugfs.h | 142 void drm_debugfs_create_files(const struct drm_info_list *files, 145 int drm_debugfs_remove_files(const struct drm_info_list *files, 152 const struct drm_debugfs_info *files, int count); 157 static inline void drm_debugfs_create_files(const struct drm_info_list *files, in drm_debugfs_create_files() argument 162 static inline int drm_debugfs_remove_files(const struct drm_info_list *files, in drm_debugfs_remove_files() argument 174 const struct drm_debugfs_info *files, in drm_debugfs_add_files() argument
|
/linux-6.6.21/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 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 139 - all C source files + headers [all …]
|
/linux-6.6.21/arch/mips/ |
D | Kbuild | 2 # Fail on warnings - also for files referenced in subdirs 3 # -Werror can be disabled for specific files using: 17 # mips object files 18 # The object files are linked as core-y files would be linked
|
/linux-6.6.21/fs/jffs2/ |
D | LICENCE | 1 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-6.6.21/drivers/gpu/drm/qxl/ |
D | qxl_debugfs.c | 100 struct drm_info_list *files, in qxl_debugfs_add_files() argument 106 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files() 118 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files() 122 drm_debugfs_create_files(files, nfiles, in qxl_debugfs_add_files()
|
/linux-6.6.21/io_uring/ |
D | openclose.c | 221 struct files_struct *files = current->files; in io_close() local 232 spin_lock(&files->file_lock); in io_close() 233 fdt = files_fdtable(files); in io_close() 235 spin_unlock(&files->file_lock); in io_close() 239 lockdep_is_held(&files->file_lock)); in io_close() 241 spin_unlock(&files->file_lock); in io_close() 247 spin_unlock(&files->file_lock); in io_close() 252 spin_unlock(&files->file_lock); in io_close() 257 ret = filp_close(file, current->files); in io_close()
|
D | filetable.c | 41 table->files = kvcalloc(nr_files, sizeof(table->files[0]), in io_alloc_file_tables() 43 if (unlikely(!table->files)) in io_alloc_file_tables() 48 kvfree(table->files); in io_alloc_file_tables() 57 kvfree(table->files); in io_free_file_tables() 59 table->files = NULL; in io_free_file_tables()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/gpu/drm/ci/ |
D | build.sh | 88 mkdir -p /lava-files/ 90 cp arch/${KERNEL_ARCH}/boot/${image} /lava-files/. 95 cp ${DEVICE_TREES} /lava-files/. 111 /lava-files/cheza-kernel 115 gzip -k /lava-files/Image 128 xz -7 -c -T${FDO_CI_CONCURRENT:-4} vmlinux > /lava-files/vmlinux.xz 136 ci-fairy s3cp --token-file "${CI_JOB_JWT_FILE}" /lava-files/$f \ 153 cp /lava-files/$image artifacts/install/.
|
/linux-6.6.21/fs/proc/ |
D | fd.c | 25 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() 42 struct fdtable *fdt = files_fdtable(files); in seq_show() 51 spin_unlock(&files->file_lock); in seq_show() 65 show_fd_locks(m, file, files); in seq_show() 293 if (p->files) { in proc_readfd_count() 296 fdt = files_fdtable(p->files); in proc_readfd_count()
|
/linux-6.6.21/tools/testing/selftests/pstore/ |
D | pstore_post_reboot_tests | 53 files=`ls dmesg-${backend}-*` 54 operate_files $? "$files" grep_end_trace 77 files=`ls *-${backend}-*` 78 operate_files $? "$files" rm
|