Home
last modified time | relevance | path

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

12345678910>>...21

/linux-4.19.296/fs/nfsd/
Dnfs4proc.c118 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument
122 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes()
123 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes()
124 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes()
126 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes()
127 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes()
129 open->op_bmval, nfsd41_ex_attrmask); in nfsd4_check_open_attributes()
136 is_create_with_attrs(struct nfsd4_open *open) in is_create_with_attrs() argument
138 return open->op_create == NFS4_OPEN_CREATE in is_create_with_attrs()
139 && (open->op_createmode == NFS4_CREATE_UNCHECKED in is_create_with_attrs()
[all …]
Dnfs4state.c349 find_openstateowner_str_locked(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str_locked() argument
360 if (same_owner_str(so, &open->op_owner)) in find_openstateowner_str_locked()
367 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str() argument
373 oo = find_openstateowner_str_locked(hashval, open, clp); in find_openstateowner_str()
3642 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_existing_open() argument
3645 struct nfs4_openowner *oo = open->op_openowner; in nfsd4_find_existing_open()
3697 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) in nfsd4_find_and_lock_existing_open() argument
3702 stp = nfsd4_find_existing_open(fp, open); in nfsd4_find_and_lock_existing_open()
3712 alloc_init_open_stateowner(unsigned int strhashval, struct nfsd4_open *open, in alloc_init_open_stateowner() argument
3718 oo = alloc_stateowner(openowner_slab, &open->op_owner, clp); in alloc_init_open_stateowner()
[all …]
Dnfs4xdr.c900 nfsd4_decode_open(struct nfsd4_compoundargs *argp, struct nfsd4_open *open) in nfsd4_decode_open() argument
905 memset(open->op_bmval, 0, sizeof(open->op_bmval)); in nfsd4_decode_open()
906 open->op_iattr.ia_valid = 0; in nfsd4_decode_open()
907 open->op_openowner = NULL; in nfsd4_decode_open()
909 open->op_xdr_error = 0; in nfsd4_decode_open()
912 open->op_seqid = be32_to_cpup(p++); in nfsd4_decode_open()
914 status = nfsd4_decode_share_access(argp, &open->op_share_access, in nfsd4_decode_open()
915 &open->op_deleg_want, &dummy); in nfsd4_decode_open()
918 status = nfsd4_decode_share_deny(argp, &open->op_share_deny); in nfsd4_decode_open()
922 COPYMEM(&open->op_clientid, sizeof(clientid_t)); in nfsd4_decode_open()
[all …]
/linux-4.19.296/fs/kernfs/
Dfile.c166 of->event = atomic_read(&of->kn->attr.open->event); in kernfs_seq_show()
211 of->event = atomic_read(&of->kn->attr.open->event); in kernfs_file_direct_read()
345 if (of->vm_ops->open) in kernfs_vma_open()
346 of->vm_ops->open(vma); in kernfs_vma_open()
460 .open = kernfs_vma_open,
552 if (!kn->attr.open && new_on) { in kernfs_get_open_node()
553 kn->attr.open = new_on; in kernfs_get_open_node()
557 on = kn->attr.open; in kernfs_get_open_node()
597 struct kernfs_open_node *on = kn->attr.open; in kernfs_put_open_node()
607 kn->attr.open = NULL; in kernfs_put_open_node()
[all …]
/linux-4.19.296/drivers/hid/
Dhid-roccat.c45 int open; member
174 if (!device->open++) { in roccat_open()
178 --device->open; in roccat_open()
185 --device->open; in roccat_open()
226 if (!--device->open) { in roccat_release()
374 if (device->open) { in roccat_disconnect()
415 .open = roccat_open,
Dhidraw.c290 if (!dev->open++) { in hidraw_open()
293 dev->open--; in hidraw_open()
300 dev->open--; in hidraw_open()
331 if (hidraw->open) { in drop_ref()
338 --hidraw->open; in drop_ref()
340 if (!hidraw->open) { in drop_ref()
479 .open = hidraw_open,
/linux-4.19.296/fs/cifs/
Dmisc.c624 cifs_del_pending_open(struct cifs_pending_open *open) in cifs_del_pending_open() argument
626 spin_lock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open()
627 list_del(&open->olist); in cifs_del_pending_open()
628 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open()
633 struct cifs_pending_open *open) in cifs_add_pending_open_locked() argument
635 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
636 open->oplock = CIFS_OPLOCK_NO_CHANGE; in cifs_add_pending_open_locked()
637 open->tlink = tlink; in cifs_add_pending_open_locked()
638 fid->pending_open = open; in cifs_add_pending_open_locked()
639 list_add_tail(&open->olist, &tlink_tcon(tlink)->pending_opens); in cifs_add_pending_open_locked()
[all …]
Dsmb2misc.c579 struct cifs_pending_open *open; in smb2_tcon_find_pending_open_lease() local
582 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease()
583 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
588 found = open; in smb2_tcon_find_pending_open_lease()
595 open->oplock = lease_state; in smb2_tcon_find_pending_open_lease()
609 struct cifs_pending_open *open; in smb2_is_valid_lease_break() local
632 open = smb2_tcon_find_pending_open_lease(tcon, in smb2_is_valid_lease_break()
634 if (open) { in smb2_is_valid_lease_break()
638 tlink = cifs_get_tlink(open->tlink); in smb2_is_valid_lease_break()
639 memcpy(lease_key, open->lease_key, in smb2_is_valid_lease_break()
/linux-4.19.296/fs/debugfs/
Dfile.c43 .open = simple_open,
161 if (real_fops->open) in open_proxy_open()
162 r = real_fops->open(inode, filp); in open_proxy_open()
170 .open = open_proxy_open,
293 if (real_fops->open) { in full_proxy_open()
294 r = real_fops->open(inode, filp); in full_proxy_open()
316 .open = full_proxy_open,
837 .open = simple_open,
843 .open = simple_open,
849 .open = simple_open,
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Ddib0070.h54 extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, u8 open);
70 static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) in dib0070_ctrl_agc_filter() argument
/linux-4.19.296/drivers/xen/xenfs/
Dxenstored.c50 .open = xsd_kva_open,
66 .open = xsd_port_open,
/linux-4.19.296/include/linux/mtd/
Dblktrans.h43 int open; member
76 int (*open)(struct mtd_blktrans_dev *dev); member
/linux-4.19.296/drivers/cpufreq/
Ds3c24xx-cpufreq-debugfs.c72 .open = fops_board_open,
114 .open = fops_info_open,
171 .open = fops_io_open,
/linux-4.19.296/fs/proc/
Dinode.c339 int (*open)(struct inode *, struct file *); in proc_reg_open() local
366 open = pde->proc_fops->open; in proc_reg_open()
367 if (open) in proc_reg_open()
368 rv = open(inode, file); in proc_reg_open()
414 .open = proc_reg_open,
427 .open = proc_reg_open,
/linux-4.19.296/drivers/misc/mic/host/
Dmic_debugfs.c69 .open = mic_smpt_debug_open,
96 .open = mic_post_code_debug_open,
159 .open = mic_msi_irq_info_debug_open,
/linux-4.19.296/fs/nfs_common/
Dgrace.c63 __state_in_grace(struct net *net, bool open) in __state_in_grace() argument
68 if (!open) in __state_in_grace()
/linux-4.19.296/drivers/misc/mei/
Ddebugfs.c84 .open = simple_open,
147 .open = simple_open,
198 .open = simple_open,
221 .open = simple_open,
/linux-4.19.296/fs/coda/
Dfile.c79 if (cvm_ops->host_vm_ops && cvm_ops->host_vm_ops->open) in coda_vm_open()
80 cvm_ops->host_vm_ops->open(vma); in coda_vm_open()
160 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap()
272 .open = coda_open,
/linux-4.19.296/drivers/bluetooth/
Dbtmrvl_debugfs.c70 .open = simple_open,
110 .open = simple_open,
148 .open = simple_open,
/linux-4.19.296/drivers/char/
Dmisc.c140 if (file->f_op->open) in misc_open()
141 err = file->f_op->open(inode, file); in misc_open()
151 .open = misc_open,
/linux-4.19.296/include/linux/
Dhdlc.h23 int (*open)(struct net_device *dev); member
49 int open; member
/linux-4.19.296/drivers/misc/mic/cosm/
Dcosm_debugfs.c88 .open = cosm_log_buf_open,
115 .open = cosm_force_reset_debug_open,
/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp_sysfs.c131 static int open(struct inode *inode, struct file *file) in open() function
178 .open = open,
/linux-4.19.296/drivers/base/regmap/
Dregmap-debugfs.c67 .open = simple_open,
325 .open = simple_open,
342 .open = simple_open,
416 .open = simple_open,
450 .open = access_open,
498 .open = simple_open,
538 .open = simple_open,
/linux-4.19.296/fs/fuse/
Dcontrol.c174 .open = nonseekable_open,
180 .open = nonseekable_open,
186 .open = nonseekable_open,
193 .open = nonseekable_open,

12345678910>>...21