| /linux/fs/ |
| H A D | file.c | 121 * space if any. This does not copy the file pointers. Called with the files 139 * clear the extra space. Called with the files spinlock held for write. 174 * with slots_wanted > BITS_PER_LONG (embedded instance in files->fdtab in alloc_fdtable() 250 * The files->file_lock should be held on entry, and will be held on exit. 252 static int expand_fdtable(struct files_struct *files, unsigned int nr) in expand_fdtable() argument 253 __releases(files->file_lock) in expand_fdtable() 254 __acquires(files->file_lock) in expand_fdtable() 258 spin_unlock(&files->file_lock); in expand_fdtable() 264 if (atomic_read(&files->count) > 1) in expand_fdtable() 267 spin_lock(&files->file_lock); in expand_fdtable() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | Makefile | 5 # copy of this software and associated documentation files (the "Software"), 64 FILES = macro 65 FILES += dc_dmub_srv.o 66 FILES += dc_edid_parser.o 67 FILES += dc_fused_io.o 68 FILES += dc_helper.o 69 FILES += core/dc.o 70 FILES += core/dc_debug.o 71 FILES += core/dc_hw_sequencer.o 72 FILES += core/dc_link_enc_cfg.o [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 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 …]
|
| 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 89 holding files->file_lock. If ->file_lock is dropped, then 90 another thread expand the files thereby creating a new 95 spin_lock(&files->file_lock); [all …]
|
| H A D | zonefs.rst | 13 constraint of zoned block devices to the user. Files representing sequential 60 Zonefs exposes the zones of a zoned block device as files. The files 85 Files representing zones of the same type are grouped together under the same 101 obtained with the stat() or fstat() system calls, indicates the number of files 104 Zone files 107 Zone files are named using the number of the zone they represent within the set 109 contain files named "0", "1", "2", ... The file numbers also represent 112 All read and write operations to zone files are not allowed beyond the file 116 Creating, deleting, renaming or modifying any attribute of files and 122 Conventional zone 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/drivers/comedi/drivers/ni_routing/tools/ |
| H A 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 …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A 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 …]
|
| /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:: 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 89 Files chapter 92 The gcov kernel support creates the following files in debugfs: 95 Parent directory for all gcov-related files. 143 gcc version used for kernel build. Also the following files need to be 147 - all C source files + headers [all …]
|
| /linux/Documentation/ABI/stable/ |
| H A 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/scripts/ |
| H A D | make_fit.py | 8 """Build a FIT containing a lot of devicetree files 17 devicetree files, either specified individually or listed in a file (with an 32 looks at the .cmd files produced by the kernel build. 70 epilog = 'Build a FIT from a directory tree containing .dtb files' 93 help='Specifies the devicetree files to process') 178 for model, compat, files in entries: 183 fsw.property('fdt', bytes(''.join(f'fdt-{x}\x00' for x in files), "ascii")) 277 files: list of filenames corresponding to the DTB 295 files = cmd.split() 296 files = files[files.index('-i') + 1:] [all …]
|
| H A 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 …]
|
| H A D | Makefile.clean | 24 # build a list of files to remove, usually relative to the current 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)),)
|
| /linux/ |
| H A 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. 62 # Top-level generic files 101 # pacman files (make pacman-pkg) 107 # We don't want to ignore the following even if they are dot-files 122 # Generated include files 131 # quilt's files 135 # ctags files 140 # cscope files [all …]
|
| /linux/io_uring/ |
| H A D | openclose.c | 238 struct files_struct *files = current->files; in io_close() local 248 spin_lock(&files->file_lock); in io_close() 249 file = files_lookup_fd_locked(files, close->fd); in io_close() 251 spin_unlock(&files->file_lock); in io_close() 257 spin_unlock(&files->file_lock); in io_close() 261 file = file_close_fd_locked(files, close->fd); in io_close() 262 spin_unlock(&files->file_lock); in io_close() 267 ret = filp_close(file, current->files); in io_close() 343 static int io_pipe_fixed(struct io_kiocb *req, struct file **files, in io_pipe_fixed() argument 359 ret = __io_fixed_fd_install(ctx, files[0], slot); in io_pipe_fixed() [all …]
|
| /linux/kernel/liveupdate/ |
| H A D | luo_file.c | 46 * 1. Preserve (Normal Operation): A userspace agent preserves files one by one 52 * It iterates through all preserved files, calls their respective .freeze() 65 * re-create the 'struct file', and returns a new FD. Files can be 69 * luo_file_finish() is called. It iterates through all files, invokes their 79 * all preserved files, ensuring all allocated resources are cleaned up and 89 * all files within that session, including those that were not yet 117 /* 2 4K pages, give space for 128 files per file_set */ 147 * file_set's list of preserved files. 178 if (file_set->files) in luo_alloc_files_mem() 188 file_set->files = mem; in luo_alloc_files_mem() [all …]
|
| /linux/Documentation/filesystems/spufs/ |
| H A 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 …]
|
| /linux/tools/docs/ |
| H A D | checktransupdate.py | 13 This will print all the files that need to be updated or translated in the zh_CN locale. 178 """List all files with the specified suffix in the folder and its subfolders""" 179 files = [] 187 # list all files and folders 194 files.append(ab_item) 196 return files 243 help="Locale to check when files are not specified", 250 help="Print files that do not have translations", 265 "files", nargs="*", help="Files to check, if not specified, check all files" 273 # Get files related to linux path [all …]
|
| /linux/tools/testing/selftests/pstore/ |
| H A 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
|
| /linux/tools/perf/util/ |
| H A D | data.c | 23 static void close_dir(struct perf_data_file *files, int nr) in close_dir() argument 26 close(files[nr].fd); in close_dir() 27 zfree(&files[nr].path); in close_dir() 29 free(files); in close_dir() 34 close_dir(data->dir.files, data->dir.nr); in perf_data__close_dir() 40 struct perf_data_file *files = NULL; in perf_data__create_dir() local 46 files = zalloc(nr * sizeof(*files)); in perf_data__create_dir() 47 if (!files) in perf_data__create_dir() 51 struct perf_data_file *file = &files[i]; in perf_data__create_dir() 79 data->dir.files = files; in perf_data__create_dir() [all …]
|
| /linux/scripts/clang-tools/ |
| H A D | gen_compile_commands.py | 25 # files in a different format. Do not support it. 36 paths: The list of files/directories to handle to find .cmd files. 38 usage = 'Creates a compile_commands.json database from kernel .cmd files' 59 paths_help = ('directories to search or files to parse ' 60 '(files should be *.o, *.a, or modules.order). ' 74 """Generate the iterator of .cmd files found under the directory. 79 directory: The directory to search for .cmd files. 113 """Generate the iterator of .cmd files associated with the archive. 128 """Generate the iterator of .cmd files associated with the modules.order. 156 root_directory: The directory that was searched for .cmd files. Usually [all …]
|
| /linux/scripts/livepatch/ |
| H A D | klp-build | 308 # Make sure git re-stats the changed files 311 local files=() 315 get_patch_files "$patch" | mapfile -t files 319 git update-index -q --refresh -- "${files[@]}" 327 local files=() 329 get_patch_files "$patch" | mapfile -t files 331 for file in "${files[@]}"; do 429 local files=() 435 # Get all source files affected by the patch 436 get_patch_files "$patch" | mapfile -t files [all …]
|
| /linux/usr/include/ |
| H A D | headers_check.pl | 6 # Usage: headers_check.pl dir [files...] 7 # dir: dir to look for included files 8 # files: list of files to check 10 # The script reads the supplied files line by line and: 14 # Only include files located in asm* and linux* are checked. 15 # The rest are assumed to be system include files. 25 my ($dir, @files) = @ARGV; 32 foreach my $file (@files) {
|
| /linux/tools/usb/usbip/ |
| H A D | INSTALL | 21 It may also create one or more `.h' files containing system-dependent 31 cache files. 58 4. Type `make install' to install the programs and any data files and 61 5. You can remove the program binaries and object files from the 63 files that `configure' created (so you can compile the package for 67 all sorts of other programs in order to regenerate files that came 71 files again. 92 same time, by placing the object files for each architecture in their 94 directory where you want the object files and executables to go and run 107 `/usr/local/bin', include files under `/usr/local/include', etc. You [all …]
|
| /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)
|