Home
last modified time | relevance | path

Searched refs:cfile (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/fs/cifs/
Dfile.c861 cifs_push_mandatory_locks(struct cifsFileInfo *cfile) in cifs_push_mandatory_locks() argument
866 struct cifsInodeInfo *cinode = CIFS_I(cfile->dentry->d_inode); in cifs_push_mandatory_locks()
874 tcon = tlink_tcon(cfile->tlink); in cifs_push_mandatory_locks()
904 stored_rc = cifs_lockv(xid, tcon, cfile->netfid, in cifs_push_mandatory_locks()
915 stored_rc = cifs_lockv(xid, tcon, cfile->netfid, in cifs_push_mandatory_locks()
945 cifs_push_posix_locks(struct cifsFileInfo *cfile) in cifs_push_posix_locks() argument
947 struct cifsInodeInfo *cinode = CIFS_I(cfile->dentry->d_inode); in cifs_push_posix_locks()
948 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_push_posix_locks()
966 cifs_for_each_lock(cfile->dentry->d_inode, before) { in cifs_push_posix_locks()
990 cifs_for_each_lock(cfile->dentry->d_inode, before) { in cifs_push_posix_locks()
[all …]
Ddir.c501 struct cifsFileInfo *cfile; in cifs_lookup() local
628 cfile = cifs_new_fileinfo(fileHandle, filp, tlink, in cifs_lookup()
630 if (cfile == NULL) { in cifs_lookup()
Dinode.c298 struct cifsFileInfo *cfile = filp->private_data; local
299 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
302 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->netfid, &find_data);
571 struct cifsFileInfo *cfile = filp->private_data; local
572 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
575 rc = CIFSSMBQFileInfo(xid, tcon, cfile->netfid, &find_data);
1720 struct cifsFileInfo *cfile = (struct cifsFileInfo *) filp->private_data; local
1725 if (tlink_tcon(cfile->tlink)->unix_ext)
Dcifsproto.h469 struct cifsFileInfo *cfile; member
492 struct cifsFileInfo *cfile; member
Dcifsfs.c766 struct cifsFileInfo *cfile = file->private_data; in cifs_setlease() local
777 else if (tlink_tcon(cfile->tlink)->local_lease && in cifs_setlease()
Dcifssmb.c1432 cifsFileInfo_put(rdata->cfile); in cifs_readdata_free()
1693 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); in cifs_readv_callback()
1732 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); in cifs_async_readv()
1755 smb->Fid = rdata->cfile->netfid; in cifs_async_readv()
2031 if (wdata->cfile) in cifs_writedata_release()
2032 cifsFileInfo_put(wdata->cfile); in cifs_writedata_release()
2045 struct inode *inode = wdata->cfile->dentry->d_inode; in cifs_writev_requeue()
2071 struct inode *inode = wdata->cfile->dentry->d_inode; in cifs_writev_complete()
2078 cifs_stats_bytes_written(tlink_tcon(wdata->cfile->tlink), in cifs_writev_complete()
2128 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); in cifs_writev_callback()
[all …]
/linux-3.4.99/drivers/mtd/nand/
Dnandsim.c364 struct file *cfile; /* Open file */ member
461 struct file *cfile; in alloc_device() local
465 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600); in alloc_device()
466 if (IS_ERR(cfile)) in alloc_device()
467 return PTR_ERR(cfile); in alloc_device()
468 if (!cfile->f_op || (!cfile->f_op->read && !cfile->f_op->aio_read)) { in alloc_device()
473 if (!cfile->f_op->write && !cfile->f_op->aio_write) { in alloc_device()
490 ns->cfile = cfile; in alloc_device()
514 filp_close(cfile, NULL); in alloc_device()
525 if (ns->cfile) { in free_device()
[all …]
/linux-3.4.99/kernel/
Dcgroup.c3482 struct file *cfile = NULL; in cgroup_write_event_control() local
3517 cfile = fget(cfd); in cgroup_write_event_control()
3518 if (!cfile) { in cgroup_write_event_control()
3525 ret = inode_permission(cfile->f_path.dentry->d_inode, MAY_READ); in cgroup_write_event_control()
3529 event->cft = __file_cft(cfile); in cgroup_write_event_control()
3539 cgrp_cfile = __d_cgrp(cfile->f_dentry->d_parent); in cgroup_write_event_control()
3572 fput(cfile); in cgroup_write_event_control()
3578 if (cfile) in cgroup_write_event_control()
3579 fput(cfile); in cgroup_write_event_control()