Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

tqueue.h File Reference

#include <asm/bitops.h>
#include <asm/system.h>
#include <asm/spinlock.h>

Include dependency graph for tqueue.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DECLARE_TASK_QUEUE(q)   task_queue q = NULL
#define TQ_ACTIVE(q)   ((q) != NULL)

Typedefs

typedef tq_structtask_queue

Functions

__inline__ int queue_task (struct tq_struct *bh_pointer, task_queue *bh_list)
__inline__ void run_task_queue (task_queue *list)

Variables

task_queue tq_timer
task_queue tq_immediate
task_queue tq_scheduler
task_queue tq_disk
spinlock_t tqueue_lock


Define Documentation

#define DECLARE_TASK_QUEUE  )     task_queue q = NULL
 

Definition at line 52 of file tqueue.h.

#define TQ_ACTIVE  )     ((q) != NULL)
 

Definition at line 53 of file tqueue.h.

Referenced by context_thread().


Typedef Documentation

typedef struct tq_struct* task_queue
 

Definition at line 50 of file tqueue.h.


Function Documentation

__inline__ int queue_task struct tq_struct bh_pointer,
task_queue bh_list
 

Definition at line 85 of file tqueue.h.

References tq_struct::next, ret, spin_lock_irqsave, spin_unlock_irqrestore, tq_struct::sync, and test_and_set_bit.

__inline__ void run_task_queue task_queue list  ) 
 

Definition at line 104 of file tqueue.h.

References data, f, mb, next, NULL, p, routine, spin_lock_irqsave, spin_unlock_irqrestore, and sync.

Referenced by __get_request_wait(), __wait_on_buffer(), bdflush(), console_bh(), context_thread(), create_buffers(), do_aurora_bh(), do_cyclades_bh(), do_isicom_bh(), do_pcxe_bh(), do_riscom_bh(), do_serial_bh(), do_specialix_bh(), epp_close(), ext2_truncate(), generic_file_readahead(), md_thread(), plusb_free_all(), release_dev(), rw_swap_page_base(), schedule(), sync_old_buffers(), sync_page(), and sys_idle().


Variable Documentation

task_queue tq_disk
 

Referenced by __get_request_wait(), __wait_on_buffer(), bdflush(), create_buffers(), ext2_truncate(), generic_file_readahead(), md_thread(), plug_device(), rw_swap_page_base(), sync_old_buffers(), and sync_page().

task_queue tq_immediate
 

Referenced by ace_interrupt(), acm_write_bulk(), aha152x_intr(), amd7930_drecv_callback(), amd7930_dxmit_callback(), amd7930_liu_callback(), Bchan_rcv_bh(), Bchan_recv_callback(), Bchan_xmit_callback(), Bchan_xmt_bh(), bluetooth_write_bulk_callback(), controllercb_handle_capimsg(), ctc_irq_handler(), cyberjack_write_bulk_callback(), dasd_schedule_bh(), dbri_intr(), DivasDpcSchedule(), DivasScheduleRequestDpc(), dma_irq_exit(), do_fd_request(), do_mdisk_interrupt(), dummy_start_output(), empeg_write_bulk_callback(), ergo_interrupt(), ergo_set_errlog_state(), fd1772_checkint(), ftdi_sio_write_bulk_callback(), gamma_dma_service(), generic_write_bulk_callback(), got_frame(), hdlc_sched_event(), hfc_sched_event(), hfcsx_sched_event(), hscx_sched_event(), hycapi_sendmsg_internal(), hysdn_tx_cfgline(), i2StripFifo(), i810_dma_service(), icc_sched_event(), imm_queuecommand(), ip2_interrupt(), ir_write_bulk_callback(), ircomm_param_request(), ircomm_tty_check_modem_status(), ircomm_tty_flow_indication(), ircomm_tty_flush_buffer(), ircomm_tty_link_established(), ircomm_tty_write(), isac_sched_event(), isar_sched_event(), isdn_net_dec_frame_cnt(), isdn_net_write_super(), issue_request(), jade_sched_event(), lcs_queue_write(), mesh_completed(), mga_dma_service(), mgsl_interrupt(), net_send_packet(), omninet_write_bulk_callback(), pcbit_sched_delivery(), pl2303_write_bulk_callback(), plip_interrupt(), plip_kick_bh(), plip_receive_packet(), plip_tx_packet(), plusb_free_all(), ppa_queuecommand(), queue_main(), raw3215_sched_bh(), sched_event_D(), sched_event_D_sx(), schedule_bh(), schedule_request_fn(), schedule_tapeblock_exec_IO(), special_condition(), top_half_interrupt(), usa2x_outdat_callback(), visor_write_bulk_callback(), W6692_sched_event(), W6692B_sched_event(), write_raw(), and xpds_interrupt().

task_queue tq_scheduler
 

Referenced by aurora_check_modem(), check_modem_status(), check_status(), isicom_interrupt(), lcs_queue_thread(), lcs_retry(), moxa_poll(), mxser_check_modem_status(), mxser_transmit_chars(), notify_push(), pc_sched_event(), ps_set_intr(), ps_tq_int(), rc_check_modem(), release_dev(), schedule(), sdla_poll(), smb_data_ready(), stl_cd1400mdmisr(), stl_cd1400txisr(), stl_sc26198otherisr(), stl_sc26198txisr(), stli_hostcmd(), sx_check_modem(), sys_idle(), tty_hangup(), and xpds_tx().

task_queue tq_timer
 

Referenced by aurora_receive(), aurora_receive_exc(), cd2401_rx_interrupt(), cd2401_rxerr_interrupt(), cyy_interrupt(), cyz_handle_cmd(), cyz_handle_rx(), epp_bh(), epp_close(), epp_open(), flush_to_ldisc(), imm_interrupt(), isdn_tty_at_cout(), isdn_tty_readmodem(), isdn_tty_try_read(), isicom_interrupt(), mxser_receive_chars(), plip_bh(), plip_error(), plip_receive_packet(), plip_send_packet(), ppa_interrupt(), rc_receive(), rc_receive_exc(), receive_chars(), receive_chars_dma_done(), receive_chars_pio(), release_dev(), rxdma_to_tty(), special_receive(), sx_receive(), sx_receive_exc(), tty_flip_buffer_push(), and tty_schedule_flip().

spinlock_t tqueue_lock
 

Definition at line 1176 of file kernel/sched.c.