/fs/ |
D | file.c | 228 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec() 233 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec() 239 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt) in __set_open_fd() 247 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd() 483 unsigned int fd; in __alloc_fd() local 549 static void __put_unused_fd(struct files_struct *files, unsigned int fd) in __put_unused_fd() 557 void put_unused_fd(unsigned int fd) in put_unused_fd() 587 void __fd_install(struct files_struct *files, unsigned int fd, in __fd_install() 611 void fd_install(unsigned int fd, struct file *file) in fd_install() 621 int __close_fd(struct files_struct *files, unsigned fd) in __close_fd() [all …]
|
D | sync.c | 160 SYSCALL_DEFINE1(syncfs, int, fd) in SYSCALL_DEFINE1() argument 215 static int do_fsync(unsigned int fd, int datasync) in do_fsync() 228 SYSCALL_DEFINE1(fsync, unsigned int, fd) in SYSCALL_DEFINE1() argument 233 SYSCALL_DEFINE1(fdatasync, unsigned int, fd) in SYSCALL_DEFINE1() argument 365 int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, in ksys_sync_file_range() 380 SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes, in SYSCALL_DEFINE4() argument 388 SYSCALL_DEFINE4(sync_file_range2, int, fd, unsigned int, flags, in SYSCALL_DEFINE4() argument
|
D | read_write.c | 304 off_t ksys_lseek(unsigned int fd, off_t offset, unsigned int whence) in ksys_lseek() 322 SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence) in SYSCALL_DEFINE3() argument 328 COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned int, whence) in COMPAT_SYSCALL_DEFINE3() argument 335 SYSCALL_DEFINE5(llseek, unsigned int, fd, unsigned long, offset_high, in SYSCALL_DEFINE5() argument 579 ssize_t ksys_read(unsigned int fd, char __user *buf, size_t count) in ksys_read() 598 SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count) in SYSCALL_DEFINE3() argument 603 ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count) in ksys_write() 623 SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, in SYSCALL_DEFINE3() argument 629 ssize_t ksys_pread64(unsigned int fd, char __user *buf, size_t count, in ksys_pread64() 649 SYSCALL_DEFINE4(pread64, unsigned int, fd, char __user *, buf, in SYSCALL_DEFINE4() argument [all …]
|
D | fcntl.c | 35 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() 322 static long do_fcntl(int fd, unsigned int cmd, unsigned long arg, in do_fcntl() 448 SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) in SYSCALL_DEFINE3() argument 472 SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd, in SYSCALL_DEFINE3() argument 610 static long do_compat_fcntl64(unsigned int fd, unsigned int cmd, in do_compat_fcntl64() 675 COMPAT_SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd, in COMPAT_SYSCALL_DEFINE3() argument 681 COMPAT_SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, in COMPAT_SYSCALL_DEFINE3() argument 726 int fd, int reason, enum pid_type type) in send_sigio_to_task() 778 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() 915 struct fasync_struct *fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, s… in fasync_insert_entry() [all …]
|
D | statfs.c | 113 int fd_statfs(int fd, struct kstatfs *st) in fd_statfs() 211 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument 220 SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument 309 COMPAT_SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument 362 int kcompat_sys_fstatfs64(unsigned int fd, compat_size_t sz, struct compat_statfs64 __user * buf) in kcompat_sys_fstatfs64() 376 COMPAT_SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, compat_size_t, sz, struct compat_statfs64 __use… in COMPAT_SYSCALL_DEFINE3() argument
|
D | open.c | 162 long do_sys_ftruncate(unsigned int fd, loff_t length, int small) in do_sys_ftruncate() 212 SYSCALL_DEFINE2(ftruncate, unsigned int, fd, unsigned long, length) in SYSCALL_DEFINE2() argument 218 COMPAT_SYSCALL_DEFINE2(ftruncate, unsigned int, fd, compat_ulong_t, length) in COMPAT_SYSCALL_DEFINE2() argument 231 SYSCALL_DEFINE2(ftruncate64, unsigned int, fd, loff_t, length) in SYSCALL_DEFINE2() argument 335 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate() 347 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument 495 SYSCALL_DEFINE1(fchdir, unsigned int, fd) in SYSCALL_DEFINE1() argument 585 int ksys_fchmod(unsigned int fd, umode_t mode) in ksys_fchmod() 598 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument 723 int ksys_fchown(unsigned int fd, uid_t user, gid_t group) in ksys_fchown() [all …]
|
D | eventfd.c | 332 struct file *eventfd_fget(int fd) in eventfd_fget() 357 struct eventfd_ctx *eventfd_ctx_fdget(int fd) in eventfd_ctx_fdget() 394 int fd; in do_eventfd() local
|
D | readdir.c | 176 SYSCALL_DEFINE3(old_readdir, unsigned int, fd, in SYSCALL_DEFINE3() argument 267 SYSCALL_DEFINE3(getdents, unsigned int, fd, in SYSCALL_DEFINE3() argument 353 int ksys_getdents64(unsigned int fd, struct linux_dirent64 __user *dirent, in ksys_getdents64() 389 SYSCALL_DEFINE3(getdents64, unsigned int, fd, in SYSCALL_DEFINE3() argument 443 COMPAT_SYSCALL_DEFINE3(old_readdir, unsigned int, fd, in COMPAT_SYSCALL_DEFINE3() argument 525 COMPAT_SYSCALL_DEFINE3(getdents, unsigned int, fd, in COMPAT_SYSCALL_DEFINE3() argument
|
D | ioctl.c | 536 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync() 635 int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, in do_vfs_ioctl() 705 int ksys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in ksys_ioctl() 719 SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) in SYSCALL_DEFINE3() argument
|
/fs/hfsplus/ |
D | bfind.c | 15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init() 44 void hfs_find_exit(struct hfs_find_data *fd) in hfs_find_exit() 55 struct hfs_find_data *fd, in hfs_find_1st_rec_by_cnid() 93 struct hfs_find_data *fd, in hfs_find_rec_by_key() 114 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd, in __hfs_brec_find() 164 int hfs_brec_find(struct hfs_find_data *fd, search_strategy_t do_key_compare) in hfs_brec_find() 218 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() 231 int hfs_brec_goto(struct hfs_find_data *fd, int cnt) in hfs_brec_goto()
|
D | attributes.c | 138 const char *name, struct hfs_find_data *fd) in hfsplus_find_attr() 173 struct hfs_find_data fd; in hfsplus_attr_exists() local 199 struct hfs_find_data fd; in hfsplus_create_attr() local 267 struct hfs_find_data *fd) in __hfsplus_delete_attr() 307 struct hfs_find_data fd; in hfsplus_delete_attr() local 353 struct hfs_find_data fd; in hfsplus_delete_all_attrs() local
|
D | extents.c | 88 struct hfs_find_data *fd) in __hfsplus_ext_write_extent() 134 struct hfs_find_data fd; in hfsplus_ext_write_extent_locked() local 156 static inline int __hfsplus_ext_read_extent(struct hfs_find_data *fd, in __hfsplus_ext_read_extent() 177 static inline int __hfsplus_ext_cache_extent(struct hfs_find_data *fd, in __hfsplus_ext_cache_extent() 209 struct hfs_find_data fd; in hfsplus_ext_read_extent() local 399 struct hfs_find_data fd; in hfsplus_free_fork() local 547 struct hfs_find_data fd; in hfsplus_file_truncate() local
|
D | brec.c | 63 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len) in hfs_brec_insert() 179 int hfs_brec_remove(struct hfs_find_data *fd) in hfs_brec_remove() 235 static struct hfs_bnode *hfs_bnode_split(struct hfs_find_data *fd) in hfs_bnode_split() 356 static int hfs_brec_update_parent(struct hfs_find_data *fd) in hfs_brec_update_parent()
|
D | catalog.c | 195 struct hfs_find_data *fd) in hfsplus_find_cat() 257 struct hfs_find_data fd; in hfsplus_create_cat() local 333 struct hfs_find_data fd; in hfsplus_delete_cat() local
|
/fs/hfs/ |
D | bfind.c | 15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init() 32 void hfs_find_exit(struct hfs_find_data *fd) in hfs_find_exit() 43 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) in __hfs_brec_find() 95 int hfs_brec_find(struct hfs_find_data *fd) in hfs_brec_find() 149 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() 162 int hfs_brec_goto(struct hfs_find_data *fd, int cnt) in hfs_brec_goto()
|
D | extent.c | 110 static int __hfs_ext_write_extent(struct inode *inode, struct hfs_find_data *fd) in __hfs_ext_write_extent() 137 struct hfs_find_data fd; in hfs_ext_write_extent() local 150 static inline int __hfs_ext_read_extent(struct hfs_find_data *fd, struct hfs_extent *extent, in __hfs_ext_read_extent() 169 static inline int __hfs_ext_cache_extent(struct hfs_find_data *fd, struct inode *inode, u32 block) in __hfs_ext_cache_extent() 193 struct hfs_find_data fd; in hfs_ext_read_extent() local 289 struct hfs_find_data fd; in hfs_free_fork() local 479 struct hfs_find_data fd; in hfs_file_truncate() local
|
D | brec.c | 65 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len) in hfs_brec_insert() 177 int hfs_brec_remove(struct hfs_find_data *fd) in hfs_brec_remove() 231 static struct hfs_bnode *hfs_bnode_split(struct hfs_find_data *fd) in hfs_bnode_split() 352 static int hfs_brec_update_parent(struct hfs_find_data *fd) in hfs_brec_update_parent()
|
D | catalog.c | 84 struct hfs_find_data fd; in hfs_cat_create() local 188 struct hfs_find_data *fd) in hfs_cat_find_brec() 224 struct hfs_find_data fd; in hfs_cat_delete() local
|
D | attr.c | 25 struct hfs_find_data fd; in __hfs_setxattr() local 71 struct hfs_find_data fd; in __hfs_getxattr() local
|
D | dir.c | 24 struct hfs_find_data fd; in hfs_lookup() local 55 struct hfs_find_data fd; in hfs_readdir() local
|
/fs/hostfs/ |
D | hostfs_user.c | 41 int stat_file(const char *path, struct hostfs_stat *p, int fd) in stat_file() 72 int mode = 0, fd; in open_file() local 124 int read_file(int fd, unsigned long long *offset, char *buf, int len) in read_file() 135 int write_file(int fd, unsigned long long *offset, const char *buf, int len) in write_file() 146 int lseek_file(int fd, long long offset, int whence) in lseek_file() 156 int fsync_file(int fd, int datasync) in fsync_file() 169 int replace_file(int oldfd, int fd) in replace_file() 186 int fd; in file_create() local 194 int set_attr(const char *file, struct hostfs_iattr *attrs, int fd) in set_attr()
|
/fs/proc/ |
D | fd.c | 35 unsigned int fd = proc_fd(m->private); in seq_show() local 84 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode() 121 unsigned int fd; in tid_fd_revalidate() local 160 unsigned int fd = proc_fd(d_inode(dentry)); in proc_fd_link() local 179 unsigned fd; member 233 unsigned int fd; in proc_readfd_common() local
|
/fs/jffs2/ |
D | dir.c | 79 struct jffs2_full_dirent *fd = NULL, *fd_list; in jffs2_lookup() local 124 struct jffs2_full_dirent *fd; in jffs2_readdir() local 287 struct jffs2_full_dirent *fd; in jffs2_symlink() local 449 struct jffs2_full_dirent *fd; in jffs2_mkdir() local 589 struct jffs2_full_dirent *fd; in jffs2_rmdir() local 616 struct jffs2_full_dirent *fd; in jffs2_mknod() local 776 struct jffs2_full_dirent *fd; in jffs2_rename() local
|
D | build.c | 56 struct jffs2_full_dirent *fd; in jffs2_build_inode_pass1() local 103 struct jffs2_full_dirent *fd; in jffs2_build_filesystem() local 244 struct jffs2_full_dirent *fd; in jffs2_build_remove_unlinked_inode() local
|
D | write.c | 209 struct jffs2_full_dirent *fd; in jffs2_write_dirent() local 447 struct jffs2_full_dirent *fd; in jffs2_do_create() local 552 struct jffs2_full_dirent *fd; in jffs2_do_unlink() local 672 struct jffs2_full_dirent *fd; in jffs2_do_link() local
|