Home
last modified time | relevance | path

Searched refs:osd (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/include/linux/ceph/
Dosdmap.h151 int osd; member
192 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
194 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists()
195 (map->osd_state[osd] & CEPH_OSD_EXISTS); in ceph_osd_exists()
198 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up() argument
200 return ceph_osd_exists(map, osd) && in ceph_osd_is_up()
201 (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up()
204 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down() argument
206 return !ceph_osd_is_up(map, osd); in ceph_osd_is_down()
210 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd);
[all …]
Dosd_client.h165 int osd; member
246 struct ceph_osd *osd; member
/linux-4.19.296/fs/ceph/
Dioctl.h64 __s64 osd; /* out: osd # */ member
Dioctl.c223 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid); in ceph_ioctl_get_dataloc()
224 if (dl.osd >= 0) { in ceph_ioctl_get_dataloc()
226 ceph_osd_addr(osdc->osdmap, dl.osd); in ceph_ioctl_get_dataloc()
/linux-4.19.296/include/media/davinci/
Dvpbe.h88 struct osd_config_info osd; member
/linux-4.19.296/include/uapi/linux/
Dcec-funcs.h1195 const char *osd) in cec_msg_set_osd_string() argument
1197 unsigned int len = strlen(osd); in cec_msg_set_osd_string()
1204 memcpy(msg->msg + 3, osd, len); in cec_msg_set_osd_string()
1209 char *osd) in cec_ops_set_osd_string() argument
1216 memcpy(osd, msg->msg + 3, len); in cec_ops_set_osd_string()
1217 osd[len] = '\0'; in cec_ops_set_osd_string()
/linux-4.19.296/
DMAINTAINERS10908 F: drivers/scsi/osd/