Lines Matching refs:ig
86 struct iser_global ig; variable
1021 memset(&ig, 0, sizeof(struct iser_global)); in iser_init()
1023 ig.desc_cache = kmem_cache_create("iser_descriptors", in iser_init()
1027 if (ig.desc_cache == NULL) in iser_init()
1031 mutex_init(&ig.device_list_mutex); in iser_init()
1032 INIT_LIST_HEAD(&ig.device_list); in iser_init()
1033 mutex_init(&ig.connlist_mutex); in iser_init()
1034 INIT_LIST_HEAD(&ig.connlist); in iser_init()
1056 kmem_cache_destroy(ig.desc_cache); in iser_init()
1069 mutex_lock(&ig.connlist_mutex); in iser_exit()
1070 connlist_empty = list_empty(&ig.connlist); in iser_exit()
1071 mutex_unlock(&ig.connlist_mutex); in iser_exit()
1076 list_for_each_entry_safe(iser_conn, n, &ig.connlist, in iser_exit()
1083 kmem_cache_destroy(ig.desc_cache); in iser_exit()