Lines Matching refs:global_fs_sel
390 static int global_fs_sel = -1; /* global selector for %fs shared among all threads */
400 if (global_fs_sel == -1)
407 global_fs_sel = wine_get_fs();
408 if (global_fs_sel && is_gdt_sel(global_fs_sel)) return global_fs_sel;
414 global_fs_sel = 0; /* don't try it again */
417 else global_fs_sel = (ldt_info.entry_number << 3) | 3;
419 global_fs_sel = GSEL( GUFS_SEL, SEL_UPL );
422 if (global_fs_sel > 0) return global_fs_sel;
437 if ((sel & ~3) == (global_fs_sel & ~3))