Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 112) sorted by relevance

12345

/fs/nfsd/
Dnfs4proc.c65 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int … in do_open_permission() argument
69 if (open->op_truncate && in do_open_permission()
70 !(open->op_share_access & NFS4_SHARE_ACCESS_WRITE)) in do_open_permission()
73 if (open->op_share_access & NFS4_SHARE_ACCESS_READ) in do_open_permission()
75 if (open->op_share_access & NFS4_SHARE_ACCESS_WRITE) in do_open_permission()
77 if (open->op_share_deny & NFS4_SHARE_DENY_WRITE) in do_open_permission()
86 do_open_lookup(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open) in do_open_lookup() argument
93 open->op_truncate = 0; in do_open_lookup()
95 if (open->op_create) { in do_open_lookup()
100 status = nfsd_create_v3(rqstp, current_fh, open->op_fname.data, in do_open_lookup()
[all …]
Dnfs4state.c1010 …c_init_open_stateowner(unsigned int strhashval, struct nfs4_client *clp, struct nfsd4_open *open) { in alloc_init_open_stateowner() argument
1015 if (!(sop = alloc_stateowner(&open->op_owner))) in alloc_init_open_stateowner()
1031 sop->so_seqid = open->op_seqid; in alloc_init_open_stateowner()
1083 init_stateid(struct nfs4_stateid *stp, struct nfs4_file *fp, struct nfsd4_open *open) { in init_stateid() argument
1084 struct nfs4_stateowner *sop = open->op_stateowner; in init_stateid()
1103 __set_bit(open->op_share_access, &stp->st_access_bmap); in init_stateid()
1104 __set_bit(open->op_share_deny, &stp->st_deny_bmap); in init_stateid()
1145 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open) in find_openstateowner_str() argument
1150 if (same_owner_str(so, &open->op_owner, &open->op_clientid)) in find_openstateowner_str()
1228 test_share(struct nfs4_stateid *stp, struct nfsd4_open *open) { in test_share() argument
[all …]
Dnfs4xdr.c626 nfsd4_decode_open(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) in nfsd4_decode_open() argument
630 memset(open->op_bmval, 0, sizeof(open->op_bmval)); in nfsd4_decode_open()
631 open->op_iattr.ia_valid = 0; in nfsd4_decode_open()
632 open->op_stateowner = NULL; in nfsd4_decode_open()
636 READ32(open->op_seqid); in nfsd4_decode_open()
637 READ32(open->op_share_access); in nfsd4_decode_open()
638 READ32(open->op_share_deny); in nfsd4_decode_open()
639 COPYMEM(&open->op_clientid, sizeof(clientid_t)); in nfsd4_decode_open()
640 READ32(open->op_owner.len); in nfsd4_decode_open()
643 READ_BUF(open->op_owner.len + 4); in nfsd4_decode_open()
[all …]
/fs/sysfs/
Dfile.c91 buffer->event = atomic_read(&attr_sd->s_attr.open->event); in fill_read_buffer()
273 if (!sd->s_attr.open && new_od) { in sysfs_get_open_dirent()
274 sd->s_attr.open = new_od; in sysfs_get_open_dirent()
278 od = sd->s_attr.open; in sysfs_get_open_dirent()
317 struct sysfs_open_dirent *od = sd->s_attr.open; in sysfs_put_open_dirent()
323 sd->s_attr.open = NULL; in sysfs_put_open_dirent()
436 struct sysfs_open_dirent *od = attr_sd->s_attr.open; in sysfs_poll()
462 od = sd->s_attr.open; in sysfs_notify_dirent()
493 .open = sysfs_open_file,
Dbin.c199 static int open(struct inode * inode, struct file * file) in open() function
255 .open = open,
/fs/
Dopen.c807 int (*open)(struct inode *, struct file *), in __dentry_open()
836 if (!open && f->f_op) in __dentry_open()
837 open = f->f_op->open; in __dentry_open()
838 if (open) { in __dentry_open()
839 error = open(inode, f); in __dentry_open()
905 int (*open)(struct inode *, struct file *)) in lookup_instantiate_filp()
909 if (IS_ERR(nd->intent.open.file)) in lookup_instantiate_filp()
913 nd->intent.open.file = __dentry_open(dget(dentry), mntget(nd->path.mnt), in lookup_instantiate_filp()
914 nd->intent.open.flags - 1, in lookup_instantiate_filp()
915 nd->intent.open.file, in lookup_instantiate_filp()
[all …]
Dno-block.c21 .open = no_blkdev_open,
Dnamei.c371 if (nd->intent.open.file->f_path.dentry == NULL) in release_open_intent()
372 put_filp(nd->intent.open.file); in release_open_intent()
374 fput(nd->intent.open.file); in release_open_intent()
1137 nd->intent.open.file = filp; in path_lookup_open()
1138 nd->intent.open.flags = open_flags; in path_lookup_open()
1139 nd->intent.open.create_mode = 0; in path_lookup_open()
1141 if (IS_ERR(nd->intent.open.file)) { in path_lookup_open()
1143 err = PTR_ERR(nd->intent.open.file); in path_lookup_open()
1684 nd.intent.open.file = filp; in do_filp_open()
1685 nd.intent.open.flags = flag; in do_filp_open()
[all …]
Dchar_dev.c395 if (filp->f_op->open) { in chrdev_open()
396 ret = filp->f_op->open(inode,filp); in chrdev_open()
434 .open = chrdev_open,
/fs/cifs/
Dcifs_debug.c222 .open = cifs_debug_data_proc_open,
380 .open = cifs_stats_proc_open,
479 .open = cifsFYI_proc_open,
516 .open = cifs_oplock_proc_open,
555 .open = cifs_experimental_proc_open,
592 .open = cifs_linux_ext_proc_open,
629 .open = cifs_lookup_cache_proc_open,
666 .open = traceSMB_proc_open,
703 .open = cifs_multiuser_mount_proc_open,
781 .open = cifs_security_flags_proc_open,
DCHANGES27 Various fixes to make delete of open files behavior more predictable
28 (when delete of an open file fails we mark the file as "delete-on-close"
47 architectures. Fix problems with preserving timestamps on copying open
55 file is open with O_APPEND and file is on a directio (forcediretio) mount.
78 mounted to Windows servers. Fix slow file open when cifsacl
85 Windows 9x). Add new feature "POSIX open" which allows servers
87 (e.g. delete for open files opened with posix open). Take into
157 files. Allow file size to be updated on remote extend of locally open,
162 stat information on the open, and allows setting the mode).
204 cifs open which helps rare case when setpathinfo fails or server does
[all …]
/fs/proc/
Dinode.c319 int (*open)(struct inode *, struct file *); in proc_reg_open() local
344 open = pde->proc_fops->open; in proc_reg_open()
348 if (open) in proc_reg_open()
349 rv = open(inode, file); in proc_reg_open()
430 .open = proc_reg_open,
442 .open = proc_reg_open,
Dcpuinfo.c13 .open = cpuinfo_open,
Dcmdline.c18 .open = cmdline_proc_open,
Dversion.c23 .open = version_proc_open,
Dinterrupts.c42 .open = interrupts_open,
Dkmsg.c54 .open = kmsg_open,
Dloadavg.c40 .open = loadavg_proc_open,
/fs/ext2/
Dfile.c56 .open = generic_file_open,
73 .open = generic_file_open,
/fs/debugfs/
Dfile.c45 .open = default_open,
374 .open = default_open,
418 .open = default_open,
/fs/afs/
Dproc.c39 .open = afs_proc_cells_open,
56 .open = afs_proc_rootcell_open,
81 .open = afs_proc_cell_volumes_open,
106 .open = afs_proc_cell_vlservers_open,
130 .open = afs_proc_cell_servers_open,
/fs/fuse/
Dcontrol.c65 .open = nonseekable_open,
70 .open = nonseekable_open,
/fs/xfs/linux-2.6/
Dxfs_file.c255 .open = xfs_file_open,
264 .open = xfs_dir_open,
/fs/9p/
Dvfs_file.c258 .open = v9fs_file_open,
268 .open = v9fs_file_open,
/fs/ufs/
Dfile.c64 .open = generic_file_open,

12345