Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 69) sorted by relevance

123

/fs/
Dfile.c200 static int expand_fdtable(struct files_struct *files, int nr) in expand_fdtable() argument
201 __releases(files->file_lock) in expand_fdtable()
202 __acquires(files->file_lock) in expand_fdtable()
206 spin_unlock(&files->file_lock); in expand_fdtable()
208 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()
249 int expand_files(struct files_struct *files, int nr) in expand_files() argument
253 fdt = files_fdtable(files); in expand_files()
271 return expand_fdtable(files, nr); in expand_files()
[all …]
Dfcntl.c30 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 …]
Dfile_table.c299 struct files_struct *files = current->files; in fget() local
302 file = fcheck_files(files, fd); in fget()
327 struct files_struct *files = current->files; in fget_light() local
330 if (likely((atomic_read(&files->count) == 1))) { in fget_light()
331 file = fcheck_files(files, fd); in fget_light()
334 file = fcheck_files(files, fd); in fget_light()
Dopen.c983 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd() argument
985 struct fdtable *fdt = files_fdtable(files); in __put_unused_fd()
987 if (fd < files->next_fd) in __put_unused_fd()
988 files->next_fd = fd; in __put_unused_fd()
993 struct files_struct *files = current->files; in put_unused_fd() local
994 spin_lock(&files->file_lock); in put_unused_fd()
995 __put_unused_fd(files, fd); in put_unused_fd()
996 spin_unlock(&files->file_lock); in put_unused_fd()
1016 struct files_struct *files = current->files; in fd_install() local
1018 spin_lock(&files->file_lock); in fd_install()
[all …]
Dlibfs.c416 int simple_fill_super(struct super_block *s, int magic, struct tree_descr *files) in simple_fill_super() argument
447 for (i = 0; !files->name || files->name[0]; i++, files++) { in simple_fill_super()
448 if (!files->name) in simple_fill_super()
457 dentry = d_alloc_name(root, files->name); in simple_fill_super()
463 inode->i_mode = S_IFREG | files->mode; in simple_fill_super()
465 inode->i_fop = files->ops; in simple_fill_super()
Dquota_v1.c60 if (!sb_dqopt(dquot->dq_sb)->files[type]) in v1_read_dqblk()
88 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()
120 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()
Dexec.c904 static void flush_old_files(struct files_struct * files) in flush_old_files() argument
909 spin_lock(&files->file_lock); in flush_old_files()
915 fdt = files_fdtable(files); in flush_old_files()
922 spin_unlock(&files->file_lock); in flush_old_files()
928 spin_lock(&files->file_lock); in flush_old_files()
931 spin_unlock(&files->file_lock); in flush_old_files()
1025 flush_old_files(current->files); in flush_old_exec()
1058 void check_unsafe_exec(struct linux_binprm *bprm, struct files_struct *files) in check_unsafe_exec() argument
1073 if (t->files == files) in check_unsafe_exec()
1079 atomic_read(&p->files->count) > n_files || in check_unsafe_exec()
/fs/jffs2/
DLICENCE1 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)
/fs/hpfs/
DKconfig6 is the file system used for organizing files on OS/2 hard disk
7 partitions. Say Y if you want to be able to read files from and
8 write files to an OS/2 HPFS partition on your hard drive. OS/2
/fs/nfsd/
DKconfig10 files residing on this system using Sun's Network File System
51 manipulate POSIX Access Control Lists on files residing on NFS
52 servers. NFS servers enforce POSIX ACLs on local files whether
57 POSIX ACLs on files exported by your system's NFS server. NFS
76 To export files using NFSv4, you need to install additional user
/fs/fat/
DKconfig9 files on them, i.e. MSDOS files will look and behave just like all
10 other Unix files.
22 If you need to move large files on floppies between a DOS and a
47 transparent, i.e. the MSDOS files look and behave just like all
48 other Unix files.
/fs/proc/
Dbase.c1674 struct files_struct *files = NULL; in proc_fd_info() local
1679 files = get_files_struct(task); in proc_fd_info()
1682 if (files) { in proc_fd_info()
1687 spin_lock(&files->file_lock); in proc_fd_info()
1688 file = fcheck_files(files, fd); in proc_fd_info()
1700 spin_unlock(&files->file_lock); in proc_fd_info()
1701 put_files_struct(files); in proc_fd_info()
1704 spin_unlock(&files->file_lock); in proc_fd_info()
1705 put_files_struct(files); in proc_fd_info()
1720 struct files_struct *files; in tid_fd_revalidate() local
[all …]
Dtask_nommu.c57 if (current->files && atomic_read(&current->files->count) > 1) in task_mem()
58 sbytes += kobjsize(current->files); in task_mem()
60 bytes += kobjsize(current->files); in task_mem()
DKconfig7 your hard disk: the files are created on the fly by the kernel when
8 you try to access them. Also, you cannot read the files with older
53 /proc/sys directory. They are explained in the files
66 Various /proc files exist to monitor process memory utilization:
/fs/nfs/
DKconfig8 Choose Y here if you want to access files residing on other
49 Lists on files residing on NFS servers. NFS servers enforce
50 ACLs on local files whether this protocol is available or not.
54 applications to access and modify ACLs on files on the server.
/fs/reiserfs/
DREADME6 Source code files that contain the phrase "licensing governed by
7 reiserfs/README" are "governed files" throughout this file. Governed
8 files are licensed under the GPL. The portions of them owned by Hans
11 other licenses. If you add your code to governed files, and don't
14 All portions of governed files not labeled otherwise are owned by Hans
100 space problem with packing tails of files for files larger than a node
102 align files), and he invented and implemented indirect items and
DKconfig4 Stores not just filenames but the files themselves in a balanced
11 large directories and small files. Additional patches are needed
45 Create under /proc/fs/reiserfs a hierarchy of files, displaying
/fs/affs/
DKconfig7 if you want to be able to read and write files from and to an Amiga
14 With this driver you can also mount disk files used by Bernd
/fs/befs/
DKconfig8 on files and directories, and database-like indices on selected
11 extremely large volumes and files.
/fs/bfs/
DKconfig7 files during the boot process. It is usually mounted under /stand
9 partition. You should say Y if you want to read or write the files
/fs/ocfs2/
Dquota_local.c143 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file()
652 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_read_info()
760 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, in ocfs2_local_write_info()
817 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], in ocfs2_local_free_info()
827 ocfs2_inode_unlock(sb_dqopt(sb)->files[type], 1); in ocfs2_local_free_info()
863 status = ocfs2_read_quota_block(sb_dqopt(sb)->files[dquot->dq_type], in ocfs2_local_write_dquot()
870 status = ocfs2_modify_bh(sb_dqopt(sb)->files[dquot->dq_type], bh, in ocfs2_local_write_dquot()
931 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_quota_add_chunk()
1040 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_extend_local_quota_file()
1128 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_create_local_dquot()
[all …]
/fs/cifs/
DREADME30 mkdir linux/fs/cifs and then copy the current cifs vfs files from
63 similar files reside (usually /sbin). Although the helper software is not
164 newly created files can end up with an unnecessarily restrictive default mode,
174 open files (required for strict POSIX compliance). Windows Servers already
175 supported this feature. Samba server does not allow symlinks that refer to files
177 files with absolute paths (ie beginning with slash) such as:
181 files that are outside of the share) to a samba specific format on the server
224 of the mount options. Credential files contain two lines
277 of existing files will be the uid (gid) of the person
281 created files and directories, ie files created since
[all …]
DCHANGES27 Various fixes to make delete of open files behavior more predictable
48 files (e.g. "cp -a") to Windows servers. For mkdir and create honor setgid bit
73 cached files. Fix setxattr failure to certain Samba versions. Fix mount
87 (e.g. delete for open files opened with posix open). Take into
90 opened, read and written as if they were files). When 1st tree
123 default uid and gid for files when they are certain that the uids or
157 files. Allow file size to be updated on remote extend of locally open,
244 dentries so files that the client sees as deleted but that later get created
324 filenames (also allow recognizing files with created by SFU which have any
335 Fix updates of DOS attributes and time fields so that files on NT4 servers
[all …]
/fs/ntfs/
DChangeLog51 - Add support for sparse files which have a compression unit of 0.
114 uncompressed and unencrypted files and it never creates sparse files
117 the moment). Also, support for highly fragmented files, i.e. ones
124 uncompressed and unencrypted files are supported. Also, there is
125 only very limited support for highly fragmented files (the ones whose
132 files. This replaces the old use of generic_file_write(), et al and
135 uncompressed) files can now be extended using the normal write(2)
137 we never create sparse files and that we only have limited support
138 for highly fragmented files, i.e. ones whose data attribute is split
231 2.1.23 - Implement extension of resident files and make writing safe as well as
[all …]
DKconfig57 The only supported operation is overwriting existing files, without
59 renaming is possible. Note only non-resident files can be written to
60 so you may find that some very small files (<500 bytes or so) cannot

123