Searched refs:iscsit_global (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/target/iscsi/ |
H A D | iscsi_target.h | 47 extern struct iscsit_global *iscsit_global;
|
H A D | iscsi_target_configfs.c | 1148 cpumask_pr_args(iscsit_global->allowed_cpumask)); in lio_target_wwn_cpus_allowed_list_show() 1167 cpumask_copy(iscsit_global->allowed_cpumask, in lio_target_wwn_cpus_allowed_list_store() 1250 return __iscsi_disc_##name##_show(&iscsit_global->discovery_acl,\ 1256 return __iscsi_disc_##name##_store(&iscsit_global->discovery_acl, \ 1271 return __iscsi_disc_##name##_show(&iscsit_global->discovery_acl, \ 1282 struct iscsi_node_auth *discovery_auth = &iscsit_global->discovery_acl.node_auth; in iscsi_disc_enforce_discovery_auth_show() 1291 struct iscsi_portal_group *discovery_tpg = iscsit_global->discovery_tpg; in iscsi_disc_enforce_discovery_auth_store() 1322 iscsit_global->discovery_acl.node_auth.enforce_discovery_auth = 1; in iscsi_disc_enforce_discovery_auth_store() 1334 iscsit_global->discovery_acl.node_auth.enforce_discovery_auth = 0; in iscsi_disc_enforce_discovery_auth_store()
|
H A D | iscsi_target.c | 56 struct iscsit_global *iscsit_global; variable 687 iscsit_global = kzalloc(sizeof(*iscsit_global), GFP_KERNEL); in iscsi_target_init_module() 688 if (!iscsit_global) in iscsi_target_init_module() 691 spin_lock_init(&iscsit_global->ts_bitmap_lock); in iscsi_target_init_module() 700 iscsit_global->ts_bitmap = vzalloc(size); in iscsi_target_init_module() 701 if (!iscsit_global->ts_bitmap) in iscsi_target_init_module() 704 if (!zalloc_cpumask_var(&iscsit_global->allowed_cpumask, GFP_KERNEL)) { in iscsi_target_init_module() 708 cpumask_setall(iscsit_global->allowed_cpumask); in iscsi_target_init_module() 762 free_cpumask_var(iscsit_global->allowed_cpumask); in iscsi_target_init_module() 764 vfree(iscsit_global->ts_bitmap); in iscsi_target_init_module() [all …]
|
H A D | iscsi_target_login.c | 223 conn->auth_id = iscsit_global->auth_id++; in iscsi_login_set_conn_values() 645 spin_lock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads() 646 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads() 648 spin_unlock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads() 680 spin_lock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads() 681 bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id, in iscsit_start_kthreads() 683 spin_unlock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads()
|
H A D | iscsi_target_tpg.c | 96 iscsit_global->discovery_tpg = tpg; in iscsit_load_discovery_tpg() 111 struct iscsi_portal_group *tpg = iscsit_global->discovery_tpg; in iscsit_release_discovery_tpg() 120 iscsit_global->discovery_tpg = NULL; in iscsit_release_discovery_tpg() 379 if (!tiqn || (tpg == iscsit_global->discovery_tpg)) in iscsit_tpg_disable_portal_group()
|
H A D | iscsi_target_nego.c | 108 return &iscsit_global->discovery_acl.node_auth; in iscsi_get_node_auth() 375 spin_lock(&iscsit_global->ts_bitmap_lock); in iscsi_target_do_tx_login_io() 376 bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id, in iscsi_target_do_tx_login_io() 378 spin_unlock(&iscsit_global->ts_bitmap_lock); in iscsi_target_do_tx_login_io() 1209 conn->tpg = iscsit_global->discovery_tpg; in iscsi_target_locate_portal()
|
/linux/include/target/iscsi/ |
H A D | iscsi_target_core.h | 883 struct iscsit_global { struct
|