Searched refs:realm (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/fs/ceph/ |
D | snap.c | 66 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() 124 atomic_set(&realm->nref, 1); /* for caller */ in ceph_create_snap_realm() 125 realm->ino = ino; in ceph_create_snap_realm() 126 INIT_LIST_HEAD(&realm->children); in ceph_create_snap_realm() [all …]
|
D | quota.c | 128 struct ceph_snap_realm *realm) in lookup_quotarealm_inode() argument 133 qri = find_quotarealm_inode(mdsc, realm->ino); in lookup_quotarealm_inode() 158 in = ceph_lookup_inode(sb, realm->ino); in lookup_quotarealm_inode() 163 realm->ino, PTR_ERR(in)); in lookup_quotarealm_inode() 213 struct ceph_snap_realm *realm, *next; in get_quota_realm() local 221 realm = ceph_inode(inode)->i_snap_realm; in get_quota_realm() 222 if (realm) in get_quota_realm() 223 ceph_get_snap_realm(mdsc, realm); in get_quota_realm() 227 while (realm) { in get_quota_realm() 230 spin_lock(&realm->inodes_with_caps_lock); in get_quota_realm() [all …]
|
D | caps.c | 706 struct ceph_snap_realm *realm = ceph_lookup_snap_realm(mdsc, in ceph_add_cap() local 708 if (realm) { in ceph_add_cap() 716 spin_lock(&realm->inodes_with_caps_lock); in ceph_add_cap() 718 &realm->inodes_with_caps); in ceph_add_cap() 719 ci->i_snap_realm = realm; in ceph_add_cap() 720 if (realm->ino == ci->i_vino.ino) in ceph_add_cap() 721 realm->inode = inode; in ceph_add_cap() 722 spin_unlock(&realm->inodes_with_caps_lock); in ceph_add_cap() 729 WARN_ON(!realm); in ceph_add_cap() 1121 struct ceph_snap_realm *realm = ci->i_snap_realm; in drop_inode_snap_realm() local [all …]
|
D | inode.c | 570 struct ceph_snap_realm *realm = ci->i_snap_realm; in ceph_evict_inode() local 572 realm); in ceph_evict_inode() 573 spin_lock(&realm->inodes_with_caps_lock); in ceph_evict_inode() 576 if (realm->ino == ci->i_vino.ino) in ceph_evict_inode() 577 realm->inode = NULL; in ceph_evict_inode() 578 spin_unlock(&realm->inodes_with_caps_lock); in ceph_evict_inode() 579 ceph_put_snap_realm(mdsc, realm); in ceph_evict_inode() 988 le64_to_cpu(info->cap.realm), in ceph_fill_inode()
|
D | mds_client.c | 3097 struct ceph_snap_realm *realm; in handle_reply() local 3216 realm = NULL; in handle_reply() 3222 &realm); in handle_reply() 3241 if (realm) in handle_reply() 3242 ceph_put_snap_realm(mdsc, realm); in handle_reply() 3885 struct ceph_snap_realm *realm = in encode_snap_realms() local 3910 realm->ino, realm->seq, realm->parent_ino); in encode_snap_realms() 3911 sr_rec.ino = cpu_to_le64(realm->ino); in encode_snap_realms() 3912 sr_rec.seq = cpu_to_le64(realm->seq); in encode_snap_realms() 3913 sr_rec.parent = cpu_to_le64(realm->parent_ino); in encode_snap_realms()
|
D | super.h | 921 struct ceph_snap_realm *realm); 923 struct ceph_snap_realm *realm);
|
D | file.c | 604 in.cap.realm = cpu_to_le64(ci->i_snap_realm->ino); in ceph_finish_async_create()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | key.c | 177 kfree(princ->realm); in rxrpc_free_krb5_principal() 271 princ->realm = kmalloc(tmp + 1, GFP_KERNEL); in rxrpc_krb5_decode_principal() 272 if (!princ->realm) in rxrpc_krb5_decode_principal() 274 memcpy(princ->realm, xdr, tmp); in rxrpc_krb5_decode_principal() 275 princ->realm[tmp] = 0; in rxrpc_krb5_decode_principal() 279 _debug("%s/...@%s", princ->name_parts[0], princ->realm); in rxrpc_krb5_decode_principal() 1085 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read() 1091 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read() 1189 ENCODE_STR(princ->realm); in rxrpc_read() 1195 ENCODE_STR(princ->realm); in rxrpc_read()
|
/kernel/linux/linux-5.10/include/keys/ |
D | rxrpc-type.h | 41 char *realm; /* parts of the realm part of the principal */ member
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | ceph_fs.h | 500 __le64 realm; /* snap realm */ member 707 __le64 ino, realm; member
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | afs.rst | 213 Currently the username, realm, password and proposed ticket lifetime are
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | Kconfig | 1503 tristate '"realm" match support' 1507 This option adds a `realm' match, which allows you to use the realm
|