/linux-4.1.27/tools/testing/selftests/vm/ |
H A D | hugetlbfstest.c | 55 static int open_file(const char *path) open_file() function 73 fd = open_file("/dev/shm/hugetlbhog"); main() 74 hugefd = open_file("/hugepages/hugetlbhog"); main()
|
/linux-4.1.27/tools/perf/util/ |
H A D | data.c | 107 static int open_file(struct perf_data_file *file) open_file() function 126 return open_file(file); perf_data_file__open()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | xmit_osdep.h | 34 u32 pkt_len; /*the remainder length of the open_file*/
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | xmit_osdep.h | 28 size_t pkt_len; /* the remainder length of the open_file */
|
/linux-4.1.27/fs/cifs/ |
H A D | file.c | 1634 cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data, cifs_write() argument 1644 struct dentry *dentry = open_file->dentry; cifs_write() 1653 tcon = tlink_tcon(open_file->tlink); cifs_write() 1668 if (open_file->invalidHandle) { cifs_write() 1673 rc = cifs_reopen_file(open_file, false); cifs_write() 1687 rc = server->ops->sync_write(xid, &open_file->fid, cifs_write() 1721 struct cifsFileInfo *open_file = NULL; find_readable_file() local 1732 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { find_readable_file() 1733 if (fsuid_only && !uid_eq(open_file->uid, current_fsuid())) find_readable_file() 1735 if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { find_readable_file() 1736 if (!open_file->invalidHandle) { find_readable_file() 1739 cifsFileInfo_get_locked(open_file); find_readable_file() 1741 return open_file; find_readable_file() 1755 struct cifsFileInfo *open_file, *inv_file = NULL; find_writable_file() local 1783 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { find_writable_file() 1784 if (!any_available && open_file->pid != current->tgid) find_writable_file() 1786 if (fsuid_only && !uid_eq(open_file->uid, current_fsuid())) find_writable_file() 1788 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { find_writable_file() 1789 if (!open_file->invalidHandle) { find_writable_file() 1791 cifsFileInfo_get_locked(open_file); find_writable_file() 1793 return open_file; find_writable_file() 1796 inv_file = open_file; find_writable_file() 1841 struct cifsFileInfo *open_file; cifs_partialpagewrite() local 1867 open_file = find_writable_file(CIFS_I(mapping->host), false); cifs_partialpagewrite() 1868 if (open_file) { cifs_partialpagewrite() 1869 bytes_written = cifs_write(open_file, open_file->pid, cifs_partialpagewrite() 1871 cifsFileInfo_put(open_file); cifs_partialpagewrite() 2466 struct cifsFileInfo *open_file, cifs_write_from_iter() 2479 pid = open_file->pid; cifs_write_from_iter() 2483 server = tlink_tcon(open_file->tlink)->ses->server; cifs_write_from_iter() 2530 wdata->cfile = cifsFileInfo_get(open_file); cifs_write_from_iter() 2566 struct cifsFileInfo *open_file; cifs_user_writev() local 2586 open_file = file->private_data; cifs_user_writev() 2587 tcon = tlink_tcon(open_file->tlink); cifs_user_writev() 2595 open_file, cifs_sb, &wdata_list); cifs_user_writev() 2638 open_file, cifs_sb, &tmp_list); cifs_user_writev() 2902 cifs_send_async_read(loff_t offset, size_t len, struct cifsFileInfo *open_file, cifs_send_async_read() argument 2912 server = tlink_tcon(open_file->tlink)->ses->server; cifs_send_async_read() 2915 pid = open_file->pid; cifs_send_async_read() 2941 rdata->cfile = cifsFileInfo_get(open_file); cifs_send_async_read() 2980 struct cifsFileInfo *open_file; cifs_user_readv() local 2990 open_file = file->private_data; cifs_user_readv() 2991 tcon = tlink_tcon(open_file->tlink); cifs_user_readv() 2999 rc = cifs_send_async_read(offset, len, open_file, cifs_sb, &rdata_list); cifs_user_readv() 3128 struct cifsFileInfo *open_file; cifs_read() local 3144 open_file = file->private_data; cifs_read() 3145 tcon = tlink_tcon(open_file->tlink); cifs_read() 3154 pid = open_file->pid; cifs_read() 3176 if (open_file->invalidHandle) { cifs_read() 3177 rc = cifs_reopen_file(open_file, true); cifs_read() 3185 rc = server->ops->sync_read(xid, &open_file->fid, &io_parms, cifs_read() 3439 struct cifsFileInfo *open_file = file->private_data; cifs_readpages() local 3457 pid = open_file->pid; cifs_readpages() 3462 server = tlink_tcon(open_file->tlink)->ses->server; cifs_readpages() 3522 rdata->cfile = cifsFileInfo_get(open_file); cifs_readpages() 3634 struct cifsFileInfo *open_file; is_inode_writable() local 3637 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { is_inode_writable() 3638 if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { is_inode_writable() 2465 cifs_write_from_iter(loff_t offset, size_t len, struct iov_iter *from, struct cifsFileInfo *open_file, struct cifs_sb_info *cifs_sb, struct list_head *wdata_list) cifs_write_from_iter() argument
|
H A D | smb1ops.c | 773 struct cifsFileInfo *open_file; smb_set_file_info() local 780 open_file = find_writable_file(cinode, true); smb_set_file_info() 781 if (open_file) { smb_set_file_info() 782 fid.netfid = open_file->fid.netfid; smb_set_file_info() 783 netpid = open_file->pid; smb_set_file_info() 784 tcon = tlink_tcon(open_file->tlink); smb_set_file_info() 829 if (open_file == NULL) smb_set_file_info() 832 cifsFileInfo_put(open_file); smb_set_file_info()
|
H A D | inode.c | 2031 struct cifsFileInfo *open_file; cifs_set_file_size() local 2047 open_file = find_writable_file(cifsInode, true); cifs_set_file_size() 2048 if (open_file) { cifs_set_file_size() 2049 tcon = tlink_tcon(open_file->tlink); cifs_set_file_size() 2052 rc = server->ops->set_file_size(xid, tcon, open_file, cifs_set_file_size() 2056 cifsFileInfo_put(open_file); cifs_set_file_size() 2109 struct cifsFileInfo *open_file; cifs_setattr_unix() local 2192 open_file = find_writable_file(cifsInode, true); cifs_setattr_unix() 2193 if (open_file) { cifs_setattr_unix() 2194 u16 nfid = open_file->fid.netfid; cifs_setattr_unix() 2195 u32 npid = open_file->pid; cifs_setattr_unix() 2196 pTcon = tlink_tcon(open_file->tlink); cifs_setattr_unix() 2198 cifsFileInfo_put(open_file); cifs_setattr_unix()
|
H A D | cifsacl.c | 942 struct cifsFileInfo *open_file = NULL; get_cifs_acl() local 945 open_file = find_readable_file(CIFS_I(inode), true); get_cifs_acl() 946 if (!open_file) get_cifs_acl() 949 pntsd = get_cifs_acl_by_fid(cifs_sb, &open_file->fid, pacllen); get_cifs_acl() 950 cifsFileInfo_put(open_file); get_cifs_acl()
|
H A D | cifssmb.c | 96 struct cifsFileInfo *open_file = NULL; cifs_mark_open_files_invalid() local 103 open_file = list_entry(tmp, struct cifsFileInfo, tlist); cifs_mark_open_files_invalid() 104 open_file->invalidHandle = true; cifs_mark_open_files_invalid() 105 open_file->oplock_break_cancelled = true; cifs_mark_open_files_invalid()
|
/linux-4.1.27/fs/hostfs/ |
H A D | hostfs.h | 67 extern int open_file(char *path, int r, int w, int append);
|
H A D | hostfs_user.c | 70 int open_file(char *path, int r, int w, int append) open_file() function 80 else panic("Impossible mode in open_file"); open_file()
|
H A D | hostfs_kern.c | 330 fd = open_file(name, r, w, append); hostfs_open()
|
/linux-4.1.27/fs/kernfs/ |
H A D | file.c | 672 * Cache it in open_file. See kernfs_fop_write() for details. kernfs_fop_open()
|