/linux-master/sound/core/oss/ |
H A D | io.c | 28 #define pcm_write(plug,buf,count) snd_pcm_oss_write3(plug,buf,count,1) 29 #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count) 30 #define pcm_read(plug,buf,count) snd_pcm_oss_read3(plug,buf,count,1) 31 #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count) 47 return pcm_write(plugin->plug, src_channels->area.addr, frames); 59 return pcm_writev(plugin->plug, buf 108 snd_pcm_plugin_build_io(struct snd_pcm_substream *plug, struct snd_pcm_hw_params *params, struct snd_pcm_plugin **r_plugin) argument [all...] |
H A D | pcm_plugin.c | 35 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first) 36 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last) 108 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) argument 111 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) 113 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { 114 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); 126 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); 150 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, argument 203 calc_dst_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) argument 225 calc_src_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) argument 247 snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_frames) argument 262 snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_frames) argument 371 snd_pcm_plug_format_plugins(struct snd_pcm_substream *plug, struct snd_pcm_hw_params *params, struct snd_pcm_hw_params *slave_params) argument 557 snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, char *buf, snd_pcm_uframes_t count, struct snd_pcm_plugin_channel **channels) argument 597 snd_pcm_plug_write_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframes_t size) argument 639 snd_pcm_plug_read_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *dst_channels_final, snd_pcm_uframes_t size) argument [all...] |
H A D | pcm_plugin.h | 12 #define snd_pcm_plug_stream(plug) ((plug)->stream) 40 const char *name; /* plug-in name */ 61 struct snd_pcm_substream *plug; member in struct:snd_pcm_plugin 78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 142 void *snd_pcm_plug_buf_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t size); 143 void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr);
|
H A D | copy.c | 61 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, argument 85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format,
|
H A D | route.c | 87 int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, argument 103 err = snd_pcm_plugin_build(plug, "route conversion",
|
/linux-master/sound/firewire/ |
H A D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
/linux-master/io_uring/ |
H A D | opdef.h | 8 /* should block plug */ 9 unsigned plug : 1; member in struct:io_issue_def
|
H A D | opdef.c | 64 .plug = 1, 78 .plug = 1, 97 .plug = 1, 110 .plug = 1, 237 .plug = 1, 250 .plug = 1, 403 .plug = 1,
|
/linux-master/mm/ |
H A D | swap.h | 14 struct swap_iocb **plug); 15 void __swap_read_unplug(struct swap_iocb *plug); 16 static inline void swap_read_unplug(struct swap_iocb *plug) argument 18 if (unlikely(plug)) 19 __swap_read_unplug(plug); 52 struct swap_iocb **plug); 68 struct swap_iocb **plug) 67 swap_read_folio(struct folio *folio, bool do_poll, struct swap_iocb **plug) argument
|
H A D | page_io.c | 428 static void swap_read_folio_fs(struct folio *folio, struct swap_iocb **plug) argument 434 if (plug) 435 sio = *plug; 454 if (sio->pages == ARRAY_SIZE(sio->bvec) || !plug) { 458 if (plug) 459 *plug = sio; 496 struct swap_iocb **plug) 522 swap_read_folio_fs(folio, plug); 495 swap_read_folio(struct folio *folio, bool synchronous, struct swap_iocb **plug) argument
|
/linux-master/drivers/usb/typec/ |
H A D | bus.h | 26 struct altmode *plug[2]; member in struct:altmode
|
H A D | class.c | 248 /* Bind the port alt mode to the partner/plug alt mode. */ 252 /* Bind the partner/plug alt mode to the port alt mode. */ 254 struct typec_plug *plug = to_typec_plug(adev->dev.parent); local 256 partner->plug[plug->index] = altmode; 275 struct typec_plug *plug = to_typec_plug(adev->dev.parent); local 277 partner->plug[plug->index] = NULL; 289 * If a partner or cable plug executes Enter/Exit Mode command successfully, the 318 * Returns handle to the port that a cable plug o 622 struct typec_plug *plug; local 961 struct typec_plug *plug = to_typec_plug(dev); local 974 struct typec_plug *plug = to_typec_plug(kobj_to_dev(kobj)); local 1013 typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes) argument 1045 typec_plug_register_altmode(struct typec_plug *plug, const struct typec_altmode_desc *desc) argument 1066 struct typec_plug *plug; local 1101 typec_unregister_plug(struct typec_plug *plug) argument [all...] |
H A D | bus.c | 253 * @sop: Cable plug target for Enter Mode command 256 * Alternate mode drivers use this function to enter mode on the cable plug. 285 * @sop: Cable plug target for Exit Mode command 287 * The alternate mode drivers use this function to exit mode on the cable plug. 310 * typec_cable_altmode_vdm - Send Vendor Defined Messages (VDM) between the cable plug and port. 312 * @sop: Cable plug target for VDM 337 if (!altmode->plug[sop]) 339 pdev = &altmode->plug[sop]->adev; 353 * typec_altmode_get_plug - Find cable plug alternate mode 355 * @index: Cable plug inde 378 typec_altmode_put_plug(struct typec_altmode *plug) argument [all...] |
/linux-master/block/ |
H A D | blk-lib.c | 101 struct blk_plug plug; local 104 blk_start_plug(&plug); 112 blk_finish_plug(&plug); 255 struct blk_plug plug; local 264 blk_start_plug(&plug); 279 blk_finish_plug(&plug); 306 struct blk_plug plug; local 321 blk_start_plug(&plug); 337 blk_finish_plug(&plug);
|
H A D | blk-core.c | 915 * first place, directly accessing the plug instead of using 919 blk_flush_plug(current->plug, false); 1089 void blk_start_plug_nr_ios(struct blk_plug *plug, unsigned short nr_ios) argument 1094 * If this is a nested plug, don't actually assign it. 1096 if (tsk->plug) 1099 plug->cur_ktime = 0; 1100 plug->mq_list = NULL; 1101 plug->cached_rq = NULL; 1102 plug->nr_ios = min_t(unsigned short, nr_ios, BLK_MAX_REQUEST_COUNT); 1103 plug 1138 blk_start_plug(struct blk_plug *plug) argument 1144 flush_plug_callbacks(struct blk_plug *plug, bool from_schedule) argument 1164 struct blk_plug *plug = current->plug; local 1186 __blk_flush_plug(struct blk_plug *plug, bool from_schedule) argument 1214 blk_finish_plug(struct blk_plug *plug) argument [all...] |
H A D | blk-mq.c | 521 struct blk_plug *plug, 529 .nr_tags = plug->nr_ios, 530 .cached_rq = &plug->cached_rq, 537 plug->nr_ios = 1; 549 struct blk_plug *plug = current->plug; local 552 if (!plug) 555 if (rq_list_empty(plug->cached_rq)) { 556 if (plug->nr_ios == 1) 558 rq = blk_mq_rq_cache_fill(q, plug, op 520 blk_mq_rq_cache_fill(struct request_queue *q, struct blk_plug *plug, blk_opf_t opf, blk_mq_req_flags_t flags) argument 742 blk_mq_free_plug_rqs(struct blk_plug *plug) argument 1278 blk_plug_max_rq_count(struct blk_plug *plug) argument 1285 blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq) argument 2683 blk_mq_plug_issue_direct(struct blk_plug *plug) argument 2722 __blk_mq_flush_plug_list(struct request_queue *q, struct blk_plug *plug) argument 2730 blk_mq_dispatch_plug_list(struct blk_plug *plug, bool from_sched) argument 2776 blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule) argument 2866 blk_mq_get_new_requests(struct request_queue *q, struct blk_plug *plug, struct bio *bio, unsigned int nsegs) argument 2898 blk_mq_peek_cached_request(struct blk_plug *plug, struct request_queue *q, blk_opf_t opf) argument 2917 blk_mq_use_cached_rq(struct request *rq, struct blk_plug *plug, struct bio *bio) argument 2951 struct blk_plug *plug = blk_mq_plug(bio); local [all...] |
/linux-master/drivers/md/ |
H A D | raid1-10.c | 136 struct raid1_plug_cb *plug = NULL; local 148 cb = blk_check_plugged(unplug, mddev, sizeof(*plug)); 152 plug = container_of(cb, struct raid1_plug_cb, cb); 153 bio_list_add(&plug->pending, bio); 154 if (++plug->count / MAX_PLUG_BIO >= copies) {
|
/linux-master/include/uapi/linux/ |
H A D | virtio_mem.h | 55 * order to (un)plug memory. A device cannot (un)plug memory belonging to 61 * from the device to the device driver to (un)plug blocks. The 62 * device driver should try to (un)plug blocks in order to reach the 63 * "requested_size". It is impossible to plug more memory than requested. 66 * be used to (un)plug memory. It is always at least as big as the 97 /* request to plug memory blocks */ 129 struct virtio_mem_req_plug plug; member in union:virtio_mem_req::__anon301 147 * Request denied - e.g. trying to plug more than requested, applicable for 206 * Currently used size. Changes due to plug/unplu [all...] |
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_typec.h | 52 /* SOP' plug. */ 53 struct typec_plug *plug; member in struct:cros_typec_port
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_req.c | 1274 struct drbd_plug_cb *plug = container_of(cb, struct drbd_plug_cb, cb); local 1275 struct drbd_resource *resource = plug->cb.data; 1276 struct drbd_request *req = plug->most_recent_req; 1296 struct drbd_plug_cb *plug; local 1297 struct blk_plug_cb *cb = blk_check_plugged(drbd_unplug, resource, sizeof(*plug)); 1300 plug = container_of(cb, struct drbd_plug_cb, cb); 1302 plug = NULL; 1303 return plug; 1306 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) argument 1308 struct drbd_request *tmp = plug 1391 struct drbd_plug_cb *plug = drbd_check_plugged(resource); local 1444 struct blk_plug plug; local 1497 struct blk_plug plug; local [all...] |
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | interrupt.c | 31 * @status: 256 bit status bitmap indexed by plug 33 * @mask: 256 bit mask bitmap indexed by plug 36 * The HV maintains per SMT thread mappings of HV outlet to HV plug on 38 * supplied bitmaps indexed by plug number. The addresses of the bitmaps 46 * implementation equates HV plug value to Linux virq value, constrains each 47 * interrupt to have a system wide unique plug number, and limits the range 48 * of the plug values to map into the first dword of the bitmaps. This 49 * gives a usable range of plug values of {NR_IRQS_LEGACY..63}. Note 240 * Sets up virq and connects the irq plug. 283 * Disconnects the irq plug an 706 unsigned int plug; local [all...] |
/linux-master/drivers/media/firewire/ |
H A D | firedtv.h | 132 int cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel); 133 void cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel);
|
/linux-master/drivers/usb/typec/altmodes/ |
H A D | displayport.c | 261 * plug from the driver and attempt to run the driver without 265 dev_err(&dp->alt->dev, "plug failed to enter mode\n"); 454 /* Attempt to configure on SOP, drop plug */ 726 struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P); local 751 if (plug) { 752 plug->desc = "Displayport"; 753 plug->cable_ops = &dp_cable_ops; 756 dp->plug_prime = plug; 767 if (plug) 768 typec_altmode_set_drvdata(plug, d [all...] |
/linux-master/fs/hpfs/ |
H A D | buffer.c | 41 struct blk_plug plug; local 58 blk_start_plug(&plug); 66 blk_finish_plug(&plug);
|
/linux-master/fs/xfs/ |
H A D | xfs_discard.c | 104 * list. We plug and chain the bios so that we only need a single completion 114 struct blk_plug plug; local 117 blk_start_plug(&plug); 143 blk_finish_plug(&plug);
|