Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dcifsfs.c397 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
398 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
399 if (!cifs_inode) in cifs_alloc_inode()
401 cifs_inode->cifsAttrs = ATTR_ARCHIVE; /* default */ in cifs_alloc_inode()
402 cifs_inode->time = 0; in cifs_alloc_inode()
407 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
408 cifs_inode->lease_granted = false; in cifs_alloc_inode()
409 cifs_inode->flags = 0; in cifs_alloc_inode()
410 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()
411 cifs_inode->writers = 0; in cifs_alloc_inode()
[all …]
H A Dfile.c2419 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument
2423 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in find_readable_file()
2429 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
2433 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
2441 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2449 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2455 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument
2473 if (cifs_inode == NULL) { in cifs_get_writable_file()
2479 cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in cifs_get_writable_file()
2485 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
[all …]
H A Dmisc.c754 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument
760 if (cifs_inode == NULL) in cifs_close_deferred_file()
763 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
764 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file()
767 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file()
769 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file()
779 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
H A Dinode.c1932 struct cifsInodeInfo *cifs_inode; in cifs_unlink() local
2015 cifs_inode = CIFS_I(inode); in cifs_unlink()
2016 origattr = cifs_inode->cifsAttrs; in cifs_unlink()
2037 cifs_inode = CIFS_I(inode); in cifs_unlink()
2038 cifs_inode->time = 0; /* will force revalidate to get info in cifs_unlink()
2043 cifs_inode = CIFS_I(dir); in cifs_unlink()
2654 struct cifsInodeInfo *cifs_inode = CIFS_I(inode); local
2655 unsigned long *flags = &cifs_inode->flags;
2672 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
H A Dcifsproto.h154 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,
291 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);
H A Dcifsglob.h519 __u16 net_fid, struct cifsInodeInfo *cifs_inode);