Searched refs:cifs_inode (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/smb/client/ |
D | cifsfs.c | 396 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local 397 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode() 398 if (!cifs_inode) in cifs_alloc_inode() 400 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode() 401 cifs_inode->time = 0; in cifs_alloc_inode() 406 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode() 407 cifs_inode->lease_granted = false; in cifs_alloc_inode() 408 cifs_inode->flags = 0; in cifs_alloc_inode() 409 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode() 410 cifs_inode->writers = 0; in cifs_alloc_inode() [all …]
|
D | file.c | 2413 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument 2417 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in find_readable_file() 2423 spin_lock(&cifs_inode->open_file_lock); in find_readable_file() 2427 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file() 2435 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file() 2443 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file() 2449 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument 2467 if (cifs_inode == NULL) { in cifs_get_writable_file() 2473 cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in cifs_get_writable_file() 2479 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file() [all …]
|
D | misc.c | 753 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument 759 if (cifs_inode == NULL) in cifs_close_deferred_file() 762 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file() 763 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file() 766 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 768 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 778 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
|
D | inode.c | 1815 struct cifsInodeInfo *cifs_inode; in cifs_unlink() local 1897 cifs_inode = CIFS_I(inode); in cifs_unlink() 1898 origattr = cifs_inode->cifsAttrs; in cifs_unlink() 1919 cifs_inode = CIFS_I(inode); in cifs_unlink() 1920 cifs_inode->time = 0; /* will force revalidate to get info in cifs_unlink() 1925 cifs_inode = CIFS_I(dir); in cifs_unlink() 2530 struct cifsInodeInfo *cifs_inode = CIFS_I(inode); local 2531 unsigned long *flags = &cifs_inode->flags; 2548 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
|
D | cifsproto.h | 154 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, 289 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);
|
D | cifsglob.h | 481 __u16 net_fid, struct cifsInodeInfo *cifs_inode);
|