Home
last modified time | relevance | path

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

12345

/fs/nfsd/
Dnfs4proc.c121 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument
125 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes()
126 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes()
127 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes()
129 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes()
130 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes()
132 open->op_bmval, nfsd41_ex_attrmask); in nfsd4_check_open_attributes()
139 is_create_with_attrs(struct nfsd4_open *open) in is_create_with_attrs() argument
141 return open->op_create == NFS4_OPEN_CREATE in is_create_with_attrs()
142 && (open->op_createmode == NFS4_CREATE_UNCHECKED in is_create_with_attrs()
[all …]
Dnfs4state.c371 find_openstateowner_str_locked(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str_locked() argument
382 if (same_owner_str(so, &open->op_owner)) in find_openstateowner_str_locked()
389 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str() argument
395 oo = find_openstateowner_str_locked(hashval, open, clp); in find_openstateowner_str()
2396 .open = client_info_open,
2654 .open = client_states_open,
4258 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_existing_open() argument
4261 struct nfs4_openowner *oo = open->op_openowner; in nfsd4_find_existing_open()
4313 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_and_lock_existing_open() argument
4318 stp = nfsd4_find_existing_open(fp, open); in nfsd4_find_and_lock_existing_open()
[all …]
Dnfs4xdr.c946 nfsd4_decode_open(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) in nfsd4_decode_open() argument
951 memset(open->op_bmval, 0, sizeof(open->op_bmval)); in nfsd4_decode_open()
952 open->op_iattr.ia_valid = 0; in nfsd4_decode_open()
953 open->op_openowner = NULL; in nfsd4_decode_open()
955 open->op_xdr_error = 0; in nfsd4_decode_open()
958 open->op_seqid = be32_to_cpup(p++); in nfsd4_decode_open()
960 status = nfsd4_decode_share_access(argp, &open->op_share_access, in nfsd4_decode_open()
961 &open->op_deleg_want, &dummy); in nfsd4_decode_open()
964 status = nfsd4_decode_share_deny(argp, &open->op_share_deny); in nfsd4_decode_open()
968 COPYMEM(&open->op_clientid, sizeof(clientid_t)); in nfsd4_decode_open()
[all …]
Dxdr4.h635 struct nfsd4_open open; member
817 struct nfsd4_open *open, struct nfsd_net *nn);
819 struct svc_fh *current_fh, struct nfsd4_open *open);
822 struct nfsd4_open *open);
/fs/kernfs/
Dfile.c166 of->event = atomic_read(&of->kn->attr.open->event); in kernfs_seq_show()
210 of->event = atomic_read(&of->kn->attr.open->event); in kernfs_file_read_iter()
325 if (of->vm_ops->open) in kernfs_vma_open()
326 of->vm_ops->open(vma); in kernfs_vma_open()
440 .open = kernfs_vma_open,
532 if (!kn->attr.open && new_on) { in kernfs_get_open_node()
533 kn->attr.open = new_on; in kernfs_get_open_node()
537 on = kn->attr.open; in kernfs_get_open_node()
577 struct kernfs_open_node *on = kn->attr.open; in kernfs_put_open_node()
587 kn->attr.open = NULL; in kernfs_put_open_node()
[all …]
/fs/debugfs/
Dfile.c44 .open = simple_open,
204 if (real_fops->open) in open_proxy_open()
205 r = real_fops->open(inode, filp); in open_proxy_open()
213 .open = open_proxy_open,
348 if (real_fops->open) { in full_proxy_open()
349 r = real_fops->open(inode, filp); in full_proxy_open()
371 .open = full_proxy_open,
849 .open = simple_open,
855 .open = simple_open,
861 .open = simple_open,
[all …]
/fs/proc/
Dinode.c499 typeof_member(struct proc_ops, proc_open) open; in proc_reg_open()
504 open = pde->proc_ops->proc_open; in proc_reg_open()
505 if (open) in proc_reg_open()
506 rv = open(inode, file); in proc_reg_open()
536 open = pde->proc_ops->proc_open; in proc_reg_open()
537 if (open) in proc_reg_open()
538 rv = open(inode, file); in proc_reg_open()
592 .open = proc_reg_open,
605 .open = proc_reg_open,
619 .open = proc_reg_open,
[all …]
Dbase.c541 .open = lstats_open,
788 .open = proc_single_open,
931 .open = mem_open,
1004 .open = environ_open,
1031 .open = auxv_open,
1477 .open = sched_open,
1552 .open = sched_autogroup_open,
1655 .open = timens_offsets_open,
1712 .open = comm_open,
2529 .open = proc_timers_open,
[all …]
/fs/cifs/
Dmisc.c651 cifs_del_pending_open(struct cifs_pending_open *open) in cifs_del_pending_open() argument
653 spin_lock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open()
654 list_del(&open->olist); in cifs_del_pending_open()
655 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open()
660 struct cifs_pending_open *open) in cifs_add_pending_open_locked() argument
662 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
663 open->oplock = CIFS_OPLOCK_NO_CHANGE; in cifs_add_pending_open_locked()
664 open->tlink = tlink; in cifs_add_pending_open_locked()
665 fid->pending_open = open; in cifs_add_pending_open_locked()
666 list_add_tail(&open->olist, &tlink_tcon(tlink)->pending_opens); in cifs_add_pending_open_locked()
[all …]
Dsmb2misc.c580 struct cifs_pending_open *open; in smb2_tcon_find_pending_open_lease() local
583 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease()
584 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
589 found = open; in smb2_tcon_find_pending_open_lease()
596 open->oplock = lease_state; in smb2_tcon_find_pending_open_lease()
610 struct cifs_pending_open *open; in smb2_is_valid_lease_break() local
633 open = smb2_tcon_find_pending_open_lease(tcon, in smb2_is_valid_lease_break()
635 if (open) { in smb2_is_valid_lease_break()
639 tlink = cifs_get_tlink(open->tlink); in smb2_is_valid_lease_break()
640 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break()
Ddir.c340 if (!server->ops->open) { in cifs_do_create()
367 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create()
471 struct cifs_pending_open open; in cifs_atomic_open() local
525 cifs_add_pending_open(&fid, tlink, &open); in cifs_atomic_open()
531 cifs_del_pending_open(&open); in cifs_atomic_open()
542 cifs_del_pending_open(&open); in cifs_atomic_open()
558 cifs_del_pending_open(&open); in cifs_atomic_open()
/fs/coda/
Dfile.c103 if (cvm_ops->host_vm_ops && cvm_ops->host_vm_ops->open) in coda_vm_open()
104 cvm_ops->host_vm_ops->open(vma); in coda_vm_open()
189 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap()
301 .open = coda_open,
/fs/9p/
Dvfs_file.c654 .open = v9fs_file_open,
667 .open = v9fs_file_open,
681 .open = v9fs_file_open,
694 .open = v9fs_file_open,
708 .open = v9fs_file_open,
721 .open = v9fs_file_open,
Dvfs_dir.c222 .open = v9fs_file_open,
230 .open = v9fs_file_open,
/fs/fuse/
Dcontrol.c205 .open = nonseekable_open,
211 .open = nonseekable_open,
217 .open = nonseekable_open,
224 .open = nonseekable_open,
/fs/nfs_common/
Dgrace.c64 __state_in_grace(struct net *net, bool open) in __state_in_grace() argument
69 if (!open) in __state_in_grace()
/fs/
Dopen.c766 int (*open)(struct inode *, struct file *)) in do_dentry_open()
816 if (!open) in do_dentry_open()
817 open = f->f_op->open; in do_dentry_open()
818 if (open) { in do_dentry_open()
819 error = open(inode, f); in do_dentry_open()
897 int (*open)(struct inode *, struct file *)) in finish_open()
902 return do_dentry_open(file, d_backing_inode(dentry), open); in finish_open()
1237 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) in SYSCALL_DEFINE3() argument
1280 COMPAT_SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) in COMPAT_SYSCALL_DEFINE3() argument
Dproc_namespace.c322 .open = mounts_open,
331 .open = mountinfo_open,
340 .open = mountstats_open,
Dno-block.c17 .open = no_blkdev_open,
Dchar_dev.c413 if (filp->f_op->open) { in chrdev_open()
414 ret = filp->f_op->open(inode, filp); in chrdev_open()
453 .open = chrdev_open,
/fs/ocfs2/cluster/
Dnetdebug.c188 .open = nst_fop_open,
420 .open = stats_fop_open,
432 .open = sc_fop_open,
481 .open = nodes_fop_open,
/fs/dlm/
Ddebug_fs.c666 .open = table_open1,
674 .open = table_open2,
682 .open = table_open3,
690 .open = table_open4,
727 .open = simple_open,
/fs/ufs/
Dfile.c42 .open = generic_file_open,
/fs/verity/
DMakefile9 open.o \
/fs/notify/inotify/
DKconfig9 directories via a single open fd. Events are read from the file

12345