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()492 if (nsems > (INT_MAX - sizeof(*sma)) / sizeof(sma->sems[0])) in sem_alloc()495 sma = kvzalloc(struct_size(sma, sems, nsems), GFP_KERNEL); in sem_alloc()538 INIT_LIST_HEAD(&sma->sems[i].pending_alter); in newary()539 INIT_LIST_HEAD(&sma->sems[i].pending_const); in newary()[all …]