Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/iser/
Discsi_iser.c103 struct iser_global ig; variable
975 memset(&ig, 0, sizeof(struct iser_global)); in iser_init()
977 ig.desc_cache = kmem_cache_create("iser_descriptors", in iser_init()
981 if (ig.desc_cache == NULL) in iser_init()
985 mutex_init(&ig.device_list_mutex); in iser_init()
986 INIT_LIST_HEAD(&ig.device_list); in iser_init()
987 mutex_init(&ig.connlist_mutex); in iser_init()
988 INIT_LIST_HEAD(&ig.connlist); in iser_init()
1007 kmem_cache_destroy(ig.desc_cache); in iser_init()
1020 mutex_lock(&ig.connlist_mutex); in iser_exit()
[all …]
Diser_verbs.c439 mutex_lock(&ig.connlist_mutex); in iser_create_ib_conn_res()
448 mutex_unlock(&ig.connlist_mutex); in iser_create_ib_conn_res()
491 mutex_lock(&ig.device_list_mutex); in iser_device_find_by_ib_device()
493 list_for_each_entry(device, &ig.device_list, ig_list) in iser_device_find_by_ib_device()
510 list_add(&device->ig_list, &ig.device_list); in iser_device_find_by_ib_device()
515 mutex_unlock(&ig.device_list_mutex); in iser_device_find_by_ib_device()
522 mutex_lock(&ig.device_list_mutex); in iser_device_try_release()
530 mutex_unlock(&ig.device_list_mutex); in iser_device_try_release()
611 mutex_lock(&ig.connlist_mutex); in iser_conn_release()
613 mutex_unlock(&ig.connlist_mutex); in iser_conn_release()
[all …]
Diser_initiator.c467 tx_desc = kmem_cache_zalloc(ig.desc_cache, GFP_ATOMIC); in iser_send_data_out()
504 kmem_cache_free(ig.desc_cache, tx_desc); in iser_send_data_out()
634 kmem_cache_free(ig.desc_cache, tx_desc); in iser_snd_completion()
Discsi_iser.h581 extern struct iser_global ig;
/drivers/media/platform/vivid/
Dvivid-tpg-colors.c167 double ir, ig, ib; in mult_matrix() local
170 ig = m[1][0] * (*r) + m[1][1] * (*g) + m[1][2] * (*b); in mult_matrix()
173 *g = ig; in mult_matrix()