Home
last modified time | relevance | path

Searched refs:iscsit_global (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/target/iscsi/
Discsi_target.h49 extern struct iscsit_global *iscsit_global;
Discsi_target_login.c223 conn->auth_id = iscsit_global->auth_id++; in iscsi_login_set_conn_values()
632 spin_lock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads()
633 conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap, in iscsit_start_kthreads()
635 spin_unlock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads()
667 spin_lock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads()
668 bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id, in iscsit_start_kthreads()
670 spin_unlock(&iscsit_global->ts_bitmap_lock); in iscsit_start_kthreads()
Discsi_target_tpg.c96 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()
380 if (!tiqn || (tpg == iscsit_global->discovery_tpg)) in iscsit_tpg_disable_portal_group()
Discsi_target_configfs.c1229 return __iscsi_disc_##name##_show(&iscsit_global->discovery_acl,\
1235 return __iscsi_disc_##name##_store(&iscsit_global->discovery_acl, \
1250 return __iscsi_disc_##name##_show(&iscsit_global->discovery_acl, \
1261 struct iscsi_node_auth *discovery_auth = &iscsit_global->discovery_acl.node_auth; in iscsi_disc_enforce_discovery_auth_show()
1270 struct iscsi_portal_group *discovery_tpg = iscsit_global->discovery_tpg; in iscsi_disc_enforce_discovery_auth_store()
1301 iscsit_global->discovery_acl.node_auth.enforce_discovery_auth = 1; in iscsi_disc_enforce_discovery_auth_store()
1313 iscsit_global->discovery_acl.node_auth.enforce_discovery_auth = 0; in iscsi_disc_enforce_discovery_auth_store()
Discsi_target_nego.c145 auth = &iscsit_global->discovery_acl.node_auth; in iscsi_handle_authentication()
383 spin_lock(&iscsit_global->ts_bitmap_lock); in iscsi_target_do_tx_login_io()
384 bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id, in iscsi_target_do_tx_login_io()
386 spin_unlock(&iscsit_global->ts_bitmap_lock); in iscsi_target_do_tx_login_io()
1151 conn->tpg = iscsit_global->discovery_tpg; in iscsi_target_locate_portal()
Discsi_target.c55 struct iscsit_global *iscsit_global; variable
688 iscsit_global = kzalloc(sizeof(*iscsit_global), GFP_KERNEL); in iscsi_target_init_module()
689 if (!iscsit_global) in iscsi_target_init_module()
692 spin_lock_init(&iscsit_global->ts_bitmap_lock); in iscsi_target_init_module()
701 iscsit_global->ts_bitmap = vzalloc(size); in iscsi_target_init_module()
702 if (!iscsit_global->ts_bitmap) in iscsi_target_init_module()
757 vfree(iscsit_global->ts_bitmap); in iscsi_target_init_module()
760 if (iscsit_global->discovery_tpg) in iscsi_target_init_module()
761 iscsit_tpg_disable_portal_group(iscsit_global->discovery_tpg, 1); in iscsi_target_init_module()
764 kfree(iscsit_global); in iscsi_target_init_module()
[all …]
/Linux-v5.10/include/target/iscsi/
Discsi_target_core.h870 struct iscsit_global { struct