/macosx-10.5.8/xnu-1228.15.4/osfmk/console/ |
H A D | panic_dialog.c | 184 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 D | profile-kgmon.c | 91 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 D | kern_newsysctl.c | 693 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 D | posix_shm.c | 363 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 D | posix_sem.c | 356 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 D | kern_exec.c | 2704 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 D | kern_descrip.c | 4153 * 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 D | filedesc.h | 136 int indx, int dfd, int mode, int error);
|
H A D | vnode.h | 411 #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 D | ffs_alloc.c | 580 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 D | fs.h | 354 #define fs_cs(fs, indx) fs_csp[indx]
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_syscalls.c | 486 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 D | vfs_syscalls.c | 2097 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 D | kpi_vfs.c | 1376 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));
|