Home
last modified time | relevance | path

Searched refs:refcnt (Results 1 – 12 of 12) sorted by relevance

/fs/hfs/
Dbnode.c258 atomic_set(&node->refcnt, 1); in __hfs_bnode_create()
304 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_unhash()
444 atomic_inc(&node->refcnt); in hfs_bnode_get()
446 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_get()
458 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_put()
459 BUG_ON(!atomic_read(&node->refcnt)); in hfs_bnode_put()
460 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
Dbtree.c132 if (atomic_read(&node->refcnt)) in hfs_btree_close()
134 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_btree_close()
Dbtree.h60 atomic_t refcnt; member
Dinode.c79 else if (atomic_read(&node->refcnt)) in hfs_releasepage()
94 if (atomic_read(&node->refcnt)) { in hfs_releasepage()
/fs/hfsplus/
Dbnode.c418 atomic_set(&node->refcnt, 1); in __hfs_bnode_create()
464 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_unhash()
608 atomic_inc(&node->refcnt); in hfs_bnode_get()
610 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_get()
622 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_put()
623 BUG_ON(!atomic_read(&node->refcnt)); in hfs_bnode_put()
624 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
Dbtree.c110 if (atomic_read(&node->refcnt)) in hfs_btree_close()
112 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_btree_close()
Dinode.c76 else if (atomic_read(&node->refcnt)) in hfsplus_releasepage()
91 if (atomic_read(&node->refcnt)) { in hfsplus_releasepage()
Dhfsplus_fs.h91 atomic_t refcnt; member
/fs/
Dpnode.c294 int propagate_mount_busy(struct vfsmount *mnt, int refcnt) in propagate_mount_busy() argument
301 return do_refcount_check(mnt, refcnt); in propagate_mount_busy()
308 if (!list_empty(&mnt->mnt_mounts) || do_refcount_check(mnt, refcnt)) in propagate_mount_busy()
/fs/sysfs/
Dfile.c46 atomic_t refcnt; member
280 atomic_inc(&od->refcnt); in sysfs_get_open_dirent()
296 atomic_set(&new_od->refcnt, 0); in sysfs_get_open_dirent()
322 if (atomic_dec_and_test(&od->refcnt)) in sysfs_put_open_dirent()
/fs/jffs2/
Dxattr.c350 atomic_inc(&xd->refcnt); in create_xattr_datum()
370 atomic_set(&xd->refcnt, 1); in create_xattr_datum()
402 if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) { in unrefer_xattr_datum()
617 if (atomic_dec_and_test(&xd->refcnt)) { in jffs2_xattr_free_inode()
843 atomic_inc(&xd->refcnt); in jffs2_build_xattr_subsystem()
854 if (!atomic_read(&xd->refcnt)) { in jffs2_build_xattr_subsystem()
1306 if (atomic_read(&xd->refcnt) || xd->node != (void *)xd) in jffs2_release_xattr_datum()
Dxattr.h32 atomic_t refcnt; /* # of xattr_ref refers this */ member