Home
last modified time | relevance | path

Searched refs:q (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.3/kernel/src/libs/
Dwait_queue_head.c22 void wait_queue_sleep_with_node(wait_queue_head_t *q, wait_queue_node_t *wait) in wait_queue_sleep_with_node() argument
27 list_append(&q->wait_list, &wait->wait_list); in wait_queue_sleep_with_node()
37 void wait_queue_sleep_with_node_unlock(wait_queue_head_t *q, wait_queue_node_t *wait, void *lock) in wait_queue_sleep_with_node_unlock() argument
42 list_append(&q->wait_list, &wait->wait_list); in wait_queue_sleep_with_node_unlock()
53 void wait_queue_sleep_with_node_interriptible(wait_queue_head_t *q, wait_queue_node_t *wait) in wait_queue_sleep_with_node_interriptible() argument
58 list_append(&q->wait_list, &wait->wait_list); in wait_queue_sleep_with_node_interriptible()
69 void wait_queue_wakeup_on_stack(wait_queue_head_t *q, int64_t state) in wait_queue_wakeup_on_stack() argument
71 if (list_empty(&q->wait_list)) in wait_queue_wakeup_on_stack()
74 wait_queue_node_t *wait = container_of(list_next(&q->wait_list), wait_queue_node_t, wait_list); in wait_queue_wakeup_on_stack()
/DragonOS-0.1.3/kernel/src/common/
Dwait_queue.h93 void wait_queue_sleep_with_node(wait_queue_head_t *q, wait_queue_node_t *wait);
102 void wait_queue_sleep_with_node_unlock(wait_queue_head_t *q, wait_queue_node_t *wait, void *lock);
110 void wait_queue_sleep_with_node_interriptible(wait_queue_head_t *q, wait_queue_node_t *wait);
118 void wait_queue_wakeup_on_stack(wait_queue_head_t *q, int64_t state);
/DragonOS-0.1.3/docs/kernel/sched/
Dwaiting.md115 | wait_queue_sleep_with_node_unlock(wait_queue_head_t *q, wait_queue_node_t *wait, void *lock) …
116 | wait_queue_sleep_with_node_interriptible(wait_queue_head_t *q, wait_queue_node_t *wait) | 传入一个等待队…
121 …_node节点。对于在栈上的wait_node,您可以选择`wait_queue_wakeup_on_stack(wait_queue_head_t *q, int64_t state)`来唤醒队…
/DragonOS-0.1.3/tools/
Dcreate_hdd_image.sh45 q
DDockerfile47 RUN apt-get autoremove -q -y && \
48 apt-get clean -q -y && \
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs467 pub q: Vec<siginfo>, field
475 q: Vec::with_capacity(capacity), in new()
487 for x in self.q.iter() { in find()
524 let mut filter_result: Vec<siginfo> = self.q.drain_filter(filter).collect(); in find_and_delete()
541 let filter_result: Vec<siginfo> = self.q.drain_filter(filter).collect(); in flush_by_mask()
559 q: Default::default(), in default()
Dsignal.rs275 let mut q: siginfo; in __send_signal_locked() localVariable
279 q = x.clone(); in __send_signal_locked()
283 q = siginfo::new(sig, 0, si_code_val::SI_USER); in __send_signal_locked()
284 q._sinfo.data._sifields._kill._pid = current_pcb().pid; in __send_signal_locked()
289 sq.q.push(q); in __send_signal_locked()