Lines Matching full:global

53  * create_global() - allocate and initialize a global LUN information structure
57 * Return: Allocated global glun_info structure on success, NULL on failure
96 * lookup_global() - find a global LUN information structure by WWID
99 * Return: Found global lun_info structure on success, NULL on failure
105 list_for_each_entry_safe(gli, temp, &global.gluns, list) in lookup_global()
117 * The LUN is kept both in a local list (per adapter) and in a global list
122 * wih the global list). Since different attributes are associated with
123 * the per adapter and global entries, allocate two separate structures for each
124 * LUN (one local, one global).
126 * Keep a pointer back from the local to the global entry.
128 * This routine assumes the caller holds the global mutex.
167 list_add(&gli->list, &global.gluns); in find_and_create_lun()
182 mutex_lock(&global.mutex); in cxlflash_term_local_luns()
187 mutex_unlock(&global.mutex); in cxlflash_term_local_luns()
191 * cxlflash_list_init() - initializes the global LUN list
195 INIT_LIST_HEAD(&global.gluns); in cxlflash_list_init()
196 mutex_init(&global.mutex); in cxlflash_list_init()
197 global.err_page = NULL; in cxlflash_list_init()
201 * cxlflash_term_global_luns() - frees resources associated with global LUN list
207 mutex_lock(&global.mutex); in cxlflash_term_global_luns()
208 list_for_each_entry_safe(gli, temp, &global.gluns, list) { in cxlflash_term_global_luns()
213 mutex_unlock(&global.mutex); in cxlflash_term_global_luns()
222 * SCSI devices (sdev) with a global LUN instance. Additionally it serves to
237 mutex_lock(&global.mutex); in cxlflash_manage_lun()
275 mutex_unlock(&global.mutex); in cxlflash_manage_lun()