Lines Matching refs:semid64
1235 int cmd, struct semid64_ds *semid64) in semctl_stat() argument
1241 memset(semid64, 0, sizeof(*semid64)); in semctl_stat()
1279 kernel_to_ipc64_perm(&sma->sem_perm, &semid64->sem_perm); in semctl_stat()
1281 semid64->sem_otime = semotime; in semctl_stat()
1282 semid64->sem_ctime = sma->sem_ctime; in semctl_stat()
1284 semid64->sem_otime_high = semotime >> 32; in semctl_stat()
1285 semid64->sem_ctime_high = sma->sem_ctime >> 32; in semctl_stat()
1287 semid64->sem_nsems = sma->sem_nsems; in semctl_stat()
1602 int cmd, struct semid64_ds *semid64) in semctl_down() argument
1612 &semid64->sem_perm, 0); in semctl_down()
1632 err = ipc_update_perm(&semid64->sem_perm, ipcp); in semctl_down()
1655 struct semid64_ds semid64; in ksys_semctl() local
1670 err = semctl_stat(ns, semid, cmd, &semid64); in ksys_semctl()
1673 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl()
1695 if (copy_semid_from_user(&semid64, p, version)) in ksys_semctl()
1699 return semctl_down(ns, semid, cmd, &semid64); in ksys_semctl()
1778 struct semid64_ds semid64; in compat_ksys_semctl() local
1793 err = semctl_stat(ns, semid, cmd, &semid64); in compat_ksys_semctl()
1796 if (copy_compat_semid_to_user(p, &semid64, version)) in compat_ksys_semctl()
1809 if (copy_compat_semid_from_user(&semid64, p, version)) in compat_ksys_semctl()
1813 return semctl_down(ns, semid, cmd, &semid64); in compat_ksys_semctl()