/darwin-on-arm/xnu/osfmk/console/ |
H A D | panic_dialog.c | 183 int count, nibble, indx; local 222 for ( indx=1, count=0; count < 13; count++ ) { 226 panic_num_chars[indx++] = versionbuf[count]; 230 panic_num_chars[indx++] = ':'; 235 panic_num_chars[indx++] = nibble; 239 panic_num_chars[0] = indx; 262 for (indx=1, count=0; count < 6; count++ ) { 264 mac_addr_chars[indx++] = nibble; 268 mac_addr_chars[indx++] = nibble; 272 mac_addr_chars[indx [all...] |
/darwin-on-arm/xnu/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
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_newsysctl.c | 1095 u_int indx; local 1102 indx = 0; 1103 while (oid && indx < CTL_MAXNAME) { 1104 if (oid->oid_number == name[indx]) { 1105 indx++; 1109 if (indx == namelen) 1114 if (indx != namelen) { 1375 u_int indx; local 1388 indx = 0; 1389 while (oid && indx < CTL_MAXNAM [all...] |
H A D | posix_shm.c | 370 int indx, error; local 439 error = falloc(p, &fp, &indx, vfs_context_current()); 612 *fdflags(p, indx) |= UF_EXCLOSE; 613 procfdtbl_releasefd(p, indx, NULL); 614 fp_drop(p, indx, fp, 1); 617 *retval = indx; 642 fp_free(p, indx, fp);
|
H A D | posix_sem.c | 354 int indx, error; local 427 error = falloc(p, &fp, &indx, vfs_context_current()); 599 procfdtbl_releasefd(p, indx, NULL); 600 fp_drop(p, indx, fp, 1); 603 *retval = CAST_USER_ADDR_T(indx); 617 fp_free(p, indx, fp);
|
H A D | kern_exec.c | 3318 int indx; local 3321 &fp, &indx, imgp->ip_vfs_context)) != 0) 3331 fp_free(p, indx, fp); 3345 procfdtbl_releasefd(p, indx, NULL); 3346 fp_drop(p, indx, fp, 1);
|
H A D | kern_descrip.c | 4960 * indx fd to dup to 4974 dupfdopen(struct filedesc *fdp, int indx, int dfd, int flags, int error) argument 4992 fp = fdp->fd_ofiles[indx]; 5011 * (indx) and return. 5014 * store it in (indx). (dfd) is effectively closed by 5029 if (indx > fdp->fd_lastfile) 5030 fdp->fd_lastfile = indx; 5037 fdp->fd_ofileflags[indx] = fdp->fd_ofileflags[dfd] |
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | filedesc.h | 139 int indx, int dfd, int mode, int error);
|
H A D | vnode.h | 667 #define VTTOIF(indx) (vttoif_tab[(int)(indx)]) 668 #define MAKEIMODE(indx, mode) (int)(VTTOIF(indx) | (mode))
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_syscalls.c | 520 int indx; local 602 if ((error = falloc(p, &nfp, &indx, ctx)) != 0) { 631 fp_free(p, indx, fp); 640 procfdtbl_releasefd(p, indx, NULL); 641 fp_drop(p, indx, fp, 1); 644 *retval = indx;
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_syscalls.c | 2973 int type, indx, error; local 2989 if ( (error = falloc(p, &nfp, &indx, ctx)) ) { 2993 uu->uu_dupfd = -indx - 1; 3016 if ((error = dupfdopen(fdp, indx, uu->uu_dupfd, flags, error)) == 0) { 3017 fp_drop(p, indx, NULL, 0); 3018 *retval = indx; 3031 fp_free(p, indx, fp); 3125 *fdflags(p, indx) |= UF_EXCLOSE; 3126 procfdtbl_releasefd(p, indx, NULL); 3127 fp_drop(p, indx, f 8184 int32_t indx, fmode; local [all...] |
H A D | kpi_vfs.c | 1577 vnode_vttoif(enum vtype indx) argument 1579 return(vttoif_tab[(int)(indx)]); 1583 vnode_makeimode(int indx, int mode) argument 1585 return (int)(VTTOIF(indx) | (mode));
|