Searched refs:cursor (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sysv_shm.c | 1068 int cursor; local 1118 cursor = ipcs.u64.ipcs_cursor; 1119 if (cursor < 0 || cursor >= shminfo.shmmni) { 1127 for( ; cursor < shminfo.shmmni; cursor++) { 1128 if (shmsegs[cursor].u.shm_perm.mode & SHMSEG_ALLOCATED) 1132 if (cursor == shminfo.shmmni) { 1137 shmid_dsp = &shmsegs[cursor]; /* default: 64 bit */ 1149 /* update cursor */ [all...] |
H A D | sysv_msg.c | 1466 int cursor; local 1523 cursor = ipcs.u64.ipcs_cursor; 1524 if (cursor < 0 || cursor >= msginfo.msgmni) { 1532 for( ; cursor < msginfo.msgmni; cursor++) { 1533 if (msqids[cursor].u.msg_qbytes != 0) /* allocated */ 1537 if (cursor == msginfo.msgmni) { 1542 msqid_dsp = &msqids[cursor]; /* default: 64 bit */ 1559 /* update cursor */ [all...] |
H A D | sysv_sem.c | 1564 int cursor; local 1612 cursor = ipcs.u64.ipcs_cursor; 1613 if (cursor < 0 || cursor >= seminfo.semmni) { 1621 for( ; cursor < seminfo.semmni; cursor++) { 1622 if (sema[cursor].u.sem_perm.mode & SEM_ALLOC) 1626 if (cursor == seminfo.semmni) { 1631 semid_dsp = &sema[cursor].u; /* default: 64 bit */ 1647 /* update cursor */ [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_attrlist.c | 2053 attrlist_unpack_fixed(char **cursor, char *end, void *buf, ssize_t size) argument 2056 if ((*cursor) + size > end) 2059 bcopy(*cursor, buf, size); 2060 *cursor += size; 2064 #define ATTR_UNPACK(v) do {if ((error = attrlist_unpack_fixed(&cursor, bufend, &v, sizeof(v))) != 0) goto out;} while(0); 2092 char *user_buf, *cursor, *bufend, *fndrinfo, *cp, *volname; local 2188 cursor = user_buf; 2189 bufend = cursor + uap->bufferSize; 2217 if ((cursor + 32) > bufend) { 2222 fndrinfo = cursor; [all...] |
Completed in 107 milliseconds