Searched refs:indx (Results 1 - 14 of 14) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/console/
H A Dpanic_dialog.c184 int count, nibble, indx; local
224 for ( indx=1, count=0; count < 13; count++ ) {
228 panic_num_chars[indx++] = versionbuf[count];
232 panic_num_chars[indx++] = ':';
237 panic_num_chars[indx++] = nibble;
241 panic_num_chars[0] = indx;
264 for (indx=1, count=0; count < 6; count++ ) {
266 mac_addr_chars[indx++] = nibble;
270 mac_addr_chars[indx++] = nibble;
274 mac_addr_chars[indx
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/
H A Dprofile-kgmon.c91 long indx,
109 if (!LEGAL_KGMON(indx)) {
110 *p_ptr = (void *)indx;
115 (long)indx);
122 (long)indx);
133 DECODE_KGMON(indx, kgmon, cpu);
89 _profile_kgmon(int write, size_t count, long indx, int max_cpus, void **p_ptr, void (*control_func)(kgmon_control_t)) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_newsysctl.c693 u_int indx; local
699 indx = 0;
700 while (oid && indx < CTL_MAXNAME) {
701 if (oid->oid_number == name[indx]) {
702 indx++;
706 if (indx == namelen)
711 if (indx != namelen)
966 u_int indx; local
979 indx = 0;
980 while (oid && indx < CTL_MAXNAM
[all...]
H A Dposix_shm.c363 int indx, error; local
450 error = falloc(p, &nfp, &indx, vfs_context_current());
596 *fdflags(p, indx) |= UF_EXCLOSE;
597 procfdtbl_releasefd(p, indx, NULL);
598 fp_drop(p, indx, fp, 1);
601 *retval = indx;
615 fp_free(p, indx, fp);
H A Dposix_sem.c356 int indx, error; local
434 error = falloc(p, &nfp, &indx, vfs_context_current());
564 procfdtbl_releasefd(p, indx, NULL);
565 fp_drop(p, indx, fp, 1);
568 *retval = CAST_USER_ADDR_T(indx);
593 fp_free(p, indx, nfp);
H A Dkern_exec.c2704 int indx; local
2709 if ((error = falloc(p, &fp, &indx, imgp->ip_vfs_context)) != 0)
2713 fp_free(p, indx, fp);
2723 procfdtbl_releasefd(p, indx, NULL);
2724 fp_drop(p, indx, fp, 1);
H A Dkern_descrip.c4153 * indx fd to dup to
4167 dupfdopen(struct filedesc *fdp, int indx, int dfd, int mode, int error) argument
4185 fp = fdp->fd_ofiles[indx];
4204 * (indx) and return.
4207 * store it in (indx). (dfd) is effectively closed by
4222 if (indx > fdp->fd_lastfile)
4223 fdp->fd_lastfile = indx;
4230 fdp->fd_ofileflags[indx] = fdp->fd_ofileflags[dfd];
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfiledesc.h136 int indx, int dfd, int mode, int error);
H A Dvnode.h411 #define VTTOIF(indx) (vttoif_tab[(int)(indx)])
412 #define MAKEIMODE(indx, mode) (int)(VTTOIF(indx) | (mode))
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_alloc.c580 ffs_blkpref(ip, lbn, indx, bap)
583 int indx;
599 if (indx && bap) {
602 prev = OSSwapInt32(bap[indx - 1]);
604 prev = bap[indx - 1];
605 } else prev = bap[indx - 1];
607 if (indx % fs->fs_maxbpg == 0 || prev == 0)
609 if (indx % fs->fs_maxbpg == 0 || bap[indx - 1] == 0)
621 if (indx
[all...]
H A Dfs.h354 #define fs_cs(fs, indx) fs_csp[indx]
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_syscalls.c486 int indx; local
568 if ((error = falloc(p, &nfp, &indx, ctx)) != 0) {
597 fp_free(p, indx, fp);
606 procfdtbl_releasefd(p, indx, NULL);
607 fp_drop(p, indx, fp, 1);
610 *retval = indx;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_syscalls.c2097 int type, indx, error; local
2113 if ( (error = falloc(p, &nfp, &indx, ctx)) ) {
2117 uu->uu_dupfd = -indx - 1;
2140 if ((error = dupfdopen(fdp, indx, uu->uu_dupfd, flags, error)) == 0) {
2141 fp_drop(p, indx, NULL, 0);
2142 *retval = indx;
2155 fp_free(p, indx, fp);
2232 procfdtbl_releasefd(p, indx, NULL);
2233 fp_drop(p, indx, fp, 1);
2236 *retval = indx;
[all...]
H A Dkpi_vfs.c1376 vnode_vttoif(enum vtype indx) argument
1378 return(vttoif_tab[(int)(indx)]);
1382 vnode_makeimode(int indx, int mode) argument
1384 return (int)(VTTOIF(indx) | (mode));

Completed in 110 milliseconds