Home
last modified time | relevance | path

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

/openbmc/linux/fs/ceph/
H A Dioctl.c229 memcpy(&dl.osd_addr, &a->in_addr, sizeof(dl.osd_addr)); in ceph_ioctl_get_dataloc()
231 memset(&dl.osd_addr, 0, sizeof(dl.osd_addr)); in ceph_ioctl_get_dataloc()
H A Dioctl.h65 struct sockaddr_storage osd_addr; /* out: osd address */ member
/openbmc/linux/include/linux/ceph/
H A Dosdmap.h180 struct ceph_entity_addr *osd_addr; member
226 return &map->osd_addr[osd]; in ceph_osd_addr()
/openbmc/linux/net/ceph/
H A Dosdmap.c1187 kvfree(map->osd_addr); in ceph_osdmap_destroy()
1223 memcpy(addr, map->osd_addr, to_copy * sizeof(*addr)); in osdmap_set_max_osd()
1226 kvfree(map->osd_addr); in osdmap_set_max_osd()
1231 map->osd_addr = addr; in osdmap_set_max_osd()
1235 memset(map->osd_addr + i, 0, sizeof(*map->osd_addr)); in osdmap_set_max_osd()
1738 struct ceph_entity_addr *addr = &map->osd_addr[i]; in osdmap_decode()
1925 memset(map->osd_addr + osd, 0, sizeof(*map->osd_addr)); in decode_new_up_state_weight()
1952 map->osd_addr[osd] = addr; in decode_new_up_state_weight()
H A Ddebugfs.c80 struct ceph_entity_addr *addr = &map->osd_addr[i]; in osdmap_show()
H A Dosd_client.c1415 peer_addr = &osd->o_osdc->osdmap->osd_addr[osd->o_osd]; in reopen_osd()
1460 &osdc->osdmap->osd_addr[osd->o_osd]); in lookup_create_osd()