Searched refs:realm (Results 1 - 9 of 9) sorted by relevance

/linux-master/fs/ceph/
H A Dsnap.c31 * 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
66 ceph_get_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument
117 struct ceph_snap_realm *realm; local
189 __destroy_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument
214 __put_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument
230 ceph_put_snap_realm(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument
255 struct ceph_snap_realm *realm; local
291 adjust_snap_realm_parent(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm, u64 parentino) argument
335 build_snap_context(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm, struct list_head *realm_queue, struct list_head *dirty_realms) argument
433 rebuild_snap_realms(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm, struct list_head *dirty_realms) argument
722 queue_realm_cap_snaps(struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm) argument
787 struct ceph_snap_realm *realm; local
977 ceph_change_snap_realm(struct inode *inode, struct ceph_snap_realm *realm) argument
1026 struct ceph_snap_realm *realm = NULL; local
[all...]
H A Dquota.c123 * This function will try to lookup a realm inode which isn't visible in the
132 struct ceph_snap_realm *realm)
138 qri = find_quotarealm_inode(mdsc, realm->ino);
163 in = ceph_lookup_inode(sb, realm->ino);
167 doutc(cl, "Can't lookup inode %llx (err: %ld)\n", realm->ino,
206 * returned realm.
220 struct ceph_snap_realm *realm, *next; local
230 realm = ceph_inode(inode)->i_snap_realm;
231 if (realm)
232 ceph_get_snap_realm(mdsc, realm);
130 lookup_quotarealm_inode(struct ceph_mds_client *mdsc, struct super_block *sb, struct ceph_snap_realm *realm) argument
332 struct ceph_snap_realm *realm, *next; local
494 struct ceph_snap_realm *realm; local
[all...]
H A Dsuper.h453 struct ceph_snap_realm *i_snap_realm; /* snap realm (if caps) */
912 * A "snap realm" describes a subset of the file hierarchy sharing
917 * All inodes within the realm that have capabilities are linked into a
918 * per-realm list.
932 u64 *snaps; /* snaps specific to this realm */
941 struct list_head dirty_item; /* if realm needs new context */
945 /* the current set of snaps for this realm */
988 struct ceph_snap_realm *realm);
990 struct ceph_snap_realm *realm);
994 void ceph_change_snap_realm(struct inode *inode, struct ceph_snap_realm *realm);
[all...]
H A Dcaps.c723 * add this inode to the appropriate snap realm
725 struct ceph_snap_realm *realm = ceph_lookup_snap_realm(mdsc, local
727 if (realm)
728 ceph_change_snap_realm(inode, realm);
730 WARN(1, "%s: couldn't find snap realm 0x%llx (ino 0x%llx oldrealm 0x%llx)\n",
4208 u64 realmino = le64_to_cpu(im->realm);
4330 struct ceph_snap_realm *realm = NULL; local
4480 realm = NULL;
4485 false, &realm)) {
4499 if (realm)
[all...]
H A Dmds_client.c3800 struct ceph_snap_realm *realm; local
3922 realm = NULL;
3928 &realm);
3954 if (realm)
3955 ceph_put_snap_realm(mdsc, realm);
4370 /* can't handle message that contains both caps and realm */
4682 struct ceph_snap_realm *realm = local
4706 doutc(cl, " adding snap realm %llx seq %lld parent %llx\n",
4707 realm->ino, realm
[all...]
H A Dinode.c717 doutc(cl, " dropping residual ref to snap realm %p\n",
1264 le64_to_cpu(info->cap.realm),
3069 struct ceph_snap_realm *realm; local
3078 realm = pci->i_snap_realm;
3079 if (realm)
3080 stat->size = realm->num_snaps;
H A Dfile.c666 in.cap.realm = cpu_to_le64(ci->i_snap_realm->ino);
/linux-master/include/linux/ceph/
H A Dceph_fs.h576 __le64 realm; /* snap realm */ member in struct:ceph_mds_reply_cap
783 __le64 ino, realm; member in struct:ceph_mds_caps
868 __le64 ino; /* snap realm base */
869 __le64 seq; /* snap seq for this snap realm */
870 __le64 parent; /* parent realm */
889 __le32 num_split_inos; /* # inos belonging to new child realm */
890 __le32 num_split_realms; /* # child realms udner new child realm */
901 __le64 parent; /* ino: parent realm */
/linux-master/net/rxrpc/
H A Drxkad.c929 name = Z(REALM, realm);

Completed in 167 milliseconds