Home
last modified time | relevance | path

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

/linux-6.1.9/ipc/
Dsem.c126 struct sem sems[]; member
297 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues()
317 struct sem *sem = &sma->sems[i]; in merge_queues()
353 sem = &sma->sems[i]; in complexmode_enter()
412 sem = &sma->sems[idx]; in sem_lock()
467 struct sem *sem = &sma->sems[locknum]; in sem_unlock()
514 if (nsems > (INT_MAX - sizeof(*sma)) / sizeof(sma->sems[0])) in sem_alloc()
517 sma = kvzalloc(struct_size(sma, sems, nsems), GFP_KERNEL_ACCOUNT); in sem_alloc()
560 INIT_LIST_HEAD(&sma->sems[i].pending_alter); in newary()
561 INIT_LIST_HEAD(&sma->sems[i].pending_const); in newary()
[all …]