Home
last modified time | relevance | path

Searched refs:sch (Results 1 – 25 of 104) sorted by relevance

12345

/linux/drivers/gpio/
A Dgpio-sch.c57 gpio -= sch->resume_base; in sch_gpio_offset()
278 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_remove_gpe_handler()
287 sch->gpe_handler, sch); in sch_gpio_install_gpe_handler()
298 acpi_remove_gpe_handler(NULL, sch->gpe, sch->gpe_handler); in sch_gpio_install_gpe_handler()
308 struct sch_gpio *sch; in sch_gpio_probe() local
312 sch = devm_kzalloc(&pdev->dev, sizeof(*sch), GFP_KERNEL); in sch_gpio_probe()
313 if (!sch) in sch_gpio_probe()
333 sch->chip.ngpio = 14; in sch_gpio_probe()
350 sch->resume_base = 5; in sch_gpio_probe()
361 sch->chip.ngpio = 8; in sch_gpio_probe()
[all …]
/linux/drivers/s390/cio/
A Dcio.c223 if (!sch) in cio_halt()
257 if (!sch) in cio_clear()
292 if (!sch) in cio_cancel()
488 sch->config.isc = sch->isc; in cio_enable_subchannel()
543 if (!sch) { in do_cio_interrupt()
555 if (sch->driver && sch->driver->irq) in do_cio_interrupt()
556 sch->driver->irq(sch); in do_cio_interrupt()
600 if (sch->driver && sch->driver->irq) in cio_tsch()
601 sch->driver->irq(sch); in cio_tsch()
669 sch->config.intparm = (u32)(addr_t)sch; in cio_probe_console()
[all …]
A Deadm_sch.c70 EADM_LOG_HEX(6, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_start()
90 cc = csch(sch->schid); in eadm_subchannel_clear()
101 struct subchannel *sch = private->sch; in eadm_subchannel_timeout() local
105 EADM_LOG_HEX(1, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_timeout()
170 sch = private->sch; in eadm_get_idle_sch()
178 return sch; in eadm_get_idle_sch()
195 if (!sch) in eadm_start_aob()
232 private->sch = sch; in eadm_subchannel_probe()
234 ret = cio_enable_subchannel(sch, (u32)(unsigned long)sch); in eadm_subchannel_probe()
293 eadm_quiesce(sch); in eadm_subchannel_remove()
[all …]
A Dcss.c99 if (sch) { in call_fn_all_sch()
153 sch->lock = kmalloc(sizeof(*sch->lock), GFP_KERNEL); in css_sch_create_locks()
214 sch = kzalloc(sizeof(*sch), GFP_KERNEL | GFP_DMA); in css_alloc_subchannel()
215 if (!sch) in css_alloc_subchannel()
228 sch->dev.dma_mask = &sch->dma_mask; in css_alloc_subchannel()
311 ssd_from_pmcw(&sch->ssd_info, &sch->schib.pmcw); in css_update_ssd_info()
582 ret = sch->driver->sch_event(sch, slow); in css_evaluate_known_subchannel()
1423 ret = sch->driver->probe ? sch->driver->probe(sch) : 0; in css_probe()
1435 sch->driver->remove(sch); in css_remove()
1444 if (sch->driver && sch->driver->shutdown) in css_shutdown()
[all …]
A Ddevice.c571 sch->schid.ssid, sch->schid.sch_no, rc); in initiate_logging()
575 sch->schid.ssid, sch->schid.sch_no); in initiate_logging()
998 memset(&sch->config, 0, sizeof(sch->config)); in io_subchannel_init_config()
1007 sch->opm = chp_get_sch_opm(sch); in io_subchannel_init_fields()
1008 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields()
1013 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields()
1014 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields()
1015 sch->schib.pmcw.pam, sch->schib.pmcw.pom); in io_subchannel_init_fields()
1183 sch->lpm |= mask & sch->opm; in io_subchannel_chp_event()
1260 if ((sch->schib.pmcw.pam & sch->opm) == sch->vpm) in recovery_check()
[all …]
A Dvfio_ccw_drv.c59 sch->schid.ssid, sch->schid.sch_no); in vfio_ccw_sch_quiesce()
148 private->sch = sch; in vfio_ccw_alloc_private()
236 ret = cio_enable_subchannel(sch, (u32)(unsigned long)sch); in vfio_ccw_sch_probe()
253 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_probe()
277 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_remove()
368 sch->schid.ssid, sch->schid.sch_no, in vfio_ccw_chp_event()
377 sch->opm &= ~mask; in vfio_ccw_chp_event()
378 sch->lpm &= ~mask; in vfio_ccw_chp_event()
391 sch->opm |= mask; in vfio_ccw_chp_event()
392 sch->lpm |= mask; in vfio_ccw_chp_event()
[all …]
A Dvfio_ccw_fsm.c20 struct subchannel *sch; in fsm_io_helper() local
27 sch = private->sch; in fsm_io_helper()
31 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper()
62 sch->lpm &= ~lpm; in fsm_io_helper()
64 sch->lpm = 0; in fsm_io_helper()
82 struct subchannel *sch; in fsm_do_halt() local
87 sch = private->sch; in fsm_do_halt()
128 sch = private->sch; in fsm_do_clear()
162 struct subchannel *sch = private->sch; in fsm_notoper() local
223 struct subchannel *sch = private->sch; in fsm_disabled_irq() local
[all …]
/linux/net/sched/
A Dsch_fifo.c22 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit)) in bfifo_enqueue()
31 if (likely(sch->q.qlen < sch->limit)) in pfifo_enqueue()
42 if (likely(sch->q.qlen < sch->limit)) in pfifo_tail_enqueue()
47 __qdisc_queue_drop_head(sch, &sch->q, to_free); in pfifo_tail_enqueue()
48 qdisc_qstats_drop(sch); in pfifo_tail_enqueue()
51 qdisc_tree_reduce_backlog(sch, 0, prev_backlog - sch->qstats.backlog); in pfifo_tail_enqueue()
64 qopt.handle = sch->handle; in fifo_offload_init()
108 sch->limit = limit; in __fifo_init()
119 bypass = sch->limit >= psched_mtu(qdisc_dev(sch)); in __fifo_init()
140 fifo_offload_init(sch); in fifo_init()
[all …]
A Dsch_mq.c29 .handle = sch->handle, in mq_offload()
42 .handle = sch->handle, in mq_offload_stats()
44 .bstats = &sch->bstats, in mq_offload_stats()
45 .qstats = &sch->qstats, in mq_offload_stats()
58 mq_offload(sch, TC_MQ_DESTROY); in mq_destroy()
76 if (sch->parent != TC_H_ROOT) in mq_init()
100 sch->flags |= TCQ_F_MQROOT; in mq_init()
134 sch->q.qlen = 0; in mq_dump()
136 memset(&sch->qstats, 0, sizeof(sch->qstats)); in mq_dump()
196 qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, *old, in mq_graft()
[all …]
A Dsch_prio.c80 qdisc_qstats_drop(sch); in prio_enqueue()
89 sch->q.qlen++; in prio_enqueue()
93 qdisc_qstats_drop(sch); in prio_enqueue()
122 sch->q.qlen--; in prio_dequeue()
138 sch->qstats.backlog = 0; in prio_reset()
139 sch->q.qlen = 0; in prio_reset()
146 .handle = sch->handle, in prio_offload()
147 .parent = sch->parent, in prio_offload()
211 sch_tree_lock(sch); in prio_tune()
224 sch_tree_unlock(sch); in prio_tune()
[all …]
A Dsch_red.c44 struct Qdisc *sch; member
132 sch->q.qlen++; in red_enqueue()
158 sch->q.qlen--; in red_dequeue()
180 sch->q.qlen = 0; in red_reset()
189 .handle = sch->handle, in red_offload()
275 sch_tree_lock(sch); in __red_change()
305 sch_tree_unlock(sch); in __red_change()
314 sch_tree_unlock(sch); in __red_change()
323 struct Qdisc *sch = q->sch; in red_adaptative_timer() local
340 q->sch = sch; in red_init()
[all …]
A Dsch_codel.c86 qdisc_qstats_drop(sch); in drop_func()
94 skb = codel_dequeue(sch, &sch->qstats.backlog, &q->params, &q->vars, in codel_qdisc_dequeue()
116 if (likely(qdisc_qlen(sch) < sch->limit)) { in codel_qdisc_enqueue()
120 q = qdisc_priv(sch); in codel_qdisc_enqueue()
149 sch_tree_lock(sch); in codel_change()
175 qlen = sch->q.qlen; in codel_change()
176 while (sch->q.qlen > sch->limit) { in codel_change()
183 qdisc_tree_reduce_backlog(sch, qlen - sch->q.qlen, dropped); in codel_change()
185 sch_tree_unlock(sch); in codel_change()
208 if (sch->limit >= 1) in codel_init()
[all …]
A Dsch_ets.c122 qopt.handle = sch->handle; in ets_offload_change()
123 qopt.parent = sch->parent; in ets_offload_change()
155 qopt.handle = sch->handle; in ets_offload_destroy()
239 sch_tree_lock(sch); in ets_class_change()
241 sch_tree_unlock(sch); in ets_class_change()
243 ets_offload_change(sch); in ets_class_change()
450 sch->q.qlen++; in ets_qdisc_enqueue()
459 sch->q.qlen--; in ets_qdisc_dequeue_skb()
659 sch_tree_lock(sch); in ets_qdisc_change()
685 sch_tree_unlock(sch); in ets_qdisc_change()
[all …]
A Dsch_ingress.c36 return ingress_find(sch, classid); in ingress_bind_filter()
50 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_tcf_block()
64 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_ingress_block_set()
71 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_ingress_block_get()
79 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_init()
80 struct net_device *dev = qdisc_dev(sch); in ingress_init()
100 static void ingress_destroy(struct Qdisc *sch) in ingress_destroy() argument
102 struct ingress_sched_data *q = qdisc_priv(sch); in ingress_destroy()
169 return clsact_find(sch, classid); in clsact_bind_filter()
219 struct net_device *dev = qdisc_dev(sch); in clsact_init()
[all …]
A Dsch_tbf.c151 qopt.handle = sch->handle; in tbf_offload_change()
191 .handle = sch->handle, in tbf_offload_graft()
192 .parent = sch->parent, in tbf_offload_graft()
197 qdisc_offload_graft_helper(qdisc_dev(sch), sch, new, old, in tbf_offload_graft()
231 sch->q.qlen += nb; in tbf_segment()
259 sch->q.qlen++; in tbf_enqueue()
304 sch->q.qlen--; in tbf_dequeue()
333 sch->qstats.backlog = 0; in tbf_reset()
334 sch->q.qlen = 0; in tbf_reset()
447 sch_tree_lock(sch); in tbf_change()
[all …]
A Dsch_multiq.c71 qdisc_qstats_drop(sch); in multiq_enqueue()
79 sch->q.qlen++; in multiq_enqueue()
83 qdisc_qstats_drop(sch); in multiq_enqueue()
109 sch->q.qlen--; in multiq_dequeue()
148 multiq_reset(struct Qdisc *sch) in multiq_reset() argument
155 sch->q.qlen = 0; in multiq_reset()
194 sch_tree_lock(sch); in multiq_tune()
206 sch_tree_unlock(sch); in multiq_tune()
217 TC_H_MAKE(sch->handle, in multiq_tune()
220 sch_tree_lock(sch); in multiq_tune()
[all …]
A Dsch_dsmark.c71 __func__, sch, p, new, old); in dsmark_graft()
75 sch->handle, NULL); in dsmark_graft()
99 __func__, sch, qdisc_priv(sch), classid); in dsmark_bind_filter()
173 __func__, sch, p, walker); in dsmark_walk()
274 qdisc_qstats_drop(sch); in dsmark_enqueue()
278 sch->qstats.backlog += len; in dsmark_enqueue()
279 sch->q.qlen++; in dsmark_enqueue()
302 sch->q.qlen--; in dsmark_dequeue()
391 p->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, sch->handle, in dsmark_init()
412 sch->qstats.backlog = 0; in dsmark_reset()
[all …]
A Dsch_atm.c93 sch, p, flow, new, old); in atm_tc_graft()
119 flow = lookup_flow(sch, classid); in atm_tc_find()
131 flow = lookup_flow(sch, classid); in atm_tc_bind_filter()
275 cl = atm_tc_find(sch, classid); in atm_tc_change()
344 atm_tc_put(sch, arg); in atm_tc_delete()
440 qdisc_qstats_drop(sch); in atm_tc_enqueue()
456 sch->q.qlen++; in atm_tc_enqueue()
493 qdisc_bstats_update(sch, skb); in sch_atm_dequeue()
529 sch->q.qlen--; in atm_tc_dequeue()
580 sch->q.qlen = 0; in atm_tc_reset()
[all …]
A Dsch_drr.c96 sch_tree_lock(sch); in drr_change_class()
99 sch_tree_unlock(sch); in drr_change_class()
130 sch_tree_lock(sch); in drr_change_class()
132 sch_tree_unlock(sch); in drr_change_class()
156 sch_tree_lock(sch); in drr_delete_class()
161 sch_tree_unlock(sch); in drr_delete_class()
350 qdisc_qstats_drop(sch); in drr_enqueue()
371 sch->q.qlen++; in drr_enqueue()
404 sch->q.qlen--; in drr_dequeue()
444 sch->qstats.backlog = 0; in drr_reset_qdisc()
[all …]
A Dsch_etf.c192 sch->q.qlen++; in etf_enqueue_timesortedlist()
195 reset_watchdog(sch); in etf_enqueue_timesortedlist()
218 skb->dev = qdisc_dev(sch); in timesortedlist_drop()
225 sch->q.qlen--; in timesortedlist_drop()
242 skb->dev = qdisc_dev(sch); in timesortedlist_remove()
250 sch->q.qlen--; in timesortedlist_remove()
291 reset_watchdog(sch); in etf_dequeue_timesortedlist()
432 sch->q.qlen--; in timesortedlist_clear()
445 timesortedlist_clear(sch); in etf_reset()
448 sch->qstats.backlog = 0; in etf_reset()
[all …]
A Dsch_fq_codel.c180 sch->q.qlen -= i; in fq_codel_drop()
217 if (++sch->q.qlen <= sch->limit && !memory_limited) in fq_codel_enqueue()
267 sch->q.qlen--; in dequeue_func()
303 skb = codel_dequeue(sch, &sch->qstats.backlog, &q->cparams, in fq_codel_dequeue()
350 sch->q.qlen = 0; in fq_codel_reset()
399 sch_tree_lock(sch); in fq_codel_change()
439 while (sch->q.qlen > sch->limit || in fq_codel_change()
451 sch_tree_unlock(sch); in fq_codel_change()
513 if (sch->limit >= 1) in fq_codel_init()
539 sch->limit) || in fq_codel_dump()
[all …]
A Dsch_skbprio.c82 if (sch->q.qlen < sch->limit) { in skbprio_enqueue()
94 sch->q.qlen++; in skbprio_enqueue()
125 BUG_ON(sch->q.qlen != 1); in skbprio_enqueue()
148 sch->q.qlen--; in skbprio_dequeue()
150 qdisc_bstats_update(sch, skb); in skbprio_dequeue()
157 BUG_ON(sch->q.qlen); in skbprio_dequeue()
175 sch->limit = ctl->limit; in skbprio_change()
192 sch->limit = 64; in skbprio_init()
203 opt.limit = sch->limit; in skbprio_dump()
216 sch->qstats.backlog = 0; in skbprio_reset()
[all …]
A Dsch_cbs.c99 sch->qstats.backlog += len; in cbs_child_enqueue()
100 sch->q.qlen++; in cbs_child_enqueue()
136 return q->enqueue(skb, sch, to_free); in cbs_enqueue()
169 qdisc_qstats_backlog_dec(sch, skb); in cbs_child_dequeue()
170 qdisc_bstats_update(sch, skb); in cbs_child_dequeue()
171 sch->q.qlen--; in cbs_child_dequeue()
207 skb = cbs_child_dequeue(sch, qdisc); in cbs_dequeue_soft()
243 return q->dequeue(sch); in cbs_dequeue()
413 sch->handle, extack); in cbs_init()
430 return cbs_change(sch, opt, extack); in cbs_init()
[all …]
A Dsch_pie.c30 struct Qdisc *sch; member
91 if (unlikely(qdisc_qlen(sch) >= sch->limit)) { in pie_qdisc_enqueue()
96 if (!pie_drop_early(sch, &q->params, &q->vars, sch->qstats.backlog, in pie_qdisc_enqueue()
154 sch_tree_lock(sch); in pie_change()
174 sch->limit = limit; in pie_change()
194 qlen = sch->q.qlen; in pie_change()
195 while (sch->q.qlen > sch->limit) { in pie_change()
202 qdisc_tree_reduce_backlog(sch, qlen - sch->q.qlen, dropped); in pie_change()
204 sch_tree_unlock(sch); in pie_change()
426 struct Qdisc *sch = q->sch; in pie_timer() local
[all …]
/linux/include/net/
A Dsch_generic.h846 return sch->enqueue(skb, sch, to_free); in qdisc_enqueue()
951 return gnet_stats_copy_queue(d, sch->cpu_qstats, &sch->qstats, qlen); in qdisc_qstats_copy()
959 gnet_stats_add_queue(&qstats, sch->cpu_qstats, &sch->qstats); in qdisc_qstats_qlen_backlog()
977 qdisc_reset(sch); in qdisc_purge_queue()
1099 skb = sch->dequeue(sch); in qdisc_peek_dequeued()
1105 sch->q.qlen++; in qdisc_peek_dequeued()
1122 sch->q.qlen--; in qdisc_update_stats_at_dequeue()
1134 sch->q.qlen++; in qdisc_update_stats_at_enqueue()
1150 sch->q.qlen--; in qdisc_dequeue_peeked()
1153 skb = sch->dequeue(sch); in qdisc_dequeue_peeked()
[all …]

Completed in 75 milliseconds

12345