| /kernel/linux/linux-5.10/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 …]
|
| /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-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-find-errors.sh | 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-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-5.10/scripts/ |
| D | Makefile.clean | 32 __clean-files := \ 33 $(clean-files) $(targets) $(hostprogs) $(userprogs) \ 40 __clean-files += $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-) 42 __clean-files := $(filter-out $(no-clean-files), $(__clean-files)) 48 __clean-files := $(wildcard \ 49 $(addprefix $(obj)/, $(filter-out $(objtree)/%, $(__clean-files))) \ 50 $(filter $(objtree)/%, $(__clean-files))) 55 cmd_clean = rm -rf $(__clean-files) 58 ifneq ($(strip $(__clean-files)),)
|
| D | leaking_addresses.pl | 483 my @files = readdir(DIR); 486 foreach my $file (@files) { 521 my ($total, $dmesg, $paths, $files) = parse_raw_file($file); 530 squash_by($files, 'filename'); 560 my %files; # Unique filenames containing leaks. 573 cache_filename(\%files, $line); 576 return $total, \@dmesg, \%paths, \%files; 629 my ($files, $line) = @_; 636 add_to_cache($files, $filename, substr($line, $index));
|
| /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/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()
|
| /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 91 # We don't want to ignore the following even if they are dot-files 101 # Generated include files 111 # quilt's files 115 # cscope files 119 # gnu global files 125 # id-utils files
|
| /kernel/linux/linux-5.10/kernel/ |
| D | kcmp.c | 69 if (task->files) in get_file_raw_ptr() 70 file = fcheck_files(task->files, idx); in get_file_raw_ptr() 110 struct files_struct *files; in kcmp_epoll_target() local 119 files = get_files_struct(task2); in kcmp_epoll_target() 120 if (!files) in kcmp_epoll_target() 123 spin_lock(&files->file_lock); in kcmp_epoll_target() 124 filp_epoll = fcheck_files(files, slot.efd); in kcmp_epoll_target() 129 spin_unlock(&files->file_lock); in kcmp_epoll_target() 130 put_files_struct(files); in kcmp_epoll_target() 203 ret = kcmp_ptr(task1->files, task2->files, KCMP_FILES); in SYSCALL_DEFINE5()
|
| /kernel/liteos_a/fs/vfs/operation/ |
| D | vfs_cloexec.c | 42 void CloseOnExec(struct files_struct *files) in CloseOnExec() argument 45 if ((files == NULL) || (files->fdt == NULL)) { in CloseOnExec() 49 for (int i = 0; i < files->fdt->max_fds; i++) { in CloseOnExec() 50 if (FD_ISSET(i, files->fdt->proc_fds) && in CloseOnExec() 51 FD_ISSET(i, files->fdt->cloexec_fds)) { in CloseOnExec()
|
| D | vfs_other.c | 139 spin_lock_irqsave(&curr->files->workdir_lock, lock_flags); in SetWorkDir() 140 ret = strncpy_s(curr->files->workdir, PATH_MAX, dir, len); in SetWorkDir() 141 curr->files->workdir[PATH_MAX - 1] = '\0'; in SetWorkDir() 142 spin_unlock_irqrestore(&curr->files->workdir_lock, lock_flags); in SetWorkDir() 235 spin_lock_irqsave(&curr->files->workdir_lock, lock_flags); in getcwd() 236 len = strlen(curr->files->workdir); in getcwd() 239 spin_unlock_irqrestore(&curr->files->workdir_lock, lock_flags); in getcwd() 242 ret = memcpy_s(buf, n, curr->files->workdir, len + 1); in getcwd() 245 spin_unlock_irqrestore(&curr->files->workdir_lock, lock_flags); in getcwd() 248 spin_unlock_irqrestore(&curr->files->workdir_lock, lock_flags); in getcwd() [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 …]
|
| 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
|
| /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 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 137 - all C source files + headers [all …]
|
| /kernel/linux/linux-5.10/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
|
| /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/drivers/gpu/drm/qxl/ |
| D | qxl_debugfs.c | 96 struct drm_info_list *files, in qxl_debugfs_add_files() argument 102 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files() 114 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files() 118 drm_debugfs_create_files(files, nfiles, in qxl_debugfs_add_files()
|
| /kernel/linux/linux-5.10/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)
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_debugfs.h | 83 void drm_debugfs_create_files(const struct drm_info_list *files, 86 int drm_debugfs_remove_files(const struct drm_info_list *files, 89 static inline void drm_debugfs_create_files(const struct drm_info_list *files, in drm_debugfs_create_files() argument 94 static inline int drm_debugfs_remove_files(const struct drm_info_list *files, in drm_debugfs_remove_files() argument
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | task_iter.c | 41 task->files == task->group_leader->files) { in task_seq_get_next() 133 struct files_struct *files; member 154 curr_files = info->files; in task_file_seq_get_next() 160 info->files = NULL; in task_file_seq_get_next() 173 info->files = curr_files; in task_file_seq_get_next() 205 info->files = NULL; in task_file_seq_get_next() 217 info->files = NULL; in task_file_seq_start() 279 put_files_struct(info->files); in task_file_seq_stop() 281 info->files = NULL; in task_file_seq_stop()
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
| D | Makefile | 31 everything : csv-files c-files csv-blank 44 csv-files : ni_values.py comedi_h.py 51 c-files : comedi_h.py
|
| /kernel/liteos_m/ |
| D | NOTICE | 1 1、In kernel/liteos_m/targets/cortex-m4_stm32f429ig_fire-challenger_iar directory, the files includi… 4 and other files are under the terms of the licence: kernel/liteos_m/targets/cortex-m4_stm32f429ig_f… 6 2、In kernel/liteos_m/targets/cortex-m7_nucleo_f767zi_gcc directory, the files including target_conf… 8 and other files are under the terms of the licence: kernel/liteos_m/targets/cortex-m7_nucleo_f767zi…
|
| /kernel/liteos_a/ |
| D | .gitignore | 14 # VIM files 18 # Menuconfig temp files 23 # Build temp files
|