Home
last modified time | relevance | path

Searched refs:queue_lock (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.4.37.9/drivers/acorn/scsi/
Dqueue.c63 spin_lock_init(&queue->queue_lock); in queue_initialise()
114 spin_lock_irqsave(&queue->queue_lock, flags); in __queue_add()
135 spin_unlock_irqrestore(&queue->queue_lock, flags); in __queue_add()
170 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_exclude()
178 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_exclude()
194 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove()
197 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove()
217 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_tgtluntag()
226 spin_unlock_irqrestore(&queue->queue_lock, flags); in queue_remove_tgtluntag()
243 spin_lock_irqsave(&queue->queue_lock, flags); in queue_remove_all_target()
[all …]
Dqueue.h16 spinlock_t queue_lock; member
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_queue.c54 static rwlock_t queue_lock = RW_LOCK_UNLOCKED; variable
172 write_lock_bh(&queue_lock); in ipq_find_dequeue_entry()
174 write_unlock_bh(&queue_lock); in ipq_find_dequeue_entry()
181 write_lock_bh(&queue_lock); in ipq_flush()
183 write_unlock_bh(&queue_lock); in ipq_flush()
196 read_lock_bh(&queue_lock); in ipq_build_packet_message()
216 read_unlock_bh(&queue_lock); in ipq_build_packet_message()
220 read_unlock_bh(&queue_lock); in ipq_build_packet_message()
302 write_lock_bh(&queue_lock); in ipq_enqueue_packet()
316 write_unlock_bh(&queue_lock); in ipq_enqueue_packet()
[all …]
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_queue.c60 static rwlock_t queue_lock = RW_LOCK_UNLOCKED; variable
178 write_lock_bh(&queue_lock); in ipq_find_dequeue_entry()
180 write_unlock_bh(&queue_lock); in ipq_find_dequeue_entry()
187 write_lock_bh(&queue_lock); in ipq_flush()
189 write_unlock_bh(&queue_lock); in ipq_flush()
202 read_lock_bh(&queue_lock); in ipq_build_packet_message()
222 read_unlock_bh(&queue_lock); in ipq_build_packet_message()
226 read_unlock_bh(&queue_lock); in ipq_build_packet_message()
307 write_lock_bh(&queue_lock); in ipq_enqueue_packet()
321 write_unlock_bh(&queue_lock); in ipq_enqueue_packet()
[all …]
/linux-2.4.37.9/net/sched/
Dsch_generic.c90 spin_unlock(&dev->queue_lock); in qdisc_restart()
100 spin_lock(&dev->queue_lock); in qdisc_restart()
108 spin_lock(&dev->queue_lock); in qdisc_restart()
401 sch->stats.lock = &dev->queue_lock; in qdisc_create_dflt()
469 spin_lock_bh(&dev->queue_lock); in dev_activate()
474 spin_unlock_bh(&dev->queue_lock); in dev_activate()
481 spin_lock_bh(&dev->queue_lock); in dev_deactivate()
487 spin_unlock_bh(&dev->queue_lock); in dev_deactivate()
500 spin_lock_bh(&dev->queue_lock); in dev_init_scheduler()
502 spin_unlock_bh(&dev->queue_lock); in dev_init_scheduler()
[all …]
Dsch_api.c309 spin_lock_bh(&dev->queue_lock); in dev_graft_qdisc()
336 spin_unlock_bh(&dev->queue_lock); in dev_graft_qdisc()
441 sch->stats.lock = &dev->queue_lock; in qdisc_create()
583 spin_lock_bh(&dev->queue_lock); in tc_get_qdisc()
585 spin_unlock_bh(&dev->queue_lock); in tc_get_qdisc()
709 spin_lock_bh(&dev->queue_lock); in tc_modify_qdisc()
711 spin_unlock_bh(&dev->queue_lock); in tc_modify_qdisc()
717 spin_lock_bh(&dev->queue_lock); in tc_modify_qdisc()
719 spin_unlock_bh(&dev->queue_lock); in tc_modify_qdisc()
Dcls_api.c232 spin_lock_bh(&dev->queue_lock); in tc_ctl_tfilter()
235 spin_unlock_bh(&dev->queue_lock); in tc_ctl_tfilter()
245 spin_lock_bh(&dev->queue_lock); in tc_ctl_tfilter()
247 spin_unlock_bh(&dev->queue_lock); in tc_ctl_tfilter()
Dsch_netem.c269 spin_lock_bh(&dev->queue_lock); in netem_watchdog()
293 spin_unlock_bh(&dev->queue_lock); in netem_watchdog()
347 spin_lock_bh(&sch->dev->queue_lock); in get_dist_table()
349 spin_unlock_bh(&sch->dev->queue_lock); in get_dist_table()
Dsch_ingress.c226 spin_lock(&dev->queue_lock); in ing_hook()
229 spin_unlock(&dev->queue_lock); in ing_hook()
Dsch_csz.c891 spin_lock_bh(&sch->dev->queue_lock); in csz_change()
905 spin_unlock_bh(&sch->dev->queue_lock); in csz_change()
926 spin_lock_bh(&sch->dev->queue_lock); in csz_delete()
933 spin_unlock_bh(&sch->dev->queue_lock); in csz_delete()
Dsch_cbq.c1438 q->link.stats.lock = &sch->dev->queue_lock; in cbq_init()
1604 spin_lock_bh(&sch->dev->queue_lock); in cbq_dump()
1607 spin_unlock_bh(&sch->dev->queue_lock); in cbq_dump()
1610 spin_unlock_bh(&sch->dev->queue_lock); in cbq_dump()
1642 spin_lock_bh(&sch->dev->queue_lock); in cbq_dump_class()
1648 spin_unlock_bh(&sch->dev->queue_lock); in cbq_dump_class()
1651 spin_unlock_bh(&sch->dev->queue_lock); in cbq_dump_class()
1772 spin_lock_bh(&sch->dev->queue_lock); in cbq_put()
1775 spin_unlock_bh(&sch->dev->queue_lock); in cbq_put()
1938 cl->stats.lock = &sch->dev->queue_lock; in cbq_change_class()
Dsch_teql.c168 spin_lock_bh(&master->dev.queue_lock); in teql_destroy()
170 spin_unlock_bh(&master->dev.queue_lock); in teql_destroy()
Dcls_route.c88 spin_lock_bh(&dev->queue_lock); in route4_reset_fastmap()
90 spin_unlock_bh(&dev->queue_lock); in route4_reset_fastmap()
Dsch_hfsc.c1144 cl->stats.lock = &sch->dev->queue_lock; in hfsc_change_class()
1505 sch->stats.lock = &sch->dev->queue_lock; in hfsc_init_qdisc()
1520 q->root.stats.lock = &sch->dev->queue_lock; in hfsc_init_qdisc()
/linux-2.4.37.9/drivers/block/
Dnbd.c240 spin_lock(&lo->queue_lock); in nbd_find_request()
246 spin_unlock(&lo->queue_lock); in nbd_find_request()
249 spin_unlock(&lo->queue_lock); in nbd_find_request()
335 spin_lock(&lo->queue_lock); in nbd_clear_que()
340 spin_unlock(&lo->queue_lock); in nbd_clear_que()
390 spin_lock(&lo->queue_lock); in do_nbd_request()
392 spin_unlock(&lo->queue_lock); in do_nbd_request()
401 spin_unlock(&lo->queue_lock); in do_nbd_request()
406 spin_lock(&lo->queue_lock); in do_nbd_request()
408 spin_unlock(&lo->queue_lock); in do_nbd_request()
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_net.h79 spin_lock_irqsave(&nd->queue_lock, flags); in isdn_net_get_locked_lp()
94 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_get_locked_lp()
106 spin_lock_irqsave(&nd->queue_lock, flags); in isdn_net_add_to_bundle()
117 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_add_to_bundle()
132 spin_lock_irqsave(&master_lp->netdev->queue_lock, flags); in isdn_net_rm_from_bundle()
144 spin_unlock_irqrestore(&master_lp->netdev->queue_lock, flags); in isdn_net_rm_from_bundle()
/linux-2.4.37.9/include/net/
Dpkt_sched.h112 spin_lock_bh(&q->dev->queue_lock); in sch_tree_lock()
117 spin_unlock_bh(&q->dev->queue_lock); in sch_tree_unlock()
124 spin_lock_bh(&tp->q->dev->queue_lock); in tcf_tree_lock()
129 spin_unlock_bh(&tp->q->dev->queue_lock); in tcf_tree_unlock()
/linux-2.4.37.9/drivers/ieee1394/
Dpcilynx.c563 spin_lock_irqsave(&d->queue_lock, flags); in lynx_transmit()
569 spin_unlock_irqrestore(&d->queue_lock, flags); in lynx_transmit()
752 spin_lock_irqsave(&lynx->async.queue_lock, flags); in lynx_devctl()
759 spin_unlock_irqrestore(&lynx->async.queue_lock, flags); in lynx_devctl()
780 spin_unlock_irqrestore(&lynx->async.queue_lock, flags); in lynx_devctl()
1300 spin_lock(&lynx->async.queue_lock); in lynx_irq_handler()
1303 spin_unlock(&lynx->async.queue_lock); in lynx_irq_handler()
1326 spin_unlock(&lynx->async.queue_lock); in lynx_irq_handler()
1346 spin_lock(&lynx->iso_send.queue_lock); in lynx_irq_handler()
1349 spin_unlock(&lynx->iso_send.queue_lock); in lynx_irq_handler()
[all …]
Dpcilynx.h99 spinlock_t queue_lock; member
/linux-2.4.37.9/include/linux/
Dnbd.h43 spinlock_t queue_lock; member
Dblkdev.h154 spinlock_t queue_lock; member
Disdn.h397 spinlock_t queue_lock; /* lock to protect queue */ member
Dnetdevice.h366 spinlock_t queue_lock; member
/linux-2.4.37.9/net/core/
Ddev.c1070 spin_lock_bh(&dev->queue_lock); in dev_queue_xmit()
1077 spin_unlock_bh(&dev->queue_lock); in dev_queue_xmit()
1096 spin_unlock(&dev->queue_lock); in dev_queue_xmit()
1122 spin_unlock_bh(&dev->queue_lock); in dev_queue_xmit()
1417 if (spin_trylock(&dev->queue_lock)) { in net_tx_action()
1419 spin_unlock(&dev->queue_lock); in net_tx_action()
2488 spin_lock_init(&dev->queue_lock); in register_netdevice()
2810 spin_lock_init(&dev->queue_lock); in net_dev_init()
/linux-2.4.37.9/include/linux/mtd/
Dcompatmac.h544 #define QUEUE_LOCK(q) ((q)->queue_lock)

12