Home
last modified time | relevance | path

Searched defs:vdo (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/md/dm-vdo/
H A Dvdo.h57 struct vdo *vdo; member
166 struct vdo { struct
168 struct vdo_thread *threads; argument
169 vdo_action_fn action; argument
170 struct vdo_completion *completion; argument
173 /* The atomic version of the state of this vdo */ argument
176 struct vdo_component_states states; argument
184 /* The load-time configuration of this vdo */ argument
190 struct vdo_super_block super_block; argument
214 /* The state the vdo was in when loaded (primarily for unit tests) */ argument
[all …]
H A Dvdo.c87 static bool vdo_is_equal(struct vdo *vdo, const void *context) in vdo_is_equal()
104 struct vdo *vdo; in filter_vdos_locked() local
121 struct vdo *vdo; in vdo_find_matching() local
264 static int __must_check read_geometry_block(struct vdo *vdo) in read_geometry_block()
408 int vdo_make_thread(struct vdo *vdo, thread_id_t thread_id, in vdo_make_thread()
437 static int register_vdo(struct vdo *vdo) in register_vdo()
461 static int initialize_vdo(struct vdo *vdo, struct device_config *config, in initialize_vdo()
533 struct vdo *vdo; in vdo_make() local
621 static void finish_vdo(struct vdo *vdo) in finish_vdo()
659 static void unregister_vdo(struct vdo *vdo) in unregister_vdo()
[all …]
H A Ddm-vdo-target.c898 struct vdo *vdo = get_vdo_for_target(ti); in vdo_map_bio() local
925 struct vdo *vdo = get_vdo_for_target(ti); in vdo_io_hints() local
976 struct vdo *vdo = get_vdo_for_target(ti); in vdo_status() local
1012 static block_count_t __must_check get_underlying_device_block_count(const struct vdo *vdo) in get_underlying_device_block_count()
1017 static int __must_check process_vdo_message_locked(struct vdo *vdo, unsigned int argc, in process_vdo_message_locked()
1045 static int __must_check process_vdo_message(struct vdo *vdo, unsigned int argc, in process_vdo_message()
1089 struct vdo *vdo; in vdo_message() local
1137 static bool vdo_uses_device(struct vdo *vdo, const void *context) in vdo_uses_device()
1148 static thread_id_t __must_check get_thread_id_for_phase(struct vdo *vdo) in get_thread_id_for_phase()
1171 static struct vdo_completion *prepare_admin_completion(struct vdo *vdo, in prepare_admin_completion()
[all …]
H A Dflush.c26 struct vdo *vdo; member
135 int vdo_make_flusher(struct vdo *vdo) in vdo_make_flusher()
369 static void initialize_flush(struct vdo_flush *flush, struct vdo *vdo) in initialize_flush()
392 void vdo_launch_flush(struct vdo *vdo, struct bio *bio) in vdo_launch_flush()
463 struct vdo *vdo = completion->vdo; in vdo_complete_flush_callback() local
493 struct vdo *vdo = flusher->vdo; in select_bio_queue() local
H A Drepair.c253 struct vdo *vdo = completion->vdo; in finish_repair() local
326 struct vdo *vdo = completion->vdo; in drain_slab_depot() local
640 struct vdo *vdo = completion->vdo; in rebuild_reference_counts() local
751 static int validate_recovery_journal_entry(const struct vdo *vdo, in validate_recovery_journal_entry()
797 struct vdo *vdo = completion->vdo; in add_slab_journal_entries() local
855 struct vdo *vdo = completion->vdo; in vdo_replay_into_slab_journals() local
1099 struct vdo *vdo = completion->vdo; in recover_block_map() local
1275 static bool unpack_entry(struct vdo *vdo, char *packed, enum vdo_metadata_type format, in unpack_entry()
1326 struct vdo *vdo = repair->completion.vdo; in append_sector_entries() local
1406 struct vdo *vdo = repair->completion.vdo; in parse_journal_for_rebuild() local
[all …]
H A Dvio.c44 struct vdo *vdo = vio->completion.vdo; in pbn_from_vio_bio() local
78 int allocate_vio_components(struct vdo *vdo, enum vio_type vio_type, in allocate_vio_components()
118 int create_multi_block_metadata_vio(struct vdo *vdo, enum vio_type vio_type, in create_multi_block_metadata_vio()
176 struct vdo *vdo = vio->completion.vdo; in vdo_set_bio_properties() local
261 struct vdo *vdo = vio->completion.vdo; in update_vio_error_stats() local
321 int make_vio_pool(struct vdo *vdo, size_t pool_size, size_t block_count, thread_id_t thread_id, in make_vio_pool()
H A Ddump.c55 static void do_dump(struct vdo *vdo, unsigned int dump_options_requested, in do_dump()
130 int vdo_dump(struct vdo *vdo, unsigned int argc, char *const *argv, const char *why) in vdo_dump()
143 void vdo_dump_all(struct vdo *vdo, const char *why) in vdo_dump_all()
H A Dcompletion.c52 struct vdo *vdo, in vdo_initialize_completion()
111 struct vdo *vdo = completion->vdo; in vdo_enqueue_completion() local
H A Dvio.h88 static inline int __must_check create_metadata_vio(struct vdo *vdo, enum vio_type vio_type, in create_metadata_vio()
111 enum vio_priority priority, struct vdo *vdo) in initialize_vio()
H A Dio-submitter.c109 struct vdo *vdo = vio->completion.vdo; in send_bio_to_device() local
273 struct vdo *vdo = vio->completion.vdo; in try_bio_map_merge() local
377 unsigned int max_requests_active, struct vdo *vdo, in vdo_make_io_submitter()
H A Dlogical-zone.c54 struct vdo *vdo = zones->vdo; in initialize_zone() local
87 int vdo_make_logical_zones(struct vdo *vdo, struct logical_zones **zones_ptr) in vdo_make_logical_zones()
H A Dmessage-stats.c418 int vdo_write_stats(struct vdo *vdo, char *buf, unsigned int maxlen) in vdo_write_stats()
461 int vdo_write_config(struct vdo *vdo, char **buf, unsigned int *maxlen) in vdo_write_config()
H A Dlogical-zone.h57 struct vdo *vdo; member
H A Ddedupe.c1603 struct vdo *vdo = vdo_from_data_vio(data_vio); in decode_uds_advice() local
2167 static int initialize_index(struct vdo *vdo, struct hash_zones *zones) in initialize_index()
2347 static int __must_check initialize_zone(struct vdo *vdo, struct hash_zones *zones, in initialize_zone()
2409 int vdo_make_hash_zones(struct vdo *vdo, struct hash_zones **zones_ptr) in vdo_make_hash_zones()
2910 struct vdo *vdo = vdo_from_data_vio(data_vio); in query_index() local
H A Dblock-map.h51 struct vdo *vdo; member
255 struct vdo *vdo; member
H A Dtypes.h211 struct vdo *vdo; member
314 struct vdo *vdo; member
H A Daction-manager.c106 vdo_action_scheduler_fn scheduler, struct vdo *vdo, in vdo_make_action_manager()
H A Dblock-map.c561 struct vdo *vdo = cache->vdo; in set_persistent_error() local
1757 static bool __must_check is_invalid_tree_entry(const struct vdo *vdo, in is_invalid_tree_entry()
2720 struct vdo *vdo = map->vdo; in initialize_block_map_zone() local
2856 struct vdo *vdo, struct recovery_journal *journal, in vdo_decode_block_map()
/linux/include/linux/usb/
H A Dpd_vdo.h78 #define PD_VDO_VID(vdo) ((vdo) >> 16) argument
79 #define PD_VDO_SVDM(vdo) (((vdo) >> 15) & 1) argument
80 #define PD_VDO_SVDM_VER(vdo) (((vdo) >> 13) & 0x3) argument
81 #define PD_VDO_OPOS(vdo) (((vdo) >> 8) & 0x7) argument
82 #define PD_VDO_CMD(vdo) ((vdo) & 0x1f) argument
83 #define PD_VDO_CMDT(vdo) (((vdo) >> 6) & 0x3) argument
154 #define PD_IDH_PTYPE(vdo) (((vdo) >> 27) & 0x7) argument
155 #define PD_IDH_VID(vdo) ((vdo) & 0xffff) argument
156 #define PD_IDH_MODAL_SUPP(vdo) ((vdo) & (1 << 26)) argument
157 #define PD_IDH_DFP_PTYPE(vdo) (((vdo) >> 23) & 0x7) argument
[all …]
H A Dtypec_altmode.h29 u32 vdo; member
/linux/drivers/usb/typec/
H A Dbus.c126 int typec_altmode_enter(struct typec_altmode *adev, u32 *vdo) in typec_altmode_enter()
186 int typec_altmode_attention(struct typec_altmode *adev, u32 vdo) in typec_altmode_attention()
215 const u32 header, const u32 *vdo, int count) in typec_altmode_vdm()
259 int typec_cable_altmode_enter(struct typec_altmode *adev, enum typec_plug_index sop, u32 *vdo) in typec_cable_altmode_enter()
322 const u32 header, const u32 *vdo, int count) in typec_cable_altmode_vdm()
/linux/drivers/platform/chrome/
H A Dcros_typec_vdm.c95 static int cros_typec_port_amode_enter(struct typec_altmode *amode, u32 *vdo) in cros_typec_port_amode_enter()
121 const u32 *vdo, int cnt) in cros_typec_port_amode_vdm()
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c246 u32 vdo; in dp_altmode_work() local
322 static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) in dp_altmode_attention()
349 const u32 hdr, const u32 *vdo, int count) in dp_altmode_vdm()
421 const u32 hdr, const u32 *vdo, int count) in dp_cable_altmode_vdm()
/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter()
/linux/include/dt-bindings/usb/
H A Dpd.h431 #define PD_VDO_AMA_VCONN_REQ(vdo) (((vdo) >> 4) & 1) argument
432 #define PD_VDO_AMA_VBUS_REQ(vdo) (((vdo) >> 3) & 1) argument

12