cfile              43 drivers/misc/genwqe/card_dev.c static void genwqe_add_file(struct genwqe_dev *cd, struct genwqe_file *cfile)
cfile              47 drivers/misc/genwqe/card_dev.c 	cfile->opener = get_pid(task_tgid(current));
cfile              49 drivers/misc/genwqe/card_dev.c 	list_add(&cfile->list, &cd->file_list);
cfile              53 drivers/misc/genwqe/card_dev.c static int genwqe_del_file(struct genwqe_dev *cd, struct genwqe_file *cfile)
cfile              58 drivers/misc/genwqe/card_dev.c 	list_del(&cfile->list);
cfile              60 drivers/misc/genwqe/card_dev.c 	put_pid(cfile->opener);
cfile              65 drivers/misc/genwqe/card_dev.c static void genwqe_add_pin(struct genwqe_file *cfile, struct dma_mapping *m)
cfile              69 drivers/misc/genwqe/card_dev.c 	spin_lock_irqsave(&cfile->pin_lock, flags);
cfile              70 drivers/misc/genwqe/card_dev.c 	list_add(&m->pin_list, &cfile->pin_list);
cfile              71 drivers/misc/genwqe/card_dev.c 	spin_unlock_irqrestore(&cfile->pin_lock, flags);
cfile              74 drivers/misc/genwqe/card_dev.c static int genwqe_del_pin(struct genwqe_file *cfile, struct dma_mapping *m)
cfile              78 drivers/misc/genwqe/card_dev.c 	spin_lock_irqsave(&cfile->pin_lock, flags);
cfile              80 drivers/misc/genwqe/card_dev.c 	spin_unlock_irqrestore(&cfile->pin_lock, flags);
cfile              94 drivers/misc/genwqe/card_dev.c static struct dma_mapping *genwqe_search_pin(struct genwqe_file *cfile,
cfile             102 drivers/misc/genwqe/card_dev.c 	spin_lock_irqsave(&cfile->pin_lock, flags);
cfile             104 drivers/misc/genwqe/card_dev.c 	list_for_each_entry(m, &cfile->pin_list, pin_list) {
cfile             112 drivers/misc/genwqe/card_dev.c 			spin_unlock_irqrestore(&cfile->pin_lock, flags);
cfile             116 drivers/misc/genwqe/card_dev.c 	spin_unlock_irqrestore(&cfile->pin_lock, flags);
cfile             120 drivers/misc/genwqe/card_dev.c static void __genwqe_add_mapping(struct genwqe_file *cfile,
cfile             125 drivers/misc/genwqe/card_dev.c 	spin_lock_irqsave(&cfile->map_lock, flags);
cfile             126 drivers/misc/genwqe/card_dev.c 	list_add(&dma_map->card_list, &cfile->map_list);
cfile             127 drivers/misc/genwqe/card_dev.c 	spin_unlock_irqrestore(&cfile->map_lock, flags);
cfile             130 drivers/misc/genwqe/card_dev.c static void __genwqe_del_mapping(struct genwqe_file *cfile,
cfile             135 drivers/misc/genwqe/card_dev.c 	spin_lock_irqsave(&cfile->map_lock, flags);
cfile             137 drivers/misc/genwqe/card_dev.c 	spin_unlock_irqrestore(&cfile->map_lock, flags);
cfile             149 drivers/misc/genwqe/card_dev.c static struct dma_mapping *__genwqe_search_mapping(struct genwqe_file *cfile,
cfile             157 drivers/misc/genwqe/card_dev.c 	struct pci_dev *pci_dev = cfile->cd->pci_dev;
cfile             159 drivers/misc/genwqe/card_dev.c 	spin_lock_irqsave(&cfile->map_lock, flags);
cfile             160 drivers/misc/genwqe/card_dev.c 	list_for_each_entry(m, &cfile->map_list, card_list) {
cfile             175 drivers/misc/genwqe/card_dev.c 			spin_unlock_irqrestore(&cfile->map_lock, flags);
cfile             179 drivers/misc/genwqe/card_dev.c 	spin_unlock_irqrestore(&cfile->map_lock, flags);
cfile             188 drivers/misc/genwqe/card_dev.c static void genwqe_remove_mappings(struct genwqe_file *cfile)
cfile             193 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             194 drivers/misc/genwqe/card_dev.c 	struct pci_dev *pci_dev = cfile->cd->pci_dev;
cfile             196 drivers/misc/genwqe/card_dev.c 	list_for_each_safe(node, next, &cfile->map_list) {
cfile             227 drivers/misc/genwqe/card_dev.c static void genwqe_remove_pinnings(struct genwqe_file *cfile)
cfile             231 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             233 drivers/misc/genwqe/card_dev.c 	list_for_each_safe(node, next, &cfile->pin_list) {
cfile             259 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile;
cfile             262 drivers/misc/genwqe/card_dev.c 	list_for_each_entry(cfile, &cd->file_list, list) {
cfile             263 drivers/misc/genwqe/card_dev.c 		if (cfile->async_queue)
cfile             264 drivers/misc/genwqe/card_dev.c 			kill_fasync(&cfile->async_queue, sig, POLL_HUP);
cfile             275 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile;
cfile             278 drivers/misc/genwqe/card_dev.c 	list_for_each_entry(cfile, &cd->file_list, list) {
cfile             279 drivers/misc/genwqe/card_dev.c 		kill_pid(cfile->opener, SIGKILL, 1);
cfile             299 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile;
cfile             301 drivers/misc/genwqe/card_dev.c 	cfile = kzalloc(sizeof(*cfile), GFP_KERNEL);
cfile             302 drivers/misc/genwqe/card_dev.c 	if (cfile == NULL)
cfile             306 drivers/misc/genwqe/card_dev.c 	cfile->cd = cd;
cfile             307 drivers/misc/genwqe/card_dev.c 	cfile->filp = filp;
cfile             308 drivers/misc/genwqe/card_dev.c 	cfile->client = NULL;
cfile             310 drivers/misc/genwqe/card_dev.c 	spin_lock_init(&cfile->map_lock);  /* list of raw memory allocations */
cfile             311 drivers/misc/genwqe/card_dev.c 	INIT_LIST_HEAD(&cfile->map_list);
cfile             313 drivers/misc/genwqe/card_dev.c 	spin_lock_init(&cfile->pin_lock);  /* list of user pinned memory */
cfile             314 drivers/misc/genwqe/card_dev.c 	INIT_LIST_HEAD(&cfile->pin_list);
cfile             316 drivers/misc/genwqe/card_dev.c 	filp->private_data = cfile;
cfile             318 drivers/misc/genwqe/card_dev.c 	genwqe_add_file(cd, cfile);
cfile             356 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile = (struct genwqe_file *)filp->private_data;
cfile             357 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             360 drivers/misc/genwqe/card_dev.c 	genwqe_remove_mappings(cfile);
cfile             361 drivers/misc/genwqe/card_dev.c 	genwqe_remove_pinnings(cfile);
cfile             371 drivers/misc/genwqe/card_dev.c 	genwqe_del_file(cd, cfile);
cfile             372 drivers/misc/genwqe/card_dev.c 	kfree(cfile);
cfile             395 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile = vma->vm_private_data;
cfile             397 drivers/misc/genwqe/card_dev.c 	dma_map = __genwqe_search_mapping(cfile, vma->vm_start, vsize,
cfile             406 drivers/misc/genwqe/card_dev.c 	__genwqe_del_mapping(cfile, dma_map);
cfile             433 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile = (struct genwqe_file *)filp->private_data;
cfile             434 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             472 drivers/misc/genwqe/card_dev.c 	vma->vm_private_data = cfile;
cfile             474 drivers/misc/genwqe/card_dev.c 	__genwqe_add_mapping(cfile, dma_map);
cfile             497 drivers/misc/genwqe/card_dev.c static int do_flash_update(struct genwqe_file *cfile,
cfile             509 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             510 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
cfile             634 drivers/misc/genwqe/card_dev.c static int do_flash_read(struct genwqe_file *cfile,
cfile             644 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             645 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
cfile             764 drivers/misc/genwqe/card_dev.c static int genwqe_pin_mem(struct genwqe_file *cfile, struct genwqe_mem *m)
cfile             767 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             768 drivers/misc/genwqe/card_dev.c 	struct pci_dev *pci_dev = cfile->cd->pci_dev;
cfile             794 drivers/misc/genwqe/card_dev.c 	genwqe_add_pin(cfile, dma_map);
cfile             798 drivers/misc/genwqe/card_dev.c static int genwqe_unpin_mem(struct genwqe_file *cfile, struct genwqe_mem *m)
cfile             800 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             811 drivers/misc/genwqe/card_dev.c 	dma_map = genwqe_search_pin(cfile, map_addr, map_size, NULL);
cfile             815 drivers/misc/genwqe/card_dev.c 	genwqe_del_pin(cfile, dma_map);
cfile             826 drivers/misc/genwqe/card_dev.c static int ddcb_cmd_cleanup(struct genwqe_file *cfile, struct ddcb_requ *req)
cfile             830 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             836 drivers/misc/genwqe/card_dev.c 			__genwqe_del_mapping(cfile, dma_map);
cfile             853 drivers/misc/genwqe/card_dev.c static int ddcb_cmd_fixups(struct genwqe_file *cfile, struct ddcb_requ *req)
cfile             857 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             894 drivers/misc/genwqe/card_dev.c 			m = __genwqe_search_mapping(cfile, u_addr, u_size,
cfile             926 drivers/misc/genwqe/card_dev.c 			m = genwqe_search_pin(cfile, u_addr, u_size, NULL);
cfile             944 drivers/misc/genwqe/card_dev.c 				__genwqe_add_mapping(cfile, m);
cfile             971 drivers/misc/genwqe/card_dev.c 	ddcb_cmd_cleanup(cfile, req);
cfile             982 drivers/misc/genwqe/card_dev.c static int genwqe_execute_ddcb(struct genwqe_file *cfile,
cfile             986 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile             987 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
cfile             990 drivers/misc/genwqe/card_dev.c 	rc = ddcb_cmd_fixups(cfile, req);
cfile             995 drivers/misc/genwqe/card_dev.c 	ddcb_cmd_cleanup(cfile, req);
cfile             999 drivers/misc/genwqe/card_dev.c static int do_execute_ddcb(struct genwqe_file *cfile,
cfile            1004 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile            1005 drivers/misc/genwqe/card_dev.c 	struct file *filp = cfile->filp;
cfile            1017 drivers/misc/genwqe/card_dev.c 		rc = genwqe_execute_ddcb(cfile, cmd);
cfile            1045 drivers/misc/genwqe/card_dev.c 	struct genwqe_file *cfile = (struct genwqe_file *)filp->private_data;
cfile            1046 drivers/misc/genwqe/card_dev.c 	struct genwqe_dev *cd = cfile->cd;
cfile            1152 drivers/misc/genwqe/card_dev.c 		rc = do_flash_update(cfile, &load);
cfile            1172 drivers/misc/genwqe/card_dev.c 		rc = do_flash_read(cfile, &load);
cfile            1187 drivers/misc/genwqe/card_dev.c 		return genwqe_pin_mem(cfile, &m);
cfile            1196 drivers/misc/genwqe/card_dev.c 		return genwqe_unpin_mem(cfile, &m);
cfile            1201 drivers/misc/genwqe/card_dev.c 		return do_execute_ddcb(cfile, arg, 0);
cfile            1208 drivers/misc/genwqe/card_dev.c 		return do_execute_ddcb(cfile, arg, 1);
cfile             351 drivers/mtd/nand/raw/nandsim.c 	struct file *cfile; /* Open file */
cfile             529 drivers/mtd/nand/raw/nandsim.c 	struct file *cfile;
cfile             533 drivers/mtd/nand/raw/nandsim.c 		cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600);
cfile             534 drivers/mtd/nand/raw/nandsim.c 		if (IS_ERR(cfile))
cfile             535 drivers/mtd/nand/raw/nandsim.c 			return PTR_ERR(cfile);
cfile             536 drivers/mtd/nand/raw/nandsim.c 		if (!(cfile->f_mode & FMODE_CAN_READ)) {
cfile             541 drivers/mtd/nand/raw/nandsim.c 		if (!(cfile->f_mode & FMODE_CAN_WRITE)) {
cfile             560 drivers/mtd/nand/raw/nandsim.c 		ns->cfile = cfile;
cfile             584 drivers/mtd/nand/raw/nandsim.c 	filp_close(cfile, NULL);
cfile             595 drivers/mtd/nand/raw/nandsim.c 	if (ns->cfile) {
cfile             598 drivers/mtd/nand/raw/nandsim.c 		filp_close(ns->cfile, NULL);
cfile            1413 drivers/mtd/nand/raw/nandsim.c 	if (ns->cfile) {
cfile            1426 drivers/mtd/nand/raw/nandsim.c 			tx = read_file(ns, ns->cfile, ns->buf.byte, num, pos);
cfile            1458 drivers/mtd/nand/raw/nandsim.c 	if (ns->cfile) {
cfile            1487 drivers/mtd/nand/raw/nandsim.c 	if (ns->cfile) {
cfile            1500 drivers/mtd/nand/raw/nandsim.c 			tx = read_file(ns, ns->cfile, pg_off, num, off);
cfile            1510 drivers/mtd/nand/raw/nandsim.c 			tx = write_file(ns, ns->cfile, ns->file_buf, ns->geom.pgszoob, pos);
cfile            1517 drivers/mtd/nand/raw/nandsim.c 			tx = write_file(ns, ns->cfile, pg_off, num, off);
cfile             149 fs/cifs/cifs_debug.c 	struct cifsFileInfo *cfile;
cfile             169 fs/cifs/cifs_debug.c 					cfile = list_entry(tmp2, struct cifsFileInfo,
cfile             174 fs/cifs/cifs_debug.c 						cfile->fid.persistent_fid,
cfile             175 fs/cifs/cifs_debug.c 						cfile->f_flags,
cfile             176 fs/cifs/cifs_debug.c 						cfile->count,
cfile             177 fs/cifs/cifs_debug.c 						cfile->pid,
cfile             178 fs/cifs/cifs_debug.c 						from_kuid(&init_user_ns, cfile->uid),
cfile             179 fs/cifs/cifs_debug.c 						cfile->dentry->d_name.name);
cfile             181 fs/cifs/cifs_debug.c 					seq_printf(m, " 0x%llx\n", cfile->fid.mid);
cfile             941 fs/cifs/cifsfs.c 	struct cifsFileInfo *cfile = file->private_data;
cfile             975 fs/cifs/cifsfs.c 	if (cfile && cfile->tlink) {
cfile             976 fs/cifs/cifsfs.c 		tcon = tlink_tcon(cfile->tlink);
cfile             992 fs/cifs/cifsfs.c 	struct cifsFileInfo *cfile = file->private_data;
cfile            1002 fs/cifs/cifsfs.c 	else if (tlink_tcon(cfile->tlink)->local_lease &&
cfile            1243 fs/cifs/cifsglob.h 	struct cifsFileInfo *cfile;	/* fid that owns locks */
cfile            1289 fs/cifs/cifsglob.h 	struct cifsFileInfo	*cfile;
cfile            1311 fs/cifs/cifsglob.h 	struct cifsFileInfo		*cfile;
cfile            1347 fs/cifs/cifsglob.h 	struct cifsFileInfo		*cfile;
cfile            1916 fs/cifs/cifsglob.h void cifs_queue_oplock_break(struct cifsFileInfo *cfile);
cfile             170 fs/cifs/cifsproto.h extern int cifs_unlock_range(struct cifsFileInfo *cfile,
cfile             172 fs/cifs/cifsproto.h extern int cifs_push_mandatory_locks(struct cifsFileInfo *cfile);
cfile             235 fs/cifs/cifsproto.h extern bool cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 offset,
cfile             353 fs/cifs/cifsproto.h 			      struct cifsFileInfo *cfile, __u64 size,
cfile            1696 fs/cifs/cifssmb.c 	struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
cfile            1753 fs/cifs/cifssmb.c 	struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
cfile            1778 fs/cifs/cifssmb.c 	smb->Fid = rdata->cfile->fid.netfid;
cfile            2056 fs/cifs/cifssmb.c 	if (wdata->cfile)
cfile            2057 fs/cifs/cifssmb.c 		cifsFileInfo_put(wdata->cfile);
cfile            2071 fs/cifs/cifssmb.c 	struct inode *inode = d_inode(wdata->cfile->dentry);
cfile            2075 fs/cifs/cifssmb.c 	server = tlink_tcon(wdata->cfile->tlink)->ses->server;
cfile            2117 fs/cifs/cifssmb.c 					    &wdata2->cfile);
cfile            2118 fs/cifs/cifssmb.c 		if (!wdata2->cfile) {
cfile            2124 fs/cifs/cifssmb.c 			wdata2->pid = wdata2->cfile->pid;
cfile            2167 fs/cifs/cifssmb.c 	struct inode *inode = d_inode(wdata->cfile->dentry);
cfile            2174 fs/cifs/cifssmb.c 		cifs_stats_bytes_written(tlink_tcon(wdata->cfile->tlink),
cfile            2228 fs/cifs/cifssmb.c 	struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
cfile            2278 fs/cifs/cifssmb.c 	struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
cfile            2300 fs/cifs/cifssmb.c 	smb->Fid = wdata->cfile->fid.netfid;
cfile            5676 fs/cifs/cifssmb.c 		   struct cifsFileInfo *cfile, __u64 size, bool set_allocation)
cfile            5690 fs/cifs/cifssmb.c 	pSMB->hdr.Pid = cpu_to_le16((__u16)cfile->pid);
cfile            5691 fs/cifs/cifssmb.c 	pSMB->hdr.PidHigh = cpu_to_le16((__u16)(cfile->pid >> 16));
cfile            5720 fs/cifs/cifssmb.c 	pSMB->Fid = cfile->fid.netfid;
cfile             300 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile             305 fs/cifs/file.c 	cfile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL);
cfile             306 fs/cifs/file.c 	if (cfile == NULL)
cfile             307 fs/cifs/file.c 		return cfile;
cfile             311 fs/cifs/file.c 		kfree(cfile);
cfile             316 fs/cifs/file.c 	fdlocks->cfile = cfile;
cfile             317 fs/cifs/file.c 	cfile->llist = fdlocks;
cfile             319 fs/cifs/file.c 	cfile->count = 1;
cfile             320 fs/cifs/file.c 	cfile->pid = current->tgid;
cfile             321 fs/cifs/file.c 	cfile->uid = current_fsuid();
cfile             322 fs/cifs/file.c 	cfile->dentry = dget(dentry);
cfile             323 fs/cifs/file.c 	cfile->f_flags = file->f_flags;
cfile             324 fs/cifs/file.c 	cfile->invalidHandle = false;
cfile             325 fs/cifs/file.c 	cfile->tlink = cifs_get_tlink(tlink);
cfile             326 fs/cifs/file.c 	INIT_WORK(&cfile->oplock_break, cifs_oplock_break);
cfile             327 fs/cifs/file.c 	INIT_WORK(&cfile->put, cifsFileInfo_put_work);
cfile             328 fs/cifs/file.c 	mutex_init(&cfile->fh_mutex);
cfile             329 fs/cifs/file.c 	spin_lock_init(&cfile->file_info_lock);
cfile             352 fs/cifs/file.c 	server->ops->set_fid(cfile, fid, oplock);
cfile             354 fs/cifs/file.c 	list_add(&cfile->tlist, &tcon->openFileList);
cfile             360 fs/cifs/file.c 		list_add(&cfile->flist, &cinode->openFileList);
cfile             362 fs/cifs/file.c 		list_add_tail(&cfile->flist, &cinode->openFileList);
cfile             369 fs/cifs/file.c 	file->private_data = cfile;
cfile             370 fs/cifs/file.c 	return cfile;
cfile             525 fs/cifs/file.c 	struct cifsFileInfo *cfile = NULL;
cfile             606 fs/cifs/file.c 	cfile = cifs_new_fileinfo(&fid, file, tlink, oplock);
cfile             607 fs/cifs/file.c 	if (cfile == NULL) {
cfile             632 fs/cifs/file.c 				       cfile->pid);
cfile             642 fs/cifs/file.c static int cifs_push_posix_locks(struct cifsFileInfo *cfile);
cfile             649 fs/cifs/file.c cifs_relock_file(struct cifsFileInfo *cfile)
cfile             651 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb);
cfile             652 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile             653 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile             666 fs/cifs/file.c 		rc = cifs_push_posix_locks(cfile);
cfile             668 fs/cifs/file.c 		rc = tcon->ses->server->ops->push_mand_locks(cfile);
cfile             675 fs/cifs/file.c cifs_reopen_file(struct cifsFileInfo *cfile, bool can_flush)
cfile             692 fs/cifs/file.c 	mutex_lock(&cfile->fh_mutex);
cfile             693 fs/cifs/file.c 	if (!cfile->invalidHandle) {
cfile             694 fs/cifs/file.c 		mutex_unlock(&cfile->fh_mutex);
cfile             700 fs/cifs/file.c 	inode = d_inode(cfile->dentry);
cfile             702 fs/cifs/file.c 	tcon = tlink_tcon(cfile->tlink);
cfile             711 fs/cifs/file.c 	full_path = build_path_from_dentry(cfile->dentry);
cfile             714 fs/cifs/file.c 		mutex_unlock(&cfile->fh_mutex);
cfile             720 fs/cifs/file.c 		 inode, cfile->f_flags, full_path);
cfile             734 fs/cifs/file.c 		unsigned int oflags = cfile->f_flags &
cfile             739 fs/cifs/file.c 				     oflags, &oplock, &cfile->fid.netfid, xid);
cfile             751 fs/cifs/file.c 	desired_access = cifs_convert_flags(cfile->f_flags);
cfile             757 fs/cifs/file.c 	if (cfile->f_flags & O_SYNC)
cfile             760 fs/cifs/file.c 	if (cfile->f_flags & O_DIRECT)
cfile             764 fs/cifs/file.c 		server->ops->get_lease_key(inode, &cfile->fid);
cfile             772 fs/cifs/file.c 	oparms.fid = &cfile->fid;
cfile             791 fs/cifs/file.c 		mutex_unlock(&cfile->fh_mutex);
cfile             798 fs/cifs/file.c 	cfile->invalidHandle = false;
cfile             799 fs/cifs/file.c 	mutex_unlock(&cfile->fh_mutex);
cfile             830 fs/cifs/file.c 	server->ops->set_fid(cfile, &cfile->fid, oplock);
cfile             832 fs/cifs/file.c 		cifs_relock_file(cfile);
cfile             891 fs/cifs/file.c 	struct cifsFileInfo *cfile = file->private_data;
cfile             898 fs/cifs/file.c 	if (cfile == NULL)
cfile             902 fs/cifs/file.c 	tcon = tlink_tcon(cfile->tlink);
cfile             906 fs/cifs/file.c 	spin_lock(&cfile->file_info_lock);
cfile             907 fs/cifs/file.c 	if (server->ops->dir_needs_close(cfile)) {
cfile             908 fs/cifs/file.c 		cfile->invalidHandle = true;
cfile             909 fs/cifs/file.c 		spin_unlock(&cfile->file_info_lock);
cfile             911 fs/cifs/file.c 			rc = server->ops->close_dir(xid, tcon, &cfile->fid);
cfile             918 fs/cifs/file.c 		spin_unlock(&cfile->file_info_lock);
cfile             920 fs/cifs/file.c 	buf = cfile->srch_inf.ntwrk_buf_start;
cfile             923 fs/cifs/file.c 		cfile->srch_inf.ntwrk_buf_start = NULL;
cfile             924 fs/cifs/file.c 		if (cfile->srch_inf.smallBuf)
cfile             930 fs/cifs/file.c 	cifs_put_tlink(cfile->tlink);
cfile             973 fs/cifs/file.c 			    struct cifsFileInfo *cfile,
cfile             977 fs/cifs/file.c 	struct cifsFileInfo *cur_cfile = fdlocks->cfile;
cfile             978 fs/cifs/file.c 	struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server;
cfile             985 fs/cifs/file.c 		    server->ops->compare_fids(cfile, cur_cfile)) {
cfile             992 fs/cifs/file.c 		    ((server->ops->compare_fids(cfile, cur_cfile) &&
cfile             997 fs/cifs/file.c 		    server->ops->compare_fids(cfile, cur_cfile))
cfile            1007 fs/cifs/file.c cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 offset, __u64 length,
cfile            1013 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1017 fs/cifs/file.c 						 flags, cfile, conf_lock,
cfile            1034 fs/cifs/file.c cifs_lock_test(struct cifsFileInfo *cfile, __u64 offset, __u64 length,
cfile            1039 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1040 fs/cifs/file.c 	struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server;
cfile            1045 fs/cifs/file.c 	exist = cifs_find_lock_conflict(cfile, offset, length, type,
cfile            1066 fs/cifs/file.c cifs_lock_add(struct cifsFileInfo *cfile, struct cifsLockInfo *lock)
cfile            1068 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1070 fs/cifs/file.c 	list_add_tail(&lock->llist, &cfile->llist->locks);
cfile            1081 fs/cifs/file.c cifs_lock_add_if(struct cifsFileInfo *cfile, struct cifsLockInfo *lock,
cfile            1085 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1093 fs/cifs/file.c 	exist = cifs_find_lock_conflict(cfile, lock->offset, lock->length,
cfile            1097 fs/cifs/file.c 		list_add_tail(&lock->llist, &cfile->llist->locks);
cfile            1186 fs/cifs/file.c cifs_push_mandatory_locks(struct cifsFileInfo *cfile)
cfile            1201 fs/cifs/file.c 	tcon = tlink_tcon(cfile->tlink);
cfile            1228 fs/cifs/file.c 		list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) {
cfile            1238 fs/cifs/file.c 						       cfile->fid.netfid,
cfile            1250 fs/cifs/file.c 			stored_rc = cifs_lockv(xid, tcon, cfile->fid.netfid,
cfile            1278 fs/cifs/file.c cifs_push_posix_locks(struct cifsFileInfo *cfile)
cfile            1280 fs/cifs/file.c 	struct inode *inode = d_inode(cfile->dentry);
cfile            1281 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            1335 fs/cifs/file.c 		lck->netfid = cfile->fid.netfid;
cfile            1366 fs/cifs/file.c cifs_push_locks(struct cifsFileInfo *cfile)
cfile            1368 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb);
cfile            1369 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1370 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            1383 fs/cifs/file.c 		rc = cifs_push_posix_locks(cfile);
cfile            1385 fs/cifs/file.c 		rc = tcon->ses->server->ops->push_mand_locks(cfile);
cfile            1445 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)file->private_data;
cfile            1446 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            1448 fs/cifs/file.c 	__u16 netfid = cfile->fid.netfid;
cfile            1468 fs/cifs/file.c 	rc = cifs_lock_test(cfile, flock->fl_start, length, type, flock);
cfile            1473 fs/cifs/file.c 	rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, type,
cfile            1476 fs/cifs/file.c 		rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
cfile            1492 fs/cifs/file.c 	rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
cfile            1496 fs/cifs/file.c 		rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
cfile            1528 fs/cifs/file.c cifs_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock,
cfile            1539 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            1540 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1569 fs/cifs/file.c 		list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) {
cfile            1601 fs/cifs/file.c 						       cfile->fid.netfid,
cfile            1610 fs/cifs/file.c 							&cfile->llist->locks);
cfile            1624 fs/cifs/file.c 			stored_rc = cifs_lockv(xid, tcon, cfile->fid.netfid,
cfile            1628 fs/cifs/file.c 						&cfile->llist->locks);
cfile            1647 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)file->private_data;
cfile            1648 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            1650 fs/cifs/file.c 	struct inode *inode = d_inode(cfile->dentry);
cfile            1667 fs/cifs/file.c 		rc = CIFSSMBPosixLock(xid, tcon, cfile->fid.netfid,
cfile            1682 fs/cifs/file.c 		rc = cifs_lock_add_if(cfile, lock, wait_flag);
cfile            1705 fs/cifs/file.c 		rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
cfile            1712 fs/cifs/file.c 		cifs_lock_add(cfile, lock);
cfile            1714 fs/cifs/file.c 		rc = server->ops->mand_unlock_range(cfile, flock, xid);
cfile            1742 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile            1752 fs/cifs/file.c 	cfile = (struct cifsFileInfo *)file->private_data;
cfile            1753 fs/cifs/file.c 	tcon = tlink_tcon(cfile->tlink);
cfile            2012 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile            2015 fs/cifs/file.c 	rc = cifs_get_writable_file(cifs_inode, flags, &cfile);
cfile            2019 fs/cifs/file.c 	return cfile;
cfile            2028 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile            2036 fs/cifs/file.c 		cfile = list_entry(tmp, struct cifsFileInfo,
cfile            2038 fs/cifs/file.c 		full_path = build_path_from_dentry(cfile->dentry);
cfile            2049 fs/cifs/file.c 		cinode = CIFS_I(d_inode(cfile->dentry));
cfile            2063 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile            2071 fs/cifs/file.c 		cfile = list_entry(tmp, struct cifsFileInfo,
cfile            2073 fs/cifs/file.c 		full_path = build_path_from_dentry(cfile->dentry);
cfile            2084 fs/cifs/file.c 		cinode = CIFS_I(d_inode(cfile->dentry));
cfile            2254 fs/cifs/file.c 				tlink_tcon(wdata->cfile->tlink)->ses->server;
cfile            2264 fs/cifs/file.c 	wdata->pid = wdata->cfile->pid;
cfile            2270 fs/cifs/file.c 	if (wdata->cfile->invalidHandle)
cfile            2287 fs/cifs/file.c 	struct cifsFileInfo *cfile = NULL;
cfile            2319 fs/cifs/file.c 		if (cfile)
cfile            2320 fs/cifs/file.c 			cifsFileInfo_put(cfile);
cfile            2322 fs/cifs/file.c 		rc = cifs_get_writable_file(CIFS_I(inode), FIND_WR_ANY, &cfile);
cfile            2363 fs/cifs/file.c 		wdata->cfile = cfile;
cfile            2364 fs/cifs/file.c 		cfile = NULL;
cfile            2366 fs/cifs/file.c 		if (!wdata->cfile) {
cfile            2433 fs/cifs/file.c 	if (cfile)
cfile            2434 fs/cifs/file.c 		cifsFileInfo_put(cfile);
cfile            2493 fs/cifs/file.c 	struct cifsFileInfo *cfile = file->private_data;
cfile            2494 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb);
cfile            2498 fs/cifs/file.c 		pid = cfile->pid;
cfile            2524 fs/cifs/file.c 		rc = cifs_write(cfile, pid, page_data + offset, copied, &pos);
cfile            2698 fs/cifs/file.c 	struct inode *inode = d_inode(wdata->cfile->dentry);
cfile            2763 fs/cifs/file.c 		tlink_tcon(wdata->cfile->tlink)->ses->server;
cfile            2766 fs/cifs/file.c 		if (wdata->cfile->invalidHandle) {
cfile            2767 fs/cifs/file.c 			rc = cifs_reopen_file(wdata->cfile, false);
cfile            2796 fs/cifs/file.c 			if (wdata->cfile->invalidHandle)
cfile            2946 fs/cifs/file.c 		wdata->cfile = cifsFileInfo_get(open_file);
cfile            2957 fs/cifs/file.c 			if (wdata->cfile->invalidHandle)
cfile            2990 fs/cifs/file.c 	struct dentry *dentry = ctx->cfile->dentry;
cfile            2993 fs/cifs/file.c 	tcon = tlink_tcon(ctx->cfile->tlink);
cfile            3039 fs/cifs/file.c 						ctx->cfile, cifs_sb, &tmp_list,
cfile            3072 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile            3095 fs/cifs/file.c 	cfile = file->private_data;
cfile            3096 fs/cifs/file.c 	tcon = tlink_tcon(cfile->tlink);
cfile            3105 fs/cifs/file.c 	ctx->cfile = cifsFileInfo_get(cfile);
cfile            3128 fs/cifs/file.c 				  cfile, cifs_sb, &ctx->list, ctx);
cfile            3185 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)file->private_data;
cfile            3188 fs/cifs/file.c 	struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server;
cfile            3202 fs/cifs/file.c 	if (!cifs_find_lock_conflict(cfile, iocb->ki_pos, iov_iter_count(from),
cfile            3223 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)
cfile            3225 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            3311 fs/cifs/file.c 	if (rdata->cfile)
cfile            3312 fs/cifs/file.c 		cifsFileInfo_put(rdata->cfile);
cfile            3489 fs/cifs/file.c 		tlink_tcon(rdata->cfile->tlink)->ses->server;
cfile            3492 fs/cifs/file.c 		if (rdata->cfile->invalidHandle) {
cfile            3493 fs/cifs/file.c 			rc = cifs_reopen_file(rdata->cfile, true);
cfile            3521 fs/cifs/file.c 			if (rdata->cfile->invalidHandle)
cfile            3646 fs/cifs/file.c 		rdata->cfile = cifsFileInfo_get(open_file);
cfile            3661 fs/cifs/file.c 			if (rdata->cfile->invalidHandle)
cfile            3694 fs/cifs/file.c 	cifs_sb = CIFS_SB(ctx->cfile->dentry->d_sb);
cfile            3749 fs/cifs/file.c 						rdata->cfile, cifs_sb,
cfile            3797 fs/cifs/file.c 	struct cifsFileInfo *cfile;
cfile            3818 fs/cifs/file.c 	cfile = file->private_data;
cfile            3819 fs/cifs/file.c 	tcon = tlink_tcon(cfile->tlink);
cfile            3831 fs/cifs/file.c 	ctx->cfile = cifsFileInfo_get(cfile);
cfile            3856 fs/cifs/file.c 	rc = cifs_send_async_read(offset, len, cfile, cifs_sb, &ctx->list, ctx);
cfile            3910 fs/cifs/file.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *)
cfile            3912 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            3936 fs/cifs/file.c 	if (!cifs_find_lock_conflict(cfile, iocb->ki_pos, iov_iter_count(to),
cfile            4386 fs/cifs/file.c 		rdata->cfile = cifsFileInfo_get(open_file);
cfile            4405 fs/cifs/file.c 			if (rdata->cfile->invalidHandle)
cfile            4671 fs/cifs/file.c 	struct cifsFileInfo *cfile = container_of(work, struct cifsFileInfo,
cfile            4673 fs/cifs/file.c 	struct inode *inode = d_inode(cfile->dentry);
cfile            4675 fs/cifs/file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile            4706 fs/cifs/file.c 	rc = cifs_push_locks(cfile);
cfile            4716 fs/cifs/file.c 	if (!cfile->oplock_break_cancelled) {
cfile            4717 fs/cifs/file.c 		rc = tcon->ses->server->ops->oplock_response(tcon, &cfile->fid,
cfile            4721 fs/cifs/file.c 	_cifsFileInfo_put(cfile, false /* do not wait for ourself */, false);
cfile             348 fs/cifs/inode.c 	struct cifsFileInfo *cfile = filp->private_data;
cfile             349 fs/cifs/inode.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile             352 fs/cifs/inode.c 	rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
cfile             675 fs/cifs/inode.c 	struct cifsFileInfo *cfile = filp->private_data;
cfile             676 fs/cifs/inode.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile             683 fs/cifs/inode.c 	rc = server->ops->query_file_info(xid, tcon, &cfile->fid, &find_data);
cfile            1994 fs/cifs/inode.c 	struct cifsFileInfo *cfile = (struct cifsFileInfo *) filp->private_data;
cfile            1999 fs/cifs/inode.c 	if (tlink_tcon(cfile->tlink)->unix_ext)
cfile            2142 fs/cifs/inode.c 	struct cifsFileInfo *cfile;
cfile            2158 fs/cifs/inode.c 	cfile = find_readable_file(cifs_i, false);
cfile            2159 fs/cifs/inode.c 	if (cfile == NULL)
cfile            2163 fs/cifs/inode.c 		rc = server->ops->fiemap(tcon, cfile, fei, start, len);
cfile            2164 fs/cifs/inode.c 		cifsFileInfo_put(cfile);
cfile            2168 fs/cifs/inode.c 	cifsFileInfo_put(cfile);
cfile             619 fs/cifs/misc.c void cifs_queue_oplock_break(struct cifsFileInfo *cfile)
cfile             627 fs/cifs/misc.c 	cifsFileInfo_get(cfile);
cfile             629 fs/cifs/misc.c 	queue_work(cifsoplockd_wq, &cfile->oplock_break);
cfile             815 fs/cifs/misc.c 	cifsFileInfo_put(ctx->cfile);
cfile             580 fs/cifs/readdir.c 	struct cifsFileInfo *cfile = file->private_data;
cfile             588 fs/cifs/readdir.c 	if ((cfile == NULL) || (current_entry == NULL) || (num_to_ret == NULL))
cfile             592 fs/cifs/readdir.c 	first_entry_in_buffer = cfile->srch_inf.index_of_last_entry -
cfile             593 fs/cifs/readdir.c 					cfile->srch_inf.entries_in_buffer;
cfile             604 fs/cifs/readdir.c 	if (((index_to_find < cfile->srch_inf.index_of_last_entry) &&
cfile             608 fs/cifs/readdir.c 		spin_lock(&cfile->file_info_lock);
cfile             609 fs/cifs/readdir.c 		if (server->ops->dir_needs_close(cfile)) {
cfile             610 fs/cifs/readdir.c 			cfile->invalidHandle = true;
cfile             611 fs/cifs/readdir.c 			spin_unlock(&cfile->file_info_lock);
cfile             613 fs/cifs/readdir.c 				server->ops->close_dir(xid, tcon, &cfile->fid);
cfile             615 fs/cifs/readdir.c 			spin_unlock(&cfile->file_info_lock);
cfile             616 fs/cifs/readdir.c 		if (cfile->srch_inf.ntwrk_buf_start) {
cfile             618 fs/cifs/readdir.c 			if (cfile->srch_inf.smallBuf)
cfile             619 fs/cifs/readdir.c 				cifs_small_buf_release(cfile->srch_inf.
cfile             622 fs/cifs/readdir.c 				cifs_buf_release(cfile->srch_inf.
cfile             624 fs/cifs/readdir.c 			cfile->srch_inf.ntwrk_buf_start = NULL;
cfile             633 fs/cifs/readdir.c 		if (cfile->srch_inf.last_entry)
cfile             634 fs/cifs/readdir.c 			cifs_save_resume_key(cfile->srch_inf.last_entry, cfile);
cfile             641 fs/cifs/readdir.c 	while ((index_to_find >= cfile->srch_inf.index_of_last_entry) &&
cfile             642 fs/cifs/readdir.c 	       (rc == 0) && !cfile->srch_inf.endOfSearch) {
cfile             644 fs/cifs/readdir.c 		rc = server->ops->query_dir_next(xid, tcon, &cfile->fid,
cfile             646 fs/cifs/readdir.c 						 &cfile->srch_inf);
cfile             648 fs/cifs/readdir.c 		if (cfile->srch_inf.last_entry)
cfile             649 fs/cifs/readdir.c 			cifs_save_resume_key(cfile->srch_inf.last_entry, cfile);
cfile             653 fs/cifs/readdir.c 	if (index_to_find < cfile->srch_inf.index_of_last_entry) {
cfile             660 fs/cifs/readdir.c 		if (cfile->srch_inf.ntwrk_buf_start == NULL) {
cfile             665 fs/cifs/readdir.c 		end_of_smb = cfile->srch_inf.ntwrk_buf_start +
cfile             667 fs/cifs/readdir.c 					cfile->srch_inf.ntwrk_buf_start,
cfile             670 fs/cifs/readdir.c 		cur_ent = cfile->srch_inf.srch_entries_start;
cfile             671 fs/cifs/readdir.c 		first_entry_in_buffer = cfile->srch_inf.index_of_last_entry
cfile             672 fs/cifs/readdir.c 					- cfile->srch_inf.entries_in_buffer;
cfile             679 fs/cifs/readdir.c 						cfile->srch_inf.info_level);
cfile             693 fs/cifs/readdir.c 	if (pos_in_buf >= cfile->srch_inf.entries_in_buffer) {
cfile             697 fs/cifs/readdir.c 		*num_to_ret = cfile->srch_inf.entries_in_buffer - pos_in_buf;
cfile             713 fs/cifs/smb1ops.c cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock)
cfile             715 fs/cifs/smb1ops.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile             716 fs/cifs/smb1ops.c 	cfile->fid.netfid = fid->netfid;
cfile             831 fs/cifs/smb1ops.c 		   struct cifsFileInfo *cfile)
cfile             833 fs/cifs/smb1ops.c 	return CIFSSMB_set_compression(xid, tcon, cfile->fid.netfid);
cfile             908 fs/cifs/smb1ops.c cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset,
cfile             911 fs/cifs/smb1ops.c 	return CIFSSMBLock(xid, tlink_tcon(cfile->tlink), cfile->fid.netfid,
cfile            1012 fs/cifs/smb1ops.c cifs_dir_needs_close(struct cifsFileInfo *cfile)
cfile            1014 fs/cifs/smb1ops.c 	return !cfile->srch_inf.endOfSearch && !cfile->invalidHandle;
cfile             117 fs/cifs/smb2file.c smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock,
cfile             123 fs/cifs/smb2file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile             124 fs/cifs/smb2file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile             149 fs/cifs/smb2file.c 	list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) {
cfile             176 fs/cifs/smb2file.c 					       cfile->fid.persistent_fid,
cfile             177 fs/cifs/smb2file.c 					       cfile->fid.volatile_fid,
cfile             186 fs/cifs/smb2file.c 						&cfile->llist->locks);
cfile             200 fs/cifs/smb2file.c 		stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid,
cfile             201 fs/cifs/smb2file.c 				       cfile->fid.volatile_fid, current->tgid,
cfile             204 fs/cifs/smb2file.c 			cifs_move_llist(&tmp_llist, &cfile->llist->locks);
cfile             220 fs/cifs/smb2file.c 	struct cifsFileInfo *cfile = fdlocks->cfile;
cfile             224 fs/cifs/smb2file.c 	struct cifs_tcon *tcon = tlink_tcon(cfile->tlink);
cfile             233 fs/cifs/smb2file.c 					       cfile->fid.persistent_fid,
cfile             234 fs/cifs/smb2file.c 					       cfile->fid.volatile_fid,
cfile             245 fs/cifs/smb2file.c 				       cfile->fid.persistent_fid,
cfile             246 fs/cifs/smb2file.c 				       cfile->fid.volatile_fid,
cfile             256 fs/cifs/smb2file.c smb2_push_mandatory_locks(struct cifsFileInfo *cfile)
cfile             262 fs/cifs/smb2file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile             271 fs/cifs/smb2file.c 	max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf;
cfile              55 fs/cifs/smb2inode.c 		 struct cifsFileInfo *cfile)
cfile              88 fs/cifs/smb2inode.c 	if (cfile)
cfile             129 fs/cifs/smb2inode.c 		if (cfile)
cfile             131 fs/cifs/smb2inode.c 				cfile->fid.persistent_fid,
cfile             132 fs/cifs/smb2inode.c 				cfile->fid.volatile_fid,
cfile             212 fs/cifs/smb2inode.c 		if (cfile)
cfile             214 fs/cifs/smb2inode.c 				cfile->fid.persistent_fid,
cfile             215 fs/cifs/smb2inode.c 				cfile->fid.volatile_fid, current->tgid,
cfile             253 fs/cifs/smb2inode.c 		if (cfile)
cfile             255 fs/cifs/smb2inode.c 						cfile->fid.persistent_fid,
cfile             256 fs/cifs/smb2inode.c 						cfile->fid.volatile_fid,
cfile             309 fs/cifs/smb2inode.c 	if (cfile)
cfile             323 fs/cifs/smb2inode.c 	if (cfile) {
cfile             324 fs/cifs/smb2inode.c 		cifsFileInfo_put(cfile);
cfile             325 fs/cifs/smb2inode.c 		cfile = NULL;
cfile             335 fs/cifs/smb2inode.c 	if (cfile)
cfile             336 fs/cifs/smb2inode.c 		cifsFileInfo_put(cfile);
cfile             447 fs/cifs/smb2inode.c 	struct cifsFileInfo *cfile;
cfile             479 fs/cifs/smb2inode.c 	cifs_get_readable_path(tcon, full_path, &cfile);
cfile             482 fs/cifs/smb2inode.c 			      ACL_NO_MODE, smb2_data, SMB2_OP_QUERY_INFO, cfile);
cfile             520 fs/cifs/smb2inode.c 	struct cifsFileInfo *cfile;
cfile             528 fs/cifs/smb2inode.c 	cifs_get_writable_path(tcon, name, FIND_WR_ANY, &cfile);
cfile             532 fs/cifs/smb2inode.c 				 &data, SMB2_OP_SET_INFO, cfile);
cfile             559 fs/cifs/smb2inode.c 		   struct cifsFileInfo *cfile)
cfile             571 fs/cifs/smb2inode.c 			      command, cfile);
cfile             582 fs/cifs/smb2inode.c 	struct cifsFileInfo *cfile;
cfile             584 fs/cifs/smb2inode.c 	cifs_get_writable_path(tcon, from_name, FIND_WR_WITH_DELETE, &cfile);
cfile             587 fs/cifs/smb2inode.c 				  cifs_sb, DELETE, SMB2_OP_RENAME, cfile);
cfile             519 fs/cifs/smb2misc.c 	struct cifsFileInfo *cfile;
cfile             528 fs/cifs/smb2misc.c 		cfile = list_entry(tmp, struct cifsFileInfo, tlist);
cfile             529 fs/cifs/smb2misc.c 		cinode = CIFS_I(d_inode(cfile->dentry));
cfile             540 fs/cifs/smb2misc.c 			cfile->oplock_break_cancelled = false;
cfile             542 fs/cifs/smb2misc.c 			cfile->oplock_break_cancelled = true;
cfile             558 fs/cifs/smb2misc.c 		cifs_queue_oplock_break(cfile);
cfile             655 fs/cifs/smb2misc.c 	struct cifsFileInfo *cfile;
cfile             682 fs/cifs/smb2misc.c 				cfile = list_entry(tmp2, struct cifsFileInfo,
cfile             685 fs/cifs/smb2misc.c 				    cfile->fid.persistent_fid ||
cfile             687 fs/cifs/smb2misc.c 				    cfile->fid.volatile_fid)
cfile             693 fs/cifs/smb2misc.c 				cinode = CIFS_I(d_inode(cfile->dentry));
cfile             694 fs/cifs/smb2misc.c 				spin_lock(&cfile->file_info_lock);
cfile             697 fs/cifs/smb2misc.c 					cfile->oplock_break_cancelled = true;
cfile             699 fs/cifs/smb2misc.c 					cfile->oplock_break_cancelled = false;
cfile             716 fs/cifs/smb2misc.c 				spin_unlock(&cfile->file_info_lock);
cfile             718 fs/cifs/smb2misc.c 				cifs_queue_oplock_break(cfile);
cfile            1339 fs/cifs/smb2ops.c smb2_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock)
cfile            1341 fs/cifs/smb2ops.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
cfile            1342 fs/cifs/smb2ops.c 	struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server;
cfile            1344 fs/cifs/smb2ops.c 	cfile->fid.persistent_fid = fid->persistent_fid;
cfile            1345 fs/cifs/smb2ops.c 	cfile->fid.volatile_fid = fid->volatile_fid;
cfile            1346 fs/cifs/smb2ops.c 	cfile->fid.access = fid->access;
cfile            1348 fs/cifs/smb2ops.c 	cfile->fid.mid = fid->mid;
cfile            1353 fs/cifs/smb2ops.c 	memcpy(cfile->fid.create_guid, fid->create_guid, 16);
cfile            1792 fs/cifs/smb2ops.c 		struct cifsFileInfo *cfile, struct inode *inode, __u8 setsparse)
cfile            1819 fs/cifs/smb2ops.c 	rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            1820 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid, FSCTL_SET_SPARSE,
cfile            1839 fs/cifs/smb2ops.c 		   struct cifsFileInfo *cfile, __u64 size, bool set_alloc)
cfile            1848 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
cfile            1854 fs/cifs/smb2ops.c 		smb2_set_sparse(xid, tcon, cfile, inode, set_sparse);
cfile            1857 fs/cifs/smb2ops.c 	return SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
cfile            1858 fs/cifs/smb2ops.c 			    cfile->fid.volatile_fid, cfile->pid, &eof);
cfile            1907 fs/cifs/smb2ops.c 		   struct cifsFileInfo *cfile)
cfile            1909 fs/cifs/smb2ops.c 	return SMB2_set_compression(xid, tcon, cfile->fid.persistent_fid,
cfile            1910 fs/cifs/smb2ops.c 			    cfile->fid.volatile_fid);
cfile            1915 fs/cifs/smb2ops.c 		   struct cifsFileInfo *cfile)
cfile            1924 fs/cifs/smb2ops.c 	return SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            1925 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid,
cfile            1946 fs/cifs/smb2ops.c 		   struct cifsFileInfo *cfile, void __user *ioc_buf)
cfile            1977 fs/cifs/smb2ops.c 	rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            1978 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid,
cfile            2382 fs/cifs/smb2ops.c smb2_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset,
cfile            2387 fs/cifs/smb2ops.c 	return SMB2_lock(xid, tlink_tcon(cfile->tlink),
cfile            2388 fs/cifs/smb2ops.c 			 cfile->fid.persistent_fid, cfile->fid.volatile_fid,
cfile            2958 fs/cifs/smb2ops.c 	struct cifsFileInfo *cfile = file->private_data;
cfile            2966 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
cfile            2969 fs/cifs/smb2ops.c 	trace_smb3_zero_enter(xid, cfile->fid.persistent_fid, tcon->tid,
cfile            2977 fs/cifs/smb2ops.c 			trace_smb3_zero_err(xid, cfile->fid.persistent_fid,
cfile            2988 fs/cifs/smb2ops.c 	rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            2989 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid, FSCTL_SET_ZERO_DATA, true,
cfile            3001 fs/cifs/smb2ops.c 		rc = SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
cfile            3002 fs/cifs/smb2ops.c 				  cfile->fid.volatile_fid, cfile->pid, &eof);
cfile            3008 fs/cifs/smb2ops.c 		trace_smb3_zero_err(xid, cfile->fid.persistent_fid, tcon->tid,
cfile            3011 fs/cifs/smb2ops.c 		trace_smb3_zero_done(xid, cfile->fid.persistent_fid, tcon->tid,
cfile            3020 fs/cifs/smb2ops.c 	struct cifsFileInfo *cfile = file->private_data;
cfile            3028 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
cfile            3032 fs/cifs/smb2ops.c 	if (!smb2_set_sparse(xid, tcon, cfile, inode, set_sparse)) {
cfile            3043 fs/cifs/smb2ops.c 	rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            3044 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid, FSCTL_SET_ZERO_DATA,
cfile            3057 fs/cifs/smb2ops.c 	struct cifsFileInfo *cfile = file->private_data;
cfile            3064 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
cfile            3067 fs/cifs/smb2ops.c 	trace_smb3_falloc_enter(xid, cfile->fid.persistent_fid, tcon->tid,
cfile            3072 fs/cifs/smb2ops.c 			trace_smb3_falloc_err(xid, cfile->fid.persistent_fid,
cfile            3094 fs/cifs/smb2ops.c 			trace_smb3_falloc_err(xid, cfile->fid.persistent_fid,
cfile            3097 fs/cifs/smb2ops.c 			trace_smb3_falloc_done(xid, cfile->fid.persistent_fid,
cfile            3114 fs/cifs/smb2ops.c 			trace_smb3_falloc_err(xid, cfile->fid.persistent_fid,
cfile            3120 fs/cifs/smb2ops.c 		smb2_set_sparse(xid, tcon, cfile, inode, false);
cfile            3123 fs/cifs/smb2ops.c 		smb2_set_sparse(xid, tcon, cfile, inode, false);
cfile            3127 fs/cifs/smb2ops.c 			rc = SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
cfile            3128 fs/cifs/smb2ops.c 					  cfile->fid.volatile_fid, cfile->pid,
cfile            3134 fs/cifs/smb2ops.c 		trace_smb3_falloc_err(xid, cfile->fid.persistent_fid, tcon->tid,
cfile            3137 fs/cifs/smb2ops.c 		trace_smb3_falloc_done(xid, cfile->fid.persistent_fid, tcon->tid,
cfile            3146 fs/cifs/smb2ops.c 	struct cifsFileInfo *wrcfile, *cfile = file->private_data;
cfile            3157 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
cfile            3187 fs/cifs/smb2ops.c 	rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            3188 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid,
cfile            3229 fs/cifs/smb2ops.c 		       struct cifsFileInfo *cfile,
cfile            3246 fs/cifs/smb2ops.c 	rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
cfile            3247 fs/cifs/smb2ops.c 			cfile->fid.volatile_fid,
cfile            3544 fs/cifs/smb2ops.c smb2_dir_needs_close(struct cifsFileInfo *cfile)
cfile            3546 fs/cifs/smb2ops.c 	return !cfile->invalidHandle;
cfile            3630 fs/cifs/smb2pdu.c 	struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
cfile            3695 fs/cifs/smb2pdu.c 				    rdata->cfile->fid.persistent_fid,
cfile            3700 fs/cifs/smb2pdu.c 				     rdata->cfile->fid.persistent_fid,
cfile            3725 fs/cifs/smb2pdu.c 	io_parms.tcon = tlink_tcon(rdata->cfile->tlink);
cfile            3728 fs/cifs/smb2pdu.c 	io_parms.persistent_fid = rdata->cfile->fid.persistent_fid;
cfile            3729 fs/cifs/smb2pdu.c 	io_parms.volatile_fid = rdata->cfile->fid.volatile_fid;
cfile            3863 fs/cifs/smb2pdu.c 	struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
cfile            3920 fs/cifs/smb2pdu.c 				     wdata->cfile->fid.persistent_fid,
cfile            3928 fs/cifs/smb2pdu.c 				      wdata->cfile->fid.persistent_fid,
cfile            3945 fs/cifs/smb2pdu.c 	struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
cfile            3959 fs/cifs/smb2pdu.c 	shdr->ProcessId = cpu_to_le32(wdata->cfile->pid);
cfile            3961 fs/cifs/smb2pdu.c 	req->PersistentFileId = wdata->cfile->fid.persistent_fid;
cfile            3962 fs/cifs/smb2pdu.c 	req->VolatileFileId = wdata->cfile->fid.volatile_fid;
cfile            3971 fs/cifs/smb2pdu.c 	trace_smb3_write_enter(0 /* xid */, wdata->cfile->fid.persistent_fid,
cfile             113 fs/cifs/smb2proto.h extern int smb2_unlock_range(struct cifsFileInfo *cfile,
cfile             115 fs/cifs/smb2proto.h extern int smb2_push_mandatory_locks(struct cifsFileInfo *cfile);
cfile             117 include/linux/cgroup.h void cgroup_file_notify(struct cgroup_file *cfile);
cfile            1634 kernel/cgroup/cgroup.c 		struct cgroup_file *cfile = (void *)css + cft->file_offset;
cfile            1637 kernel/cgroup/cgroup.c 		cfile->kn = NULL;
cfile            1640 kernel/cgroup/cgroup.c 		del_timer_sync(&cfile->notify_timer);
cfile            3895 kernel/cgroup/cgroup.c 		struct cgroup_file *cfile = (void *)css + cft->file_offset;
cfile            3897 kernel/cgroup/cgroup.c 		timer_setup(&cfile->notify_timer, cgroup_file_notify_timer, 0);
cfile            3900 kernel/cgroup/cgroup.c 		cfile->kn = kn;
cfile            4144 kernel/cgroup/cgroup.c void cgroup_file_notify(struct cgroup_file *cfile)
cfile            4149 kernel/cgroup/cgroup.c 	if (cfile->kn) {
cfile            4150 kernel/cgroup/cgroup.c 		unsigned long last = cfile->notified_at;
cfile            4154 kernel/cgroup/cgroup.c 			timer_reduce(&cfile->notify_timer, next);
cfile            4156 kernel/cgroup/cgroup.c 			kernfs_notify(cfile->kn);
cfile            4157 kernel/cgroup/cgroup.c 			cfile->notified_at = jiffies;
cfile            4704 mm/memcontrol.c 	struct fd cfile;
cfile            4743 mm/memcontrol.c 	cfile = fdget(cfd);
cfile            4744 mm/memcontrol.c 	if (!cfile.file) {
cfile            4751 mm/memcontrol.c 	ret = inode_permission(file_inode(cfile.file), MAY_READ);
cfile            4763 mm/memcontrol.c 	name = cfile.file->f_path.dentry->d_name.name;
cfile            4787 mm/memcontrol.c 	cfile_css = css_tryget_online_from_dir(cfile.file->f_path.dentry->d_parent,
cfile            4807 mm/memcontrol.c 	fdput(cfile);
cfile            4815 mm/memcontrol.c 	fdput(cfile);