Searched refs:pnp (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | posix_shm.c | 166 #define PSHMHASH(pnp) \ 167 (&pshmhashtbl[(pnp)->pshm_hash & pshmhash]) 187 static int pshm_cache_add(struct pshminfo *pshmp, struct pshmname *pnp, struct pshmcache *pcp); 192 static int pshm_cache_search(struct pshminfo **pshmp, struct pshmname *pnp, 231 pshm_cache_search(struct pshminfo **pshmp, struct pshmname *pnp, argument 237 if (pnp->pshm_namelen > PSHMNAMLEN) { 242 pcpp = PSHMHASH(pnp); 245 if (pcp->pshm_nlen == pnp->pshm_namelen && 246 !bcmp(pcp->pshm_name, pnp->pshm_nameptr, (u_int)pcp-> pshm_nlen)) 279 pshm_cache_add(struct pshminfo *pshmp, struct pshmname *pnp, struc argument [all...] |
H A D | posix_sem.c | 151 #define PSEMHASH(pnp) \ 152 (&psemhashtbl[(pnp)->psem_hash & psemhash]) 193 static int psem_cache_add(struct pseminfo *psemp, struct psemname *pnp, struct psemcache *pcp); 218 psem_cache_search(struct pseminfo **psemp, struct psemname *pnp, argument 224 if (pnp->psem_namelen > PSEMNAMLEN) { 229 pcpp = PSEMHASH(pnp); 232 if (pcp->psem_nlen == pnp->psem_namelen && 233 !bcmp(pcp->psem_name, pnp->psem_nameptr, (u_int)pcp-> psem_nlen)) 263 psem_cache_add(struct pseminfo *psemp, struct psemname *pnp, struct psemcache *pcp) argument 270 if (pnp [all...] |
Completed in 15 milliseconds