| /linux/fs/ceph/ |
| H A D | snap.c | 31 * of the files contained by each realm share the same set of 32 * snapshots. An individual realm's snap set contains snapshots 33 * explicitly created on that realm, as well as any snaps in its 40 * realm relationship, and for each realm has an explicit list of snaps 44 * with an open cap in the system. (The needed snap realm information is 46 * version number is used to ensure that as realm parameters change (new 47 * snapshot, new parent, etc.) the client's realm hierarchy is updated. 49 * The realm hierarchy drives the generation of a 'snap context' for each 50 * realm, whic 67 ceph_get_snap_realm(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm) ceph_get_snap_realm() argument 117 struct ceph_snap_realm *realm; ceph_create_snap_realm() local 190 __destroy_snap_realm(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm) __destroy_snap_realm() argument 215 __put_snap_realm(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm) __put_snap_realm() argument 231 ceph_put_snap_realm(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm) ceph_put_snap_realm() argument 255 struct ceph_snap_realm *realm; __cleanup_empty_realms() local 292 adjust_snap_realm_parent(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm,u64 parentino) adjust_snap_realm_parent() argument 336 build_snap_context(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm,struct list_head * realm_queue,struct list_head * dirty_realms) build_snap_context() argument 434 rebuild_snap_realms(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm,struct list_head * dirty_realms) rebuild_snap_realms() argument 723 queue_realm_cap_snaps(struct ceph_mds_client * mdsc,struct ceph_snap_realm * realm) queue_realm_cap_snaps() argument 787 struct ceph_snap_realm *realm; ceph_update_snap_trace() local 977 ceph_change_snap_realm(struct inode * inode,struct ceph_snap_realm * realm) ceph_change_snap_realm() argument 1026 struct ceph_snap_realm *realm = NULL; ceph_handle_snap() local [all...] |
| H A D | quota.c | 132 struct ceph_snap_realm *realm) in lookup_quotarealm_inode() argument 138 qri = find_quotarealm_inode(mdsc, realm->ino); in lookup_quotarealm_inode() 163 in = ceph_lookup_inode(sb, realm->ino); in lookup_quotarealm_inode() 167 doutc(cl, "Can't lookup inode %llx (err: %ld)\n", realm->ino, in lookup_quotarealm_inode() 220 struct ceph_snap_realm *realm, *next; in get_quota_realm() local 230 realm = ceph_inode(inode)->i_snap_realm; in get_quota_realm() 231 if (realm) { in get_quota_realm() 232 ceph_get_snap_realm(mdsc, realm); in get_quota_realm() 244 while (realm) { in get_quota_realm() 247 spin_lock(&realm->inodes_with_caps_lock); in get_quota_realm() [all …]
|
| H A D | super.h | 497 struct ceph_snap_realm *i_snap_realm; /* snap realm (if caps) */ 958 * A "snap realm" describes a subset of the file hierarchy sharing 963 * All inodes within the realm that have capabilities are linked into a 964 * per-realm list. 978 u64 *snaps; /* snaps specific to this realm */ 987 struct list_head dirty_item; /* if realm needs new context */ 991 /* the current set of snaps for this realm */ in default_congestion_kb() 1034 struct ceph_snap_realm *realm); 1036 struct ceph_snap_realm *realm); 1040 void ceph_change_snap_realm(struct inode *inode, struct ceph_snap_realm *realm); [all...] |
| H A D | caps.c | 725 * add this inode to the appropriate snap realm in ceph_add_cap() 727 struct ceph_snap_realm *realm = ceph_lookup_snap_realm(mdsc, in ceph_add_cap() local 729 if (realm) in ceph_add_cap() 730 ceph_change_snap_realm(inode, realm); in ceph_add_cap() 732 WARN(1, "%s: couldn't find snap realm 0x%llx (ino 0x%llx oldrealm 0x%llx)\n", in ceph_add_cap() 4224 u64 realmino = le64_to_cpu(im->realm); in handle_cap_import() 4348 struct ceph_snap_realm *realm = NULL; in ceph_handle_caps() 4499 realm = NULL; in ceph_handle_caps() 4504 false, &realm)) { in ceph_handle_caps() 4518 if (realm) in ceph_handle_caps() 4338 struct ceph_snap_realm *realm = NULL; ceph_handle_caps() local [all...] |
| H A D | mds_client.c | 4017 struct ceph_snap_realm *realm; in handle_reply() 4140 realm = NULL; in handle_forward() 4146 &realm); in handle_forward() 4172 if (realm) in handle_forward() 4173 ceph_put_snap_realm(mdsc, realm); in handle_forward() 4705 /* can't handle message that contains both caps and realm */ in reconnect_caps_cb() 5022 struct ceph_snap_realm *realm = in send_mds_reconnect() 5046 doutc(cl, " adding snap realm %llx seq %lld parent %llx\n", in send_mds_reconnect() 5047 realm->ino, realm in send_mds_reconnect() 3905 struct ceph_snap_realm *realm; handle_reply() local 4896 struct ceph_snap_realm *realm = encode_snap_realms() local [all...] |
| H A D | inode.c | 769 doutc(cl, " dropping residual ref to snap realm %p\n", in ceph_evict_inode() 1340 le64_to_cpu(info->cap.realm), in ceph_fill_inode() 3195 struct ceph_snap_realm *realm; in ceph_getattr() 3204 realm = pci->i_snap_realm; in ceph_getattr() 3205 if (realm) in ceph_getattr() 3206 stat->size = realm->num_snaps; in ceph_getattr() 3194 struct ceph_snap_realm *realm; ceph_getattr() local
|
| H A D | file.c | 712 in.cap.realm = cpu_to_le64(ci->i_snap_realm->ino); in ceph_finish_async_create()
|
| /linux/include/linux/ceph/ |
| H A D | ceph_fs.h | 569 __le64 realm; /* snap realm */ member 776 __le64 ino, realm; member
|
| /linux/Documentation/filesystems/ |
| H A D | afs.rst | 213 Currently the username, realm, password and proposed ticket lifetime are
|
| /linux/net/rxrpc/ |
| H A D | rxkad.c | 857 name = Z(REALM, realm); in rxkad_respond_to_challenge()
|
| /linux/Documentation/userspace-api/ |
| H A D | iommufd.rst | 113 be forwarded via this object too, such as security level or realm information
|