Lines Matching refs:tbuf
1078 static int shmctl_stat(struct ipc_namespace *ns, int shmid, int cmd, struct shmid64_ds *tbuf) in shmctl_stat() argument
1083 memset(tbuf, 0, sizeof(*tbuf)); in shmctl_stat()
1129 kernel_to_ipc64_perm(&shp->shm_perm, &tbuf->shm_perm); in shmctl_stat()
1130 tbuf->shm_segsz = shp->shm_segsz; in shmctl_stat()
1131 tbuf->shm_atime = shp->shm_atim; in shmctl_stat()
1132 tbuf->shm_dtime = shp->shm_dtim; in shmctl_stat()
1133 tbuf->shm_ctime = shp->shm_ctim; in shmctl_stat()
1135 tbuf->shm_atime_high = shp->shm_atim >> 0x20; in shmctl_stat()
1136 tbuf->shm_dtime_high = shp->shm_dtim >> 0x20; in shmctl_stat()
1137 tbuf->shm_ctime_high = shp->shm_ctim >> 0x20; in shmctl_stat()
1139 tbuf->shm_cpid = pid_vnr(shp->shm_cprid); in shmctl_stat()
1140 tbuf->shm_lpid = pid_vnr(shp->shm_lprid); in shmctl_stat()
1141 tbuf->shm_nattch = shp->shm_nattch; in shmctl_stat()