Home
last modified time | relevance | path

Searched refs:fsid (Results 1 – 6 of 6) sorted by relevance

/net/ceph/
Dceph_common.c105 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() argument
108 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid()
110 &client->fsid, fsid); in ceph_check_fsid()
114 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid()
220 static int parse_fsid(const char *str, struct ceph_fsid *fsid) in parse_fsid() argument
240 fsid->fsid[i] = d & 0xff; in parse_fsid()
247 dout("parse_fsid ret %d got fsid %pU\n", err, fsid); in parse_fsid()
468 err = parse_fsid(param->string, &opt->fsid); in ceph_parse_param()
679 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options()
846 &client->fsid); in __ceph_open_session()
Dmon_client.c73 struct ceph_fsid fsid; in ceph_monmap_decode() local
90 ceph_decode_copy_safe(p, end, &fsid, sizeof(fsid), e_inval); in ceph_monmap_decode()
115 dout("%s fsid %pU epoch %u num_mon %d\n", __func__, &fsid, epoch, in ceph_monmap_decode()
125 monmap->fsid = fsid; in ceph_monmap_decode()
560 if (ceph_check_fsid(client, &monmap->fsid) < 0) { in ceph_monc_handle_map()
803 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs()
1000 h->fsid = monc->monmap->fsid; in do_mon_command_vargs()
Dosdmap.c1667 ceph_decode_need(p, end, sizeof(map->fsid) + sizeof(u32) + in osdmap_decode()
1669 ceph_decode_copy(p, &map->fsid, sizeof(map->fsid)); in osdmap_decode()
1952 struct ceph_fsid fsid; in osdmap_apply_incremental() local
1970 ceph_decode_need(p, end, sizeof(fsid) + sizeof(u32) + sizeof(modified) + in osdmap_apply_incremental()
1972 ceph_decode_copy(p, &fsid, sizeof(fsid)); in osdmap_apply_incremental()
Ddebugfs.c411 snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid, in ceph_debugfs_client_init()
Dosd_client.c4069 struct ceph_fsid fsid; in ceph_osdc_handle_map() local
4081 ceph_decode_need(&p, end, sizeof(fsid), bad); in ceph_osdc_handle_map()
4082 ceph_decode_copy(&p, &fsid, sizeof(fsid)); in ceph_osdc_handle_map()
4083 if (ceph_check_fsid(osdc->client, &fsid) < 0) in ceph_osdc_handle_map()
/net/9p/
Dclient.c1929 &sb->files, &sb->ffree, &sb->fsid, &sb->namelen); in p9_client_statfs()
1939 sb->bavail, sb->files, sb->ffree, sb->fsid, sb->namelen); in p9_client_statfs()