Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsfs.c378 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
379 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
380 if (!cifs_inode) in cifs_alloc_inode()
382 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
383 cifs_inode->time = 0; in cifs_alloc_inode()
388 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
389 cifs_inode->flags = 0; in cifs_alloc_inode()
390 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()
391 cifs_inode->writers = 0; in cifs_alloc_inode()
392 cifs_inode->netfs.inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()
[all …]
Dfile.c2079 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument
2083 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in find_readable_file()
2089 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
2093 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
2101 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2109 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2115 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument
2133 if (cifs_inode == NULL) { in cifs_get_writable_file()
2139 cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in cifs_get_writable_file()
2145 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
[all …]
Dmisc.c730 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument
736 if (cifs_inode == NULL) in cifs_close_deferred_file()
740 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
741 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file()
754 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
Dcifsproto.h145 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,
269 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);
Dinode.c1637 struct cifsInodeInfo *cifs_inode; local
1715 cifs_inode = CIFS_I(inode);
1716 origattr = cifs_inode->cifsAttrs;
1737 cifs_inode = CIFS_I(inode);
1738 cifs_inode->time = 0; /* will force revalidate to get info
1743 cifs_inode = CIFS_I(dir);