Home
last modified time | relevance | path

Searched refs:cifs_inode (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/fs/cifs/
Dcifsfs.c366 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
367 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
368 if (!cifs_inode) in cifs_alloc_inode()
370 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
371 cifs_inode->time = 0; in cifs_alloc_inode()
376 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
377 cifs_inode->flags = 0; in cifs_alloc_inode()
378 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()
379 cifs_inode->writers = 0; in cifs_alloc_inode()
380 cifs_inode->netfs.inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()
[all …]
Dfile.c2003 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument
2007 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in find_readable_file()
2013 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
2017 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
2025 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2033 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2039 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument
2057 if (cifs_inode == NULL) { in cifs_get_writable_file()
2063 cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in cifs_get_writable_file()
2069 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
[all …]
Dmisc.c731 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument
737 if (cifs_inode == NULL) in cifs_close_deferred_file()
741 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
742 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file()
755 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
Dinode.c1593 struct cifsInodeInfo *cifs_inode; local
1669 cifs_inode = CIFS_I(inode);
1670 origattr = cifs_inode->cifsAttrs;
1691 cifs_inode = CIFS_I(inode);
1692 cifs_inode->time = 0; /* will force revalidate to get info
1697 cifs_inode = CIFS_I(dir);
Dcifsproto.h149 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,
274 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);