/linux/fs/ |
H A D | file.c | 444 struct files_struct * files = tsk->files; in exit_files() local 487 struct files_struct *files = current->files; in alloc_fd() local 564 struct files_struct *files = current->files; in put_unused_fd() local 590 struct files_struct *files = current->files; in fd_install() local 649 struct files_struct *files = current->files; in close_fd() local 786 struct files_struct *files = current->files; in file_close_fd() local 1054 files = task->files; in task_lookup_fdget_rcu() 1070 files = task->files; in task_lookup_next_fdget_rcu() 1102 struct files_struct *files = current->files; in __fget_light() local 1178 struct files_struct *files = current->files; in set_close_on_exec() local [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A 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/include/linux/ |
H A D | fdtable.h | 63 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument 64 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock)) 66 #define files_fdtable(files) \ argument 67 rcu_dereference_check_fdtable((files), (files)->fdt) 72 static inline struct file *files_lookup_fd_raw(struct files_struct *files, unsigned int fd) in files_lookup_fd_raw() argument 74 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw() 88 static inline struct file *files_lookup_fd_locked(struct files_struct *files, unsigned int fd) in files_lookup_fd_locked() argument 90 RCU_LOCKDEP_WARN(!lockdep_is_held(&files->file_lock), in files_lookup_fd_locked() 92 return files_lookup_fd_raw(files, fd); in files_lookup_fd_locked() 99 static inline bool close_on_exec(unsigned int fd, const struct files_struct *files) in close_on_exec() argument [all …]
|
/linux/scripts/ |
H A 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)),)
|
H A D | make_fit.py | 150 for model, compat, files in entries: 155 fsw.property('fdt', bytes(''.join(f'fdt-{x}\x00' for x in files), "ascii")) 243 files = cmd.split() 244 files = files[files.index('-i') + 1:] 246 files = [fname] 248 files = [fname] 250 return (model, compat, files) 282 (model, compat, files) = process_dtb(fname, args) 284 for fn in files: 291 files_seq = [fdts[fn] for fn in files]
|
H A D | checktransupdate.py | 143 files = [] 158 files.append(ab_item) 160 return files 238 files = args.files 239 if len(files) == 0: 255 files.append(new_file) 261 files = list(map(lambda x: os.path.relpath(os.path.abspath(x), linux_path), files)) 266 for file in files:
|
H A D | leaking_addresses.pl | 542 my @files = readdir(DIR); 545 foreach my $file (@files) { 580 my ($total, $dmesg, $paths, $files) = parse_raw_file($file); 589 squash_by($files, 'filename'); 619 my %files; # Unique filenames containing leaks. 632 cache_filename(\%files, $line); 635 return $total, \@dmesg, \%paths, \%files; 688 my ($files, $line) = @_; 695 add_to_cache($files, $filename, substr($line, $index));
|
/linux/drivers/gpu/drm/i915/gt/ |
H A 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/ |
H A D | .gitignore | 3 # NOTE! Don't add files that are generated in specific 9 # any tracked files which get ignored after the change. 59 # Top-level generic files 97 # pacman files (make pacman-pkg) 103 # We don't want to ignore the following even if they are dot-files 116 # Generated include files 125 # quilt's files 129 # ctags files 133 # cscope files 137 # gnu global files [all …]
|
/linux/tools/perf/util/ |
H A D | data.c | 26 close(files[nr].fd); in close_dir() 27 zfree(&files[nr].path); in close_dir() 29 free(files); in close_dir() 46 files = zalloc(nr * sizeof(*files)); in perf_data__create_dir() 47 if (!files) in perf_data__create_dir() 79 data->dir.files = files; in perf_data__create_dir() 84 close_dir(files, i); in perf_data__create_dir() 128 file = realloc(files, (nr + 1) * sizeof(*files)); in perf_data__open_dir() 132 files = file; in perf_data__open_dir() 148 if (!files) in perf_data__open_dir() [all …]
|
/linux/Documentation/filesystems/ |
H A 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 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 96 - Create new files as sparse. 99 - Use this parameter to show all meta-files (System Files) on a mounted 100 NTFS partition. By default, all meta-files are hidden. [all …]
|
H A 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 95 spin_lock(&files->file_lock); 96 fd = locate_fd(files, file, start); 99 fdt = files_fdtable(files); [all …]
|
H A 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
|
/linux/include/drm/ |
H A 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, int count, 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 175 const struct drm_debugfs_info *files, in drm_debugfs_add_files() argument
|
/linux/Documentation/dev-tools/ |
H A 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:: 92 The gcov kernel support creates the following files in debugfs: 95 Parent directory for all gcov-related files. 147 - all C source files + headers 150 - all C source files + headers 151 - all .gcda and .gcno files 167 - all .gcda files 168 - all links to .gcno files [all …]
|
/linux/tools/power/cpupower/bindings/python/ |
H A D | README | 1 This folder contains the necessary files to build the Python bindings for 2 libcpupower (aside from the libcpupower object files). 8 * You need the object files in the libcpupower directory compiled by 19 files. For these bindings that means GPL v2. 30 Install SWIG and the Python development files provided by your distribution. 32 Build the object files for libcpupower by running make in the cpupower 43 Please verify the _raw_pylibcpupower.so and raw_pylibcpupower.py files have
|
/linux/fs/jffs2/ |
H A 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/Documentation/admin-guide/LSM/ |
H A D | tomoyo.rst | 33 https://sourceforge.net/projects/tomoyo/files/docs/ . 38 https://sourceforge.net/projects/tomoyo/files/docs/lca2009-takeda.pdf 40 https://sourceforge.net/projects/tomoyo/files/docs/freedomhectaipei-tomoyo.pdf 42 https://sourceforge.net/projects/tomoyo/files/docs/PacSec2007-en-no-demo.pdf 46 https://sourceforge.net/projects/tomoyo/files/docs/lca2009-kumaneko.pdf 48 https://sourceforge.net/projects/tomoyo/files/docs/lfj2008-bof.pdf 52 https://sourceforge.net/projects/tomoyo/files/docs/lfj2008.pdf
|
/linux/drivers/gpu/drm/qxl/ |
H A 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/Documentation/ABI/stable/ |
H A D | sysfs-driver-mlxreg-io | 8 The files are read only. 18 The files are read only. 28 The files are read only. 37 The files are read only. 79 The files are write only. 101 The files are read only. 117 The files are read only. 126 The files are read only. 145 The files are read only. 156 The files are read only. [all …]
|
/linux/drivers/gpu/drm/ci/ |
H A D | build.sh | 100 mkdir -p /lava-files/ 102 cp arch/${KERNEL_ARCH}/boot/${image} /lava-files/. 107 cp ${DEVICE_TREES} /lava-files/. 123 /lava-files/cheza-kernel 127 gzip -k /lava-files/Image 141 xz -7 -c -T${FDO_CI_CONCURRENT:-4} vmlinux > /lava-files/vmlinux.xz 150 ci-fairy s3cp --token-file "${S3_JWT_FILE}" /lava-files/$f \ 167 cp /lava-files/$image artifacts/install/.
|
/linux/scripts/package/debian/ |
H A D | rules | 36 mk-files = $(patsubst binary-%,debian/%.files,$1) 53 $(Q)dh_gencontrol $(DH_OPTIONS) -- -f$(call mk-files,$@) 60 $(Q)truncate -s0 $(call mk-files,$@) 67 $(Q)cat $(call mk-files,$^) > debian/files 79 $(Q)rm -rf debian/deb-env.vars* debian/*.files
|
/linux/tools/testing/selftests/x86/ |
H A D | Makefile | 115 define extra-files 120 $(eval $(call extra-files,sysret_ss_attrs_64,thunks.S)) 121 $(eval $(call extra-files,ptrace_syscall_32,raw_syscall_helper_32.S)) 122 $(eval $(call extra-files,test_syscall_vdso_32,thunks_32.S)) 123 $(eval $(call extra-files,fsgsbase_restore_64,clang_helpers_64.S)) 124 $(eval $(call extra-files,fsgsbase_restore_32,clang_helpers_32.S)) 125 $(eval $(call extra-files,sysret_rip_64,clang_helpers_64.S))
|
/linux/fs/proc/ |
H A 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() 43 if (close_on_exec(fd, files)) in seq_show() 49 spin_unlock(&files->file_lock); in seq_show() 63 show_fd_locks(m, file, files); in seq_show() 300 if (p->files) { in proc_readfd_count() 303 fdt = files_fdtable(p->files); in proc_readfd_count()
|
/linux/tools/testing/selftests/pstore/ |
H A 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
|