kernel: remove the list_t alias since it's just a typedef for node

This commit is contained in:
wnstngs
2026-10-07 14:08:36 +03:00
parent 9cffe521f3
commit 91491d825b
13 changed files with 26 additions and 28 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ typedef struct {
size_t block_size;
pushlock_t dirty_list_lock;
list_t dirty_list;
list_node_t dirty_list;
bool syncing;
eventheader_t dirty_list_sync_event;
eventheader_t dirty_list_empty_event;
+1 -1
View File
@@ -264,7 +264,7 @@ typedef struct {
struct input_device {
spinlock_t lock;
list_t listeners;
list_node_t listeners;
int clock_id;
+2 -2
View File
@@ -20,12 +20,12 @@
#define SCHED_SLEEP_TIME_LIMIT_CPU_US 1000
typedef struct {
list_t queues[SCHED_RUN_QUEUE_SIZE];
list_node_t queues[SCHED_RUN_QUEUE_SIZE];
bitmap_t thread_bitmap;
} sched_run_queue_t;
typedef struct {
list_t queues[SCHED_RUN_QUEUE_SIZE];
list_node_t queues[SCHED_RUN_QUEUE_SIZE];
int ins;
int run;
size_t thread_count;
+3 -3
View File
@@ -11,9 +11,9 @@ typedef void (*work_callback_t)(void *, size_t);
typedef struct {
const char *name;
spinlock_t lock;
list_t work_list;
list_t active_list;
list_t waiter_list;
list_node_t work_list;
list_node_t active_list;
list_node_t waiter_list;
semaphore_t pending_work;
thread_t **threads;
size_t thread_count;
+2 -2
View File
@@ -377,7 +377,7 @@ typedef struct xhci_ctrl {
usb_ctrl_t ctrl;
pcienum_t *pci_enum;
list_t hubs;
list_node_t hubs;
uint32_t port_count;
uint32_t slot_count;
@@ -394,7 +394,7 @@ typedef struct xhci_ctrl {
spinlock_t event_lock;
mutex_t callback_mutex;
bitmap_t port_change_bitmap;
list_t completion_list;
list_node_t completion_list;
ringbuffer_t callback_ring;
dpc_t dpc;