Searched refs:realm (Results 1 – 5 of 5) sorted by relevance
/fs/ceph/ |
D | snap.c | 63 struct ceph_snap_realm *realm) in ceph_get_snap_realm() argument 65 dout("get_realm %p %d -> %d\n", realm, in ceph_get_snap_realm() 66 atomic_read(&realm->nref), atomic_read(&realm->nref)+1); in ceph_get_snap_realm() 73 if (atomic_inc_return(&realm->nref) == 1) { in ceph_get_snap_realm() 75 list_del_init(&realm->empty_item); in ceph_get_snap_realm() 111 struct ceph_snap_realm *realm; in ceph_create_snap_realm() local 113 realm = kzalloc(sizeof(*realm), GFP_NOFS); in ceph_create_snap_realm() 114 if (!realm) in ceph_create_snap_realm() 117 atomic_set(&realm->nref, 1); /* for caller */ in ceph_create_snap_realm() 118 realm->ino = ino; in ceph_create_snap_realm() [all …]
|
D | caps.c | 582 struct ceph_snap_realm *realm = ceph_lookup_snap_realm(mdsc, in ceph_add_cap() local 584 if (realm) { in ceph_add_cap() 585 spin_lock(&realm->inodes_with_caps_lock); in ceph_add_cap() 586 ci->i_snap_realm = realm; in ceph_add_cap() 588 &realm->inodes_with_caps); in ceph_add_cap() 589 spin_unlock(&realm->inodes_with_caps_lock); in ceph_add_cap() 593 WARN_ON(!realm); in ceph_add_cap() 910 struct ceph_snap_realm *realm = ci->i_snap_realm; in drop_inode_snap_realm() local 911 spin_lock(&realm->inodes_with_caps_lock); in drop_inode_snap_realm() 915 spin_unlock(&realm->inodes_with_caps_lock); in drop_inode_snap_realm() [all …]
|
D | mds_client.c | 2377 struct ceph_snap_realm *realm; in handle_reply() local 2500 realm = NULL; in handle_reply() 2506 &realm); in handle_reply() 2526 if (realm) in handle_reply() 2527 ceph_put_snap_realm(mdsc, realm); in handle_reply() 3031 struct ceph_snap_realm *realm = in send_mds_reconnect() local 3036 realm->ino, realm->seq, realm->parent_ino); in send_mds_reconnect() 3037 sr_rec.ino = cpu_to_le64(realm->ino); in send_mds_reconnect() 3038 sr_rec.seq = cpu_to_le64(realm->seq); in send_mds_reconnect() 3039 sr_rec.parent = cpu_to_le64(realm->parent_ino); in send_mds_reconnect()
|
D | inode.c | 548 struct ceph_snap_realm *realm = ci->i_snap_realm; in ceph_destroy_inode() local 550 dout(" dropping residual ref to snap realm %p\n", realm); in ceph_destroy_inode() 551 spin_lock(&realm->inodes_with_caps_lock); in ceph_destroy_inode() 553 spin_unlock(&realm->inodes_with_caps_lock); in ceph_destroy_inode() 554 ceph_put_snap_realm(mdsc, realm); in ceph_destroy_inode() 942 le64_to_cpu(info->cap.realm), in fill_inode()
|
D | super.h | 722 struct ceph_snap_realm *realm); 724 struct ceph_snap_realm *realm);
|