Home
last modified time | relevance | path

Searched refs:PSEMNAMLEN (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.61.12/tests/
H A Dposix_sem.c46 static char open_test_prefix[PSEMNAMLEN + 1];
47 static char open_sem_invalid[PSEMNAMLEN + 1];
48 static char open_sem_a[PSEMNAMLEN + 1];
49 static char open_sem_b[PSEMNAMLEN + 1];
59 char name_buf[PSEMNAMLEN]; in cleanup_open()
101 char name_buf[PSEMNAMLEN];
125 char name_buf[PSEMNAMLEN + 1];
133 static char namespace_test_sem_name[PSEMNAMLEN + 1];
/xnu-12377.61.12/bsd/sys/
H A Dposix_sem.h53 #define PSEMNAMLEN 31 /* maximum name segment length we bother with */ macro
61 char psem_name[PSEMNAMLEN + 1]; /* segment name */
/xnu-12377.61.12/bsd/kern/
H A Dposix_sem.c91 #define PSEMNAMLEN 31 /* maximum name segment length we bother with */ macro
100 char psem_name[PSEMNAMLEN + 1]; /* segment name */
122 char psem_name[PSEMNAMLEN + 1]; /* segment name */
308 if (pnp->psem_namelen > PSEMNAMLEN || pnp->psem_teamidlen > PSEMTEAMIDLEN) { in psem_cache_search()
388 if (pnp->psem_namelen > PSEMNAMLEN) { in psem_cache_add()
573 if ((pathlen > PSEMNAMLEN)) { in sem_open()
696 bcopy(pnbuf, &pinfo->psem_name[0], PSEMNAMLEN); in sem_open()
697 pinfo->psem_name[PSEMNAMLEN] = 0; in sem_open()
893 if (pathlen > PSEMNAMLEN) { in sem_unlink()
1256 bcopy(&pinfo->psem_name[0], &info->psem_name[0], PSEMNAMLEN + 1); in fill_pseminfo()