Lines Matching refs:path
36 shm_open(const char *path, int oflag, mode_t mode) in shm_open() argument
42 if (__pos4obj_check(path) == -1) in shm_open()
46 if (__pos4obj_lock(path, SHM_LOCK_TYPE) < 0) in shm_open()
49 fd = __pos4obj_open(path, SHM_DATA_TYPE, oflag, mode, &crflag); in shm_open()
52 (void) __pos4obj_unlock(path, SHM_LOCK_TYPE); in shm_open()
58 (void) __pos4obj_unlock(path, SHM_LOCK_TYPE); in shm_open()
64 if (__pos4obj_unlock(path, SHM_LOCK_TYPE) < 0) { in shm_open()
73 shm_unlink(const char *path) in shm_unlink() argument
78 if (__pos4obj_check(path) < 0) in shm_unlink()
81 if (__pos4obj_lock(path, SHM_LOCK_TYPE) < 0) in shm_unlink()
84 err = __pos4obj_unlink(path, SHM_DATA_TYPE); in shm_unlink()
88 (void) __pos4obj_unlock(path, SHM_LOCK_TYPE); in shm_unlink()