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