Searched refs:plug (Results 26 - 50 of 109) sorted by relevance

12345

/linux-master/include/linux/usb/
H A Dtypec.h133 * Description of an Alternate Mode which a connector, cable plug or partner
149 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes);
151 *typec_plug_register_altmode(struct typec_plug *plug,
177 * @index: SOP Prime for the plug connected to DFP and SOP Double Prime for the
178 * plug connected to UFP
188 * @type: The plug type from USB PD Cable VDO
313 void typec_unregister_plug(struct typec_plug *plug);
H A Dtypec_altmode.h99 * typec_altmode_get_cable_svdm_version - Get negotiated SVDM version for cable plug
150 void typec_altmode_put_plug(struct typec_altmode *plug);
156 * typec_altmode_get_orientation - Get cable plug orientation
/linux-master/block/
H A Dblk.h534 struct blk_plug *plug = current->plug; local
536 if (!plug || !in_task())
544 if (!plug->cur_ktime) {
545 plug->cur_ktime = ktime_get_ns();
548 return plug->cur_ktime;
H A Dblk-mq.h122 void blk_mq_free_plug_rqs(struct blk_plug *plug);
123 void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule);
369 * blk_mq_plug() - Get caller context plug
380 * ignoring the plug state of a BIO issuing context if it is for a zoned block
381 * device and the BIO to plug is a write operation.
383 * Return current->plug if the bio can be plugged and NULL otherwise
387 /* Zoned block device write operation case: do not plug the BIO */
393 * For regular block devices or read operations, use the context plug
396 return current->plug;
H A Dfops.c167 struct blk_plug plug; local
203 blk_start_plug(&plug);
231 blk_finish_plug(&plug);
256 blk_finish_plug(&plug);
425 struct blk_plug plug; local
428 blk_start_plug(&plug);
431 blk_finish_plug(&plug);
H A Dblk-merge.c1092 * from the passed in @q already in the plug list
1110 struct blk_plug *plug; local
1113 plug = blk_mq_plug(bio);
1114 if (!plug || rq_list_empty(plug->mq_list))
1117 rq_list_for_each(&plug->mq_list, rq) {
1126 * Only keep iterating plug list for merges if we have multiple
1129 if (!plug->multiple_queues)
/linux-master/drivers/md/dm-vdo/
H A Dio-submitter.c24 * full queue. The plug structure allows that thread to do better batching of requests to make the
36 struct blk_plug plug; member in struct:bio_queue_data
52 blk_start_plug(&bio_queue_data->plug);
59 blk_finish_plug(&bio_queue_data->plug);
/linux-master/include/linux/
H A Dblkdev.h969 * It is ok not to disable preemption when adding the request to the plug list
1002 void __blk_flush_plug(struct blk_plug *plug, bool from_schedule);
1003 static inline void blk_flush_plug(struct blk_plug *plug, bool async) argument
1005 if (plug)
1006 __blk_flush_plug(plug, async);
1014 struct blk_plug *plug = tsk->plug; local
1016 if (plug)
1017 plug->cur_ktime = 0;
1027 static inline void blk_start_plug_nr_ios(struct blk_plug *plug, argument
1032 blk_start_plug(struct blk_plug *plug) argument
1036 blk_finish_plug(struct blk_plug *plug) argument
1040 blk_flush_plug(struct blk_plug *plug, bool async) argument
[all...]
/linux-master/sound/core/oss/
H A Dlinear.c149 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug, argument
170 err = snd_pcm_plugin_build(plug, "linear format conversion",
H A Dmulaw.c300 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *plug, argument
335 err = snd_pcm_plugin_build(plug, "Mu-Law<->linear conversion",
H A Drate.c300 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug, argument
324 err = snd_pcm_plugin_build(plug, "rate conversion",
/linux-master/mm/
H A Dswap_state.c554 struct swap_iocb **plug)
567 swap_read_folio(folio, false, plug);
659 struct blk_plug plug; local
675 blk_start_plug(&plug);
692 blk_finish_plug(&plug);
818 struct blk_plug plug; local
838 blk_start_plug(&plug);
868 blk_finish_plug(&plug);
552 read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, struct vm_area_struct *vma, unsigned long addr, struct swap_iocb **plug) argument
H A Dreadahead.c150 struct blk_plug plug; local
157 blk_start_plug(&plug);
183 blk_finish_plug(&plug);
/linux-master/fs/jbd2/
H A Dcheckpoint.c124 struct blk_plug plug; local
126 blk_start_plug(&plug);
129 blk_finish_plug(&plug);
/linux-master/drivers/nvme/target/
H A Dio-cmd-bdev.c247 struct blk_plug plug; local
290 blk_start_plug(&plug);
330 blk_finish_plug(&plug);
/linux-master/fs/xfs/
H A Dxfs_dir2_readdir.c255 struct blk_plug plug; local
310 blk_start_plug(&plug);
332 blk_finish_plug(&plug);
H A Dxfs_iwalk.c105 struct blk_plug plug; local
110 blk_start_plug(&plug);
123 blk_finish_plug(&plug);
/linux-master/drivers/usb/typec/ucsi/
H A Ducsi.c419 alt = typec_plug_register_altmode(con->plug, desc);
869 struct typec_plug *plug; local
872 plug = typec_register_plug(con->cable, &desc);
873 if (IS_ERR(plug)) {
875 "con%d: failed to register plug (%ld)\n", con->num,
876 PTR_ERR(plug));
877 return PTR_ERR(plug);
880 con->plug = plug;
886 if (!con->plug)
[all...]
/linux-master/drivers/platform/chrome/
H A Dcros_ec_typec.c246 typec_unregister_plug(port->plug);
247 port->plug = NULL;
752 * Helper function to register partner/plug altmodes.
776 amode = typec_plug_register_altmode(port->plug, &desc);
804 ret = typec_plug_set_num_altmodes(port->plug, num_altmodes);
808 is_partner ? "partner" : "plug", port_num);
897 port->plug = typec_register_plug(port->cable, &p_desc);
898 if (IS_ERR(port->plug)) {
899 ret = PTR_ERR(port->plug);
900 port->plug
[all...]
/linux-master/fs/nfs/blocklayout/
H A Dblocklayout.c244 struct blk_plug plug; local
256 blk_start_plug(&plug);
318 blk_finish_plug(&plug);
388 struct blk_plug plug; local
402 blk_start_plug(&plug);
440 blk_finish_plug(&plug);
/linux-master/fs/gfs2/
H A Dlog.c97 * @plug: The block plug currently active
102 struct gfs2_trans *tr, struct blk_plug *plug)
145 blk_finish_plug(plug); variable
147 blk_start_plug(plug); variable
205 struct blk_plug plug; local
210 blk_start_plug(&plug);
223 ret = gfs2_ail1_start_one(sdp, wbc, tr, &plug);
232 blk_finish_plug(&plug);
/linux-master/include/uapi/linux/
H A Dcec-funcs.h182 __u8 plug; member in struct:cec_op_record_src::__anon102::__anon104
274 __u8 plug)
279 msg->msg[3] = plug;
310 cec_msg_record_on_plug(msg, rec_src->ext_plug.plug);
337 rec_src->ext_plug.plug = msg->msg[3];
544 __u8 plug,
558 msg->msg[10] = plug;
573 __u8 *plug,
585 *plug = msg->msg[10];
700 __u8 plug,
273 cec_msg_record_on_plug(struct cec_msg *msg, __u8 plug) argument
534 cec_msg_clear_ext_timer(struct cec_msg *msg, int reply, __u8 day, __u8 month, __u8 start_hr, __u8 start_min, __u8 duration_hr, __u8 duration_min, __u8 recording_seq, __u8 ext_src_spec, __u8 plug, __u16 phys_addr) argument
564 cec_ops_clear_ext_timer(const struct cec_msg *msg, __u8 *day, __u8 *month, __u8 *start_hr, __u8 *start_min, __u8 *duration_hr, __u8 *duration_min, __u8 *recording_seq, __u8 *ext_src_spec, __u8 *plug, __u16 *phys_addr) argument
690 cec_msg_set_ext_timer(struct cec_msg *msg, int reply, __u8 day, __u8 month, __u8 start_hr, __u8 start_min, __u8 duration_hr, __u8 duration_min, __u8 recording_seq, __u8 ext_src_spec, __u8 plug, __u16 phys_addr) argument
720 cec_ops_set_ext_timer(const struct cec_msg *msg, __u8 *day, __u8 *month, __u8 *start_hr, __u8 *start_min, __u8 *duration_hr, __u8 *duration_min, __u8 *recording_seq, __u8 *ext_src_spec, __u8 *plug, __u16 *phys_addr) argument
[all...]
/linux-master/fs/btrfs/
H A Draid56.c640 * The rbio is added to the lock owner's plug list, or merged into
641 * an rbio already on the plug list. When the lock owner unlocks,
708 * No merging, put us on the tail of the plug list, our rbio
731 * called as rmw or parity rebuild is completed. If the plug list has more
767 * we use the plug list to hold all the rbios
1583 * rbios on the plug list are sorted for easier merging.
1604 struct btrfs_plug_cb *plug = container_of(cb, struct btrfs_plug_cb, cb); local
1608 list_sort(NULL, &plug->rbio_list, plug_cmp);
1610 while (!list_empty(&plug->rbio_list)) {
1611 cur = list_entry(plug
1669 struct btrfs_plug_cb *plug = NULL; local
[all...]
/linux-master/fs/
H A Dmpage.c669 struct blk_plug plug; local
672 blk_start_plug(&plug);
676 blk_finish_plug(&plug);
/linux-master/fs/iomap/
H A Ddirect-io.c555 struct blk_plug plug; local
658 blk_start_plug(&plug);
668 blk_finish_plug(&plug);

Completed in 293 milliseconds

12345