Searched refs:sems (Results 1 – 1 of 1) sorted by relevance
126 struct sem sems[]; member272 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues()292 struct sem *sem = &sma->sems[i]; in merge_queues()328 sem = &sma->sems[i]; in complexmode_enter()390 sem = &sma->sems[idx]; in sem_lock()445 struct sem *sem = &sma->sems[locknum]; in sem_unlock()493 if (nsems > (INT_MAX - sizeof(*sma)) / sizeof(sma->sems[0])) in sem_alloc()496 size = sizeof(*sma) + nsems * sizeof(sma->sems[0]); in sem_alloc()542 INIT_LIST_HEAD(&sma->sems[i].pending_alter); in newary()543 INIT_LIST_HEAD(&sma->sems[i].pending_const); in newary()[all …]