Searched refs:plug (Results 1 - 25 of 109) sorted by path

12345

/linux-master/drivers/media/firewire/
H A Dfiredtv.h132 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/sound/core/oss/
H A Dcopy.c61 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 Dio.c28 #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...]
/linux-master/sound/firewire/
H A Dfcp.h20 unsigned short plug);
23 unsigned short plug);
/linux-master/arch/powerpc/platforms/ps3/
H A Dinterrupt.c31 * @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/block/
H A Dblk-cgroup.c216 struct blk_plug plug; local
225 /* start plug only when bio_list contains at least 2 bios */
228 blk_start_plug(&plug);
233 blk_finish_plug(&plug);
H A Dblk-core.c915 * 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 Dblk-lib.c101 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 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)
H A Dblk-mq.c521 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...]
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 Dblk-throttle.c1257 struct blk_plug plug; local
1269 blk_start_plug(&plug);
1272 blk_finish_plug(&plug);
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 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);
/linux-master/drivers/block/drbd/
H A Ddrbd_receiver.c1196 if (current->plug == &connection->receiver_plug) {
H A Ddrbd_req.c1274 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/drivers/block/xen-blkback/
H A Dblkback.c1302 struct blk_plug plug; local
1458 blk_start_plug(&plug);
1464 blk_finish_plug(&plug);
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_request.c2238 static int plug(struct intel_engine_cs *engine, u32 *sema, u32 mode, int value) function
2286 err = plug(ce->engine, sema, MI_SEMAPHORE_SAD_NEQ_SDD, 0);
2377 err = plug(ce->engine, sema, MI_SEMAPHORE_SAD_NEQ_SDD, 0);
/linux-master/drivers/md/
H A Ddm-bufio.c1469 struct blk_plug plug; local
1471 blk_start_plug(&plug);
1479 blk_finish_plug(&plug);
1974 struct blk_plug plug; local
1981 blk_start_plug(&plug);
1999 blk_finish_plug(&plug);
2001 blk_start_plug(&plug);
2021 blk_finish_plug(&plug);
H A Ddm-clone-target.c321 struct blk_plug plug; local
323 blk_start_plug(&plug);
328 blk_finish_plug(&plug);
1179 struct blk_plug plug; local
1207 blk_start_plug(&plug);
1210 blk_finish_plug(&plug);
H A Ddm-crypt.c1949 struct blk_plug plug; local
1982 blk_start_plug(&plug);
1989 blk_finish_plug(&plug);
H A Ddm-era-target.c1266 struct blk_plug plug; local
1307 blk_start_plug(&plug);
1317 blk_finish_plug(&plug);
H A Ddm-integrity.c2525 struct blk_plug plug; local
2527 blk_start_plug(&plug);
2658 blk_finish_plug(&plug);
H A Ddm-kcopyd.c654 struct blk_plug plug; local
667 blk_start_plug(&plug);
671 blk_finish_plug(&plug);
H A Ddm-mpath.c694 struct blk_plug plug; local
712 blk_start_plug(&plug);
736 blk_finish_plug(&plug);

Completed in 446 milliseconds

12345