HelenOS sources

system             91 common/include/stdlib.h extern int system(const char *);
system             91 kernel/generic/common/include/stdlib.h extern int system(const char *);
system            146 uspace/app/shutdown/shutdown.c 	system_t *system = NULL;
system            182 uspace/app/shutdown/shutdown.c 	rc = system_open(SYSTEM_DEFAULT, &sd_system_cb, &shutdown, &system);
system            188 uspace/app/shutdown/shutdown.c 	rc = system_shutdown(system);
system            190 uspace/app/shutdown/shutdown.c 		system_close(system);
system            202 uspace/app/shutdown/shutdown.c 		system_close(system);
system            214 uspace/app/shutdown/shutdown.c 	system_close(system);
system             91 uspace/lib/c/common/include/stdlib.h extern int system(const char *);
system            193 uspace/lib/c/test/stdlib.c 	rc = system(NULL);
system            203 uspace/lib/c/test/stdlib.c 	rc = system("/app/bdsh");
system            127 uspace/lib/pcut/src/os/generic.c 	rc = system(command);
system             91 uspace/lib/posix/include/common/stdlib.h extern int system(const char *);
system             46 uspace/lib/system/include/types/system.h struct system;
system             47 uspace/lib/system/include/types/system.h typedef struct system system_t;
system             62 uspace/lib/system/src/system.c 	system_t *system;
system             65 uspace/lib/system/src/system.c 	system = calloc(1, sizeof(system_t));
system             66 uspace/lib/system/src/system.c 	if (system == NULL)
system             69 uspace/lib/system/src/system.c 	fibril_mutex_initialize(&system->lock);
system             70 uspace/lib/system/src/system.c 	fibril_condvar_initialize(&system->cv);
system             81 uspace/lib/system/src/system.c 	system->sess = sess;
system             82 uspace/lib/system/src/system.c 	system->cb = cb;
system             83 uspace/lib/system/src/system.c 	system->cb_arg = arg;
system             85 uspace/lib/system/src/system.c 	rc = system_callback_create(system);
system             91 uspace/lib/system/src/system.c 	*rsystem = system;
system             94 uspace/lib/system/src/system.c 	free(system);
system            102 uspace/lib/system/src/system.c void system_close(system_t *system)
system            104 uspace/lib/system/src/system.c 	fibril_mutex_lock(&system->lock);
system            105 uspace/lib/system/src/system.c 	async_hangup(system->sess);
system            106 uspace/lib/system/src/system.c 	system->sess = NULL;
system            110 uspace/lib/system/src/system.c 	while (!system->cb_done)
system            111 uspace/lib/system/src/system.c 		fibril_condvar_wait(&system->cv, &system->lock);
system            112 uspace/lib/system/src/system.c 	fibril_mutex_unlock(&system->lock);
system            114 uspace/lib/system/src/system.c 	free(system);
system            122 uspace/lib/system/src/system.c static errno_t system_callback_create(system_t *system)
system            124 uspace/lib/system/src/system.c 	async_exch_t *exch = async_exchange_begin(system->sess);
system            130 uspace/lib/system/src/system.c 	    system_cb_conn, system, &port);
system            153 uspace/lib/system/src/system.c errno_t system_shutdown(system_t *system)
system            155 uspace/lib/system/src/system.c 	async_exch_t *exch = async_exchange_begin(system->sess);
system            167 uspace/lib/system/src/system.c static void system_shutdown_complete(system_t *system, ipc_call_t *icall)
system            169 uspace/lib/system/src/system.c 	if (system->cb != NULL && system->cb->shutdown_complete != NULL)
system            170 uspace/lib/system/src/system.c 		system->cb->shutdown_complete(system->cb_arg);
system            180 uspace/lib/system/src/system.c static void system_shutdown_failed(system_t *system, ipc_call_t *icall)
system            182 uspace/lib/system/src/system.c 	if (system->cb != NULL && system->cb->shutdown_complete != NULL)
system            183 uspace/lib/system/src/system.c 		system->cb->shutdown_failed(system->cb_arg);
system            195 uspace/lib/system/src/system.c 	system_t *system = (system_t *) arg;
system            209 uspace/lib/system/src/system.c 			system_shutdown_complete(system, &call);
system            212 uspace/lib/system/src/system.c 			system_shutdown_failed(system, &call);
system            221 uspace/lib/system/src/system.c 	fibril_mutex_lock(&system->lock);
system            222 uspace/lib/system/src/system.c 	system->cb_done = true;
system            223 uspace/lib/system/src/system.c 	fibril_mutex_unlock(&system->lock);
system            224 uspace/lib/system/src/system.c 	fibril_condvar_broadcast(&system->cv);
system             33 uspace/lib/system/test/main.c PCUT_IMPORT(system);
system             41 uspace/lib/system/test/system.c PCUT_TEST_SUITE(system);
system             82 uspace/lib/system/test/system.c 	system_t *system = NULL;
system             95 uspace/lib/system/test/system.c 	rc = system_open(test_system_svc, NULL, NULL, &system);
system             97 uspace/lib/system/test/system.c 	PCUT_ASSERT_NOT_NULL(system);
system             99 uspace/lib/system/test/system.c 	system_close(system);
system            110 uspace/lib/system/test/system.c 	system_t *system = NULL;
system            123 uspace/lib/system/test/system.c 	rc = system_open(test_system_svc, NULL, NULL, &system);
system            125 uspace/lib/system/test/system.c 	PCUT_ASSERT_NOT_NULL(system);
system            130 uspace/lib/system/test/system.c 	rc = system_shutdown(system);
system            134 uspace/lib/system/test/system.c 	system_close(system);
system            145 uspace/lib/system/test/system.c 	system_t *system = NULL;
system            158 uspace/lib/system/test/system.c 	rc = system_open(test_system_svc, NULL, NULL, &system);
system            160 uspace/lib/system/test/system.c 	PCUT_ASSERT_NOT_NULL(system);
system            165 uspace/lib/system/test/system.c 	rc = system_shutdown(system);
system            169 uspace/lib/system/test/system.c 	system_close(system);
system            182 uspace/lib/system/test/system.c 	system_t *system = NULL;
system            195 uspace/lib/system/test/system.c 	rc = system_open(test_system_svc, &test_system_cb, &resp, &system);
system            197 uspace/lib/system/test/system.c 	PCUT_ASSERT_NOT_NULL(system);
system            212 uspace/lib/system/test/system.c 	system_close(system);
system            226 uspace/lib/system/test/system.c 	system_t *system = NULL;
system            239 uspace/lib/system/test/system.c 	rc = system_open(test_system_svc, &test_system_cb, &resp, &system);
system            241 uspace/lib/system/test/system.c 	PCUT_ASSERT_NOT_NULL(system);
system            256 uspace/lib/system/test/system.c 	system_close(system);
system            316 uspace/lib/system/test/system.c PCUT_EXPORT(system);
system            563 uspace/srv/system/system.c 	(void)system;
HelenOS homepage, sources at GitHub