/linux-2.6.39/include/linux/ |
D | fdtable.h | 61 #define rcu_dereference_check_fdtable(files, fdtfd) \ argument 64 lockdep_is_held(&(files)->file_lock) || \ 65 atomic_read(&(files)->count) == 1 || \ 68 #define files_fdtable(files) \ argument 69 (rcu_dereference_check_fdtable((files), (files)->fdt)) 84 static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) in fcheck_files() argument 87 struct fdtable *fdt = files_fdtable(files); in fcheck_files() 90 file = rcu_dereference_check_fdtable(files, fdt->fd[fd]); in fcheck_files() 97 #define fcheck(fd) fcheck_files(current->files, fd)
|
/linux-2.6.39/ |
D | .gitignore | 2 # NOTE! Don't add files that are generated in specific 6 # NOTE! Please use 'git ls-files -i --exclude-standard' 8 # any tracked files which get ignored after the change. 37 # Top-level generic files 49 # git files that we don't want to ignore even it they are dot-files 55 # Generated include files 64 # quilt's files 68 # cscope files 72 # gnu global files
|
/linux-2.6.39/scripts/ |
D | Makefile.headersinst | 31 all-files := $(header-y) $(objhdr-y) 32 input-files := $(addprefix $(srctree)/$(obj)/,$(header-y)) \ 34 output-files := $(addprefix $(install)/, $(all-files)) 38 unwanted := $(filter-out $(all-files),$(oldheaders)) 45 quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\ 46 file$(if $(word 2, $(all-files)),s)) 55 quiet_cmd_check = CHECK $(printdir) ($(words $(all-files)) files) 58 cmd_check = for f in $(all-files); do \ 72 $(install-file): scripts/headers_install.pl $(input-files) FORCE 82 $(check-file): scripts/headers_check.pl $(output-files) FORCE
|
D | Makefile.clean | 43 __clean-files := $(extra-y) $(always) \ 44 $(targets) $(clean-files) \ 48 __clean-files := $(filter-out $(no-clean-files), $(__clean-files)) 53 __clean-files := $(wildcard \ 54 $(addprefix $(obj)/, $(filter-out /%, $(__clean-files))) \ 55 $(filter /%, $(__clean-files))) 67 cmd_clean = rm -f $(__clean-files) 73 ifneq ($(strip $(__clean-files)),)
|
/linux-2.6.39/fs/ |
D | file.c | 202 static int expand_fdtable(struct files_struct *files, int nr) in expand_fdtable() argument 203 __releases(files->file_lock) in expand_fdtable() 204 __acquires(files->file_lock) in expand_fdtable() 208 spin_unlock(&files->file_lock); in expand_fdtable() 210 spin_lock(&files->file_lock); in expand_fdtable() 225 cur_fdt = files_fdtable(files); in expand_fdtable() 229 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable() 247 int expand_files(struct files_struct *files, int nr) in expand_files() argument 251 fdt = files_fdtable(files); in expand_files() 269 return expand_fdtable(files, nr); in expand_files() [all …]
|
D | file_table.c | 279 struct files_struct *files = current->files; in fget() local 282 file = fcheck_files(files, fd); in fget() 299 struct files_struct *files = current->files; in fget_raw() local 302 file = fcheck_files(files, fd); in fget_raw() 334 struct files_struct *files = current->files; in fget_light() local 337 if (atomic_read(&files->count) == 1) { in fget_light() 338 file = fcheck_files(files, fd); in fget_light() 343 file = fcheck_files(files, fd); in fget_light() 361 struct files_struct *files = current->files; in fget_raw_light() local 364 if (atomic_read(&files->count) == 1) { in fget_raw_light() [all …]
|
D | fcntl.c | 30 struct files_struct *files = current->files; in set_close_on_exec() local 32 spin_lock(&files->file_lock); in set_close_on_exec() 33 fdt = files_fdtable(files); in set_close_on_exec() 38 spin_unlock(&files->file_lock); in set_close_on_exec() 43 struct files_struct *files = current->files; in get_close_on_exec() local 47 fdt = files_fdtable(files); in get_close_on_exec() 57 struct files_struct * files = current->files; in SYSCALL_DEFINE3() local 66 spin_lock(&files->file_lock); in SYSCALL_DEFINE3() 67 err = expand_files(files, newfd); in SYSCALL_DEFINE3() 91 fdt = files_fdtable(files); in SYSCALL_DEFINE3() [all …]
|
D | open.c | 854 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd() argument 856 struct fdtable *fdt = files_fdtable(files); in __put_unused_fd() 858 if (fd < files->next_fd) in __put_unused_fd() 859 files->next_fd = fd; in __put_unused_fd() 864 struct files_struct *files = current->files; in put_unused_fd() local 865 spin_lock(&files->file_lock); in put_unused_fd() 866 __put_unused_fd(files, fd); in put_unused_fd() 867 spin_unlock(&files->file_lock); in put_unused_fd() 887 struct files_struct *files = current->files; in fd_install() local 889 spin_lock(&files->file_lock); in fd_install() [all …]
|
/linux-2.6.39/Documentation/filesystems/ |
D | files.txt | 4 This document describes how locking for files (struct file) 5 and file descriptor table (struct files) works. 8 with a lock (files->file_lock) and reference count (files->count). 15 The files (struct file) themselves are protected using 30 and files->fdtab points to the new structure. The fdtable 43 fdt = files_fdtable(files); 58 3. For any update to the fd table, files->file_lock must 83 file = fcheck_files(files, fd); 106 holding files->file_lock. If ->file_lock is dropped, then 107 another thread expand the files thereby creating a new [all …]
|
D | hfs.txt | 20 used for creating new files. Default values: '????'. 23 Specifies the user/group that owns all files on the filesystems. 27 Specifies the umask used for all files , all directories or all 28 files and directories. Defaults to the umask of the mounting process. 52 and gid of files. 53 o You can't create hard- or symlinks, device files, sockets or FIFOs. 56 non-standard forks are represented as hidden additional files in the normal 60 o You can't create, delete or rename resource forks of files or the 64 o Copying files to a different filesystem will loose those attributes
|
D | ecryptfs.txt | 4 For documentation, please see the files in the doc/ subdirectory. For 31 eCryptfs, you should copy the files to an unencrypted location and 32 then copy the files back into the new eCryptfs mount to migrate the 33 files. 39 files (i.e., /root/crypt). Then, create the mount point directory 68 or (2) directories containing files only created by eCryptfs. If you 69 mount a directory that has pre-existing files not created by eCryptfs,
|
D | isofs.txt | 3 gid=nnn All files in the partition will be in group nnn. 4 uid=nnn All files in the partition will be owned by user id nnn. 26 mode=xxx Sets the permissions on files to xxx unless Rock Ridge 30 overriderockperm Set permissions on files and directories according to 35 hide Completely strip hidden files from the file system. 36 showassoc Show files marked with the 'associated' bit 37 unhide Deprecated; showing hidden files is now default;
|
/linux-2.6.39/drivers/gpu/drm/ |
D | drm_proc.c | 92 int drm_proc_create_files(struct drm_info_list *files, int count, in drm_proc_create_files() argument 102 u32 features = files[i].driver_features; in drm_proc_create_files() 114 tmp->info_ent = &files[i]; in drm_proc_create_files() 117 ent = proc_create_data(files[i].name, S_IRUGO, root, in drm_proc_create_files() 121 name, files[i].name); in drm_proc_create_files() 176 int drm_proc_remove_files(struct drm_info_list *files, int count, in drm_proc_remove_files() argument 186 if (tmp->info_ent == &files[i]) { in drm_proc_remove_files() 187 remove_proc_entry(files[i].name, in drm_proc_remove_files()
|
D | drm_debugfs.c | 87 int drm_debugfs_create_files(struct drm_info_list *files, int count, in drm_debugfs_create_files() argument 97 u32 features = files[i].driver_features; in drm_debugfs_create_files() 108 ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO, in drm_debugfs_create_files() 112 name, files[i].name); in drm_debugfs_create_files() 120 tmp->info_ent = &files[i]; in drm_debugfs_create_files() 126 drm_debugfs_remove_files(files, count, minor); in drm_debugfs_create_files() 188 int drm_debugfs_remove_files(struct drm_info_list *files, int count, in drm_debugfs_remove_files() argument 198 if (tmp->info_ent == &files[i]) { in drm_debugfs_remove_files()
|
/linux-2.6.39/Documentation/ |
D | gcov.txt | 27 This will create source code files annotated with execution counts 70 To enable profiling for specific files or directories, add a line 76 For all files in one directory: 79 To exclude files from being profiled even when CONFIG_GCOV_PROFILE_ALL 86 Only files which are linked to the main kernel image or are compiled as 93 The gcov kernel support creates the following files in debugfs: 96 Parent directory for all gcov-related files. 142 gcc version used for kernel build. Also the following files need to be 146 - all C source files + headers 149 - all C source files + headers [all …]
|
D | kernel-doc-nano-HOWTO.txt | 16 This style embeds the documentation within the source files, using 30 functions externally visible to other kernel files (not marked 38 Data structures visible in kernel include files should also be 105 source files" for more details and notes on how to format kernel-doc 123 These are SGML template files, which are normal SGML files with 129 This is a program for converting SGML template files into SGML 130 files. When a file is referenced it is searched for symbols 135 Additionally it is used to scan the SGML template files to locate 136 all the files referenced herein. This is used to generate dependency 142 to build DocBook files, PostScript files, PDF files, and html files [all …]
|
/linux-2.6.39/arch/mips/ |
D | Kbuild | 1 # Fail on warnings - also for files referenced in subdirs 2 # -Werror can be disabled for specific files using: 14 # mips object files 15 # The object files are linked as core-y files would be linked
|
/linux-2.6.39/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-2.6.39/sound/ |
D | sound_firmware.c | 26 filp_close(filp, current->files); in do_mod_firmware_load() 33 filp_close(filp, current->files); in do_mod_firmware_load() 41 filp_close(filp, current->files); in do_mod_firmware_load() 44 filp_close(filp, current->files); in do_mod_firmware_load()
|
/linux-2.6.39/scripts/kconfig/ |
D | kxgettext.c | 88 struct file_line *files; member 101 self->files = file_line__new(file, lineno); in message__new() 102 if (self->files == NULL) in message__new() 114 free(self->files); in message__new() 143 fl->next = self->files; in message__add_file_line() 144 self->files = fl; in message__add_file_line() 192 struct file_line *fl = self->files; in message__print_file_lineno()
|
/linux-2.6.39/scripts/selinux/ |
D | install_policy.sh | 25 mkdir -p /etc/selinux/dummy/contexts/files 27 cp file_contexts /etc/selinux/dummy/contexts/files 30 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts 56 cd /etc/selinux/dummy/contexts/files
|
/linux-2.6.39/Documentation/misc-devices/ |
D | ad525x_dpot.txt | 15 Each dpot device will have a set of eeprom, rdac, and tolerance files. How 18 The eeprom files are used to program the startup value of the device. 20 The rdac files are used to program the immediate value of the device. 22 The tolerance files are the read-only factory programmed tolerance settings 43 You can use simple reads/writes to access these files:
|
/linux-2.6.39/Documentation/infiniband/ |
D | sysfs.txt | 4 following files under /sys/class/infiniband/<device name>: 20 In each port subdirectory, the following files are created: 31 There is also a "counters" subdirectory, with files 50 Each of these files contains the corresponding value from the port's 61 The Mellanox HCA driver also creates the files:
|
/linux-2.6.39/kernel/ |
D | exit.c | 461 current->files = init_task.files; in daemonize() 462 atomic_inc(¤t->files->count); in daemonize() 469 static void close_files(struct files_struct * files) in close_files() argument 482 fdt = files_fdtable(files); in close_files() 494 filp_close(file, files); in close_files() 506 struct files_struct *files; in get_files_struct() local 509 files = task->files; in get_files_struct() 510 if (files) in get_files_struct() 511 atomic_inc(&files->count); in get_files_struct() 514 return files; in get_files_struct() [all …]
|
/linux-2.6.39/arch/m68k/ifpsp060/src/ |
D | README-SRC | 9 You don't need to actually assemble these files in order to compile a 10 workin m68k kernel, the precompiled .sa files in arch/m68k/ifpsp060 11 are sufficient and were generated from these source files by
|