Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dosd_client.c42 * are described by the osd map.
50 static void link_request(struct ceph_osd *osd, struct ceph_osd_request *req);
51 static void unlink_request(struct ceph_osd *osd, struct ceph_osd_request *req);
52 static void link_linger(struct ceph_osd *osd,
54 static void unlink_linger(struct ceph_osd *osd,
56 static void clear_backoffs(struct ceph_osd *osd);
78 static inline void verify_osd_locked(struct ceph_osd *osd) in verify_osd_locked() argument
80 struct ceph_osd_client *osdc = osd->o_osdc; in verify_osd_locked()
82 WARN_ON(!(mutex_is_locked(&osd->lock) && in verify_osd_locked()
93 static inline void verify_osd_locked(struct ceph_osd *osd) { } in verify_osd_locked() argument
1181 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); DEFINE_RB_FUNCS() local
1203 osd_homeless(struct ceph_osd * osd) osd_homeless() argument
1208 osd_registered(struct ceph_osd * osd) osd_registered() argument
1218 osd_init(struct ceph_osd * osd) osd_init() argument
1240 osd_cleanup(struct ceph_osd * osd) osd_cleanup() argument
1263 struct ceph_osd *osd; create_osd() local
1280 get_osd(struct ceph_osd * osd) get_osd() argument
1291 put_osd(struct ceph_osd * osd) put_osd() argument
1300 DEFINE_RB_FUNCS(osd,struct ceph_osd,o_osd,o_node) DEFINE_RB_FUNCS() argument
1316 maybe_move_osd_to_lru(struct ceph_osd * osd) maybe_move_osd_to_lru() argument
1323 __remove_osd_from_lru(struct ceph_osd * osd) __remove_osd_from_lru() argument
1339 close_osd(struct ceph_osd * osd) close_osd() argument
1380 reopen_osd(struct ceph_osd * osd) reopen_osd() argument
1419 struct ceph_osd *osd; lookup_create_osd() local
1449 link_request(struct ceph_osd * osd,struct ceph_osd_request * req) link_request() argument
1468 unlink_request(struct ceph_osd * osd,struct ceph_osd_request * req) unlink_request() argument
2019 struct ceph_osd *osd = req->r_osd; should_plug_request() local
2319 struct ceph_osd *osd = req->r_osd; send_request() local
2385 struct ceph_osd *osd; __submit_request() local
2857 unlink_linger(struct ceph_osd * osd,struct ceph_osd_linger_request * lreq) unlink_linger() argument
3262 struct ceph_osd *osd; linger_submit() local
3449 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); handle_timeout() local
3507 struct ceph_osd *osd = list_first_entry(&slow_osds, handle_timeout() local
3525 struct ceph_osd *osd, *nosd; handle_osds_timeout() local
3750 handle_reply(struct ceph_osd * osd,struct ceph_msg * msg) handle_reply() argument
3913 struct ceph_osd *osd; recalc_linger_target() local
3928 scan_requests(struct ceph_osd * osd,bool force_resend,bool cleared_full,bool check_pool_cleared_full,struct rb_root * need_resend,struct list_head * need_resend_linger) scan_requests() argument
4062 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); handle_one_map() local
4105 struct ceph_osd *osd; kick_requests() local
4248 kick_osd_requests(struct ceph_osd * osd) kick_osd_requests() argument
4280 struct ceph_osd *osd = con->private; osd_fault() local
4399 handle_backoff_block(struct ceph_osd * osd,struct MOSDBackoff * m) handle_backoff_block() argument
4458 handle_backoff_unblock(struct ceph_osd * osd,const struct MOSDBackoff * m) handle_backoff_unblock() argument
4516 handle_backoff(struct ceph_osd * osd,struct ceph_msg * msg) handle_backoff() argument
4730 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); ceph_osdc_sync() local
5191 struct ceph_osd *osd = rb_entry(n, struct ceph_osd, o_node); ceph_osdc_reopen_osds() local
5282 struct ceph_osd *osd = rb_entry(rb_first(&osdc->osds), ceph_osdc_stop() local
5365 struct ceph_osd *osd = con->private; osd_dispatch() local
5418 struct ceph_osd *osd = con->private; get_reply() local
5511 struct ceph_osd *osd = con->private; osd_alloc_msg() local
5535 struct ceph_osd *osd = con->private; osd_get_con() local
5543 struct ceph_osd *osd = con->private; osd_put_con() local
[all...]
H A Ddebugfs.c113 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
193 seq_printf(s, "osd%d\t%llu.%x\t", t->osd, t->pgid.pool, t->pgid.seed); in dump_target()
240 static void dump_requests(struct seq_file *s, struct ceph_osd *osd) in dump_requests() argument
244 mutex_lock(&osd->lock); in dump_requests()
245 for (n = rb_first(&osd->o_requests); n; n = rb_next(n)) { in dump_requests()
252 mutex_unlock(&osd->lock); in dump_requests()
266 static void dump_linger_requests(struct seq_file *s, struct ceph_osd *osd) in dump_linger_requests() argument
270 mutex_lock(&osd->lock); in dump_linger_requests()
271 for (n = rb_first(&osd->o_linger_requests); n; n = rb_next(n)) { in dump_linger_requests()
278 mutex_unlock(&osd->lock); in dump_linger_requests()
[all …]
H A Dosdmap.c1135 * osd map in ceph_osdmap_alloc()
1489 u32 osd; in __decode_primary_temp()
1491 ceph_decode_32_safe(p, end, osd, e_inval); in __decode_primary_temp()
1492 if (osd == (u32)-1 && incremental) in __decode_primary_temp()
1499 pg->primary_temp.osd = osd;
1519 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in set_primary_affinity()
1524 return map->osd_primary_affinity[osd]; in set_primary_affinity()
1527 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity()
1543 map->osd_primary_affinity[osd] in decode_primary_affinity()
1477 u32 osd; __decode_primary_temp() local
1507 ceph_get_primary_affinity(struct ceph_osdmap * map,int osd) ceph_get_primary_affinity() argument
1515 set_primary_affinity(struct ceph_osdmap * map,int osd,u32 aff) set_primary_affinity() argument
1573 u32 osd, aff; decode_new_primary_affinity() local
1879 s32 osd; decode_new_up_state_weight() local
1909 s32 osd; decode_new_up_state_weight() local
1943 s32 osd; decode_new_up_state_weight() local
2354 calc_pg_rank(int osd,const struct ceph_osds * acting) calc_pg_rank() argument
2614 int osd = pg->pg_upmap.osds[i]; apply_upmap() local
2643 int osd = raw->osds[j]; apply_upmap() local
2721 int osd = up->osds[i]; apply_primary_affinity() local
2738 int osd = up->osds[i]; apply_primary_affinity() local
[all...]
/linux/include/linux/ceph/
H A Dosdmap.h161 int osd; member
201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
203 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists()
204 (map->osd_state[osd] & CEPH_OSD_EXISTS); in ceph_osd_exists()
207 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up() argument
209 return ceph_osd_exists(map, osd) && in ceph_osd_is_up()
210 (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up()
213 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down() argument
215 return !ceph_osd_is_up(map, osd); in ceph_osd_is_down()
219 extern u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd);
[all …]
H A Dosd_client.h232 int osd; member
316 struct ceph_osd *osd; member
/linux/drivers/media/pci/ivtv/
H A Divtvfb.c207 struct ivtv_osd_coords *osd) in ivtvfb_get_osd_coords() argument
214 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
215 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
216 osd->pixel_stride = data[1]; in ivtvfb_get_osd_coords()
217 osd->lines = data[2]; in ivtvfb_get_osd_coords()
218 osd->x = data[3]; in ivtvfb_get_osd_coords()
219 osd->y = data[4]; in ivtvfb_get_osd_coords()
223 static int ivtvfb_set_osd_coords(struct ivtv *itv, const struct ivtv_osd_coords *osd) in ivtvfb_set_osd_coords() argument
227 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
228 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords()
[all …]
/linux/Documentation/driver-api/media/drivers/
H A Dcx2341x-devel.rst3010 osd on/off
3011 0 = osd off
3012 1 = osd on
3015 Decoder + osd video timing
3023 Decoder + osd
3029 Decoder & osd ?? unknown
3045 Decoder + osd ?? unknown
3060 osd ?? unknown
3061 Appears to affect the osd position stability. The higher the value the
3065 osd ?? unknown
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Ddevices.rst17 dev-osd
H A Dvidioc-g-fbuf.rst40 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
106 :ref:`osd`). For *Video Capture Overlays* this field will always be
282 ioctl, see :ref:`overlay` and :ref:`osd`.
286 and :ref:`osd`.
301 and :ref:`osd`.
315 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
H A Dpixfmt-indexed.rst12 :ref:`Video Output Overlays <osd>` only. There are no ioctls to access
H A Dpixfmt-packed-yuv.rst154 <overlay>` or :ref:`Video Output Overlay <osd>`.
H A Dvidioc-querycap.rst197 - The device supports the :ref:`Video Output Overlay <osd>` (OSD)
H A Dpixfmt-rgb.rst33 and :ref:`video output overlay <osd>` devices) read the alpha component from
H A Dbuffer.rst426 - Buffer for video output overlay (OSD), see :ref:`osd`.
/linux/fs/ceph/
H A Dioctl.h64 __s64 osd; /* out: osd # */ member
H A Dioctl.c230 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid); in ceph_ioctl_get_dataloc()
231 if (dl.osd >= 0) { in ceph_ioctl_get_dataloc()
233 ceph_osd_addr(osdc->osdmap, dl.osd); in ceph_ioctl_get_dataloc()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c1017 struct i40e_hw_port_stats *osd = &pf->stats_offsets; in i40e_update_pf_stats()
1026 &osd->eth.rx_bytes, &nsd->eth.rx_bytes); in i40e_update_pf_stats()
1030 &osd->eth.tx_bytes, &nsd->eth.tx_bytes); in i40e_update_pf_stats()
1033 &osd->eth.rx_discards, in i40e_update_pf_stats()
1038 &osd->eth.rx_unicast, in i40e_update_pf_stats()
1043 &osd->eth.rx_multicast, in i40e_update_pf_stats()
1048 &osd->eth.rx_broadcast, in i40e_update_pf_stats()
1053 &osd->eth.tx_unicast, in i40e_update_pf_stats()
1058 &osd->eth.tx_multicast, in i40e_update_pf_stats()
1063 &osd in i40e_update_pf_stats()
1016 struct i40e_hw_port_stats *osd = &pf->stats_offsets; i40e_update_pf_stats() local
[all...]
/linux/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_osd.rst3 .. c:namespace:: dtv.legacy.osd
18 ``linux/dvb/osd.h`` in your application.
/linux/Documentation/
H A D.renames.txt526 media/uapi/v4l/dev-osd userspace-api/media/v4l/dev-osd