Searched refs:refcnt (Results 1 – 12 of 12) sorted by relevance
/fs/hfs/ |
D | bnode.c | 258 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()
|
D | btree.c | 132 if (atomic_read(&node->refcnt)) in hfs_btree_close() 134 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_btree_close()
|
D | btree.h | 60 atomic_t refcnt; member
|
D | inode.c | 79 else if (atomic_read(&node->refcnt)) in hfs_releasepage() 94 if (atomic_read(&node->refcnt)) { in hfs_releasepage()
|
/fs/hfsplus/ |
D | bnode.c | 418 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()
|
D | btree.c | 110 if (atomic_read(&node->refcnt)) in hfs_btree_close() 112 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_btree_close()
|
D | inode.c | 76 else if (atomic_read(&node->refcnt)) in hfsplus_releasepage() 91 if (atomic_read(&node->refcnt)) { in hfsplus_releasepage()
|
D | hfsplus_fs.h | 91 atomic_t refcnt; member
|
/fs/ |
D | pnode.c | 294 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/ |
D | file.c | 46 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/ |
D | xattr.c | 350 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()
|
D | xattr.h | 32 atomic_t refcnt; /* # of xattr_ref refers this */ member
|