Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

schedule_timeout(9) [centos man page]

SCHEDULE_TIMEOUT(9)						   Driver Basics					       SCHEDULE_TIMEOUT(9)

schedule_timeout - sleep until timeout SYNOPSIS
signed long __sched schedule_timeout(signed long timeout); ARGUMENTS
timeout timeout value in jiffies DESCRIPTION
Make the current task sleep until timeout jiffies have elapsed. The routine will return immediately unless the current task state has been set (see set_current_state). You can set the task state as follows - TASK_UNINTERRUPTIBLE - at least timeout jiffies are guaranteed to pass before the routine returns. The routine will return 0 TASK_INTERRUPTIBLE - the routine may return early if a signal is delivered to the current task. In this case the remaining time in jiffies will be returned, or 0 if the timer expired in time The current task state is guaranteed to be TASK_RUNNING when this routine returns. Specifying a timeout value of MAX_SCHEDULE_TIMEOUT will schedule the CPU away without a bound on the timeout. In this case the return value will be MAX_SCHEDULE_TIMEOUT. In all cases the return value is guaranteed to be non-negative. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SCHEDULE_TIMEOUT(9)

Check Out this Related Man Page

struct_tid_ampdu_rx - TID aggregation information (Rx). SYNOPSIS
struct tid_ampdu_rx { struct rcu_head rcu_head; spinlock_t reorder_lock; struct sk_buff ** reorder_buf; unsigned long * reorder_time; struct timer_list session_timer; struct timer_list reorder_timer; unsigned long last_rx; u16 head_seq_num; u16 stored_mpdu_num; u16 ssn; u16 buf_size; u16 timeout; u8 dialog_token; }; MEMBERS
rcu_head RCU head used for freeing this struct reorder_lock serializes access to reorder buffer, see below. reorder_buf buffer to reorder incoming aggregated MPDUs reorder_time jiffies when skb was added session_timer check if peer keeps Tx-ing on the TID (by timeout value) reorder_timer releases expired frames from the reorder buffer. last_rx jiffies of last rx activity head_seq_num head sequence number in reordering buffer. stored_mpdu_num number of MPDUs in reordering buffer ssn Starting Sequence Number expected to be aggregated. buf_size buffer size for incoming A-MPDUs timeout reset timer value (in TUs). dialog_token dialog token for aggregation session DESCRIPTION
This structure's lifetime is managed by RCU, assignments to the array holding it must hold the aggregation mutex. The reorder_lock is used to protect the members of this struct, except for timeout, buf_size and dialog_token, which are constant across the lifetime of the struct (the dialog token being used only for debugging). AUTHOR
Johannes Berg <> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT TID_AMPDU_RX(9)
Man Page

Featured Tech Videos