Searched defs:fsid (Results 1 - 4 of 4) sorted by relevance

/net/ceph/
H A Dceph_common.c97 * Initially learn our fsid, or verify an fsid matches.
99 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) argument
102 if (ceph_fsid_compare(&client->fsid, fsid)) {
103 pr_err("bad fsid, had %pU got %pU",
104 &client->fsid, fsid);
108 memcpy(&client->fsid, fsid, sizeo
196 parse_fsid(const char *str, struct ceph_fsid *fsid) argument
[all...]
H A Dmon_client.c44 struct ceph_fsid fsid; local
56 ceph_decode_need(&p, end, sizeof(fsid) + 2*sizeof(u32), bad);
57 ceph_decode_copy(&p, &fsid, sizeof(fsid));
68 m->fsid = fsid;
341 * We require the fsid and global_id in order to initialize our
346 dout("have_debugfs_info fsid %d globalid %lld\n",
378 if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) {
389 pr_info("client%lld fsid
[all...]
H A Dosdmap.c1041 /* fsid, epoch, created, modified */
1042 ceph_decode_need(p, end, sizeof(map->fsid) + sizeof(u32) +
1044 ceph_decode_copy(p, &map->fsid, sizeof(map->fsid));
1177 struct ceph_fsid fsid; local
1194 /* fsid, epoch, modified, new_pool_max, new_flags */
1195 ceph_decode_need(p, end, sizeof(fsid) + sizeof(u32) + sizeof(modified) +
1197 ceph_decode_copy(p, &fsid, sizeof(fsid));
H A Dosd_client.c2006 struct ceph_fsid fsid; local
2013 /* verify fsid */
2014 ceph_decode_need(&p, end, sizeof(fsid), bad);
2015 ceph_decode_copy(&p, &fsid, sizeof(fsid));
2016 if (ceph_check_fsid(osdc->client, &fsid) < 0)

Completed in 157 milliseconds