Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/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.8/tools/
DDockerfile47 RUN apt-get autoremove -q -y && \
48 apt-get clean -q -y && \
Dcreate_hdd_image.sh45 q
/DragonOS-0.1.8/docs/kernel/sched/
Dc_waiting.md121 | wait_queue_sleep_with_node_unlock(wait_queue_head_t *q, wait_queue_node_t *wait, void *lock) …
122 | wait_queue_sleep_with_node_interriptible(wait_queue_head_t *q, wait_queue_node_t *wait) | 传入一个等待队…
127 …_node节点。对于在栈上的wait_node,您可以选择`wait_queue_wakeup_on_stack(wait_queue_head_t *q, int64_t state)`来唤醒队…
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal_types.rs468 pub q: Vec<siginfo>, field
476 q: Vec::with_capacity(capacity), in new()
488 for x in self.q.iter() { in find()
525 let mut filter_result: Vec<siginfo> = self.q.drain_filter(filter).collect(); in find_and_delete()
542 let filter_result: Vec<siginfo> = self.q.drain_filter(filter).collect(); in flush_by_mask()
560 q: Default::default(), in default()
Dsignal.rs236 let mut q: siginfo; in __send_signal_locked() localVariable
240 q = x.clone(); in __send_signal_locked()
244 q = siginfo::new(sig, 0, si_code_val::SI_USER); in __send_signal_locked()
245 q._sinfo.data._sifields._kill._pid = current_pcb().pid; in __send_signal_locked()
250 sq.q.push(q); in __send_signal_locked()