Searched refs:cifs_inode (Results 1 – 6 of 6) sorted by relevance
397 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local399 if (!cifs_inode) in cifs_alloc_inode()402 cifs_inode->time = 0; in cifs_alloc_inode()408 cifs_inode->lease_granted = false; in cifs_alloc_inode()409 cifs_inode->flags = 0; in cifs_alloc_inode()411 cifs_inode->writers = 0; in cifs_alloc_inode()414 cifs_inode->uniqueid = 0; in cifs_alloc_inode()415 cifs_inode->createtime = 0; in cifs_alloc_inode()416 cifs_inode->epoch = 0; in cifs_alloc_inode()419 cifs_inode->symlink_target = NULL; in cifs_alloc_inode()[all …]
2457 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()2477 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()2501 if (cifs_inode == NULL) { in cifs_get_writable_file()2513 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()2516 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()2550 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()2559 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()2561 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()2565 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()3036 spin_lock(&cifs_inode->open_file_lock); in is_inode_writable()[all …]
756 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument762 if (cifs_inode == NULL) in cifs_close_deferred_file()765 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()766 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file()769 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file()771 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file()781 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
1941 struct cifsInodeInfo *cifs_inode; in cifs_unlink() local2024 cifs_inode = CIFS_I(inode); in cifs_unlink()2025 origattr = cifs_inode->cifsAttrs; in cifs_unlink()2046 cifs_inode = CIFS_I(inode); in cifs_unlink()2047 cifs_inode->time = 0; /* will force revalidate to get info in cifs_unlink()2052 cifs_inode = CIFS_I(dir); in cifs_unlink()2663 struct cifsInodeInfo *cifs_inode = CIFS_I(inode); local2664 unsigned long *flags = &cifs_inode->flags;2681 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
157 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,296 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);
519 __u16 net_fid, struct cifsInodeInfo *cifs_inode);