Home
last modified time | relevance | path

Searched refs:realm (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/fs/ceph/
Dsnap.c66 struct ceph_snap_realm *realm) in ceph_get_snap_realm() argument
76 if (atomic_inc_not_zero(&realm->nref)) in ceph_get_snap_realm()
80 if (atomic_inc_return(&realm->nref) == 1) in ceph_get_snap_realm()
81 list_del_init(&realm->empty_item); in ceph_get_snap_realm()
116 struct ceph_snap_realm *realm; in ceph_create_snap_realm() local
120 realm = kzalloc(sizeof(*realm), GFP_NOFS); in ceph_create_snap_realm()
121 if (!realm) in ceph_create_snap_realm()
126 atomic_set(&realm->nref, 2); in ceph_create_snap_realm()
128 atomic_set(&realm->nref, 1); in ceph_create_snap_realm()
129 realm->ino = ino; in ceph_create_snap_realm()
[all …]
Dquota.c130 struct ceph_snap_realm *realm) in lookup_quotarealm_inode() argument
135 qri = find_quotarealm_inode(mdsc, realm->ino); in lookup_quotarealm_inode()
160 in = ceph_lookup_inode(sb, realm->ino); in lookup_quotarealm_inode()
165 realm->ino, PTR_ERR(in)); in lookup_quotarealm_inode()
217 struct ceph_snap_realm *realm, *next; in get_quota_realm() local
225 realm = ceph_inode(inode)->i_snap_realm; in get_quota_realm()
226 if (realm) in get_quota_realm()
227 ceph_get_snap_realm(mdsc, realm); in get_quota_realm()
231 while (realm) { in get_quota_realm()
234 spin_lock(&realm->inodes_with_caps_lock); in get_quota_realm()
[all …]
Dsuper.h938 struct ceph_snap_realm *realm);
940 struct ceph_snap_realm *realm);
944 void ceph_change_snap_realm(struct inode *inode, struct ceph_snap_realm *realm);
Dmds_client.c3244 struct ceph_snap_realm *realm; in handle_reply() local
3351 realm = NULL; in handle_reply()
3357 &realm); in handle_reply()
3376 if (realm) in handle_reply()
3377 ceph_put_snap_realm(mdsc, realm); in handle_reply()
4083 struct ceph_snap_realm *realm = in encode_snap_realms() local
4108 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms()
4109 sr_rec.ino = cpu_to_le64(realm->ino); in encode_snap_realms()
4110 sr_rec.seq = cpu_to_le64(realm->seq); in encode_snap_realms()
4111 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
Dcaps.c704 struct ceph_snap_realm *realm = ceph_lookup_snap_realm(mdsc, in ceph_add_cap() local
706 if (realm) in ceph_add_cap()
707 ceph_change_snap_realm(inode, realm); in ceph_add_cap()
3999 u64 realmino = le64_to_cpu(im->realm); in handle_cap_import()
4074 struct ceph_snap_realm *realm = NULL; in ceph_handle_caps() local
4218 realm = NULL; in ceph_handle_caps()
4223 false, &realm); in ceph_handle_caps()
4233 if (realm) in ceph_handle_caps()
4234 ceph_put_snap_realm(mdsc, realm); in ceph_handle_caps()
Dinode.c1024 le64_to_cpu(info->cap.realm), in ceph_fill_inode()
2491 struct ceph_snap_realm *realm; in ceph_getattr() local
2500 realm = pci->i_snap_realm; in ceph_getattr()
2501 if (realm) in ceph_getattr()
2502 stat->size = realm->num_snaps; in ceph_getattr()
Dfile.c646 in.cap.realm = cpu_to_le64(ci->i_snap_realm->ino); in ceph_finish_async_create()
/linux-6.1.9/include/linux/ceph/
Dceph_fs.h546 __le64 realm; /* snap realm */ member
753 __le64 ino, realm; member
/linux-6.1.9/Documentation/filesystems/
Dafs.rst213 Currently the username, realm, password and proposed ticket lifetime are
/linux-6.1.9/net/netfilter/
DKconfig1537 tristate '"realm" match support'
1541 This option adds a `realm' match, which allows you to use the realm