Searched refs:cursor (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsysv_shm.c978 int cursor; local
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 */
[all...]
H A Dsysv_msg.c1414 int cursor; local
1467 cursor = ipcs.u64.ipcs_cursor;
1468 if (cursor < 0 || cursor >= msginfo.msgmni) {
1476 for( ; cursor < msginfo.msgmni; cursor++) {
1477 if (msqids[cursor].u.msg_qbytes != 0) /* allocated */
1481 if (cursor == msginfo.msgmni) {
1486 msqid_dsp = &msqids[cursor]; /* default: 64 bit */
1499 /* update cursor */
[all...]
H A Dsysv_sem.c1525 int cursor; local
1569 cursor = ipcs.u64.ipcs_cursor;
1570 if (cursor < 0 || cursor >= seminfo.semmni) {
1578 for( ; cursor < seminfo.semmni; cursor++) {
1579 if (sema[cursor].u.sem_perm.mode & SEM_ALLOC)
1583 if (cursor == seminfo.semmni) {
1588 semid_dsp = &sema[cursor].u; /* default: 64 bit */
1600 /* update cursor */
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_attrlist.c1513 attrlist_unpack_fixed(char **cursor, char *end, void *buf, ssize_t size) argument
1516 if ((*cursor) + size > end)
1519 bcopy(*cursor, buf, size);
1520 *cursor += size;
1524 #define ATTR_UNPACK(v) do {if ((error = attrlist_unpack_fixed(&cursor, bufend, &v, sizeof(v))) != 0) goto out;} while(0);
1553 char *user_buf, *cursor, *bufend, *fndrinfo, *cp, *volname; local
1651 cursor = user_buf;
1652 bufend = cursor + uap->bufferSize;
1680 if ((cursor + 32) > bufend) {
1685 fndrinfo = cursor;
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_vm.s492 * 6) check and bump remove chunk cursor if needed
925 slwi r0,r9,12 ; Make cursor into page offset
6634 gadScan: lbz r12,mpgCursor(r22) ; Get group's cursor
6636 ; Prepare to address slot at cursor
6673 bne gadUpCursor ; Go update the cursor, we'll take the dormant entry
6676 lbz r12,mpgCursor(r22) ; Get group's cursor
6678 ; Prepare to address slot at cursor
6709 stb r12,mpgCursor(r22) ; Update group's cursor

Completed in 69 milliseconds