Lines Matching refs:cursor
978 int cursor;
1028 cursor = ipcs.u64.ipcs_cursor;
1029 if (cursor < 0 || cursor >= shminfo.shmmni) {
1037 for( ; cursor < shminfo.shmmni; cursor++) {
1038 if (shmsegs[cursor].u.shm_perm.mode & SHMSEG_ALLOCATED)
1042 if (cursor == shminfo.shmmni) {
1047 shmid_dsp = &shmsegs[cursor]; /* default: 64 bit */
1059 /* update cursor */
1060 ipcs.u64.ipcs_cursor = cursor + 1;