Home
last modified time | relevance | path

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

/Zephyr-latest/lib/posix/options/
Dsemaphore.c41 struct nsem_obj *nsem; in nsem_find() local
43 SYS_SLIST_FOR_EACH_CONTAINER(&nsem_list, nsem, snode) { in nsem_find()
44 if ((nsem->name != NULL) && (strcmp(nsem->name, name) == 0)) { in nsem_find()
45 return nsem; in nsem_find()
53 static void nsem_cleanup(struct nsem_obj *nsem) in nsem_cleanup() argument
55 if (nsem != NULL) { in nsem_cleanup()
56 if (nsem->name != NULL) { in nsem_cleanup()
57 k_free(nsem->name); in nsem_cleanup()
59 k_free(nsem); in nsem_cleanup()
64 static void nsem_unref(struct nsem_obj *nsem) in nsem_unref() argument
[all …]