Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ceph/
Dsnap.c67 struct ceph_snap_realm *realm) in ceph_get_snap_realm() argument
77 if (atomic_inc_not_zero(&realm->nref)) in ceph_get_snap_realm()
81 if (atomic_inc_return(&realm->nref) == 1) in ceph_get_snap_realm()
82 list_del_init(&realm->empty_item); in ceph_get_snap_realm()
117 struct ceph_snap_realm *realm; in ceph_create_snap_realm() local
121 realm = kzalloc(sizeof(*realm), GFP_NOFS); in ceph_create_snap_realm()
122 if (!realm) in ceph_create_snap_realm()
127 atomic_set(&realm->nref, 2); in ceph_create_snap_realm()
129 atomic_set(&realm->nref, 1); in ceph_create_snap_realm()
130 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()
216 struct ceph_snap_realm *realm, *next; in get_quota_realm() local
226 realm = ceph_inode(inode)->i_snap_realm; in get_quota_realm()
227 if (realm) in get_quota_realm()
228 ceph_get_snap_realm(mdsc, realm); in get_quota_realm()
232 while (realm) { in get_quota_realm()
235 spin_lock(&realm->inodes_with_caps_lock); in get_quota_realm()
[all …]
Dsuper.h981 struct ceph_snap_realm *realm);
983 struct ceph_snap_realm *realm);
987 void ceph_change_snap_realm(struct inode *inode, struct ceph_snap_realm *realm);
Dmds_client.c3630 struct ceph_snap_realm *realm; in handle_reply() local
3751 realm = NULL; in handle_reply()
3757 &realm); in handle_reply()
3783 if (realm) in handle_reply()
3784 ceph_put_snap_realm(mdsc, realm); in handle_reply()
4495 struct ceph_snap_realm *realm = in encode_snap_realms() local
4520 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms()
4521 sr_rec.ino = cpu_to_le64(realm->ino); in encode_snap_realms()
4522 sr_rec.seq = cpu_to_le64(realm->seq); in encode_snap_realms()
4523 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
Dcaps.c706 struct ceph_snap_realm *realm = ceph_lookup_snap_realm(mdsc, in ceph_add_cap() local
708 if (realm) in ceph_add_cap()
709 ceph_change_snap_realm(inode, realm); in ceph_add_cap()
4115 u64 realmino = le64_to_cpu(im->realm); in handle_cap_import()
4236 struct ceph_snap_realm *realm = NULL; in ceph_handle_caps() local
4386 realm = NULL; in ceph_handle_caps()
4391 false, &realm)) { in ceph_handle_caps()
4405 if (realm) in ceph_handle_caps()
4406 ceph_put_snap_realm(mdsc, realm); in ceph_handle_caps()
Dinode.c1233 le64_to_cpu(info->cap.realm), in ceph_fill_inode()
3008 struct ceph_snap_realm *realm; in ceph_getattr() local
3017 realm = pci->i_snap_realm; in ceph_getattr()
3018 if (realm) in ceph_getattr()
3019 stat->size = realm->num_snaps; in ceph_getattr()
Dfile.c652 in.cap.realm = cpu_to_le64(ci->i_snap_realm->ino); in ceph_finish_async_create()
/linux-6.6.21/include/linux/ceph/
Dceph_fs.h568 __le64 realm; /* snap realm */ member
775 __le64 ino, realm; member
/linux-6.6.21/Documentation/filesystems/
Dafs.rst213 Currently the username, realm, password and proposed ticket lifetime are
/linux-6.6.21/net/rxrpc/
Drxkad.c928 name = Z(REALM, realm); in rxkad_decrypt_ticket()
/linux-6.6.21/net/netfilter/
DKconfig1539 tristate '"realm" match support'
1543 This option adds a `realm' match, which allows you to use the realm