Home
last modified time | relevance | path

Searched refs:sem_array (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/ipc/
Dsem.c70 #define sem_lock(id) ((struct sem_array*)ipc_lock(&sem_ids,id))
72 #define sem_rmid(id) ((struct sem_array*)ipc_rmid(&sem_ids,id))
118 struct sem_array *sma; in newary()
127 sma = (struct sem_array *) ipc_alloc(size); in newary()
156 struct sem_array *sma; in sys_semget()
189 static int sem_revalidate(int semid, struct sem_array* sma, int nsems, short flg) in sem_revalidate()
191 struct sem_array* smanew; in sem_revalidate()
210 static inline void append_to_queue (struct sem_array * sma, in append_to_queue()
217 static inline void prepend_to_queue (struct sem_array * sma, in prepend_to_queue()
228 static inline void remove_from_queue (struct sem_array * sma, in remove_from_queue()
[all …]
/linux-2.4.37.9/include/linux/
Dsem.h88 struct sem_array { struct
107 struct sem_array * sma; /* semaphore array for operations */ argument