HelenOS sources
nic_globals 56 uspace/lib/nic/src/nic_driver.c nic_globals_t nic_globals;
nic_globals 65 uspace/lib/nic/src/nic_driver.c list_initialize(&nic_globals.frame_list_cache);
nic_globals 66 uspace/lib/nic/src/nic_driver.c nic_globals.frame_list_cache_size = 0;
nic_globals 67 uspace/lib/nic/src/nic_driver.c list_initialize(&nic_globals.frame_cache);
nic_globals 68 uspace/lib/nic/src/nic_driver.c nic_globals.frame_cache_size = 0;
nic_globals 69 uspace/lib/nic/src/nic_driver.c fibril_mutex_initialize(&nic_globals.lock);
nic_globals 267 uspace/lib/nic/src/nic_driver.c fibril_mutex_lock(&nic_globals.lock);
nic_globals 268 uspace/lib/nic/src/nic_driver.c if (nic_globals.frame_cache_size > 0) {
nic_globals 269 uspace/lib/nic/src/nic_driver.c link_t *first = list_first(&nic_globals.frame_cache);
nic_globals 271 uspace/lib/nic/src/nic_driver.c nic_globals.frame_cache_size--;
nic_globals 273 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 275 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 309 uspace/lib/nic/src/nic_driver.c fibril_mutex_lock(&nic_globals.lock);
nic_globals 310 uspace/lib/nic/src/nic_driver.c if (nic_globals.frame_cache_size >= NIC_GLOBALS_MAX_CACHE_SIZE) {
nic_globals 311 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 314 uspace/lib/nic/src/nic_driver.c list_prepend(&frame->link, &nic_globals.frame_cache);
nic_globals 315 uspace/lib/nic/src/nic_driver.c nic_globals.frame_cache_size++;
nic_globals 316 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 328 uspace/lib/nic/src/nic_driver.c fibril_mutex_lock(&nic_globals.lock);
nic_globals 330 uspace/lib/nic/src/nic_driver.c if (nic_globals.frame_list_cache_size > 0) {
nic_globals 332 uspace/lib/nic/src/nic_driver.c list_get_instance(list_first(&nic_globals.frame_list_cache),
nic_globals 336 uspace/lib/nic/src/nic_driver.c nic_globals.frame_list_cache_size--;
nic_globals 337 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 339 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 353 uspace/lib/nic/src/nic_driver.c fibril_mutex_lock(&nic_globals.lock);
nic_globals 354 uspace/lib/nic/src/nic_driver.c if (nic_globals.frame_list_cache_size >= NIC_GLOBALS_MAX_CACHE_SIZE) {
nic_globals 355 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
nic_globals 358 uspace/lib/nic/src/nic_driver.c list_prepend(&frames->head, &nic_globals.frame_list_cache);
nic_globals 359 uspace/lib/nic/src/nic_driver.c nic_globals.frame_list_cache_size++;
nic_globals 360 uspace/lib/nic/src/nic_driver.c fibril_mutex_unlock(&nic_globals.lock);
HelenOS homepage, sources at GitHub