/xnu-2422.115.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
|
/xnu-2422.115.4/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 | 378 int indx, error; local 447 error = falloc(p, &fp, &indx, vfs_context_current()); 619 *fdflags(p, indx) |= UF_EXCLOSE; 620 procfdtbl_releasefd(p, indx, NULL); 621 fp_drop(p, indx, fp, 1); 624 *retval = indx; 649 fp_free(p, indx, fp);
|
H A D | posix_sem.c | 362 int indx, error; local 435 error = falloc(p, &fp, &indx, vfs_context_current()); 607 procfdtbl_releasefd(p, indx, NULL); 608 fp_drop(p, indx, fp, 1); 611 *retval = CAST_USER_ADDR_T(indx); 625 fp_free(p, indx, fp);
|
H A D | kern_exec.c | 3581 int indx; local 3590 &fp, &indx, imgp->ip_vfs_context)) != 0) 3600 fp_free(p, indx, fp); 3613 procfdtbl_releasefd(p, indx, NULL); 3614 fp_drop(p, indx, fp, 1);
|
H A D | kern_descrip.c | 5151 * indx fd to dup to 5165 dupfdopen(struct filedesc *fdp, int indx, int dfd, int flags, int error) argument 5183 fp = fdp->fd_ofiles[indx]; 5202 * (indx) and return. 5205 * store it in (indx). (dfd) is effectively closed by 5227 if (indx > fdp->fd_lastfile) 5228 fdp->fd_lastfile = indx; 5235 fdp->fd_ofileflags[indx] = fdp->fd_ofileflags[dfd] |
|
/xnu-2422.115.4/bsd/sys/ |
H A D | filedesc.h | 140 int indx, int dfd, int mode, int error);
|
H A D | vnode.h | 672 #define VTTOIF(indx) (vttoif_tab[(int)(indx)]) 673 #define MAKEIMODE(indx, mode) (int)(VTTOIF(indx) | (mode))
|
/xnu-2422.115.4/osfmk/x86_64/ |
H A D | pmap.c | 516 int32_t indx = 0; local 518 indx = (int32_t)(*((uint64_t *)(&pv_h->qlink.next)) >> 48); 519 indx = indx << 16; 520 indx |= (int32_t)(*((uint64_t *)(&pv_h->qlink.prev)) >> 48); 525 return (indx); 530 pmap_pack_index(uint32_t indx) argument 534 pv_h = &pv_head_table[indx]; 539 *((uint64_t *)(&pv_h->qlink.next)) |= ((uint64_t)(indx >> 16)) << 48; 540 *((uint64_t *)(&pv_h->qlink.prev)) |= ((uint64_t)(indx [all...] |
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_syscalls.c | 522 int indx; local 604 if ((error = falloc(p, &nfp, &indx, ctx)) != 0) { 632 fp_free(p, indx, fp); 641 procfdtbl_releasefd(p, indx, NULL); 642 fp_drop(p, indx, fp, 1); 645 *retval = indx;
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 3019 int type, indx, error; local 3035 &fp, &indx, ctx, fp_zalloc, cra)) != 0) { 3038 uu->uu_dupfd = -indx - 1; 3061 if ((error = dupfdopen(p->p_fd, indx, uu->uu_dupfd, flags, error)) == 0) { 3062 fp_drop(p, indx, NULL, 0); 3063 *retval = indx; 3076 fp_free(p, indx, fp); 3169 *fdflags(p, indx) |= UF_EXCLOSE; 3171 *fdflags(p, indx) |= UF_FORKCLOSE; 3172 procfdtbl_releasefd(p, indx, NUL 8355 int32_t indx, fmode; local [all...] |
H A D | kpi_vfs.c | 1332 vnode_vttoif(enum vtype indx) argument 1334 return(vttoif_tab[(int)(indx)]); 1338 vnode_makeimode(int indx, int mode) argument 1340 return (int)(VTTOIF(indx) | (mode));
|
/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_resident.c | 6016 hibernate_lookup_paddr(unsigned int indx) argument 6023 if (indx >= ppnm->ppnm_sindx && indx < ppnm->ppnm_eindx) 6028 if (indx >= ppnm->ppnm_sindx && indx < ppnm->ppnm_eindx) { 6034 panic("hibernate_lookup_paddr of %d failed\n", indx); 6036 return (ppnm->ppnm_base_paddr + (indx - ppnm->ppnm_sindx));
|